]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/fontmgr.cpp
fix getting frame extents on 64-bit platforms, cleanup XGetWindowProperty code
[wxWidgets.git] / src / mgl / fontmgr.cpp
index 4bcae31029a800dae6ccc25185b08a01442decf6..0f9c957c1050764be57666af6c65cdc61411daed 100644 (file)
     #pragma hdrstop
 #endif
 
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+#endif
+
 #include "wx/private/fontmgr.h"
 #include "wx/sysopt.h"
 
@@ -132,6 +136,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
 // ----------------------------------------------------------------------------