]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Pass events to pushed event handlers.
[wxWidgets.git] / src / generic / listctrl.cpp
index 51af844c6744f9036136eac221334538e9e48315..ea8d28ff9ed126576ab5f87113057cfdddae8420 100644 (file)
@@ -3203,6 +3203,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
 
         wxListEvent le( command, GetParent()->GetId() );
         le.SetEventObject( GetParent() );
+        le.m_itemIndex = current;
         le.m_pointDrag = m_dragStart;
         GetParent()->GetEventHandler()->ProcessEvent( le );