From 2790b3cb293b1bb164b89c610fc23f036c40e145 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 7 Apr 2020 12:02:52 +0200 Subject: [PATCH] wxCocoaLaunch is not available under iOS --- src/osx/cocoa/utils_base.mm | 4 ++++ 1 file changed, 4 insertions(+) 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