]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxchar.cpp
Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
[wxWidgets.git] / src / common / wxchar.cpp
index be0dc8d53d8b3057b7d0518656921eb81a73a71e..edbe661e7572ec6be452d9dc82bc04bf04891c33 100644 (file)
@@ -599,7 +599,7 @@ int vfwprintf(FILE *stream, const wxChar *format, va_list argptr)
     if ( rc != -1 )
     {
         // we can't do much better without Unicode support in libc...
-        if ( fprintf(stream, "%s", s.mb_str()) == -1 )
+        if ( fprintf(stream, "%s", (const char*)s.mb_str() ) == -1 )
             return -1;
     }