From cf6bedce0ee2453abe58437cdea45b8ff16f4d01 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 26 Sep 2004 14:07:09 +0000 Subject: [PATCH] unicode fix for CW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/string.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/string.cpp b/src/common/string.cpp index 8d3c198b8d..f42bd4dfd4 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -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)