]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied context menu patch.
authorRobert Roebling <robert@roebling.de>
Sun, 6 Feb 2005 12:45:26 +0000 (12:45 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 6 Feb 2005 12:45:26 +0000 (12:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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())
     {