X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8fbf1a035db2af6d3aba89203263a4711cb7c53..92f1a59c288e0e181d2998a93220a73b89f675df:/src/common/treebase.cpp?ds=sidebyside diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index 0a49f60cf8..73bd16e5fb 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" // ---------------------------------------------------------------------------- @@ -62,6 +61,7 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_ACTIVATED) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_DRAG) +DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK) // ---------------------------------------------------------------------------- // Tree event @@ -73,8 +73,8 @@ 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