X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a82c22998b76c7109366e8aea5e1fc90154ce749..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/unix/stackwalk.h?ds=sidebyside diff --git a/include/wx/unix/stackwalk.h b/include/wx/unix/stackwalk.h index f58e17db98..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() { Walk(2); } + 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; }