Build fix in wxLog
Moved wxFrame::Resize without success.. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -500,18 +500,18 @@ void wxLogGui::DoLog(wxLogLevel level, const char *szString)
|
||||
{
|
||||
wxString strTime = TimeStamp();
|
||||
|
||||
#if (defined(__WIN32__) || defined(__WIN16__)) && !defined(__WXSTUBS__)
|
||||
#ifdef __WXMSW__
|
||||
// don't prepend debug/trace here: it goes to the debug window
|
||||
// anyhow, but do put a timestamp
|
||||
OutputDebugString(strTime + szString + "\n\r");
|
||||
#else //!WIN32
|
||||
#else
|
||||
// send them to stderr
|
||||
fprintf(stderr, "%s %s: %s\n",
|
||||
strTime.c_str(),
|
||||
level == wxLOG_Trace ? _("Trace") : _("Debug"),
|
||||
szString);
|
||||
fflush(stderr);
|
||||
#endif // WIN32
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
Reference in New Issue
Block a user