utils_osx isn't part of base but of core, moving wxMacWakeUp to a file that really is in base

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-05-20 06:09:10 +00:00
parent d9c83ba829
commit 3bfba421c7
2 changed files with 12 additions and 12 deletions

View File

@@ -217,6 +217,18 @@ void wxCFEventLoop::WakeUp()
CFRunLoopWakeUp(m_runLoop);
}
#if wxUSE_BASE
void wxMacWakeUp()
{
wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
if ( loop )
loop->WakeUp();
}
#endif
bool wxCFEventLoop::YieldFor(long eventsToProcess)
{
#if wxUSE_THREADS