From dbecee02eda4e75af63746fca276c4df05ed3b94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 19 Mar 2007 16:22:11 +0000 Subject: [PATCH] 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 --- include/wx/unichar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {} -- 2.45.2