]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Applied context menu patch.
[wxWidgets.git] / src / generic / listctrl.cpp
index 886fb5a1b8b7fb3baf3c1b3da105f3bcbe8c5d74..0e408a6170dfd72e58bd4c8817cc89e44e6950b4 100644 (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())
     {