]> git.saurik.com Git - wxWidgets.git/commitdiff
remove the implementation of the conversion operators (forgot to do it in the initial...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 3 Dec 2008 15:49:54 +0000 (15:49 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 3 Dec 2008 15:49:54 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/unichar.h

index 479c44679e72bc73c0bbc08c01c302156d5dd881..ccc8edf53375a75f0cdaa59d7ff5328c96932686 100644 (file)
@@ -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;
     //@}
 
     //@{