From cbe9d34eee27504e597f9bb0f9a1cc8064a856cd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 27 Sep 2014 16:15:09 +0000 Subject: [PATCH] Revert "Skip mouse button release events in wxGenericListCtrl." This reverts r76825 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/branches/WX_3_0_BRANCH@77897 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 16c2ed6276..771c400bb4 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 {