X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bc97d1b81910a82e249f6227798b42089149f94..2a039701a8aebaf8eb7e7cbc408dbb994661975f:/include/wx/encconv.h diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 5bf29e7470..d99eaea5e2 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -146,7 +146,7 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject // to convert in the other) static bool CanConvert(wxFontEncoding encIn, wxFontEncoding encOut) { - return GetAllEquivalents(encIn).Find(encOut) != wxNOT_FOUND; + return GetAllEquivalents(encIn).Index(encOut) != wxNOT_FOUND; } private: