From 445e2c32e2d1fff22380053c6be227c9ea89edcd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 27 Sep 2014 16:12:45 +0000 Subject: [PATCH] Revert "Skip mouse button release events in wxGenericListCtrl." This reverts r76824 as it is not necessary any longer, the fix in the previous commit takes care of this problem more generally. See #16365. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index fe64b6f346..e92374c6a9 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2437,9 +2437,6 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) { // reset the selection and bail out HighlightAll(false); - - if ( event.LeftUp() ) - event.Skip(); } return; @@ -2515,8 +2512,6 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) } m_lineSelectSingleOnUp = (size_t)-1; - - event.Skip(); } else {