// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "colour.h"
#endif
+#include "wx/wxprec.h"
+
#include "wx/gdicmn.h"
#include "wx/colour.h"
memcpy( &m_pixel , &col.m_pixel , 6 ) ;
}
-wxColour::wxColour (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 ) ;
-}
-
wxColour& wxColour::operator =(const wxColour& col)
{
m_red = col.m_red;