]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/evtloop.h
Add support for searching and highlighting a wxWebView.
[wxWidgets.git] / include / wx / osx / evtloop.h
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
5 // headers
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
14 #ifndef _WX_OSX_EVTLOOP_H_
15 #define _WX_OSX_EVTLOOP_H_
16
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:
29 wxModalEventLoop(wxWindow *modalWindow);
30 wxModalEventLoop(WXWindow modalNativeWindow);
31
32 protected:
33 virtual void DoRun();
34
35 virtual void DoStop();
36
37 // (in case) the modal window for this event loop
38 wxNonOwnedWindow* m_modalWindow;
39 WXWindow m_modalNativeWindow;
40 };
41
42 #endif // _WX_OSX_EVTLOOP_H_