Set the mouse pos for the drag events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-03-02 18:31:54 +00:00
parent 2d17efa94e
commit 77b7cd4fc3

View File

@ -3100,6 +3100,7 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
wxTreeEvent nevent( command, GetId() );
nevent.m_item = m_current;
nevent.SetEventObject(this);
nevent.SetPoint(pt);
// by default the dragging is not supported, the user code must
// explicitly allow the event for it to take place