diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 80e77ad8aa..728cbe2f54 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -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