Add "OSX" prefix to wxCFEventLoop::DoRun() and DoStop() methods.

Just rename these methods to avoid clashes with DoRun() that will be added to
the base class soon, no real changes.

This is done in preparation for improving nested event loops support, see #10258.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-07-03 00:24:34 +00:00
parent 7c60222510
commit 8d40c05f41
8 changed files with 27 additions and 31 deletions

View File

@@ -364,7 +364,7 @@ int wxCFEventLoop::DoDispatchTimeout(unsigned long timeout)
return 1;
}
void wxCFEventLoop::DoRun()
void wxCFEventLoop::OSXDoRun()
{
for ( ;; )
{
@@ -385,7 +385,7 @@ void wxCFEventLoop::DoRun()
}
}
void wxCFEventLoop::DoStop()
void wxCFEventLoop::OSXDoStop()
{
CFRunLoopStop(CFGetCurrentRunLoop());
}
@@ -414,7 +414,7 @@ int wxCFEventLoop::Run()
{
#endif // wxUSE_EXCEPTIONS
DoRun();
OSXDoRun();
#if wxUSE_EXCEPTIONS
// exit the outer loop as well
@@ -452,7 +452,7 @@ void wxCFEventLoop::Exit(int rc)
{
m_exitcode = rc;
m_shouldExit = true;
DoStop();
OSXDoStop();
}
wxCFEventLoopPauseIdleEvents::wxCFEventLoopPauseIdleEvents()