Applied context menu patch.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2005-02-06 12:45:26 +00:00
parent fa6ca47e01
commit 18216ae352

View File

@ -3019,6 +3019,8 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
}
SendNotify( current, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK,
event.GetPosition() );
// Allow generation of context menu event
event.Skip();
}
else if (event.MiddleDown())
{