X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/401eb3dec29c09b9afcc843842cba48b33a5089b..74cf9763b4cd29d2a8acd27da76573a0fd164254:/src/common/msgout.cpp diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index 7addcc6310..e162226ed6 100755 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -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()); }