X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb3d60a26ffb31824b3600281e1f4944c153241b..f4bb632cde9cc60fa89f173f0d33c5881794cc68:/src/generic/listctrl.cpp 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()) {