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:
@@ -3019,6 +3019,8 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
|
|||||||
}
|
}
|
||||||
SendNotify( current, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK,
|
SendNotify( current, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK,
|
||||||
event.GetPosition() );
|
event.GetPosition() );
|
||||||
|
// Allow generation of context menu event
|
||||||
|
event.Skip();
|
||||||
}
|
}
|
||||||
else if (event.MiddleDown())
|
else if (event.MiddleDown())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user