X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81df6af392f10b209044b1f5d13550fbe54ba5c5..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/msw/evtloop.cpp?ds=inline diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index 42e403787c..63f1688349 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -32,18 +32,14 @@ #endif //WX_PRECOMP #include "wx/evtloop.h" - - +#include "wx/thread.h" #include "wx/except.h" #include "wx/ptr_scpd.h" - #include "wx/msw/private.h" #if wxUSE_GUI #include "wx/tooltip.h" #if wxUSE_THREADS - #include "wx/thread.h" - // define the list of MSG strutures WX_DECLARE_LIST(MSG, wxMsgList); @@ -307,6 +303,8 @@ void wxGUIEventLoop::WakeUp() #else // !wxUSE_GUI +#if wxUSE_CONSOLE_EVENTLOOP + void wxConsoleEventLoop::OnNextIteration() { if ( wxTheApp ) @@ -340,4 +338,6 @@ bool wxConsoleEventLoop::Dispatch() return !m_shouldExit; } +#endif // wxUSE_CONSOLE_EVENTLOOP + #endif //wxUSE_GUI