X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7ae4a62645d369fbd6b8b5f3f0e12ee86536da1..8cbc59fe84f046685b873cf58f6c56debe59de1c:/src/mgl/fontmgr.cpp diff --git a/src/mgl/fontmgr.cpp b/src/mgl/fontmgr.cpp index 4bcae31029..0f9c957c10 100644 --- a/src/mgl/fontmgr.cpp +++ b/src/mgl/fontmgr.cpp @@ -16,6 +16,10 @@ #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 // ----------------------------------------------------------------------------