X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61a0b9059a22e0f8b16e4396d0f8cbf49f31998f..3c029873c66cfdc0dcbf52958970273435ba02fc:/include/wx/mac/carbon/pen.h?ds=inline diff --git a/include/wx/mac/carbon/pen.h b/include/wx/mac/carbon/pen.h index 7f51e0add1..859448d154 100644 --- a/include/wx/mac/carbon/pen.h +++ b/include/wx/mac/carbon/pen.h @@ -16,11 +16,11 @@ #include "wx/colour.h" #include "wx/bitmap.h" -class WXDLLEXPORT wxPen; +class WXDLLIMPEXP_FWD_CORE wxPen; class WXDLLEXPORT wxPenRefData: public wxGDIRefData { - friend class WXDLLEXPORT wxPen; + friend class WXDLLIMPEXP_FWD_CORE wxPen; public: wxPenRefData(); wxPenRefData(const wxPenRefData& data); @@ -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,8 @@ public: // Useful helper: create the brush resource bool RealizeResource(); - // When setting properties, we must make sure we're not changing - // another object - void Unshare(); +private: + void Unshare(); }; #endif