X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..c40555e948e48d5c10f30d0c83b2c7702d23fa8e:/include/wx/stackwalk.h diff --git a/include/wx/stackwalk.h b/include/wx/stackwalk.h index 144dbd8e6d..2a652b0759 100644 --- a/include/wx/stackwalk.h +++ b/include/wx/stackwalk.h @@ -132,10 +132,12 @@ public: // notice that Walk() frame itself is not included if skip >= 1) virtual void Walk(size_t skip = 1, size_t maxDepth = 200) = 0; +#if wxUSE_ON_FATAL_EXCEPTION // enumerate stack frames from the location of uncaught exception // // this version can only be called from wxApp::OnFatalException() - virtual void WalkFromException() = 0; + virtual void WalkFromException(size_t maxDepth = 200) = 0; +#endif // wxUSE_ON_FATAL_EXCEPTION protected: // this function must be overrided to process the given frame