]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/brush.h
simplify/cleanup wxTheXXXList and wxGDIObject code (patch 1452023 from Paul Cornett)
[wxWidgets.git] / include / wx / cocoa / brush.h
index d4e48e073333ac16218d2aaefc888ece4c0df9f8..689981f391f96452737415178de41934574c9f2a 100644 (file)
@@ -31,9 +31,6 @@ public:
     wxBrush();
     wxBrush(const wxColour& col, int style = wxSOLID);
     wxBrush(const wxBitmap& stipple);
-    wxBrush(const wxBrush& brush)
-    :   wxBrushBase()
-    {   Ref(brush); }
     ~wxBrush();
 
 // ------------------------------------------------------------------------
@@ -44,10 +41,6 @@ public:
     virtual void SetStyle(int style) ;
     virtual void SetStipple(const wxBitmap& stipple) ;
 
-    // assignment
-    wxBrush& operator = (const wxBrush& brush)
-    {   if (*this == brush) return (*this); Ref(brush); return *this; }
-
     // comparison
     bool operator == (const wxBrush& brush) const
     {   return m_refData == brush.m_refData; }