- event_t evt;
- ibool rc = EVT_getNext(&evt, EVT_EVERYEVT);
-
- if ( !rc )
- {
- wxLogError(_T("events queue empty even though Pending() returned true"));
- return FALSE;
- }
-
- // FIXME_MGL -- there must be some way to programatically exit
- // the loop, like WM_QUIT under Windows -- perhaps we need custom
- // event to indicate this??
-
- m_impl->ProcessEvent(&evt);
-