X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f8cdda4851796e5f5f5bcd82d9e867a30581a6f..c9cc9a2f3e41341a4c04c67137b58faaeaa55366:/src/unix/evtloopunix.cpp diff --git a/src/unix/evtloopunix.cpp b/src/unix/evtloopunix.cpp index 99d9c1e34e..5797b5eedb 100644 --- a/src/unix/evtloopunix.cpp +++ b/src/unix/evtloopunix.cpp @@ -21,6 +21,8 @@ #if wxUSE_CONSOLE_EVENTLOOP +#include "wx/evtloop.h" + #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/log.h" @@ -28,7 +30,6 @@ #include #include "wx/apptrait.h" -#include "wx/evtloop.h" #include "wx/thread.h" #include "wx/module.h" #include "wx/unix/pipe.h" @@ -199,7 +200,8 @@ bool wxConsoleEventLoop::Pending() const bool wxConsoleEventLoop::Dispatch() { - DispatchTimeout(wxFDIODispatcher::TIMEOUT_INFINITE); + DispatchTimeout(static_cast( + wxFDIODispatcher::TIMEOUT_INFINITE)); return true; }