// default
wxColour() {}
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
+ wxColour(const GdkColor& gdkColor);
~wxColour();
// 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:
- // ref counting code
- virtual wxObjectRefData *CreateRefData() const;
- virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
-
virtual bool FromString(const wxChar *str);
virtual void InitWith( unsigned char red, unsigned char green, unsigned char blue );