- // comparison
- bool operator == ( const wxColour& col );
- bool operator != ( const wxColour& col );
-
- // accessors
- void Set( unsigned char red, unsigned char green, unsigned char blue );
- unsigned char Red() const;
- unsigned char Green() const;
- unsigned char Blue() const;
- bool Ok() const;
+ bool operator == ( const wxColour& col ) const;
+ bool operator != ( const wxColour& col ) const { return !(*this == col); }