From 3b491c0776b7bade1a50092845d0759fe48fe1eb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Sep 2019 01:45:30 +0200 Subject: [PATCH] Don't skip event after capturing mouse in wxAUI in all ports This was previously done only under Mac, but it doesn't seem to make much sense to skip the mouse event if we handled it by capturing the mouse and it seems to create problems in wxQt too, so just generalize the Mac behaviour to all platforms. See https://github.com/wxWidgets/wxWidgets/pull/1360 --- src/aui/framemanager.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index b6bd4575d2..540cccb6e7 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -4160,21 +4160,15 @@ void wxAuiManager::OnLeftDown(wxMouseEvent& event) event.m_y - part->rect.y); m_frame->CaptureMouse(); } -#ifdef __WXMAC__ else { event.Skip(); } -#endif } -#ifdef __WXMAC__ else { event.Skip(); } -#else - event.Skip(); -#endif } /// Ends a resize action, or for live update, resizes the sash