,unsigned char cBlue
);
+ wxColour( unsigned long colRGB ) { Set(colRGB); }
+
//
// Implicit conversion from the colour name
//
,(unsigned char)(lColRGB >> 16)
);
}
+ void Set(const wxString& rsColour)
+ {
+ InitFromName(rsColour);
+ }
//
// Accessors
- bool Ok(void) const {return m_bIsInit; }
-
- //
- // Let's remove this inelegant function
//
-#if WXWIN_COMPATIBILITY
- void Get( unsigned char* pRed
- ,unsigned char* pGreen
- ,unsigned char* pBlue
- ) const;
-#endif
+ bool Ok(void) const {return m_bIsInit; }
unsigned char Red(void) const { return m_cRed; }
unsigned char Green(void) const { return m_cGreen; }