Permalink
Browse files

better naming wxCFEventLoopPauseIdleEvents

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
  • Loading branch information...
1 parent 54e996e commit 63aff50e66a4933a8887a3344295fb57728ac41e @csomor csomor committed Jun 15, 2012
Showing with 8 additions and 8 deletions.
  1. +5 −5 include/wx/osx/evtloop.h
  2. +1 −1 src/osx/cocoa/msgdlg.mm
  3. +2 −2 src/osx/core/evtloop_cf.cpp
@@ -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 @@ class WXDLLIMPEXP_BASE wxCFEventLoop : public wxEventLoopBase
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 @@ NSAlertStyle GetAlertStyleFromWXStyle( long style )
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 )

0 comments on commit 63aff50

Please sign in to comment.