build fixes for wxUSE_ON_FATAL_EXCEPTION==0 (#9937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -478,11 +478,13 @@ bool wxDebugReport::AddContext(wxDebugReport::Context ctx)
|
||||
#if wxUSE_STACKWALKER
|
||||
wxXmlNode *nodeStack = new wxXmlNode(wxXML_ELEMENT_NODE, _T("stack"));
|
||||
XmlStackWalker sw(nodeStack);
|
||||
#if wxUSE_ON_FATAL_EXCEPTION
|
||||
if ( ctx == Context_Exception )
|
||||
{
|
||||
sw.WalkFromException();
|
||||
}
|
||||
else // Context_Current
|
||||
#endif // wxUSE_ON_FATAL_EXCEPTION
|
||||
{
|
||||
sw.Walk();
|
||||
}
|
||||
|
Reference in New Issue
Block a user