From: Francesco Montorsi Date: Wed, 7 Jan 2009 17:42:21 +0000 (+0000) Subject: remove old (and unused) MSW-only wxFontEnumerator header X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c9760e58d599d0afd16c8b86ff749632075a6bac remove old (and unused) MSW-only wxFontEnumerator header git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/fontenum.h b/include/wx/msw/fontenum.h deleted file mode 100644 index 57bb9c585e..0000000000 --- a/include/wx/msw/fontenum.h +++ /dev/null @@ -1,40 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: wx/msw/fontenum.h -// Purpose: wxFontEnumerator class for Windows -// Author: Julian Smart -// Modified by: -// Created: 04/01/98 -// RCS-ID: $Id$ -// Copyright: (c) Julian Smart -// Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// - -#ifndef _WX_FONTENUM_MSW_H_ -#define _WX_FONTENUM_MSW_H_ - -/* - * wxFontEnumerator: for gathering font information - */ - -class wxFontEnumerator: public wxObject -{ -DECLARE_CLASS(wxFontEnumerator) -public: - wxFontEnumerator() {} - - // Enumerate the fonts. - bool Enumerate(); - - // Stop enumeration if false is returned. - // By default, the enumerator stores the facenames in a list for - // retrieval via GetFacenames(). - virtual bool OnFont(const wxFont& font); - - // Return the list of facenames. - wxStringList& GetFacenames() { return (wxStringList&) m_faceNames; } -protected: - wxStringList m_faceNames; -}; - -#endif - // _WX_FONTENUM_MSW_H_ diff --git a/include/wx/palmos/fontenum.h b/include/wx/palmos/fontenum.h deleted file mode 100644 index 6e9505dc55..0000000000 --- a/include/wx/palmos/fontenum.h +++ /dev/null @@ -1,40 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: wx/palmos/fontenum.h -// Purpose: wxFontEnumerator class for Palm OS -// Author: William Osborne - minimal working wxPalmOS port -// Modified by: -// Created: 10/13/04 -// RCS-ID: $Id$ -// Copyright: (c) William Osborne -// Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// - -#ifndef _WX_FONTENUM_PALM_H_ -#define _WX_FONTENUM_PALM_H_ - -/* - * wxFontEnumerator: for gathering font information - */ - -class wxFontEnumerator: public wxObject -{ -DECLARE_CLASS(wxFontEnumerator) -public: - wxFontEnumerator() {}; - - // Enumerate the fonts. - bool Enumerate(); - - // Stop enumeration if FALSE is returned. - // By default, the enumerator stores the facenames in a list for - // retrieval via GetFacenames(). - virtual bool OnFont(const wxFont& font); - - // Return the list of facenames. - wxStringList& GetFacenames() { return (wxStringList&) m_faceNames; } -protected: - wxStringList m_faceNames; -}; - -#endif - // _WX_FONTENUM_PALM_H_