X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f08b7bec7f042cc8df4be88504f50961dae36697..3c029873c66cfdc0dcbf52958970273435ba02fc:/include/wx/mac/carbon/font.h diff --git a/include/wx/mac/carbon/font.h b/include/wx/mac/carbon/font.h index 5df413ba3c..2113b75709 100644 --- a/include/wx/mac/carbon/font.h +++ b/include/wx/mac/carbon/font.h @@ -98,9 +98,8 @@ public: // Returns an ATSUStyle not ATSUStyle* void* MacGetATSUStyle() const ; -protected: - virtual wxObjectRefData* CreateRefData() const; - virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const; +private: + void Unshare(); DECLARE_DYNAMIC_CLASS(wxFont) };