diff --git a/src/osx/cocoa/utils_base.mm b/src/osx/cocoa/utils_base.mm index d11829338b..9a74146e4f 100644 --- a/src/osx/cocoa/utils_base.mm +++ b/src/osx/cocoa/utils_base.mm @@ -205,6 +205,8 @@ bool wxDateTime::GetFirstWeekDay(wxDateTime::WeekDay *firstDay) } #endif // wxUSE_DATETIME +#ifndef __WXOSX_IPHONE__ + bool wxCocoaLaunch(const char* const* argv, pid_t &pid) { // If there is not a single argument then there is no application @@ -328,3 +330,5 @@ bool wxCocoaLaunch(const char* const* argv, pid_t &pid) } return true; } + +#endif