X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a1498c08b07625baa087622e75637a2f15325b6..c06bbbff2211c447a8a300eeece87d67fcd95095:/include/wx/x11/brush.h?ds=sidebyside diff --git a/include/wx/x11/brush.h b/include/wx/x11/brush.h index 6f4f1536f8..c794e34416 100644 --- a/include/wx/x11/brush.h +++ b/include/wx/x11/brush.h @@ -35,9 +35,6 @@ public: wxBrush( const wxBitmap &stippleBitmap ); ~wxBrush(); - wxBrush( const wxBrush &brush ) { Ref(brush); } - wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; } - bool Ok() const { return m_refData != NULL; } bool operator == ( const wxBrush& brush ) const; @@ -52,7 +49,7 @@ public: void SetStyle( int style ); void SetStipple( const wxBitmap& stipple ); -private: +protected: // ref counting code virtual wxObjectRefData *CreateRefData() const; virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;