X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b7b6b072762ff1e02950109a751815ac7429fd..99cc862c0fd5fb21152854075808cf82a3a2025d:/src/msw/colour.cpp diff --git a/src/msw/colour.cpp b/src/msw/colour.cpp index e16e03408f..d537b88849 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: @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "colour.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -84,6 +80,7 @@ void wxColour::Init() } wxColour::wxColour(const wxColour& col) + :wxObject() { *this = col; } @@ -126,4 +123,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); } -