X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaff0f0d3f7828c2acd9ebde4979acc0b3fa43b5..ddc80eb4eb7e96ff23ebe329283bb2b940dd1df2:/samples/console/console.cpp diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 1ad703cabd..382148a1ca 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -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