X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bc97d1b81910a82e249f6227798b42089149f94..f46f4c86b234d87b9c1db889cc130d2d7d31c306:/include/wx/encconv.h?ds=sidebyside 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: