#ifndef _WX_MAC_CARBON_EVTLOOP_H_
#define _WX_MAC_CARBON_EVTLOOP_H_
-class OpaqueEventRef;
+struct OpaqueEventRef;
typedef OpaqueEventRef *EventRef;
-class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual
+class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
{
public:
wxGUIEventLoop();
virtual void WakeUp();
virtual bool YieldFor(long eventsToProcess);
+protected:
+ virtual CFRunLoopRef CFGetCurrentRunLoop() const;
+
private:
// dispatch an event and release it
void DispatchAndReleaseEvent(EventRef event);