Lots of Unix/Unicode compile fixes, some of which
are just #ifdef 0 such as the wxExecute calls in gdcps.cpp. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user