X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e913f796a6a0431c79ffb79a2ba5922ff770eca..eae20a30ea20e0292b050d41ad190c0c08c75ec1:/src/unix/baseunix.cpp diff --git a/src/unix/baseunix.cpp b/src/unix/baseunix.cpp index fb2bdf58ba..b2dacab6dd 100644 --- a/src/unix/baseunix.cpp +++ b/src/unix/baseunix.cpp @@ -34,9 +34,7 @@ #include "wx/unix/execute.h" #include "wx/evtloop.h" -#if wxUSE_TIMER - #include "wx/unix/private/timer.h" -#endif // wxUSE_TIMER +#include "wx/unix/private/timer.h" // for waitpid() #include @@ -97,8 +95,11 @@ wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer) #endif // wxUSE_TIMER +#if wxUSE_CONSOLE_EVENTLOOP + wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop() { return new wxEventLoop(); } +#endif // wxUSE_CONSOLE_EVENTLOOP