X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a1498c08b07625baa087622e75637a2f15325b6..dd0d56f5c7690b636c6139359dcefca235ffa8bd:/include/wx/x11/pen.h diff --git a/include/wx/x11/pen.h b/include/wx/x11/pen.h index d5c042a14d..17c2288831 100644 --- a/include/wx/x11/pen.h +++ b/include/wx/x11/pen.h @@ -38,9 +38,6 @@ public: wxPen( const wxBitmap &stipple, int width ); ~wxPen(); - wxPen( const wxPen& pen ) { Ref(pen); } - wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; } - bool Ok() const { return m_refData != NULL; } bool operator == ( const wxPen& pen ) const; @@ -65,7 +62,7 @@ public: wxDash* GetDash() const; wxBitmap* GetStipple() const; -private: +protected: // ref counting code virtual wxObjectRefData *CreateRefData() const; virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;