]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/brush.h
let _T() work with macros (modified patch 1437983)
[wxWidgets.git] / include / wx / x11 / brush.h
index 6f4f1536f83fc773120d3ed2b4e4d9e7b97415fa..c794e34416c18a4c07e80764b00836c9ec4e72d5 100644 (file)
@@ -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;