X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11e3af6e7eed3c4717608ba2095a688b1fea60e0..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/stackwalk.h diff --git a/interface/wx/stackwalk.h b/interface/wx/stackwalk.h index 9d1987f756..26e4216643 100644 --- a/interface/wx/stackwalk.h +++ b/interface/wx/stackwalk.h @@ -2,10 +2,14 @@ // Name: stackwalk.h // Purpose: interface of wxStackWalker // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +/** + This is the default value of the wxStackWalker::Walk function. +*/ +#define wxSTACKWALKER_MAX_DEPTH (200) + /** @class wxStackWalker @@ -62,16 +66,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: /**