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