X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c7f47ddde4d56be33bdba563b28e56edd192af7..058f225a44d83d42ba9d773efc705badbf0e5e3c:/include/wx/unix/evtloop.h diff --git a/include/wx/unix/evtloop.h b/include/wx/unix/evtloop.h index a794bdd42d..ddb101516f 100644 --- a/include/wx/unix/evtloop.h +++ b/include/wx/unix/evtloop.h @@ -11,6 +11,8 @@ #ifndef _WX_UNIX_EVTLOOP_H_ #define _WX_UNIX_EVTLOOP_H_ +#if wxUSE_CONSOLE_EVENTLOOP + #include "wx/private/fdiodispatcher.h" #include "wx/unix/pipe.h" @@ -27,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; } @@ -67,4 +70,6 @@ private: DECLARE_NO_COPY_CLASS(wxConsoleEventLoop) }; +#endif // wxUSE_CONSOLE_EVENTLOOP + #endif // _WX_UNIX_EVTLOOP_H_