]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/console/console.cpp
Incomplete wxUSE_* warning fix.
[wxWidgets.git] / samples / console / console.cpp
index 1ad703cabdcde96d9960f714ddc0d344680066bd..382148a1cadb44d38816fd946d0eeca31b1c635b 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
 
 // ----------------------------------------------------------------------------
@@ -4399,7 +4403,9 @@ int main(int argc, char **argv)
 #endif
 
 #ifdef TEST_STACKWALKER
+#if wxUSE_STACKWALKER
     TestStackWalk(argv[0]);
+#endif
 #endif // TEST_STACKWALKER
 
 #ifdef TEST_STDPATHS