diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index bdaab9b20c..916b83725d 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -1228,6 +1228,10 @@ void wxMacConvertNewlines10To13( wxChar * data ) // Common Event Support // ---------------------------------------------------------------------------- +#endif // wxUSE_GUI + +#if wxUSE_BASE + extern ProcessSerialNumber gAppProcess ; void wxMacWakeUp() @@ -1258,6 +1262,11 @@ void wxMacWakeUp() } } +#endif // wxUSE_BASE + +#if wxUSE_GUI + + // ---------------------------------------------------------------------------- // Carbon Event Support // ----------------------------------------------------------------------------