virtual ~wxColour();
// accessors
- bool Ok() const { return m_isInit; }
+ bool Ok() const { return IsOk(); }
+ bool IsOk() const { return m_isInit; }
unsigned char Red() const { return m_red; }
unsigned char Green() const { return m_green; }
// Helper function
void Init();
- virtual void InitWith(unsigned char red, unsigned char green, unsigned char blue)
- {
- InitWith(red, green, blue, wxALPHA_OPAQUE);
- }
-
- virtual void InitWith(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha);
+ virtual void
+ InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
private:
bool m_isInit;