X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef81fe8b3f49914196ea77d9b7625ceee2776b47..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/unix/stackwalk.h?ds=inline diff --git a/include/wx/unix/stackwalk.h b/include/wx/unix/stackwalk.h index 96dc1ed702..c26883b205 100644 --- a/include/wx/unix/stackwalk.h +++ b/include/wx/unix/stackwalk.h @@ -73,8 +73,10 @@ public: FreeStack(); } - virtual void Walk(size_t skip = 1, size_t maxDepth = 200); - virtual void WalkFromException(size_t maxDepth = 200) { Walk(2, maxDepth); } + virtual void Walk(size_t skip = 1, size_t maxDepth = wxSTACKWALKER_MAX_DEPTH); +#if wxUSE_ON_FATAL_EXCEPTION + virtual void WalkFromException(size_t maxDepth = wxSTACKWALKER_MAX_DEPTH) { Walk(2, maxDepth); } +#endif // wxUSE_ON_FATAL_EXCEPTION static const wxString& GetExePath() { return ms_exepath; }