]> 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 f30816d9cefad770f0c29b30184770f5b0492902..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);
 
@@ -336,7 +332,7 @@ bool wxConsoleEventLoop::Dispatch()
     }
     else
     {
-        ::DispatchMessage(&msg);
+        wxLogDebug(_T("Ignoring unexpected message %d"), msg.message);
     }
 
     return !m_shouldExit;