]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/colour.h
skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can...
[wxWidgets.git] / include / wx / gtk / colour.h
index 863cb4663c644aa58d051dbbf1c8fdaa4f3e7ef6..07121726d6d7869e5e47e2b44e33db13e54c0187 100644 (file)
@@ -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