]> git.saurik.com Git - wxWidgets.git/commitdiff
remove comment erroneously committed in r58654
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 18 Feb 2009 15:33:08 +0000 (15:33 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 18 Feb 2009 15:33:08 +0000 (15:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/event.cpp

index 4f9c74adc3a2b926c079ca1404d7b265a4b5483d..410751fb89a23b40aff1faf969695f14067739c8 100644 (file)
@@ -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 )
             {