X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..243ef54b39f83d4a805dbeaa5ea80232ac66a1b8:/src/palmos/font.cpp diff --git a/src/palmos/font.cpp b/src/palmos/font.cpp index d75397c30e..c2f192cbca 100644 --- a/src/palmos/font.cpp +++ b/src/palmos/font.cpp @@ -24,11 +24,12 @@ #pragma hdrstop #endif +#include "wx/font.h" + #ifndef WX_PRECOMP #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 @@ -251,7 +252,7 @@ public: m_weight = weight; } - void SetFaceName(const wxString& faceName) + bool SetFaceName(const wxString& faceName) { if ( m_nativeFontInfoOk ) m_nativeFontInfo.SetFaceName(faceName); @@ -314,6 +315,8 @@ protected: bool m_nativeFontInfoOk; }; +#define M_FONTDATA ((wxFontRefData*)m_refData) + // ============================================================================ // implementation // ============================================================================ @@ -363,10 +366,6 @@ void wxNativeFontInfo::SetPixelSize(const wxSize& pixelSize) // wxFont // ---------------------------------------------------------------------------- -void wxFont::Init() -{ -} - bool wxFont::Create(const wxNativeFontInfo& info, WXHFONT hFont) { return false; @@ -448,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)