]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for Unicode.
authorRobert Roebling <robert@roebling.de>
Wed, 7 Aug 2002 17:34:19 +0000 (17:34 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 7 Aug 2002 17:34:19 +0000 (17:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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());
 }