X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..0cc70962a1771fb53c1208648ca46c6185699fd2:/src/msw/colour.cpp diff --git a/src/msw/colour.cpp b/src/msw/colour.cpp index bb48744db7..af6adf93be 100644 --- a/src/msw/colour.cpp +++ b/src/msw/colour.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: colour.cpp +// Name: src/msw/colour.cpp // Purpose: wxColour class // Author: Julian Smart // Modified by: @@ -18,6 +18,7 @@ #include "wx/gdicmn.h" #include "wx/msw/private.h" +#include "wx/colour.h" #include @@ -79,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 ) @@ -123,4 +108,3 @@ void wxColour::Set(unsigned char r, unsigned char g, unsigned char b) m_isInit = true; m_pixel = PALETTERGB(m_red, m_green, m_blue); } -