DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// dtor
- ~wxColour();
+ virtual ~wxColour();
// accessors
bool Ok() const {return m_isInit; }
// Helper function
void Init();
- void InitWith( unsigned char red, unsigned char green, unsigned char blue )
- {
- InitWith( red, green, blue , 255) ;
- }
-
- 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;
public:
WXCOLORREF m_pixel ;
void FromRGBColor( const WXCOLORREF* color ) ;
-
+
private:
DECLARE_DYNAMIC_CLASS(wxColour)