streamlining OSX event support first step, see #11805, see #11797

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-03-15 15:40:47 +00:00
parent be7e10393a
commit 0056673c67
7 changed files with 298 additions and 301 deletions

View File

@@ -20,22 +20,9 @@ class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
public:
wxGUIEventLoop();
// 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);
protected:
virtual CFRunLoopRef CFGetCurrentRunLoop() const;
virtual int DoDispatchTimeout(unsigned long timeout);
private:
// dispatch an event and release it
void DispatchAndReleaseEvent(EventRef event);
double m_sleepTime;
};
#endif // _WX_MAC_CARBON_EVTLOOP_H_