- wxColour *the_colour = wxTheColourDatabase->FindColour (col);
- if (the_colour)
- {
- m_red = the_colour->Red ();
- m_green = the_colour->Green ();
- m_blue = the_colour->Blue ();
- m_isInit = TRUE;
- }
- else
- {
- m_red = 0;
- m_green = 0;
- m_blue = 0;
- m_isInit = FALSE;
- }
-/* TODO
- m_pixel = PALETTERGB (m_red, m_green, m_blue);
-*/
-}
-
-wxColour::~wxColour ()
+ m_cRed = rCol.m_cRed;
+ m_cGreen = rCol.m_cGreen;
+ m_cBlue = rCol.m_cBlue;
+ m_bIsInit = rCol.m_bIsInit;
+ m_vPixel = rCol.m_vPixel;
+ return *this;
+} // end of wxColour& wxColour::operator =
+
+wxColour::~wxColour()