X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af498247c5ea024a781d0ef8d30cbbfb44749641..730d336601a3ece761b56e7c05d1099352670a25:/src/msw/colour.cpp?ds=sidebyside diff --git a/src/msw/colour.cpp b/src/msw/colour.cpp index 93f059049b..db8be10974 100644 --- a/src/msw/colour.cpp +++ b/src/msw/colour.cpp @@ -55,7 +55,7 @@ template<> void wxStringWriteValue(wxString &s , const wxColour &data ) wxTO_STRING_IMP( wxColour ) wxFROM_STRING_IMP( wxColour ) - + IMPLEMENT_DYNAMIC_CLASS_WITH_COPY_AND_STREAMERS_XTI( wxColour , wxObject , "wx/colour.h" , &wxTO_STRING( wxColour ) , &wxFROM_STRING( wxColour )) wxBEGIN_PROPERTIES_TABLE(wxColour) @@ -84,6 +84,7 @@ void wxColour::Init() } wxColour::wxColour(const wxColour& col) + :wxObject() { *this = col; }