X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdbd4e96121a470b518420cff4c2dfea20f2b7a6..d0a84b63384ca1c1d8d20581fb56abbd1d826617:/include/wx/gtk/pen.h diff --git a/include/wx/gtk/pen.h b/include/wx/gtk/pen.h index 38ae0b9a98..8be99f28b9 100644 --- a/include/wx/gtk/pen.h +++ b/include/wx/gtk/pen.h @@ -36,11 +36,6 @@ public: wxPen( const wxColour &colour, int width = 1, int style = wxSOLID ); ~wxPen(); - wxPen( const wxPen& pen ) - : wxGDIObject() - { Ref(pen); } - wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; } - bool Ok() const { return m_refData != NULL; } bool operator == ( const wxPen& pen ) const; @@ -63,7 +58,7 @@ public: int GetDashCount() const; wxDash* GetDash() const; -private: +protected: // ref counting code virtual wxObjectRefData *CreateRefData() const; virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;