X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..7da37f2c5d7addc655e3c6bcd29a8877c360b35b:/src/unix/evtloopunix.cpp diff --git a/src/unix/evtloopunix.cpp b/src/unix/evtloopunix.cpp index 1aadf8f498..897f39a5bc 100644 --- a/src/unix/evtloopunix.cpp +++ b/src/unix/evtloopunix.cpp @@ -29,12 +29,16 @@ #include #include "wx/thread.h" #include "wx/module.h" -#include "wx/generic/private/timer.h" +#include "wx/unix/private/timer.h" #include "wx/unix/private/epolldispatcher.h" #include "wx/private/selectdispatcher.h" #define TRACE_EVENTS _T("events") +//this code should not be compiled when GUI is defined +//(monolithic build issue) +#if !wxUSE_GUI + // =========================================================================== // wxEventLoop::PipeIOHandler implementation // =========================================================================== @@ -140,7 +144,7 @@ wxConsoleEventLoop::wxConsoleEventLoop() &m_wakeupPipe, wxFDIO_INPUT ); -}; +} //----------------------------------------------------------------------------- // events dispatch and loop handling @@ -190,3 +194,4 @@ void wxConsoleEventLoop::OnNextIteration() wxTheApp->CheckSignal(); } +#endif // !wxUSE_GUI