From 29ad2740ff6f8a817cfd1714c7505623937bac7d Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Wed, 18 Feb 2009 15:33:08 +0000 Subject: [PATCH] remove comment erroneously committed in r58654 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/common/event.cpp b/src/common/event.cpp index 4f9c74adc3..410751fb89 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1313,27 +1313,6 @@ bool wxEvtHandler::ProcessEvent(wxEvent& event) { if ( wxTheApp ) { -/* - CANNOT ENABLE: ProcessEvent() must always immediately process the event! - - if (wxTheApp->IsYielding() && - !wxTheApp->IsEventAllowedInsideYield(event.GetEventCategory())) - { - wxEvent* queuedEv = event.Clone(); - - // queue this event rather than processing it now - QueueEvent(queuedEv); - // the wxWakeUpIdle call shouldn't probably be done - // in this context (there's wxYield in the call stack) - - return true; - // it's not completely true that the event was processed; - // but we cannot even say it was skipped or discarded... - } - //else: either we're not inside a wxYield() call or if we are, - // we can process this event immediately. -*/ - int rc = wxTheApp->FilterEvent(event); if ( rc != -1 ) { -- 2.45.2