]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/brush.h
wx printf() implementation bug fixes ('%' handling, thread safety, ...) and optimisat...
[wxWidgets.git] / include / wx / x11 / brush.h
index 6f4f1536f83fc773120d3ed2b4e4d9e7b97415fa..47581c103496a5b14d4987f02034483c722703c7 100644 (file)
@@ -33,10 +33,7 @@ public:
 
     wxBrush( const wxColour &colour, int style = wxSOLID );
     wxBrush( const wxBitmap &stippleBitmap );
-    ~wxBrush();
-
-    wxBrush( const wxBrush &brush ) { Ref(brush); }
-    wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; }
+    virtual ~wxBrush();
 
     bool Ok() const { return m_refData != NULL; }
 
@@ -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;