// Purpose: interface of wxFontMapper
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
@endcode
@library{wxcore}
- @category{misc}
+ @category{cfg}
- @see wxEncodingConverter, @ref overview_nonenglish "Writing non-English applications"
+ @see wxEncodingConverter, @ref overview_nonenglish
*/
class wxFontMapper
{
idea to call this function from the event handlers for repeatedly generated
events such as @c EVT_PAINT.
*/
- wxFontEncoding CharsetToEncoding(const wxString& charset,
- bool interactive = true);
+ virtual wxFontEncoding CharsetToEncoding(const wxString& charset,
+ bool interactive = true);
/**
Get the current font mapper object. If there is no current object, creates one.
Check whether given encoding is available in given face or not.
If no facename is given, find @e any font in this encoding.
*/
- bool IsEncodingAvailable(wxFontEncoding encoding,
- const wxString& facename = wxEmptyString);
+ virtual bool IsEncodingAvailable(wxFontEncoding encoding,
+ const wxString& facename = wxEmptyString);
/**
Set the current font mapper object and return previous one (may be @NULL).
*/
static wxFontMapper* Set(wxFontMapper* mapper);
- /**
- Set the config object to use (may be @NULL to use default).
- By default, the global one (from wxConfigBase::Get() will be used)
- and the default root path for the config settings is the string returned
- by GetDefaultConfigPath().
- */
- void SetConfig(wxConfigBase* config);
-
/**
Set the root config path to use (should be an absolute path).
*/