so Unix' wxConsoleEventLoop can also be shared by platforms not having
the complete ConsoleAppTraits of Unix (e.g. OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50133
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif // wxUSE_TIMER
-#if wxUSE_CONSOLE_EVENTLOOP
-
-wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
-{
- return new wxEventLoop();
-}
-
-#endif // wxUSE_CONSOLE_EVENTLOOP
+// Note: wxConsoleAppTraits::CreateEventLoop() is defined in evtloopunix.cpp!
#endif
#include <errno.h>
+#include "wx/apptrait.h"
#include "wx/evtloop.h"
#include "wx/thread.h"
#include "wx/module.h"
wxTheApp->CheckSignal();
}
+
+wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
+{
+ return new wxEventLoop();
+}
+
#endif // wxUSE_CONSOLE_EVENTLOOP