X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6371dc5ddc3574e600074decf31308e22e8043ce..57c5c10fb38799786fa8d8db7d69f1214c259e00:/include/wx/gtk/colour.h diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index 863cb4663c..07121726d6 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -27,10 +27,8 @@ public: virtual ~wxColour(); - bool IsOk() const { return m_refData != NULL; } - - bool operator == ( const wxColour& col ) const; - bool operator != ( const wxColour& col ) const { return !(*this == col); } + bool operator==(const wxColour& col) const; + bool operator!=(const wxColour& col) const { return !(*this == col); } unsigned char Red() const; unsigned char Green() const; @@ -40,13 +38,7 @@ public: // Implementation part void CalcPixel( GdkColormap *cmap ); int GetPixel() const; -#ifdef __WXGTK24__ const GdkColor *GetColor() const; -#else - // GDK functions from old gtk2 versions take non-const color parameters, - // too many uses to deal with individually - GdkColor *GetColor() const; -#endif protected: virtual void