]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxUSE_STACKWALKER == 0.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 3 Feb 2005 22:26:44 +0000 (22:26 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 3 Feb 2005 22:26:44 +0000 (22:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/console/console.cpp

index 1ad703cabdcde96d9960f714ddc0d344680066bd..49d5721127d1596ddc21fe0adebc58fcb0bca28b 100644 (file)
@@ -2636,6 +2636,8 @@ static void TestFtpUpload()
 
 #ifdef TEST_STACKWALKER
 
+#if wxUSE_STACKWALKER
+
 #include "wx/stackwalk.h"
 
 class StackDump : public wxStackWalker
@@ -2693,6 +2695,8 @@ static void TestStackWalk(const char *argv0)
     dump.Walk();
 }
 
+#endif // wxUSE_STACKWALKER
+
 #endif // TEST_STACKWALKER
 
 // ----------------------------------------------------------------------------