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