Get/Set LayoutDirection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-11 04:09:58 +00:00
parent d6f582e704
commit 4e2251ecd3
2 changed files with 13 additions and 4 deletions

View File

@ -51,10 +51,8 @@ class wxFontBundle : public wxFontBundleBase
public: public:
wxFontBundle(const font_info_t *fontInfo); wxFontBundle(const font_info_t *fontInfo);
virtual wxString GetName() const virtual wxString GetName() const;
{ return wxString::FromAscii(m_fontInfo->familyName); } virtual bool IsFixed() const;
virtual bool IsFixed() const { return m_fontInfo->isFixed; }
const font_info_t *GetInfo() const { return m_fontInfo; } const font_info_t *GetInfo() const { return m_fontInfo; }

View File

@ -132,6 +132,17 @@ wxFontBundle::wxFontBundle(const font_info_t *info)
info->boldFace, info->boldItalicFace); info->boldFace, info->boldItalicFace);
} }
wxString wxFontBundle::GetName() const
{
return wxString::FromAscii(m_fontInfo->familyName);
}
bool wxFontBundle::IsFixed() const
{
return m_fontInfo->isFixed;
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxFontsManager // wxFontsManager
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------