OGL fixes; documentation fixes; dialog editor updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-08-06 19:42:06 +00:00
parent c6cdf16c93
commit 5de76427c8
41 changed files with 911 additions and 361 deletions

View File

@@ -344,8 +344,11 @@ bool wxEvtHandler::ProcessEvent(wxEvent& event)
return win->GetParent()->GetEventHandler()->ProcessEvent(event);
}
// Last try - application object
if (wxTheApp && this != wxTheApp && wxTheApp->ProcessEvent(event))
// Last try - application object.
// Special case: don't pass wxEVT_IDLE to wxApp, since it'll always swallow it.
// wxEVT_IDLE is sent explicitly to wxApp so it will be processed appropriately
// via SearchEventTable.
if (wxTheApp && this != wxTheApp && (event.GetEventType() != wxEVT_IDLE) && wxTheApp->ProcessEvent(event))
return TRUE;
else
return FALSE;