]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/brush.h
wxListBox mouse events now report coords relative
[wxWidgets.git] / include / wx / gtk1 / brush.h
index c52eb450111e90d5ce0ee078994abfb95f7ca247..31d4b7292c8d75274242fd7ce89f30d1e570169f 100644 (file)
@@ -33,18 +33,15 @@ class wxBrush;
 
 class wxBrush: public wxGDIObject
 {
-  DECLARE_DYNAMIC_CLASS(wxBrush)
-
-  public:
-
+public:
     wxBrush();
     wxBrush( const wxColour &colour, int style );
     wxBrush( const wxBitmap &stippleBitmap );
     wxBrush( const wxBrush &brush );
     ~wxBrush();
     wxBrush& operator = ( const wxBrush& brush );
-    bool operator == ( const wxBrush& brush );
-    bool operator != ( const wxBrush& brush );
+    bool operator == ( const wxBrush& brush ) const;
+    bool operator != ( const wxBrush& brush ) const;
     bool Ok() const;
 
     int GetStyle() const;
@@ -58,7 +55,8 @@ class wxBrush: public wxGDIObject
 
     void Unshare();
 
-    // no data :-)
+private:
+    DECLARE_DYNAMIC_CLASS(wxBrush)
 };
 
 #endif // __GTKBRUSHH__