From: Francesco Montorsi Date: Wed, 3 Dec 2008 15:49:54 +0000 (+0000) Subject: remove the implementation of the conversion operators (forgot to do it in the initial... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d6416655c7756e809ec4b94fbfc4d2df7cc3c4c6 remove the implementation of the conversion operators (forgot to do it in the initial commit) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/unichar.h b/interface/wx/unichar.h index 479c44679e..ccc8edf533 100644 --- a/interface/wx/unichar.h +++ b/interface/wx/unichar.h @@ -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; //@} //@{