X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bc97d1b81910a82e249f6227798b42089149f94..f5e0b4bc7c729ff41e66fb7894fb1387f860bdb2:/include/wx/encconv.h diff --git a/include/wx/encconv.h b/include/wx/encconv.h index 5bf29e7470..3c6b65e89e 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -4,7 +4,7 @@ // font encodings // Author: Vaclav Slavik // Copyright: (c) 1999 Vaclav Slavik -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_ENCCONV_H_ @@ -85,9 +85,9 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject // both modes gurantee that output string will have same length // as input string // - // Returns FALSE if given conversion is impossible, TRUE otherwise + // Returns false if given conversion is impossible, true otherwise // (conversion may be impossible either if you try to convert - // to Unicode with non-Unicode build of wxWindows or if input + // to Unicode with non-Unicode build of wxWidgets or if input // or output encoding is not supported.) bool Init(wxFontEncoding input_enc, wxFontEncoding output_enc, int method = wxCONVERT_STRICT); @@ -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: