]> git.saurik.com Git - wxWidgets.git/commitdiff
unicode fix for CW
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 26 Sep 2004 14:07:09 +0000 (14:07 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 26 Sep 2004 14:07:09 +0000 (14:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 8d3c198b8d8fe8c428639ae2c040b1c351264239..f42bd4dfd4e69d04a2eb20628da85769e1f12478 100644 (file)
@@ -1223,6 +1223,12 @@ wxString operator+(const wxChar *psz, const wxString& str)
 
 #if wxUSE_UNICODE
 
+#ifdef __MWERKS__
+#ifndef __SCHAR_MAX__
+#define __SCHAR_MAX__ 127
+#endif
+#endif
+
 wxString wxString::FromAscii(const char *ascii)
 {
     if (!ascii)