From bf0a634c093e3be1ca373aaea73c2d35df3eb7ff Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 6 Jul 2014 14:59:25 +0000 Subject: [PATCH] removing wxMacLaunch dependancy for ios git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/utilsunx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 6d797cbd13..e6f14b0391 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -452,7 +452,7 @@ private: // wxExecute implementations // ---------------------------------------------------------------------------- -#if defined(__DARWIN__) +#if defined(__DARWIN__) && !defined(__WXOSX_IPHONE__) bool wxMacLaunch(char **argv); #endif @@ -577,7 +577,7 @@ long wxExecute(char **argv, int flags, wxProcess *process, wxT("wxExecute() can be called only from the main thread") ); #endif // wxUSE_THREADS -#ifdef __DARWIN__ +#if defined(__DARWIN__) && !defined(__WXOSX_IPHONE__) // wxMacLaunch() only executes app bundles and only does it asynchronously. // It returns false if the target is not an app bundle, thus falling // through to the regular code for non app bundles.