reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-14 06:29:24 +00:00
parent 7e63a44037
commit 629e65c221
17 changed files with 318 additions and 110 deletions

View File

@@ -553,11 +553,12 @@ bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
@@ -567,7 +568,7 @@ bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap const
Py_DECREF(o3);
}
return target;
}
}