X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..ddbfcced85b54ed15ff40605d29e55d73d0e6d03:/src/common/treebase.cpp diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index ddd3c5575d..6bf725823f 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -69,11 +69,12 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG) IMPLEMENT_DYNAMIC_CLASS(wxTreeEvent, wxNotifyEvent) + wxTreeEvent::wxTreeEvent(wxEventType commandType, int id) : wxNotifyEvent(commandType, id) { - m_code = 0; m_itemOld = 0l; + m_editCancelled = FALSE; } #endif // wxUSE_TREECTRL