- wxColour() { }
-
- // Construct from RGB
- wxColour( unsigned char red, unsigned char green, unsigned char blue );
- wxColour( unsigned long colRGB ) { Set(colRGB); }
-
- // Implicit conversion from the colour name
- wxColour( const wxString &colourName ) { InitFromName(colourName); }
- wxColour( const char *colourName ) { InitFromName( wxString::FromAscii(colourName) ); }
-#if wxUSE_UNICODE
- wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); }
-#endif
-
- // Get colour from name or wxNullColour
- static wxColour CreateByName(const wxString& name);
-
- wxColour( const wxColour& col ) { Ref(col); }
- wxColour& operator = ( const wxColour& col ) { Ref(col); return *this; }
-
- ~wxColour();