1 ///////////////////////////////////////////////////////////////////////////////
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
6 // Author: Vadim Zeitlin
10 // Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
11 // Licence: wxWindows licence
12 ///////////////////////////////////////////////////////////////////////////////
14 #ifndef _WX_OSX_EVTLOOP_H_
15 #define _WX_OSX_EVTLOOP_H_
17 #ifdef __WXOSX_COCOA__
18 #include "wx/osx/cocoa/evtloop.h"
20 #include "wx/osx/carbon/evtloop.h"
23 class WXDLLIMPEXP_FWD_CORE wxWindow
;
24 class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow
;
26 class WXDLLIMPEXP_CORE wxModalEventLoop
: public wxGUIEventLoop
29 wxModalEventLoop(wxWindow
*modalWindow
);
30 wxModalEventLoop(WXWindow modalNativeWindow
);
35 virtual void DoStop();
37 // (in case) the modal window for this event loop
38 wxNonOwnedWindow
* m_modalWindow
;
39 WXWindow m_modalNativeWindow
;
42 #endif // _WX_OSX_EVTLOOP_H_