Compile fix for Unicode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2002-08-07 17:34:19 +00:00
parent a437860367
commit 8887e2341a

View File

@ -122,8 +122,8 @@ void wxMessageOutputLog::Printf(const wxChar* format, ...)
out.PrintfV(format, args);
va_end(args);
out.Replace("\t"," ");
out.Replace(wxT("\t"),wxT(" "));
// under Motif, wxMessageDialog needs a parent window, so we use
// wxLog, which is better than nothing
::wxLogMessage("%s", out.c_str());
::wxLogMessage(wxT("%s"), out.c_str());
}