diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 384f083b09..8245dc380c 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -677,6 +677,10 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use */ #ifndef wxVsnprintf_ #if wxUSE_UNICODE + #if defined(__MWERKS__) + #define HAVE_WCSRTOMBS 1 + #define HAVE_VSWPRINTF 1 + #endif #if defined(HAVE__VSNWPRINTF) #define wxVsnprintf_ _vsnwprintf /* MinGW?MSVCRT has the wrong vswprintf */