]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/stackwalk.h
Fix warnings about signed/unsigned comparisons inside wxMax() and friends.
[wxWidgets.git] / include / wx / unix / stackwalk.h
index f58e17db981dba3428ed2493ac803be9b5b2ef80..c26883b2058772b3c6a506aebf9547c65a74e8c8 100644 (file)
@@ -73,8 +73,10 @@ public:
         FreeStack();
     }
 
-    virtual void Walk(size_t skip = 1, size_t maxDepth = 200);
-    virtual void WalkFromException() { Walk(2); }
+    virtual void Walk(size_t skip = 1, size_t maxDepth = wxSTACKWALKER_MAX_DEPTH);
+#if wxUSE_ON_FATAL_EXCEPTION
+    virtual void WalkFromException(size_t maxDepth = wxSTACKWALKER_MAX_DEPTH) { Walk(2, maxDepth); }
+#endif // wxUSE_ON_FATAL_EXCEPTION
 
     static const wxString& GetExePath() { return ms_exepath; }