X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a12cc65c8a0d576654b2c24c60503564ae07712..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/fontmap.h?ds=sidebyside diff --git a/include/wx/fontmap.h b/include/wx/fontmap.h index d7555d3b57..d3b0461e72 100644 --- a/include/wx/fontmap.h +++ b/include/wx/fontmap.h @@ -90,10 +90,13 @@ public: // get the n-th supported encoding static wxFontEncoding GetEncoding(size_t n); - // return internal string identifier for the encoding (see also - // GetEncodingDescription()) + // return canonical name of this encoding (this is a short string, + // GetEncodingDescription() returns a longer one) static wxString GetEncodingName(wxFontEncoding encoding); + // return a list of all names of this encoding (see GetEncodingName) + static const wxChar** GetAllEncodingNames(wxFontEncoding encoding); + // return user-readable string describing the given encoding // // NB: hard-coded now, but might change later (read it from config?)