X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..f5766910b6731eb03e82371416e9778203396ce7:/src/palmos/font.cpp diff --git a/src/palmos/font.cpp b/src/palmos/font.cpp index d75397c30e..643465f864 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); @@ -363,10 +364,6 @@ void wxNativeFontInfo::SetPixelSize(const wxSize& pixelSize) // wxFont // ---------------------------------------------------------------------------- -void wxFont::Init() -{ -} - bool wxFont::Create(const wxNativeFontInfo& info, WXHFONT hFont) { return false; @@ -448,8 +445,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)