// font encodings
// Author: Vaclav Slavik
// Copyright: (c) 1999 Vaclav Slavik
-// Licence: wxWindows Licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_ENCCONV_H_
// 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);
// 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: