+#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);
+
+protected:
+ virtual void OnNextIteration();
+};
+
+#endif // wxUSE_CONSOLE_EVENTLOOP
+
+#endif // wxUSE_GUI/!wxUSE_GUI
+
+#endif // _WX_MSW_EVTLOOP_H_