Added 32-bit (UCS-4) wxUString class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1273,6 +1273,24 @@ typedef double wxDouble;
|
||||
*/
|
||||
#define wxNullPtr ((void *)NULL)
|
||||
|
||||
|
||||
/* Define wxChar16 and wxChar32 */
|
||||
|
||||
#if wxUSE_WCHAR_T && (!defined(SIZEOF_WCHAR_T) || (SIZEOF_WCHAR_T == 2))
|
||||
#define wxWCHAR_T_IS_WXCHAR16
|
||||
typedef wchar_t wxChar16;
|
||||
#else
|
||||
typedef wxUint16 wxChar16;
|
||||
#endif
|
||||
|
||||
#if wxUSE_WCHAR_T && defined(SIZEOF_WCHAR_T) && (SIZEOF_WCHAR_T == 4)
|
||||
#define wxWCHAR_T_IS_WXCHAR32
|
||||
typedef wchar_t wxChar32;
|
||||
#else
|
||||
typedef wxUint32 wxChar32;
|
||||
#endif
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
/* byte ordering related definition and macros */
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user