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:
@@ -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
|
||||
|
Reference in New Issue
Block a user