int wxGUIEventLoop::DoDispatchTimeout(unsigned long timeout)
{
wxMacAutoreleasePool autoreleasepool;
-
+
EventRef event;
OSStatus status = ReceiveNextEvent(0, NULL, timeout/1000, true, &event);
switch ( status )
WindowGroupRef windowGroup = NULL;
WindowGroupRef formerParentGroup = NULL;
-
+
// make sure modal dialogs are in the right layer so that they are not covered
if ( m_modalWindow != NULL )
{
}
m_modalWindow->SetFocus();
-
+
RunAppModalLoopForWindow(m_modalNativeWindow);
if ( resetGroupParent )