X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..71cf399ff0f1ddb966b48e512b0fb4e690f5c440:/include/wx/msw/font.h?ds=sidebyside diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 4ad4c11526..206f2ba65a 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -120,11 +120,6 @@ public: // for consistency with other wxMSW classes WXHFONT GetHFONT() const; - /* - virtual bool UseResource(); - virtual bool ReleaseResource(); - */ - protected: // real font creation function, used in all cases bool DoCreate(int size, @@ -139,7 +134,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)