Updated version number, some other last minute tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-12-17 00:04:07 +00:00
parent 621ac7b903
commit 840eac6e39
5 changed files with 10 additions and 7 deletions

View File

@@ -1503,11 +1503,13 @@ static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwa
PyObject * _resultobj;
bool _result;
wxWindow * _arg0 = (wxWindow *) NULL;
bool _arg1 = (bool ) FALSE;
PyObject * _argo0 = 0;
char *_kwnames[] = { "win", NULL };
int tempbool1 = (int) FALSE;
char *_kwnames[] = { "win","onlyIfNeeded", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxSafeYield",_kwnames,&_argo0))
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:wxSafeYield",_kwnames,&_argo0,&tempbool1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
@@ -1516,9 +1518,10 @@ static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwa
return NULL;
}
}
_arg1 = (bool ) tempbool1;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (bool )wxSafeYield(_arg0);
_result = (bool )wxSafeYield(_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;