]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/utilsgtk.cpp
making sure it is only breaking at newlines for measuring
[wxWidgets.git] / 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);
     }
 }