From 18216ae35292b235ed92e8025cba53f037ac078d Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 6 Feb 2005 12:45:26 +0000 Subject: [PATCH] Applied context menu patch. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 886fb5a1b8..0e408a6170 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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()) {