]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 19 Mar 2007 16:22:11 +0000 (16:22 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 19 Mar 2007 16:22:11 +0000 (16:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unichar.h

index 75a01f62db11603095514d9884e24ae8b6adfb42..948018d4a8dcb039f0528ea2da4ed0fc43e38e5f 100644 (file)
@@ -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) {}