X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d1593cd4b21dda37236dee8c5057343e41656cd..e7d3d27dcef1da559c495481a941dbf34a29efa8:/src/unix/evtloopunix.cpp?ds=inline diff --git a/src/unix/evtloopunix.cpp b/src/unix/evtloopunix.cpp index 5bd8b1050f..76272844d3 100644 --- a/src/unix/evtloopunix.cpp +++ b/src/unix/evtloopunix.cpp @@ -27,6 +27,7 @@ #endif #include +#include "wx/apptrait.h" #include "wx/evtloop.h" #include "wx/thread.h" #include "wx/module.h" @@ -148,6 +149,7 @@ bool wxConsoleEventLoop::Pending() const bool wxConsoleEventLoop::Dispatch() { + m_dispatcher->Dispatch(); wxTheApp->ProcessPendingEvents(); return true; } @@ -185,4 +187,10 @@ void wxConsoleEventLoop::OnNextIteration() wxTheApp->CheckSignal(); } + +wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop() +{ + return new wxEventLoop(); +} + #endif // wxUSE_CONSOLE_EVENTLOOP