]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/classic/brush.h
Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
[wxWidgets.git] / include / wx / mac / classic / brush.h
index 9406bd4a72523cfade3c504d552e41bd94fa9fa4..4333b5f0f48eed1b4f20dddf6d73ec5f717c6b81 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        brush.h
+// Name:        wx/mac/classic/brush.h
 // Purpose:     wxBrush class
 // Author:      Stefan Csomor
 // Modified by:
 #ifndef _WX_BRUSH_H_
 #define _WX_BRUSH_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "brush.h"
-#endif
-
 #include "wx/gdicmn.h"
 #include "wx/gdiobj.h"
 #include "wx/bitmap.h"
@@ -53,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 ;