out.PrintfV(format, args);
va_end(args);
- fprintf(stderr, "%s", out.mb_str());
+ fprintf(stderr, "%s", (const char*) out.mb_str());
}
// ----------------------------------------------------------------------------
va_end(args);
#ifndef __WXMSW__
- out.Replace("\t"," ");
+ out.Replace(wxT("\t"),wxT(" "));
#endif
::wxMessageBox(out);
}
// wxMessageOutputLog
// ----------------------------------------------------------------------------
-#if wxUSE_GUI && defined(__WXMOTIF__)
-
void wxMessageOutputLog::Printf(const wxChar* format, ...)
{
va_list args;
// wxLog, which is better than nothing
::wxLogMessage("%s", out.c_str());
}
-
-#endif // wxUSE_GUI