#include "wx/unix/execute.h"
#ifdef __WXDEBUG__
+ #include "wx/gtk/assertdlg_gtk.h"
#if wxUSE_STACKWALKER
- #include "wx/gtk/assertdlg_gtk.h"
#include "wx/stackwalk.h"
#endif // wxUSE_STACKWALKER
#endif // __WXDEBUG__
{
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);
}
}