+#if wxUSE_GUI
+ // find an alternative for the given encoding (which is supposed to not be
+ // available on this system). If successful, return TRUE and fill info
+ // structure with the parameters required to create the font, otherwise
+ // return FALSE
+ virtual bool GetAltForEncoding(wxFontEncoding encoding,
+ wxNativeEncodingInfo *info,
+ const wxString& facename = wxEmptyString,
+ bool interactive = TRUE);
+
+ // version better suitable for 'public' use. Returns wxFontEcoding
+ // that can be used it wxFont ctor
+ bool GetAltForEncoding(wxFontEncoding encoding,
+ wxFontEncoding *alt_encoding,
+ const wxString& facename = wxEmptyString,
+ bool interactive = TRUE);
+
+ // checks whether given encoding is available in given face or not.
+ // If no facename is given,
+ virtual bool IsEncodingAvailable(wxFontEncoding encoding,
+ const wxString& facename = wxEmptyString);
+#endif // wxUSE_GUI
+