X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/674d80a76ff5db54cfb03de20853fba6d739832a..b09857ae000a60704207d63290be937584805fb0:/interface/wx/fontmap.h diff --git a/interface/wx/fontmap.h b/interface/wx/fontmap.h index 790e551063..358273c648 100644 --- a/interface/wx/fontmap.h +++ b/interface/wx/fontmap.h @@ -3,7 +3,7 @@ // Purpose: interface of wxFontMapper // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -54,9 +54,9 @@ @endcode @library{wxcore} - @category{misc} + @category{cfg} - @see wxEncodingConverter, @ref overview_nonenglish "Writing non-English applications" + @see wxEncodingConverter, @ref overview_nonenglish */ class wxFontMapper { @@ -85,8 +85,8 @@ public: 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. @@ -167,8 +167,8 @@ public: 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). @@ -179,14 +179,6 @@ public: */ 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). */