X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fc244a190a98f1fc890281a35e0b206b9ab56..5f8ba10e863cf2df9ac0a10033a7d5d866002337:/src/generic/treectlg.cpp 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