X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef2a553af8ab0d44d4817ee33273cd540efb5ce..97d13342cc2ac77e21c38115cc6ebecac930f92a:/interface/wx/unichar.h diff --git a/interface/wx/unichar.h b/interface/wx/unichar.h index 479c44679e..83f63525d8 100644 --- a/interface/wx/unichar.h +++ b/interface/wx/unichar.h @@ -28,7 +28,7 @@ public: /** Default ctor. */ - wxUniChar() + wxUniChar(); //@{ /** @@ -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; @@ -64,15 +64,15 @@ public: able to pass wxUniChars to various standard narrow and wide character functions. */ - operator char() const { return To8bit(m_value); } - operator unsigned char() const { return (unsigned char)To8bit(m_value); } - operator wchar_t() const { return (wchar_t)m_value; } - operator int() const { return (int)m_value; } - operator unsigned int() const { return (unsigned int)m_value; } - operator long int() const { return (long int)m_value; } - operator unsigned long int() const { return (unsigned long)m_value; } - operator short int() const { return (short int)m_value; } - operator unsigned short int() const { return (unsigned short int)m_value; } + operator char() const; + operator unsigned char() const; + operator wchar_t() const; + operator int() const; + operator unsigned int() const; + operator long int() const; + operator unsigned long int() const; + operator short int() const; + operator unsigned short int() const; //@} //@{