]> git.saurik.com Git - wxWidgets.git/commitdiff
blind buildbot fix
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 21 Jun 2010 23:32:34 +0000 (23:32 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 21 Jun 2010 23:32:34 +0000 (23:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/interactive/output.cpp

index 4c33078b9f2d6740acce95515aa68a5df95c6d14..2e7358822c361d6926b67829dbd86b3c432ba4ca 100644 (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
 }