X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..3ef595d5f879ec3ed4ef511445487261304313e2:/src/palmos/font.cpp diff --git a/src/palmos/font.cpp b/src/palmos/font.cpp index b3f9954ddc..c2f192cbca 100644 --- a/src/palmos/font.cpp +++ b/src/palmos/font.cpp @@ -24,12 +24,12 @@ #pragma hdrstop #endif +#include "wx/font.h" + #ifndef WX_PRECOMP - #include "wx/setup.h" #include "wx/list.h" #include "wx/utils.h" #include "wx/app.h" - #include "wx/font.h" #include "wx/log.h" #include "wx/encinfo.h" #endif // WX_PRECOMP @@ -252,7 +252,7 @@ public: m_weight = weight; } - void SetFaceName(const wxString& faceName) + bool SetFaceName(const wxString& faceName) { if ( m_nativeFontInfoOk ) m_nativeFontInfo.SetFaceName(faceName); @@ -315,6 +315,8 @@ protected: bool m_nativeFontInfoOk; }; +#define M_FONTDATA ((wxFontRefData*)m_refData) + // ============================================================================ // implementation // ============================================================================ @@ -364,10 +366,6 @@ void wxNativeFontInfo::SetPixelSize(const wxSize& pixelSize) // wxFont // ---------------------------------------------------------------------------- -void wxFont::Init() -{ -} - bool wxFont::Create(const wxNativeFontInfo& info, WXHFONT hFont) { return false; @@ -449,8 +447,9 @@ void wxFont::SetWeight(int weight) { } -void wxFont::SetFaceName(const wxString& faceName) +bool wxFont::SetFaceName(const wxString& faceName) { + return true; } void wxFont::SetUnderlined(bool underlined) @@ -523,4 +522,3 @@ bool wxFont::IsFixedWidth() const { return false; } -