- DECLARE_DYNAMIC_CLASS(wxColour)
-// ------------------------------------------------------------------------
-// initialization
-// ------------------------------------------------------------------------
- wxColour();
- // 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 )
- : m_cocoaNSColor(NULL)
- { InitFromName(colourName); }
- wxColour( const char *colourName )
- : m_cocoaNSColor(NULL)
- { InitFromName(wxString::FromAscii(colourName)); }
+ // constructors
+ // ------------
+ DEFINE_STD_WXCOLOUR_CONSTRUCTORS
+
+ // initialization using existing NSColor
+ wxColour( WX_NSColor aColor );