]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/evtloop.cpp
fixing release handling of dc
[wxWidgets.git] / src / msw / evtloop.cpp
index 48dfc765232c5f3ce1ae8708fb10867c91c4644a..601b8b870b2405eecc7e22b5281a84b17577ca33 100644 (file)
 #endif //WX_PRECOMP
 
 #include "wx/evtloop.h"
 #endif //WX_PRECOMP
 
 #include "wx/evtloop.h"
-
-
+#include "wx/thread.h"
 #include "wx/except.h"
 #include "wx/ptr_scpd.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/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);
 
         // define the list of MSG strutures
         WX_DECLARE_LIST(MSG, wxMsgList);
 
@@ -336,7 +332,7 @@ bool wxConsoleEventLoop::Dispatch()
     }
     else
     {
     }
     else
     {
-        wxLogDebug(_T("Ignoring unexpected message %d"), msg.message);
+        ::DispatchMessage(&msg);
     }
 
     return !m_shouldExit;
     }
 
     return !m_shouldExit;