projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
respect wxBU_NOTEXT style in wxButton
[wxWidgets.git]
/
src
/
common
/
debugrpt.cpp
diff --git
a/src/common/debugrpt.cpp
b/src/common/debugrpt.cpp
index 2b56ed7159b4bf1cefd61e2049b46cef1bb3fb2a..e9044154a70eca3e170761c249058583beeab566 100644
(file)
--- a/
src/common/debugrpt.cpp
+++ b/
src/common/debugrpt.cpp
@@
-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_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
if ( ctx == Context_Exception )
{
sw.WalkFromException();
}
else // Context_Current
+#endif // wxUSE_ON_FATAL_EXCEPTION
{
sw.Walk();
}
{
sw.Walk();
}
@@
-572,7
+574,7
@@
bool wxDebugReport::DoProcess()
for ( size_t n = 0; n < count; n++ )
{
GetFile(n, &name, &desc);
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");
}
msg += _("\nPlease send this report to the program maintainer, thank you!\n");