X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8f31de610489618dd00d1cc0a3b2ef5f797c2f5..7d4911333fc8fedcb8d02974394f30e4286b5a56:/interface/wx/unichar.h diff --git a/interface/wx/unichar.h b/interface/wx/unichar.h index fd058c1ddc..4866c1c11d 100644 --- a/interface/wx/unichar.h +++ b/interface/wx/unichar.h @@ -19,9 +19,9 @@ class wxUniChar { public: /** - 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). + A type capable of holding any Unicode code point. + We do not use wchar_t as it cannot do the job on Win32, + where wchar_t is a 16-bit type (wchar_t* is encoded using UTF-16 on Win32). */ typedef wxUint32 value_type; @@ -32,8 +32,8 @@ public: //@{ /** - Create the character from 8bit character value encoded in the current - locale's charset. + Create a character from the 8-bit character value @a c using the + current locale’s encoding. */ wxUniChar(char c); wxUniChar(unsigned char c); @@ -54,7 +54,7 @@ public: value_type GetValue() const; /** - Returns true if the character is an ASCII character. + Returns true if the character is an ASCII character (i.e. if its value is less than 128). */ bool IsAscii() const;