]> git.saurik.com Git - wxWidgets.git/commitdiff
don't throw away the first three stack frames in the assert stack dump (fix needed...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Mar 2006 15:59:58 +0000 (15:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Mar 2006 15:59:58 +0000 (15:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index 141502e82017f0a2179cc827616f4f49d1e7d5e9..c1bbddd32633e57db24d9ee8889b339b777351bd 100644 (file)
@@ -739,7 +739,7 @@ static wxString GetAssertStackTrace()
     };
 
     StackDump dump;
-    dump.Walk(5); // don't show OnAssert() call itself
+    dump.Walk(2); // don't show OnAssert() call itself
     stackTrace = dump.GetStackTrace();
 
     // don't show more than maxLines or we could get a dialog too tall to be