]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/unichar.h
define USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)
[wxWidgets.git] / 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;
     //@}
 
     //@{