X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bc97d1b81910a82e249f6227798b42089149f94..9c54e4ae1f401a9c337b97b588e5a356d79cbe82:/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: