X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f8cdda4851796e5f5f5bcd82d9e867a30581a6f..0751510c21fdbde9e75814a3cc75e6678fb12f02:/src/unix/evtloopunix.cpp diff --git a/src/unix/evtloopunix.cpp b/src/unix/evtloopunix.cpp index 99d9c1e34e..a44933e593 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" @@ -36,7 +37,7 @@ #include "wx/unix/private/epolldispatcher.h" #include "wx/private/selectdispatcher.h" -#define TRACE_EVENTS _T("events") +#define TRACE_EVENTS wxT("events") // =========================================================================== // wxEventLoop::PipeIOHandler implementation @@ -199,7 +200,8 @@ bool wxConsoleEventLoop::Pending() const bool wxConsoleEventLoop::Dispatch() { - DispatchTimeout(wxFDIODispatcher::TIMEOUT_INFINITE); + DispatchTimeout(static_cast( + wxFDIODispatcher::TIMEOUT_INFINITE)); return true; }