X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22b6de6a70900550b5411f14fffc9d48adbbf222..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/msw/evtloop.cpp?ds=sidebyside diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index f30816d9ce..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); @@ -336,7 +332,7 @@ bool wxConsoleEventLoop::Dispatch() } else { - ::DispatchMessage(&msg); + wxLogDebug(_T("Ignoring unexpected message %d"), msg.message); } return !m_shouldExit;