- wxColour() { Init(); }
-
- // from RGB
- wxColour( unsigned char red, unsigned char green, unsigned char blue )
- : m_cocoaNSColor(NULL)
- { Set(red,green,blue); }
- wxColour( unsigned long colRGB )
- : m_cocoaNSColor(NULL)
- { 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
+ // constructors
+ // ------------
+ DEFINE_STD_WXCOLOUR_CONSTRUCTORS
+
+ // initialization using existing NSColor
+ wxColour( WX_NSColor aColor );