]> git.saurik.com Git - wxWidgets.git/commitdiff
Get/Set LayoutDirection
authorRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 04:09:58 +0000 (04:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 04:09:58 +0000 (04:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mgl/private/fontmgr.h
src/mgl/fontmgr.cpp

index 2e24ffe5fd5a6d7f7c747510821d5821c99a3d59..19f88cef0bf22d7a4a4951ca618df65d9c551644 100644 (file)
@@ -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; }
 
index 4bcae31029a800dae6ccc25185b08a01442decf6..bcb4d7b93c5855969651a3ace9fda033960c7724 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------