X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..d477aa2bb3ec93c915542185bd2fb9ef74642356:/src/common/treebase.cpp diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index ddd3c5575d..656da196ac 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -37,7 +37,6 @@ #include "wx/dynarray.h" #include "wx/arrimpl.cpp" #include "wx/dcclient.h" -#include "wx/msgdlg.h" // ---------------------------------------------------------------------------- @@ -69,11 +68,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