X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..e2762ff06a5e84c82242d0883d24d21042e5a97e:/include/wx/gtk1/brush.h?ds=sidebyside diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index 43213033b0..31d4b7292c 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/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__