]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unichar.h
added wxGetX11Display() returning the pointer of the correct type, unlike the old...
[wxWidgets.git] / include / wx / unichar.h
index fc664c031f01eaafe53883598d1db6c375b707f9..95626697109934d715ed7205a421619fe78d2354 100644 (file)
@@ -176,7 +176,7 @@ public:
 #endif
 
     wxUniChar::value_type GetValue() const { return UniChar().GetValue(); }
-    bool IsAscii() const { return UniChar().GetValue(); }
+    bool IsAscii() const { return UniChar().IsAscii(); }
 
     // Assignment operators:
 #if wxUSE_UNICODE_UTF8
@@ -279,7 +279,7 @@ wxDEFINE_COMPARISONS(wchar_t, const wxUniChar&, wxCMP_REVERSE)
 wxDEFINE_COMPARISONS(wchar_t, const wxUniCharRef&, wxCMP_REVERSE)
 
 #ifdef wxWINT_T_IS_SEPARATE_TYPE
-wxDEFINE_COMPARISONS(wint_t, const wxUniChar&, wxCMP_REVERSE)
+//wxDEFINE_COMPARISONS(wint_t, const wxUniChar&, wxCMP_REVERSE)
 wxDEFINE_COMPARISONS(wint_t, const wxUniCharRef&, wxCMP_REVERSE)
 #endif