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