moving wxMacWakeUp outside COCOA_CARBON clause, fixes #12068

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-05-19 13:38:19 +00:00
parent d00167e101
commit 508610f081

View File

@@ -64,6 +64,18 @@ bool wxColourDisplay()
return true;
}
#if wxUSE_BASE
void wxMacWakeUp()
{
wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
if ( loop )
loop->WakeUp();
}
#endif
#if wxOSX_USE_COCOA_OR_CARBON
// Returns depth of screen
int wxDisplayDepth()
@@ -83,18 +95,6 @@ void wxDisplaySize(int *width, int *height)
*height = (int)bounds.size.height;
}
#if wxUSE_BASE
void wxMacWakeUp()
{
wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
if ( loop )
loop->WakeUp();
}
#endif
#if wxUSE_GUI
// ----------------------------------------------------------------------------