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:
@@ -122,8 +122,8 @@ void wxMessageOutputLog::Printf(const wxChar* format, ...)
|
|||||||
out.PrintfV(format, args);
|
out.PrintfV(format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
out.Replace("\t"," ");
|
out.Replace(wxT("\t"),wxT(" "));
|
||||||
// under Motif, wxMessageDialog needs a parent window, so we use
|
// under Motif, wxMessageDialog needs a parent window, so we use
|
||||||
// wxLog, which is better than nothing
|
// wxLog, which is better than nothing
|
||||||
::wxLogMessage("%s", out.c_str());
|
::wxLogMessage(wxT("%s"), out.c_str());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user