X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..b54129836cbc680fbeb338bb6087c1a4f80bdf18:/include/wx/palmos/font.h diff --git a/include/wx/palmos/font.h b/include/wx/palmos/font.h index 31fc7dba5d..7319b4638f 100644 --- a/include/wx/palmos/font.h +++ b/include/wx/palmos/font.h @@ -2,7 +2,7 @@ // Name: wx/palmos/font.h // Purpose: wxFont class // Author: William Osborne - minimal working wxPalmOS port -// Modified by: +// Modified by: Yunhui Fu // Created: 10/14/04 // RCS-ID: $Id$ // Copyright: (c) William Osborne @@ -18,7 +18,7 @@ // wxFont // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFont : public wxFontBase +class WXDLLIMPEXP_CORE wxFont : public wxFontBase { public: // ctors and such @@ -82,6 +82,10 @@ public: virtual ~wxFont(); + // wxFontBase overridden functions + virtual wxString GetNativeFontInfoDesc() const; + virtual wxString GetNativeFontInfoUserDesc() const; + // implement base class pure virtuals virtual int GetPointSize() const; virtual wxSize GetPixelSize() const; @@ -127,7 +131,9 @@ protected: virtual void DoSetNativeFontInfo(const wxNativeFontInfo& info); - void Unshare(); + // implement wxObject virtuals which are used by AllocExclusive() + virtual wxGDIRefData *CreateGDIRefData() const; + virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; private: DECLARE_DYNAMIC_CLASS(wxFont)