part of commit r58093

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-14 15:01:23 +00:00
parent eb83512732
commit af6785afcc

View File

@@ -18,6 +18,8 @@
class WXDLLIMPEXP_FWD_BASE wxStackFrame; class WXDLLIMPEXP_FWD_BASE wxStackFrame;
#define wxSTACKWALKER_MAX_DEPTH (200)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxStackFrame: a single stack level // wxStackFrame: a single stack level
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -130,13 +132,13 @@ public:
// number of them (this can be useful when Walk() is called from some known // number of them (this can be useful when Walk() is called from some known
// location and you don't want to see the first few frames anyhow; also // location and you don't want to see the first few frames anyhow; also
// notice that Walk() frame itself is not included if skip >= 1) // notice that Walk() frame itself is not included if skip >= 1)
virtual void Walk(size_t skip = 1, size_t maxDepth = 200) = 0; virtual void Walk(size_t skip = 1, size_t maxDepth = wxSTACKWALKER_MAX_DEPTH) = 0;
#if wxUSE_ON_FATAL_EXCEPTION #if wxUSE_ON_FATAL_EXCEPTION
// enumerate stack frames from the location of uncaught exception // enumerate stack frames from the location of uncaught exception
// //
// this version can only be called from wxApp::OnFatalException() // this version can only be called from wxApp::OnFatalException()
virtual void WalkFromException(size_t maxDepth = 200) = 0; virtual void WalkFromException(size_t maxDepth = wxSTACKWALKER_MAX_DEPTH) = 0;
#endif // wxUSE_ON_FATAL_EXCEPTION #endif // wxUSE_ON_FATAL_EXCEPTION
protected: protected: