better naming wxCFEventLoopPauseIdleEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
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();
|
||||
@@ -103,11 +103,11 @@ private:
|
||||
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
|
||||
|
@@ -62,7 +62,7 @@ wxMessageDialog::~wxMessageDialog()
|
||||
|
||||
int wxMessageDialog::ShowModal()
|
||||
{
|
||||
wxCFEventLoopPauseObservers pause;
|
||||
wxCFEventLoopPauseIdleEvents pause;
|
||||
|
||||
int resultbutton = wxID_CANCEL;
|
||||
|
||||
|
@@ -441,14 +441,14 @@ void wxCFEventLoop::Exit(int rc)
|
||||
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 )
|
||||
|
Reference in New Issue
Block a user