X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/817270659e986de1b243586d8eb6ad3a76c87480..57d7f9888e18d350fb023fdccd39e0ab7a3bb8dd:/include/wx/unichar.h diff --git a/include/wx/unichar.h b/include/wx/unichar.h index fc664c031f..9562669710 100644 --- a/include/wx/unichar.h +++ b/include/wx/unichar.h @@ -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