X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..1ea5ef0190b1b2f4d248af6b06d718a9adef2d41:/include/wx/osx/carbon/evtloop.h diff --git a/include/wx/osx/carbon/evtloop.h b/include/wx/osx/carbon/evtloop.h index 60f5704574..b55112994f 100644 --- a/include/wx/osx/carbon/evtloop.h +++ b/include/wx/osx/carbon/evtloop.h @@ -12,17 +12,25 @@ #ifndef _WX_MAC_CARBON_EVTLOOP_H_ #define _WX_MAC_CARBON_EVTLOOP_H_ +class OpaqueEventRef; +typedef OpaqueEventRef *EventRef; + class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual { public: wxGUIEventLoop(); + // implement/override base class pure virtual virtual bool Pending() const; virtual bool Dispatch(); + virtual int DispatchTimeout(unsigned long timeout); - // implement base class pure virtual virtual void WakeUp(); + private: + // dispatch an event and release it + void DispatchAndReleaseEvent(EventRef event); + double m_sleepTime; };