X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb719f2e29bd20effa3259d2d7dead9fd857442c..8dfef0c246fb5c741334ecc085aea56324bc0bf8:/src/common/treebase.cpp?ds=inline diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index a3fff66b2d..54b9c28d4a 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -78,5 +78,16 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) m_editCancelled = false; } +wxTreeEvent::wxTreeEvent(const wxTreeEvent & event) + : wxNotifyEvent(event) +{ + m_evtKey = event.m_evtKey; + m_item = event.m_item; + m_itemOld = event.m_itemOld; + m_pointDrag = event.m_pointDrag; + m_label = event.m_label; + m_editCancelled = event.m_editCancelled; +} + #endif // wxUSE_TREECTRL