// Name: fontenum.h
// Purpose: interface of wxFontEnumerator
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
@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
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