#include "wx/object.h"
// Colour
-class WXDLLEXPORT wxColour: public wxColourBase
+class WXDLLIMPEXP_CORE wxColour: public wxColourBase
{
public:
// constructors
// ------------
-
- // default
- wxColour() { Init(); }
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// Copy ctors and assignment operators
wxColour&operator = (const wxColour& rCol);
// Dtor
- ~wxColour();
+ virtual ~wxColour();
// Accessors
- bool Ok(void) const {return m_bIsInit; }
+ virtual bool IsOk(void) const { return m_bIsInit; }
unsigned char Red(void) const { return m_cRed; }
unsigned char Green(void) const { return m_cGreen; }
unsigned char m_cBlue;
unsigned char m_cGreen;
- virtual void InitWith( unsigned char cRed, unsigned char cGreen, unsigned char cBlue);
+ virtual void
+ InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
public:
WXCOLORREF m_vPixel ;