]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/evtloop.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / msw / evtloop.cpp
index 42e403787c9309ee19ed34d00c7c3f135486dd25..63f1688349630ce88af04ad2806c22c2130be65d 100644 (file)
 #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