]> git.saurik.com Git - wxWidgets.git/commitdiff
added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Jun 2006 18:49:06 +0000 (18:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Jun 2006 18:49:06 +0000 (18:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/treebase.h

index 92c764441204452c95ed1fcb9b6117f78cbecb0f..d54fd49b306584906ea8f2bf8dd0498ffab0a57f 100644 (file)
@@ -265,11 +265,15 @@ private:
 //     descriptions below
 // ----------------------------------------------------------------------------
 
 //     descriptions below
 // ----------------------------------------------------------------------------
 
+class WXDLLEXPORT  wxTreeCtrlBase;
+
 class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
 {
 public:
 class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
 {
 public:
-    wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
-    wxTreeEvent(const wxTreeEvent & event);
+    wxTreeEvent(wxEventType commandType,
+                wxTreeCtrlBase *tree,
+                const wxTreeItemId &item = wxTreeItemId());
+    wxTreeEvent(const wxTreeEvent& event);
 
     virtual wxEvent *Clone() const { return new wxTreeEvent(*this); }
 
 
     virtual wxEvent *Clone() const { return new wxTreeEvent(*this); }