remove comment erroneously committed in r58654
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ee32a48d95
commit
29ad2740ff
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user