X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd0ef3324b56a108aa3850e4240d3f7160965c01..38b36b4c679d20adb70d1695f3be9b801fdbf556:/src/common/unichar.cpp diff --git a/src/common/unichar.cpp b/src/common/unichar.cpp index 5dbe8b0825..9e8ef8df4f 100644 --- a/src/common/unichar.cpp +++ b/src/common/unichar.cpp @@ -19,6 +19,10 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP + #include "wx/strconv.h" // wxConvLibc +#endif + #include "wx/unichar.h" // =========================================================================== @@ -26,7 +30,7 @@ // =========================================================================== /* static */ -wxUniChar::unicode_type wxUniChar::From8bit(char c) +wxUniChar::value_type wxUniChar::From8bit(char c) { // all supported charsets have the first 128 characters same as ASCII: if ( (unsigned char)c < 0x80 ) @@ -39,7 +43,7 @@ wxUniChar::unicode_type wxUniChar::From8bit(char c) } /* static */ -char wxUniChar::To8bit(wxUniChar::unicode_type c) +char wxUniChar::To8bit(wxUniChar::value_type c) { // all supported charsets have the first 128 characters same as ASCII: if ( c < 0x80 )