From: Vadim Zeitlin Date: Sun, 3 Dec 2006 16:29:23 +0000 (+0000) Subject: don't show wxOnAssert() frame neither in the assert dialog, it's not interesting... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62710178a67afd31656ab3403b6aa6120985359c don't show wxOnAssert() frame neither in the assert dialog, it's not interesting as it's always the same git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index 7f2f15d92c..f9c83e3166 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -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); } }