m_color.green = 0;
m_color.blue = 0;
m_color.pixel = 0;
- m_colormap = (WXColormap *) NULL;
+ m_colormap = NULL;
m_hasPixel = false;
}
#define SHIFT (8*(sizeof(short int)-sizeof(char)))
-IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject)
-
wxColour::~wxColour()
{
}
WXColor *wxColour::GetColor() const
{
- wxCHECK_MSG( Ok(), (WXColor *) NULL, wxT("invalid colour") );
+ wxCHECK_MSG( Ok(), NULL, wxT("invalid colour") );
return (WXColor*) &M_COLDATA->m_color;
}