col->green = (m_green << 8) + m_green;
}
-wxColour::~wxColour ()
-{
-}
-
wxColour& wxColour::operator=(const RGBColor& col)
{
InitRGBColor(col);
return *this;
}
-bool wxColour::IsOk() const
+wxColour& wxColour::operator=(const wxColour& col)
{
- return m_cgColour;
+ 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)