col->green = (m_green << 8) + m_green;
}
-wxColour::~wxColour ()
-{
-}
-
wxColour& wxColour::operator=(const RGBColor& col)
{
InitRGBColor(col);
return *this;
}
+wxColour& wxColour::operator=(const wxColour& col)
+{
+ m_red = col.m_red;
+ m_green = col.m_green;
+ m_blue = col.m_blue;
+ m_alpha = col.m_alpha;
+ m_cgColour = col.m_cgColour;
+ return *this;
+}
+
void wxColour::InitRGBA (ChannelType r, ChannelType g, ChannelType b, ChannelType a)
{
m_red = r;