X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..af01f1ba0d697c07173f436ab661b4c833258a91:/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__