X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ab460e7d62b52b105b3dc0bbdd36cebc14fb4b..0df7cb7e432288745e61af96b26084cc888e7896:/include/wx/msw/font.h diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 4ad4c11526..2437e22f4a 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 wxObjectRefData *CreateRefData() const; + virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; private: DECLARE_DYNAMIC_CLASS(wxFont)