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:
Francesco Montorsi
2009-01-14 14:38:00 +00:00
parent ffad7b0dd2
commit 5249958203
3 changed files with 15 additions and 8 deletions

View File

@@ -73,9 +73,9 @@ public:
FreeStack();
}
virtual void Walk(size_t skip = 1, size_t maxDepth = 200);
virtual void Walk(size_t skip = 1, size_t maxDepth = wxSTACKWALKER_MAX_DEPTH);
#if wxUSE_ON_FATAL_EXCEPTION
virtual void WalkFromException(size_t maxDepth = 200) { Walk(2, maxDepth); }
virtual void WalkFromException(size_t maxDepth = wxSTACKWALKER_MAX_DEPTH) { Walk(2, maxDepth); }
#endif // wxUSE_ON_FATAL_EXCEPTION
static const wxString& GetExePath() { return ms_exepath; }