Added wxWakeUpIdle() for MSW and empty stubs for Motif, OS2, and Mac

Pending events are now deleted after being processed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-11-17 21:02:45 +00:00
parent 5f2936dacb
commit 9779893b90
7 changed files with 270 additions and 236 deletions

View File

@@ -346,7 +346,7 @@ void wxApp::ProcessXEvent(WXEvent* _event)
return;
}
#if 1
// It seemed before that this hack was redundant and
// It seemed before that this hack was redundant and
// key down events were being generated by wxCanvasInputEvent.
// But no longer - why ???
//
@@ -355,7 +355,7 @@ void wxApp::ProcessXEvent(WXEvent* _event)
// We intercepted and processed the key down event
return;
}
#endif
#endif
else
{
XtDispatchEvent(event);
@@ -483,6 +483,13 @@ void wxApp::OnIdle(wxIdleEvent& event)
inOnIdle = FALSE;
}
void wxWakeUpIdle()
{
// **** please implement me! ****
// Wake up the idle handler processor, even if it is in another thread...
}
// Send idle event to all top-level windows
bool wxApp::SendIdleEvents()
{