X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..058f225a44d83d42ba9d773efc705badbf0e5e3c:/include/wx/unix/evtloop.h diff --git a/include/wx/unix/evtloop.h b/include/wx/unix/evtloop.h index 32fbfffddd..ddb101516f 100644 --- a/include/wx/unix/evtloop.h +++ b/include/wx/unix/evtloop.h @@ -11,8 +11,9 @@ #ifndef _WX_UNIX_EVTLOOP_H_ #define _WX_UNIX_EVTLOOP_H_ +#if wxUSE_CONSOLE_EVENTLOOP + #include "wx/private/fdiodispatcher.h" -#include "wx/unix/private/timer.h" #include "wx/unix/pipe.h" // ---------------------------------------------------------------------------- @@ -28,6 +29,7 @@ public: // implement base class pure virtuals virtual bool Pending() const; virtual bool Dispatch(); + virtual int DispatchTimeout(unsigned long timeout); virtual void WakeUp(); virtual bool IsOk() const { return m_dispatcher != NULL; } @@ -68,4 +70,6 @@ private: DECLARE_NO_COPY_CLASS(wxConsoleEventLoop) }; +#endif // wxUSE_CONSOLE_EVENTLOOP + #endif // _WX_UNIX_EVTLOOP_H_