From 8887e2341acfbb4d2a5fc1cfd52c65406e6ba110 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Wed, 7 Aug 2002 17:34:19 +0000 Subject: [PATCH] Compile fix for Unicode. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/msgout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.45.2