#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);
#else // !wxUSE_GUI
+#if wxUSE_CONSOLE_EVENTLOOP
+
void wxConsoleEventLoop::OnNextIteration()
{
if ( wxTheApp )
}
else
{
- wxLogDebug(_T("Ignoring unexpected message %d"), msg.message);
+ ::DispatchMessage(&msg);
}
return !m_shouldExit;
}
+#endif // wxUSE_CONSOLE_EVENTLOOP
+
#endif //wxUSE_GUI