From: Robin Dunn Date: Wed, 11 Oct 2006 04:09:58 +0000 (+0000) Subject: Get/Set LayoutDirection X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4e2251ecd324ba89c486434485efcb1d32ee7dca?ds=sidebyside Get/Set LayoutDirection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 // ----------------------------------------------------------------------------