- // ctors
- // default
- wxColour();
- // from RGB
- wxColour( unsigned char red, unsigned char green, unsigned char blue );
- // implicit conversion from the colour name
- wxColour( const wxString &colourName ) { InitFromName(colourName); }
- wxColour( const char *colourName ) { InitFromName(colourName); }
-
- // copy ctors and assignment operators
- wxColour( const wxColour& col );
- wxColour& operator = ( const wxColour& col );
+ // constructors
+ // ------------
+ DEFINE_STD_WXCOLOUR_CONSTRUCTORS
+ wxColour(const GdkColor& gdkColor);
+#ifdef __WXGTK3__
+ wxColour(const GdkRGBA& gdkRGBA);
+#endif