X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b70c946a39362f054e0248d759dd2e6eb1137d9..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/fontenum.h diff --git a/interface/wx/fontenum.h b/interface/wx/fontenum.h index 7ed8230d24..ba5cfa8cf2 100644 --- a/interface/wx/fontenum.h +++ b/interface/wx/fontenum.h @@ -2,8 +2,7 @@ // Name: fontenum.h // Purpose: interface of wxFontEnumerator // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -30,16 +29,19 @@ @library{wxcore} @category{gdi} - @see @ref overview_fontencoding, @ref sample_font, wxFont, wxFontMapper + @see @ref overview_fontencoding, @ref page_samples_font, wxFont, wxFontMapper */ class wxFontEnumerator { public: + wxFontEnumerator(); + virtual ~wxFontEnumerator(); + /** Call OnFontEncoding() for each encoding supported by the given font - or for each encoding supported by at least some font if @a font is not specified. */ - virtual bool EnumerateEncodings(const wxString& font = ""); + virtual bool EnumerateEncodings(const wxString& font = wxEmptyString); /** Call OnFacename() for each font which supports given encoding (only if @@ -56,7 +58,7 @@ public: Return array of strings containing all encodings found by EnumerateEncodings(). */ - static wxArrayString GetEncodings(const wxString& facename = ""); + static wxArrayString GetEncodings(const wxString& facename = wxEmptyString); /** Return array of strings containing all facenames found by