wxString wxDebugReport::GetReportName() const
{
if(wxTheApp)
- return wxTheApp->GetAppName();
+ return wxTheApp->GetAppDisplayName();
return _T("wx");
}
#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();
}
for ( size_t n = 0; n < count; n++ )
{
GetFile(n, &name, &desc);
- msg += wxString::Format(_("\t%s: %s\n"), name.c_str(), desc.c_str());
+ msg += wxString::Format("\t%s: %s\n", name, desc);
}
msg += _("\nPlease send this report to the program maintainer, thank you!\n");