X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52c8d32a71bb7553dd89324fa6d56faac95eb5d0..f2a1b1bd23ef03bcfb17c7d2894f4982d8553709:/include/wx/dfb/evtloop.h diff --git a/include/wx/dfb/evtloop.h b/include/wx/dfb/evtloop.h index 11366e70a3..9845acd265 100644 --- a/include/wx/dfb/evtloop.h +++ b/include/wx/dfb/evtloop.h @@ -31,6 +31,10 @@ public: // returns DirectFB event buffer used by wx static wxIDirectFBEventBufferPtr GetDirectFBEventBuffer(); + // wxYield implementation: iterate the loop as long as there are any + // pending events + void Yield(); + protected: virtual void WakeUp(); virtual void OnNextIteration(); @@ -39,12 +43,13 @@ protected: private: static void InitBuffer(); + static void CleanUp(); + + friend class wxApp; // calls CleanUp() and WakeUp() private: static wxIDirectFBEventBufferPtr ms_buffer; - friend class wxApp; // calls WakeUp() - DECLARE_NO_COPY_CLASS(wxEventLoop) };