X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/172da31f537534fd531f05abede196aefa60d6b7..0e05227246cc99b2f8133ae639f38c508351afa0:/src/mac/carbon/colour.cpp diff --git a/src/mac/carbon/colour.cpp b/src/mac/carbon/colour.cpp index 9fcb7c04fb..864bd6f749 100644 --- a/src/mac/carbon/colour.cpp +++ b/src/mac/carbon/colour.cpp @@ -37,29 +37,6 @@ void wxColour::Init() wxComposeRGBColor( &m_pixel, m_red, m_blue, m_green ); } -wxColour::wxColour (const wxColour& col) - : wxObject() -{ - m_red = col.m_red; - m_green = col.m_green; - m_blue = col.m_blue; - m_isInit = col.m_isInit; - - memcpy( &m_pixel, &col.m_pixel, 6 ); -} - -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; - - memcpy( &m_pixel, &col.m_pixel, 6 ); - - return *this; -} - void wxColour::InitFromName(const wxString& name) { if ( wxTheColourDatabase )