X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/674d80a76ff5db54cfb03de20853fba6d739832a..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/fontenum.h diff --git a/interface/wx/fontenum.h b/interface/wx/fontenum.h index 99327a7311..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 ///////////////////////////////////////////////////////////////////////////// /** @@ -35,11 +34,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 +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