Don't generate idle events when the event loop is not running

This commit is contained in:
Graham Dawes
2019-01-21 14:53:43 +00:00
parent 278f4fa1d6
commit 7fa7fd1beb
2 changed files with 10 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ public:
virtual void WakeUp() wxOVERRIDE;
virtual void DoYieldFor(long eventsToProcess) wxOVERRIDE;
void ScheduleIdleCheck();
#if wxUSE_EVENTLOOP_SOURCE
virtual wxEventLoopSource *AddSourceForFD(int fd, wxEventLoopSourceHandler *handler, int flags);
#endif // wxUSE_EVENTLOOP_SOURCE