X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/564c7fc4127c39472b32f80b32733eb6e3ade59c..b04237742c51e022af8ca8fe8933437734f392a3:/include/wx/gtk/evtloop.h?ds=sidebyside diff --git a/include/wx/gtk/evtloop.h b/include/wx/gtk/evtloop.h index b47e187487..36c62e168e 100644 --- a/include/wx/gtk/evtloop.h +++ b/include/wx/gtk/evtloop.h @@ -26,12 +26,17 @@ public: virtual bool Dispatch(); virtual int DispatchTimeout(unsigned long timeout); virtual void WakeUp(); + virtual bool YieldFor(long eventsToProcess); protected: + // the exit code of this event loop int m_exitcode; - DECLARE_NO_COPY_CLASS(wxGUIEventLoop) + // used to temporarily store events in DoYield() + wxArrayPtrVoid m_arrGdkEvents; + + wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop); }; #endif // _WX_GTK_EVTLOOP_H_