great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,22 +80,6 @@ void wxColour::Init()
|
||||
m_green = 0;
|
||||
}
|
||||
|
||||
wxColour::wxColour(const wxColour& col)
|
||||
:wxObject()
|
||||
{
|
||||
*this = col;
|
||||
}
|
||||
|
||||
wxColour& wxColour::operator=(const wxColour& col)
|
||||
{
|
||||
m_red = col.m_red;
|
||||
m_green = col.m_green;
|
||||
m_blue = col.m_blue;
|
||||
m_isInit = col.m_isInit;
|
||||
m_pixel = col.m_pixel;
|
||||
return *this;
|
||||
}
|
||||
|
||||
void wxColour::InitFromName(const wxString& name)
|
||||
{
|
||||
if ( wxTheColourDatabase )
|
||||
|
Reference in New Issue
Block a user