X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/674d80a76ff5db54cfb03de20853fba6d739832a..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/fontenum.h diff --git a/interface/wx/fontenum.h b/interface/wx/fontenum.h index 99327a7311..048e201b5f 100644 --- a/interface/wx/fontenum.h +++ b/interface/wx/fontenum.h @@ -3,7 +3,7 @@ // Purpose: interface of wxFontEnumerator // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -35,11 +35,14 @@ 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 +59,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