X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d1a4878f36ba4b5f66c2ccfd2cb27a9dc528b6f..79456eac49738a3f1704a82935d6b0f731549764:/src/mac/carbon/utilsexc.cpp

diff --git a/src/mac/carbon/utilsexc.cpp b/src/mac/carbon/utilsexc.cpp
index 6c82d0ca87..5c8788f26d 100644
--- a/src/mac/carbon/utilsexc.cpp
+++ b/src/mac/carbon/utilsexc.cpp
@@ -9,35 +9,4 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#include "wx/wxprec.h"
-#ifndef WX_PRECOMP
-    #include "wx/log.h"
-    #include "wx/utils.h"
-#endif //ndef WX_PRECOMP
-
-#ifndef __DARWIN__
-
-#include "wx/mac/private.h"
-#include "LaunchServices.h"
-
-long wxExecute(const wxString& command, int flags, wxProcess *WXUNUSED(handler))
-{
-    wxASSERT_MSG( flags == wxEXEC_ASYNC,
-        wxT("wxExecute: Only wxEXEC_ASYNC is supported") );
-
-    FSRef fsRef ;
-    OSErr err = noErr ;
-    err = wxMacPathToFSRef( command , &fsRef ) ;
-    if ( noErr == err )
-    {
-        err = LSOpenFSRef( &fsRef , NULL ) ;
-    }
-
-    // 0 means execution failed. Returning non-zero is a PID, but not
-    // on Mac where PIDs are 64 bits and won't fit in a long, so we
-    // return a dummy value for now.
-    return ( err == noErr ) ? -1 : 0;
-}
-
-#endif //ndef __DARWIN__
-
+// TODO REMOVE