+#else // !wxUSE_GUI
+
+#if wxUSE_CONSOLE_EVENTLOOP
+
+class WXDLLIMPEXP_BASE wxConsoleEventLoop : public wxMSWEventLoopBase
+{
+public:
+ wxConsoleEventLoop() { }
+
+ // override/implement base class virtuals
+ virtual bool Dispatch();
+ virtual void WakeUp();
+
+protected:
+ virtual void OnNextIteration();
+};
+
+#endif // wxUSE_CONSOLE_EVENTLOOP