#endif
#include <errno.h>
+#include "wx/apptrait.h"
#include "wx/evtloop.h"
#include "wx/thread.h"
#include "wx/module.h"
timeout = wxFDIODispatcher::TIMEOUT_INFINITE;
}
- m_dispatcher->RunLoop(timeout);
+ m_dispatcher->Dispatch(timeout);
#if wxUSE_TIMER
wxTimerScheduler::Get().NotifyExpired();
wxTheApp->CheckSignal();
}
+
+wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
+{
+ return new wxEventLoop();
+}
+
#endif // wxUSE_CONSOLE_EVENTLOOP