Various wxMotif changes including size optimisation and debugging operator fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -338,8 +338,11 @@ void wxLog::DoLog(wxLogLevel level, const char *szString)
|
||||
case wxLOG_Trace:
|
||||
case wxLOG_Debug:
|
||||
#ifdef __WXDEBUG__
|
||||
DoLogString(str << (level == wxLOG_Trace ? _("Trace") : _("Debug"))
|
||||
<< ": " << szString);
|
||||
// DoLogString(str << (level == wxLOG_Trace ? _("Trace") : _("Debug"))
|
||||
// << ": " << szString);
|
||||
// JACS: we don't really want to prefix with 'Debug'. It's just extra
|
||||
// verbiage.
|
||||
DoLogString(szString);
|
||||
#endif
|
||||
|
||||
break;
|
||||
@@ -506,10 +509,14 @@ void wxLogGui::DoLog(wxLogLevel level, const char *szString)
|
||||
OutputDebugString(strTime + szString + "\n\r");
|
||||
#else
|
||||
// send them to stderr
|
||||
/*
|
||||
fprintf(stderr, "%s %s: %s\n",
|
||||
strTime.c_str(),
|
||||
level == wxLOG_Trace ? _("Trace") : _("Debug"),
|
||||
szString);
|
||||
*/
|
||||
fprintf(stderr, "%s\n",
|
||||
szString);
|
||||
fflush(stderr);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user