#ifndef _WX_OSX_COCOA_EVTLOOP_H_
#define _WX_OSX_COCOA_EVTLOOP_H_
-class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual
+class WXDLLIMPEXP_BASE wxGUIEventLoop : public wxCFEventLoop
{
public:
wxGUIEventLoop();
+
+protected:
+ virtual int DoDispatchTimeout(unsigned long timeout);
+
+ virtual void DoRun();
- // implement/override base class pure virtual
- virtual bool Pending() const;
- virtual bool Dispatch();
- virtual int DispatchTimeout(unsigned long timeout);
-
- virtual void WakeUp();
- virtual bool YieldFor(long eventsToProcess);
-
-private:
- double m_sleepTime;
+ virtual void DoStop();
+
+ virtual CFRunLoopRef CFGetCurrentRunLoop() const;
};
#endif // _WX_OSX_COCOA_EVTLOOP_H_