blind buildbot fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2010-06-21 23:32:34 +00:00
parent 995202d020
commit ddd4f327f7

View File

@ -22,6 +22,8 @@
#endif
#include "wx/app.h"
#include "wx/wxcrt.h" // for wxPuts
#include "wx/wxcrtvararg.h" // for wxPrintf
// ----------------------------------------------------------------------------
// conditional compilation
@ -315,6 +317,8 @@ void InteractiveOutputTestCase::TestUserInfo()
// stack backtrace
// ----------------------------------------------------------------------------
#if wxUSE_STACKWALKER
#include "wx/stackwalk.h"
class StackDump : public wxStackWalker
@ -324,7 +328,7 @@ public:
: wxStackWalker(argv0)
{
}
virtual void Walk(size_t skip = 1, size_t maxdepth = wxSTACKWALKER_MAX_DEPTH)
{
wxPuts(wxT("Stack dump:"));
@ -365,16 +369,19 @@ protected:
}
}
};
#endif
void InteractiveOutputTestCase::TestStackWalk()
{
#ifdef TEST_STACKWALKER
#if wxUSE_STACKWALKER
wxPuts(wxT("*** Testing wxStackWalker ***"));
StackDump dump(wxTheApp->argv[0]);
StackDump dump((const char*)wxTheApp->argv[0]);
dump.Walk();
wxPuts("\n");
#endif
#endif // TEST_STACKWALKER
}