From 956b1c8553bc14c60db7c40f7ae9b7405fb30bcb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 23 May 2012 20:36:08 +0000 Subject: [PATCH] Fix removing event handler filters in wxEvtHandler. Removal from the simply linked list of event filters wasn't done correctly as the pointer to the previous node was never updated. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/event.cpp b/src/common/event.cpp index 9896674c61..59f6bc004a 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1162,6 +1162,8 @@ wxEventFilter* wxEvtHandler::ms_filterList = NULL; // Skip the assert below. return; } + + prev = f; } wxFAIL_MSG( "Filter not found" );