]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/evtloop.h
Generate the interface file for STC from gen_iface too.
[wxWidgets.git] / include / wx / osx / evtloop.h
CommitLineData
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
23class WXDLLIMPEXP_FWD_CORE wxWindow;
24class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow;
25
26class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop
27{
28public:
cfb0ef70
SC
29 wxModalEventLoop(wxWindow *modalWindow);
30 wxModalEventLoop(WXWindow modalNativeWindow);
ce00f59b 31
80eee837
SC
32protected:
33 virtual void DoRun();
ce00f59b 34
80eee837 35 virtual void DoStop();
ce00f59b 36
80eee837
SC
37 // (in case) the modal window for this event loop
38 wxNonOwnedWindow* m_modalWindow;
cfb0ef70 39 WXWindow m_modalNativeWindow;
80eee837
SC
40};
41
5cd99866 42#endif // _WX_OSX_EVTLOOP_H_