don't use hardcoded constant 200; use wxSTACKWALKER_MAX_DEPTH instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
This is the default value of the wxStackWalker::Walk function.
|
||||
*/
|
||||
#define wxSTACKWALKER_MAX_DEPTH (200)
|
||||
|
||||
/**
|
||||
@class wxStackWalker
|
||||
|
||||
@@ -62,16 +67,18 @@ public:
|
||||
notice that Walk() frame itself is not included if skip = 1).
|
||||
|
||||
Up to @a maxDepth frames are walked from the innermost to the outermost one.
|
||||
It defaults to ::wxSTACKWALKER_MAX_DEPTH.
|
||||
*/
|
||||
virtual void Walk(size_t skip = 1, size_t maxDepth = 200);
|
||||
virtual void Walk(size_t skip = 1, size_t maxDepth = wxSTACKWALKER_MAX_DEPTH);
|
||||
|
||||
/**
|
||||
Enumerate stack frames from the location of uncaught exception.
|
||||
This method can only be called from wxApp::OnFatalException().
|
||||
|
||||
Up to @a maxDepth frames are walked from the innermost to the outermost one.
|
||||
It defaults to ::wxSTACKWALKER_MAX_DEPTH.
|
||||
*/
|
||||
virtual void WalkFromException(size_t maxDepth = 200);
|
||||
virtual void WalkFromException(size_t maxDepth = wxSTACKWALKER_MAX_DEPTH);
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user