From: Paul Cornett Date: Sun, 11 Mar 2007 16:46:24 +0000 (+0000) Subject: put refdata virtuals in the right class this time X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92f4e151a66bb0d648eb944b2846176eb48bfaf8?ds=sidebyside put refdata virtuals in the right class this time git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/pen.h b/include/wx/mac/carbon/pen.h index 7f51e0add1..6603b40069 100644 --- a/include/wx/mac/carbon/pen.h +++ b/include/wx/mac/carbon/pen.h @@ -43,9 +43,6 @@ public: } protected: - virtual wxObjectRefData* CreateRefData() const; - virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const; - int m_width; int m_style; int m_join ; @@ -111,9 +108,9 @@ public: // Useful helper: create the brush resource bool RealizeResource(); - // When setting properties, we must make sure we're not changing - // another object - void Unshare(); +protected: + virtual wxObjectRefData* CreateRefData() const; + virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const; }; #endif