]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Don't call busy cursor when creating a message
[wxWidgets.git] / src / msw / treectrl.cpp
index d4995dd32fc3623d8578055d97084402b680ab9e..58a84c5ac46c20ad8d0456a19a05b8f24b4a2b46 100644 (file)
@@ -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;