]> git.saurik.com Git - wxWidgets.git/blob - src/cocoa/utilsexc.cpp
Use wxStripMenuCodes
[wxWidgets.git] / src / cocoa / utilsexc.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: utilsexec.cpp
3 // Purpose: Execution-related utilities
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation
14 #endif
15
16 #include "wx/utils.h"
17 #ifdef __DARWIN__
18 #include "wx/unix/execute.h"
19 #endif
20
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <string.h>
24
25 #ifndef __DARWIN__
26 #define wxEXECUTE_WIN_MESSAGE 10000
27
28 long wxExecute(const wxString& command, int flags, wxProcess *handler)
29 {
30 // TODO
31 wxFAIL_MSG( _T("wxExecute() not yet implemented") );
32 return 0;
33 }
34 #endif
35
36 #ifdef __DARWIN__
37 int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
38 {
39 wxFAIL_MSG( _T("wxAddProcessCallback() not yet implemented") );
40 return 0;
41 }
42 #endif