Changed wxProcess::Open to take a flags arg to pass to wxExecute.

Fixed a few _'s without \'s in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-07-12 23:25:14 +00:00
parent 8961add6aa
commit e626d7c787
8 changed files with 31 additions and 28 deletions

View File

@@ -6147,12 +6147,13 @@ static PyObject *_wrap_wxProcess_Open(PyObject *self, PyObject *args, PyObject *
PyObject * _resultobj;
wxPyProcess * _result;
wxString * _arg0;
int _arg1 = (int ) wxEXEC_ASYNC;
PyObject * _obj0 = 0;
char *_kwnames[] = { "cmd", NULL };
char *_kwnames[] = { "cmd","flags", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Open",_kwnames,&_obj0))
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxProcess_Open",_kwnames,&_obj0,&_arg1))
return NULL;
{
_arg0 = wxString_in_helper(_obj0);
@@ -6161,7 +6162,7 @@ static PyObject *_wrap_wxProcess_Open(PyObject *self, PyObject *args, PyObject *
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxPyProcess *)wxPyProcess::Open(*_arg0);
_result = (wxPyProcess *)wxPyProcess::Open(*_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;