X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/188781dbbd9fff274d3abdb0e148e2846fb1e574..585266618c27ac77a5e5316c03e06ffc514715c9:/src/msw/treectrl.cpp diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index d4995dd32f..58a84c5ac4 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -2225,6 +2225,9 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) eventType = (int)hdr->code == NM_DBLCLK ? wxEVT_COMMAND_TREE_ITEM_ACTIVATED : wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK; + + event.m_pointDrag.x = tvhti.pt.x; + event.m_pointDrag.y = tvhti.pt.y; } break;