]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/msgout.cpp
Added ProcessIdle virtual function
[wxWidgets.git] / src / common / msgout.cpp
index 30e50e906b7f998ffb08f23d0e7137f8c28ff2b7..7addcc63105075bdf6b7678ef78a907b9bfaef6a 100755 (executable)
@@ -83,7 +83,7 @@ void wxMessageOutputStderr::Printf(const wxChar* format, ...)
     out.PrintfV(format, args);
     va_end(args);
 
-    fprintf(stderr, "%s", out.mb_str());
+    fprintf(stderr, "%s", (const char*) out.mb_str());
 }
 
 // ----------------------------------------------------------------------------
@@ -102,7 +102,7 @@ void wxMessageOutputMessageBox::Printf(const wxChar* format, ...)
     va_end(args);
 
 #ifndef __WXMSW__
-    out.Replace("\t","        ");
+    out.Replace(wxT("\t"),wxT("        "));
 #endif
     ::wxMessageBox(out);
 }