// Author: Julian Smart
// Modified by:
// Created: 01/02/97
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/object.h"
// Colour
-class WXDLLEXPORT wxColour: public wxColourBase
+class WXDLLIMPEXP_CORE wxColour: public wxColourBase
{
public:
// constructors
// ------------
-
- // default
- wxColour();
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// copy ctors and assignment operators
- wxColour(const wxColour& col);
- wxColour& operator=(const wxColour& col);
+ wxColour(const wxColour& col)
+ {
+ *this = col;
+ }
- // dtor
- virtual ~wxColour();
+ wxColour& operator=(const wxColour& col);
// accessors
virtual bool IsOk() const { return m_isInit; }