Changed declaration of TREE events from being in both treectlg and treectrl to having it just once in treebase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1724ca8b5c
commit
ed2ec17c54
@ -37,6 +37,30 @@
|
||||
#include "wx/dcclient.h"
|
||||
#include "wx/msgdlg.h"
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// events
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_DRAG)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_RDRAG)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_LABEL_EDIT)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_DELETE_ITEM)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_GET_INFO)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SET_INFO)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_EXPANDED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_EXPANDING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_COLLAPSED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_COLLAPSING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SEL_CHANGED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SEL_CHANGING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_KEY_DOWN)
|
||||
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)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Tree event
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -38,29 +38,6 @@
|
||||
#include "wx/dcclient.h"
|
||||
#include "wx/msgdlg.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// events
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_DRAG)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_RDRAG)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_LABEL_EDIT)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_DELETE_ITEM)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_GET_INFO)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SET_INFO)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_EXPANDED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_EXPANDING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_COLLAPSED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_COLLAPSING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SEL_CHANGED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SEL_CHANGING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_KEY_DOWN)
|
||||
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)
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// array types
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -88,28 +88,6 @@
|
||||
// looks quite ugly.
|
||||
#define wxUSE_CHECKBOXES_IN_MULTI_SEL_TREE 0
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// events
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_DRAG)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_RDRAG)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_END_LABEL_EDIT)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_DELETE_ITEM)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_GET_INFO)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SET_INFO)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_EXPANDED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_EXPANDING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_COLLAPSED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_ITEM_COLLAPSING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SEL_CHANGED)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_SEL_CHANGING)
|
||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_TREE_KEY_DOWN)
|
||||
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)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private functions
|
||||
|
Loading…
Reference in New Issue
Block a user