diff --git a/src/osx/utils_osx.cpp b/src/osx/utils_osx.cpp index 9b6eeaa80e..4764ec07a0 100644 --- a/src/osx/utils_osx.cpp +++ b/src/osx/utils_osx.cpp @@ -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 // ----------------------------------------------------------------------------