diff --git a/include/wx/mgl/private/fontmgr.h b/include/wx/mgl/private/fontmgr.h index 2e24ffe5fd..19f88cef0b 100644 --- a/include/wx/mgl/private/fontmgr.h +++ b/include/wx/mgl/private/fontmgr.h @@ -51,10 +51,8 @@ class wxFontBundle : public wxFontBundleBase public: wxFontBundle(const font_info_t *fontInfo); - virtual wxString GetName() const - { return wxString::FromAscii(m_fontInfo->familyName); } - - virtual bool IsFixed() const { return m_fontInfo->isFixed; } + virtual wxString GetName() const; + virtual bool IsFixed() const; const font_info_t *GetInfo() const { return m_fontInfo; } diff --git a/src/mgl/fontmgr.cpp b/src/mgl/fontmgr.cpp index 4bcae31029..bcb4d7b93c 100644 --- a/src/mgl/fontmgr.cpp +++ b/src/mgl/fontmgr.cpp @@ -132,6 +132,17 @@ wxFontBundle::wxFontBundle(const font_info_t *info) info->boldFace, info->boldItalicFace); } +wxString wxFontBundle::GetName() const +{ + return wxString::FromAscii(m_fontInfo->familyName); +} + +bool wxFontBundle::IsFixed() const +{ + return m_fontInfo->isFixed; +} + + // ---------------------------------------------------------------------------- // wxFontsManager // ----------------------------------------------------------------------------