Fix for link error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-03-26 08:34:51 +00:00
parent 7e3c8a0223
commit e74d06a33b
2 changed files with 13 additions and 6 deletions

View File

@@ -60,14 +60,8 @@ public:
virtual ~wxFontMapperBase();
// return instance of the wxFontMapper singleton
#if wxUSE_GUI
// GUI code needs to know it's a wxFontMapper because there
// are additional methods in the subclass.
static wxFontMapper *Get();
#else
// wxBase code only cares that it's a wxFontMapperBase
static wxFontMapperBase *Get();
#endif
// set the singleton to 'mapper' instance and return previous one
static wxFontMapper *Set(wxFontMapper *mapper);
@@ -235,6 +229,9 @@ public:
// the title for the dialogs (note that default is quite reasonable)
void SetDialogTitle(const wxString& title) { m_titleDialog = title; }
// GUI code needs to know it's a wxFontMapper because there
// are additional methods in the subclass.
static wxFontMapper *Get();
protected:
// GetAltForEncoding() helper: tests for the existence of the given