document that dragging in wxTreeCtrl needs to be explicitely allowed (fixes #3915)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,8 +63,12 @@
|
|||||||
@beginEventTable{wxTreeEvent}
|
@beginEventTable{wxTreeEvent}
|
||||||
@event{EVT_TREE_BEGIN_DRAG(id, func)}
|
@event{EVT_TREE_BEGIN_DRAG(id, func)}
|
||||||
Begin dragging with the left mouse button.
|
Begin dragging with the left mouse button.
|
||||||
|
If you want to enable left-dragging you need to intercept this event
|
||||||
|
and explicitely call wxTreeEvent::Allow(), as it's vetoed by default.
|
||||||
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
|
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
|
||||||
Begin dragging with the right mouse button.
|
Begin dragging with the right mouse button.
|
||||||
|
If you want to enable right-dragging you need to intercept this event
|
||||||
|
and explicitely call wxTreeEvent::Allow(), as it's vetoed by default.
|
||||||
@event{EVT_TREE_END_DRAG(id, func)}
|
@event{EVT_TREE_END_DRAG(id, func)}
|
||||||
End dragging with the left or right mouse button.
|
End dragging with the left or right mouse button.
|
||||||
@event{EVT_TREE_BEGIN_LABEL_EDIT(id, func)}
|
@event{EVT_TREE_BEGIN_LABEL_EDIT(id, func)}
|
||||||
@@ -912,8 +916,12 @@ public:
|
|||||||
@beginEventTable{wxTreeEvent}
|
@beginEventTable{wxTreeEvent}
|
||||||
@event{EVT_TREE_BEGIN_DRAG(id, func)}
|
@event{EVT_TREE_BEGIN_DRAG(id, func)}
|
||||||
Begin dragging with the left mouse button.
|
Begin dragging with the left mouse button.
|
||||||
|
If you want to enable left-dragging you need to intercept this event
|
||||||
|
and explicitely call wxTreeEvent::Allow(), as it's vetoed by default.
|
||||||
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
|
@event{EVT_TREE_BEGIN_RDRAG(id, func)}
|
||||||
Begin dragging with the right mouse button.
|
Begin dragging with the right mouse button.
|
||||||
|
If you want to enable right-dragging you need to intercept this event
|
||||||
|
and explicitely call wxTreeEvent::Allow(), as it's vetoed by default.
|
||||||
@event{EVT_TREE_END_DRAG(id, func)}
|
@event{EVT_TREE_END_DRAG(id, func)}
|
||||||
End dragging with the left or right mouse button.
|
End dragging with the left or right mouse button.
|
||||||
@event{EVT_TREE_BEGIN_LABEL_EDIT(id, func)}
|
@event{EVT_TREE_BEGIN_LABEL_EDIT(id, func)}
|
||||||
|
Reference in New Issue
Block a user