]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clrpicker.h
[ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
[wxWidgets.git] / include / wx / clrpicker.h
index 1742257d00ed1388ae1f774914f1597575c486c7..d3a2b509d3dc25b48a9a2f19f82ec5f2f73cfd35 100644 (file)
@@ -170,10 +170,14 @@ public:
     wxColour GetColour() const { return m_colour; }
     void SetColour(const wxColour &c) { m_colour = c; }
 
+
+    // default copy ctor, assignment operator and dtor are ok
+    virtual wxEvent *Clone() const { return new wxColourPickerEvent(*this); }
+
 private:
     wxColour m_colour;
 
-    DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourPickerEvent)
+    DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxColourPickerEvent)
 };
 
 // ----------------------------------------------------------------------------