don't throw away the first three stack frames in the assert stack dump (fix needed after recent assert cleanup/changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -739,7 +739,7 @@ static wxString GetAssertStackTrace()
|
|||||||
};
|
};
|
||||||
|
|
||||||
StackDump dump;
|
StackDump dump;
|
||||||
dump.Walk(5); // don't show OnAssert() call itself
|
dump.Walk(2); // don't show OnAssert() call itself
|
||||||
stackTrace = dump.GetStackTrace();
|
stackTrace = dump.GetStackTrace();
|
||||||
|
|
||||||
// don't show more than maxLines or we could get a dialog too tall to be
|
// don't show more than maxLines or we could get a dialog too tall to be
|
||||||
|
Reference in New Issue
Block a user