]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/brush.h
added missing consts and pass objects by const reference instead of by value (patch...
[wxWidgets.git] / include / wx / mac / carbon / brush.h
index c99c10daf0ec7763bbc8f9b3539b2f5a90aea926..2bdfa0fb13e3ef7192a644e6ddfe5d94ef357e7c 100644 (file)
@@ -49,9 +49,9 @@ public:
 
     wxBrush& operator = (const wxBrush& brush)
     { if (*this == brush) return (*this); Ref(brush); return *this; }
-    bool operator == (const wxBrush& brush)
+    bool operator == (const wxBrush& brush) const
     { return m_refData == brush.m_refData; }
-    bool operator != (const wxBrush& brush)
+    bool operator != (const wxBrush& brush) const
     { return m_refData != brush.m_refData; }
 
     wxMacBrushKind MacGetBrushKind()  const ;