]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/utilsexc.cpp
Removed no longer needed code to fix combo sizing (causes layout problems on Windows)
[wxWidgets.git] / src / palmos / utilsexc.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/utilsexec.cpp
3 // Purpose: wxExecute implementation for PalmOS
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/utils.h"
29 #include "wx/app.h"
30 #include "wx/intl.h"
31 #include "wx/log.h"
32 #endif
33
34 #include "wx/stream.h"
35 #include "wx/process.h"
36
37 #include "wx/apptrait.h"
38
39 #include "wx/module.h"
40
41 #include <ctype.h>
42
43 #include <stdio.h>
44 #include <stdlib.h>
45 #include <string.h>
46
47 #if wxUSE_IPC
48 #include "wx/dde.h" // for WX_DDE hack in wxExecute
49 #endif // wxUSE_IPC
50
51 // ----------------------------------------------------------------------------
52 // constants
53 // ----------------------------------------------------------------------------
54
55 // ----------------------------------------------------------------------------
56 // this module globals
57 // ----------------------------------------------------------------------------
58
59 // we need to create a hidden window to receive the process termination
60 // notifications and for this we need a (Win) class name for it which we will
61 // register the first time it's needed
62 static const wxChar *wxMSWEXEC_WNDCLASSNAME = wxT("_wxExecute_Internal_Class");
63 static const wxChar *gs_classForHiddenWindow = NULL;
64
65 // ----------------------------------------------------------------------------
66 // private types
67 // ----------------------------------------------------------------------------
68
69 // ============================================================================
70 // implementation
71 // ============================================================================
72
73 // ============================================================================
74 // wxExecute functions family
75 // ============================================================================
76
77 #if wxUSE_IPC
78
79 // connect to the given server via DDE and ask it to execute the command
80 static bool wxExecuteDDE(const wxString& ddeServer,
81 const wxString& ddeTopic,
82 const wxString& ddeCommand)
83 {
84 return false;
85 }
86
87 #endif // wxUSE_IPC
88
89 long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
90 {
91 return 0;
92 }
93
94 long wxExecute(wxChar **argv, int flags, wxProcess *handler)
95 {
96 return 0;
97 }
98