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" );