+#else // !wxUSE_GUI
+
+#if wxUSE_CONSOLE_EVENTLOOP
+
+class WXDLLIMPEXP_BASE wxConsoleEventLoop : public wxMSWEventLoopBase
+{
+public:
+ wxConsoleEventLoop() { }
+
+ // override/implement base class virtuals
+ virtual bool Dispatch();
+ virtual int DispatchTimeout(unsigned long timeout);
+ virtual void WakeUp();
+
+ // MSW-specific function to process a single message
+ virtual void ProcessMessage(WXMSG *msg);
+};
+
+#endif // wxUSE_CONSOLE_EVENTLOOP
+
+#endif // wxUSE_GUI/!wxUSE_GUI
+