Put back the old wxTreeEvent ctor for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2d837688be
commit
49b6ebb7e1
@ -273,6 +273,7 @@ public:
|
||||
wxTreeEvent(wxEventType commandType,
|
||||
wxTreeCtrlBase *tree,
|
||||
const wxTreeItemId &item = wxTreeItemId());
|
||||
wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
|
||||
wxTreeEvent(const wxTreeEvent& event);
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxTreeEvent(*this); }
|
||||
|
@ -76,6 +76,13 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType,
|
||||
SetClientObject(tree->GetItemData(item));
|
||||
}
|
||||
|
||||
wxTreeEvent::wxTreeEvent(wxEventType commandType, int id)
|
||||
: wxNotifyEvent(commandType, id)
|
||||
{
|
||||
m_itemOld = 0l;
|
||||
m_editCancelled = false;
|
||||
}
|
||||
|
||||
wxTreeEvent::wxTreeEvent(const wxTreeEvent & event)
|
||||
: wxNotifyEvent(event)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user