X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a82c22998b76c7109366e8aea5e1fc90154ce749..78fd3d12bc0f956d755a70564305863531010c34:/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; }