DECLARE_WXOSX_OPAQUE_CFREF( CFRunLoop );
DECLARE_WXOSX_OPAQUE_CFREF( CFRunLoopObserver );
-class WXDLLIMPEXP_BASE wxCFEventLoopPauseObservers;
+class WXDLLIMPEXP_BASE wxCFEventLoopPauseIdleEvents;
class WXDLLIMPEXP_BASE wxCFEventLoop : public wxEventLoopBase
{
- friend class wxCFEventLoopPauseObservers;
+ friend class wxCFEventLoopPauseIdleEvents;
public:
wxCFEventLoop();
virtual ~wxCFEventLoop();
wxDECLARE_NO_COPY_CLASS(wxCFEventLoop);
};
-class WXDLLIMPEXP_BASE wxCFEventLoopPauseObservers : public wxObject
+class WXDLLIMPEXP_BASE wxCFEventLoopPauseIdleEvents : public wxObject
{
public:
- wxCFEventLoopPauseObservers();
- virtual ~wxCFEventLoopPauseObservers();
+ wxCFEventLoopPauseIdleEvents();
+ virtual ~wxCFEventLoopPauseIdleEvents();
};
#if wxUSE_GUI
int wxMessageDialog::ShowModal()
{
- wxCFEventLoopPauseObservers pause;
+ wxCFEventLoopPauseIdleEvents pause;
int resultbutton = wxID_CANCEL;
DoStop();
}
-wxCFEventLoopPauseObservers::wxCFEventLoopPauseObservers()
+wxCFEventLoopPauseIdleEvents::wxCFEventLoopPauseIdleEvents()
{
wxCFEventLoop* cfl = dynamic_cast<wxCFEventLoop*>(wxEventLoopBase::GetActive());
if ( cfl )
cfl->SetProcessIdleEvents(false);
}
-wxCFEventLoopPauseObservers::~wxCFEventLoopPauseObservers()
+wxCFEventLoopPauseIdleEvents::~wxCFEventLoopPauseIdleEvents()
{
wxCFEventLoop* cfl = dynamic_cast<wxCFEventLoop*>(wxEventLoopBase::GetActive());
if ( cfl )