X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a82c22998b76c7109366e8aea5e1fc90154ce749..40dc2ae656521edfa1bd4ece65003c9956120491:/include/wx/unix/stackwalk.h diff --git a/include/wx/unix/stackwalk.h b/include/wx/unix/stackwalk.h index f58e17db98..2d1a6b53b5 100644 --- a/include/wx/unix/stackwalk.h +++ b/include/wx/unix/stackwalk.h @@ -74,7 +74,9 @@ public: } virtual void Walk(size_t skip = 1, size_t maxDepth = 200); - virtual void WalkFromException() { Walk(2); } +#if wxUSE_ON_FATAL_EXCEPTION + virtual void WalkFromException(size_t maxDepth = 200) { Walk(2, maxDepth); } +#endif // wxUSE_ON_FATAL_EXCEPTION static const wxString& GetExePath() { return ms_exepath; }