From: Václav Slavík Date: Mon, 19 Mar 2007 16:22:11 +0000 (+0000) Subject: use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dbecee02eda4e75af63746fca276c4df05ed3b94 use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unichar.h b/include/wx/unichar.h index 75a01f62db..948018d4a8 100644 --- a/include/wx/unichar.h +++ b/include/wx/unichar.h @@ -11,6 +11,7 @@ #ifndef _WX_UNICHAR_H_ #define _WX_UNICHAR_H_ +#include "wx/defs.h" #include "wx/chartype.h" class WXDLLIMPEXP_BASE wxUniCharRef; @@ -23,7 +24,7 @@ public: // NB: this is not wchar_t on purpose, it needs to represent the entire // Unicode code points range and wchar_t may be too small for that // (e.g. on Win32 where wchar_t* is encoded in UTF-16) - typedef unsigned int value_type; + typedef wxUint32 value_type; wxUniChar() : m_value(0) {}