X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..ae8eee38f480032f4d1b756419f0d70b5f05f156:/include/wx/generic/colour.h diff --git a/include/wx/generic/colour.h b/include/wx/generic/colour.h index c0d26dad03..edaf6a19e3 100644 --- a/include/wx/generic/colour.h +++ b/include/wx/generic/colour.h @@ -15,22 +15,20 @@ #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; }