]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/msgout.cpp
Fixed size buffers are not a good thing. Period.
[wxWidgets.git] / src / common / msgout.cpp
index 7addcc63105075bdf6b7678ef78a907b9bfaef6a..e162226ed61c8a88b3b15eb5534496c2d221da16 100755 (executable)
@@ -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());
 }