]>
Commit | Line | Data |
---|---|---|
5c6eb3a8 | 1 | /////////////////////////////////////////////////////////////////////////////// |
233f5738 VZ |
2 | // Name: wx/osx/evtloop.h |
3 | // Purpose: simply forwards to wx/osx/carbon/evtloop.h or | |
4 | // wx/osx/cocoa/evtloop.h for consistency with the other Mac | |
5 | // headers | |
5c6eb3a8 SC |
6 | // Author: Vadim Zeitlin |
7 | // Modified by: | |
8 | // Created: 2006-01-12 | |
9 | // RCS-ID: $Id$ | |
10 | // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org> | |
11 | // Licence: wxWindows licence | |
12 | /////////////////////////////////////////////////////////////////////////////// | |
13 | ||
5cd99866 VZ |
14 | #ifndef _WX_OSX_EVTLOOP_H_ |
15 | #define _WX_OSX_EVTLOOP_H_ | |
5c6eb3a8 | 16 | |
80eee837 SC |
17 | #ifdef __WXOSX_COCOA__ |
18 | #include "wx/osx/cocoa/evtloop.h" | |
19 | #else | |
20 | #include "wx/osx/carbon/evtloop.h" | |
21 | #endif | |
22 | ||
23 | class WXDLLIMPEXP_FWD_CORE wxWindow; | |
24 | class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow; | |
25 | ||
26 | class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop | |
27 | { | |
28 | public: | |
cfb0ef70 SC |
29 | wxModalEventLoop(wxWindow *modalWindow); |
30 | wxModalEventLoop(WXWindow modalNativeWindow); | |
ce00f59b | 31 | |
80eee837 | 32 | protected: |
8d40c05f VZ |
33 | virtual void OSXDoRun(); |
34 | virtual void OSXDoStop(); | |
ce00f59b | 35 | |
80eee837 SC |
36 | // (in case) the modal window for this event loop |
37 | wxNonOwnedWindow* m_modalWindow; | |
cfb0ef70 | 38 | WXWindow m_modalNativeWindow; |
80eee837 SC |
39 | }; |
40 | ||
5cd99866 | 41 | #endif // _WX_OSX_EVTLOOP_H_ |