X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8fdd58fa32f2dba817c9608c9e61b93606897f2..fbf618dff87a9e4a88d5be458cecc50309b30af3:/include/wx/cocoa/colour.h diff --git a/include/wx/cocoa/colour.h b/include/wx/cocoa/colour.h index 9200c35502..17cb302101 100644 --- a/include/wx/cocoa/colour.h +++ b/include/wx/cocoa/colour.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: colour.h +// Name: wx/cocoa/colour.h // Purpose: wxColour class // Author: David Elliott // Modified by: @@ -21,12 +21,18 @@ class WXDLLEXPORT wxColour: public wxObject { public: + // constructors + // ------------ + + // default wxColour() { Init(); } - // from RGB + // from separate RGB wxColour( unsigned char red, unsigned char green, unsigned char blue ) : m_cocoaNSColor(NULL) { Set(red,green,blue); } + + // from packed RGB wxColour( unsigned long colRGB ) : m_cocoaNSColor(NULL) { Set(colRGB); }