- void Set( unsigned char red, unsigned char green, unsigned char blue );
- void Set( unsigned long colRGB )
- {
- // we don't need to know sizeof(long) here because we assume that the three
- // least significant bytes contain the R, G and B values
- Set((unsigned char)colRGB,
- (unsigned char)(colRGB >> 8),
- (unsigned char)(colRGB >> 16));
- }
+ void Set( WX_NSColor aColor );
+
+ // reroute the inherited ones
+ void Set(unsigned char red, unsigned char green, unsigned char blue)
+ { wxColourBase::Set(red,green,blue); }
+
+ // implemented in colourcmn.cpp
+ bool Set(const wxChar *str)
+ { return wxColourBase::Set(str); }
+
+ bool Set(const wxString &str)
+ { return wxColourBase::Set(str); }
+
+ void Set(unsigned long colRGB)
+ { wxColourBase::Set(colRGB); }
+
+protected:
+ // puts the object in an invalid, uninitialized state
+ void Init();