X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86e9b8f28fc8db834628e1528e12f3eeb1f6e216..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/dfb/evtloop.h diff --git a/include/wx/dfb/evtloop.h b/include/wx/dfb/evtloop.h index 9b010a1034..2a58619ed1 100644 --- a/include/wx/dfb/evtloop.h +++ b/include/wx/dfb/evtloop.h @@ -25,14 +25,12 @@ class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxConsoleEventLoop public: wxGUIEventLoop(); + virtual bool YieldFor(long eventsToProcess); + // returns DirectFB event buffer used by wx static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer(); private: - // wxYield implementation: iterate the loop as long as there are any - // pending events - void Yield(); - static void InitBuffer(); static void CleanUp(); @@ -42,7 +40,7 @@ private: static wxIDirectFBEventBufferPtr ms_buffer; static int ms_bufferFd; - DECLARE_NO_COPY_CLASS(wxGUIEventLoop) + wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop); }; #endif // _WX_DFB_EVTLOOP_H_