wx.EventLoop is now implemented for wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
%newgroup
|
||||
|
||||
%{
|
||||
#ifdef __WXMAC__
|
||||
#if 0 // #ifdef __WXMAC__
|
||||
|
||||
// A dummy class that raises an exception if used...
|
||||
class wxEventLoop
|
||||
@@ -72,4 +72,17 @@ public:
|
||||
};
|
||||
|
||||
|
||||
|
||||
// This object sets the wxEventLoop given to the ctor as the currently active
|
||||
// one and unsets it in its dtor, this is especially useful in presence of
|
||||
// exceptions but is more tidy even when we don't use them
|
||||
class wxEventLoopActivator
|
||||
{
|
||||
public:
|
||||
wxEventLoopActivator(wxEventLoop *evtLoop);
|
||||
~wxEventLoopActivator();
|
||||
};
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user