]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebase.h
Sorting fixes to wxUniv wxCombo/ListBox [part of bug #1040593].
[wxWidgets.git] / include / wx / treebase.h
index fe2cb9135bc8b303f45c1ae5239e77746972a43e..fab586e27a4df9473ef58e24ddb1d0a03e19acf8 100644 (file)
@@ -244,6 +244,9 @@ class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
 {
 public:
     wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
+    wxTreeEvent(const wxTreeEvent & event);
+
+    virtual wxEvent *Clone() const { return new wxTreeEvent(*this); }
 
     // accessors
         // get the item on which the operation was performed or the newly
@@ -294,7 +297,7 @@ private:
     friend class WXDLLEXPORT wxTreeCtrl;
     friend class WXDLLEXPORT wxGenericTreeCtrl;
 
-    DECLARE_DYNAMIC_CLASS_NO_COPY(wxTreeEvent)
+    DECLARE_DYNAMIC_CLASS(wxTreeEvent)
 };
 
 typedef void (wxEvtHandler::*wxTreeEventFunction)(wxTreeEvent&);