support wxWindowDisabler on osx_cocoa

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-03-05 12:21:20 +00:00
parent dc90b8d411
commit 902ddbfd3e
4 changed files with 231 additions and 42 deletions

View File

@@ -15,6 +15,11 @@ class WXDLLIMPEXP_BASE wxGUIEventLoop : public wxCFEventLoop
{
public:
wxGUIEventLoop();
~wxGUIEventLoop();
void BeginModalSession( wxWindow* modalWindow );
void EndModalSession();
protected:
virtual int DoDispatchTimeout(unsigned long timeout);
@@ -24,6 +29,9 @@ protected:
virtual void DoStop();
virtual CFRunLoopRef CFGetCurrentRunLoop() const;
void* m_modalSession;
WXWindow m_dummyWindow;
};
#endif // _WX_OSX_COCOA_EVTLOOP_H_