]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/osx/carbon/evtloop.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / osx / carbon / evtloop.h
... / ...
CommitLineData
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/osx/carbon/evtloop.h
3// Purpose: declaration of wxEventLoop for wxMac
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 2006-01-12
7// Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_MAC_CARBON_EVTLOOP_H_
12#define _WX_MAC_CARBON_EVTLOOP_H_
13
14struct OpaqueEventRef;
15typedef OpaqueEventRef *EventRef;
16
17class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxCFEventLoop
18{
19public:
20 wxGUIEventLoop();
21
22 virtual void WakeUp();
23
24protected:
25 virtual int DoDispatchTimeout(unsigned long timeout);
26
27 virtual void OSXDoRun();
28 virtual void OSXDoStop();
29
30 virtual CFRunLoopRef CFGetCurrentRunLoop() const;
31};
32
33#endif // _WX_MAC_CARBON_EVTLOOP_H_
34