don't show wxOnAssert() frame neither in the assert dialog, it's not interesting...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Dec 2006 16:29:23 +0000 (16:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Dec 2006 16:29:23 +0000 (16:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/utilsgtk.cpp

index 7f2f15d92cb5f204054537364f62df89cfa038f9..f9c83e3166ac6eb56ceee38c827e0f3dd398e901 100644 (file)
@@ -386,7 +386,8 @@ extern "C"
 {
     void get_stackframe_callback(StackDump *dump)
     {
-        dump->ProcessFrames(2); // don't show ShowAssertDialog() call itself
+        // skip over frames up to including wxOnAssert()
+        dump->ProcessFrames(3);
     }
 }