X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..94633ad9f171fefbe96b7cde1aa0a29090e627bc:/include/wx/gtk/brush.h diff --git a/include/wx/gtk/brush.h b/include/wx/gtk/brush.h index 43213033b0..31d4b7292c 100644 --- a/include/wx/gtk/brush.h +++ b/include/wx/gtk/brush.h @@ -33,25 +33,21 @@ 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; wxColour &GetColour() const; wxBitmap *GetStipple() const; - void SetColour( const wxColour& col ); void SetColour( unsigned char r, unsigned char g, unsigned char b ); void SetStyle( int style ); @@ -59,7 +55,8 @@ class wxBrush: public wxGDIObject void Unshare(); - // no data :-) +private: + DECLARE_DYNAMIC_CLASS(wxBrush) }; #endif // __GTKBRUSHH__