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:
Stefan Csomor
2012-06-15 16:24:09 +00:00
parent ffbee8108f
commit c657294b52
3 changed files with 8 additions and 8 deletions

View File

@@ -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

View File

@@ -62,7 +62,7 @@ wxMessageDialog::~wxMessageDialog()
int wxMessageDialog::ShowModal()
{
wxCFEventLoopPauseObservers pause;
wxCFEventLoopPauseIdleEvents pause;
int resultbutton = wxID_CANCEL;

View File

@@ -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 )