set the index for BEGIN_DRAG events (patch 726308)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e9c8005b47
commit
e8c6a69c9d
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user