]> git.saurik.com Git - wxWidgets.git/commitdiff
better mb2wc conversions for mac unicode
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 28 Mar 2003 20:55:23 +0000 (20:55 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 28 Mar 2003 20:55:23 +0000 (20:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 384f083b09b709928ded124e8513b063c64eaf53..8245dc380c7d3a239fbfa9a2189516e66aa6a0c5 100644 (file)
@@ -677,6 +677,10 @@ WXDLLEXPORT bool wxOKlibc(); // for internal use
  */
 #ifndef wxVsnprintf_
     #if wxUSE_UNICODE
  */
 #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 */
         #if defined(HAVE__VSNWPRINTF)
             #define wxVsnprintf_    _vsnwprintf
         /* MinGW?MSVCRT has the wrong vswprintf */