X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..ba8546912daa12cea8076e08f1694a03e520dfe2:/src/common/treebase.cpp diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 85275a54cf..54b9c28d4a 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -6,7 +6,7 @@ // Modified: // Id: $Id$ // Copyright: (c) 1998 Robert Roebling, Julian Smart et al -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================= @@ -75,7 +75,18 @@ wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) : wxNotifyEvent(commandType, id) { m_itemOld = 0l; - m_editCancelled = FALSE; + 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