///////////////////////////////////////////////////////////////////////////////
-// Name: include/wx/osx/evtloop.h
-// Purpose: simply forwards to wx/mac/carbon/evtloop.h for consistency with
-// the other Mac headers
+// Name: wx/osx/evtloop.h
+// Purpose: simply forwards to wx/osx/carbon/evtloop.h or
+// wx/osx/cocoa/evtloop.h for consistency with the other Mac
+// headers
// Author: Vadim Zeitlin
// Modified by:
// Created: 2006-01-12
// the loop exit code
int m_exitcode;
+ // cfrunloop
+ CFRunLoopRef m_runLoop;
+
// runloop observer
CFRunLoopObserverRef m_runLoopObserver;
class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop
{
public:
- wxModalEventLoop(wxWindow *winModal);
+ wxModalEventLoop(wxWindow *modalWindow);
+ wxModalEventLoop(WXWindow modalNativeWindow);
protected:
virtual void DoRun();
// (in case) the modal window for this event loop
wxNonOwnedWindow* m_modalWindow;
+ WXWindow m_modalNativeWindow;
};
#endif // wxUSE_GUI