]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/encconv.h
specific workaround for XCODE native
[wxWidgets.git] / include / wx / encconv.h
index 5bf29e747060d0b0efdebb6e17f678562dbb4a84..d99eaea5e2b34ba899920d8ddb3127f943960e2e 100644 (file)
@@ -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: