From a49a3585fe3eebed151c69402bbe2a4b3c2029b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 1 Aug 2014 18:03:25 +0000 Subject: [PATCH] Only filter requested events in wxEventBlocker. Contrary to the documentation, wxEventBlocker always behaved as if the event type to block was wxEVT_ANY: while it returned false for events not on the blacklist, it never actually called the existing event handler as it was meant to. Fix by calling wxEvtHandler::ProcessEvent() in this case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/event.cpp b/src/common/event.cpp index b28bf49e1e..072c82e953 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1886,7 +1886,7 @@ bool wxEventBlocker::ProcessEvent(wxEvent& event) return true; // yes, it should: mark this event as processed } - return false; + return wxEvtHandler::ProcessEvent(event);; } #endif // wxUSE_GUI