common wxMacWakeUp code across all platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-05-19 08:26:59 +00:00
parent 58e74b83b1
commit cc96f52525
5 changed files with 18 additions and 101 deletions

View File

@@ -83,6 +83,18 @@ 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
// ----------------------------------------------------------------------------