Fixed GetShapeList and similar methods to use OOR.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-04-11 23:12:02 +00:00
parent a22d737782
commit c893f25d86
12 changed files with 59 additions and 10 deletions

View File

@@ -3080,7 +3080,7 @@ static PyObject *_wrap_wxPyShape_GetTopAncestor(PyObject *self, PyObject *args,
static PyObject * wxPyShape_GetChildren(wxPyShape *self) {
wxList& list = self->GetChildren();
return wxPy_ConvertList(&list, "wxPyShape");
return wxPy_ConvertShapeList(&list, "wxPyShape");
}
static PyObject *_wrap_wxPyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -4147,7 +4147,7 @@ static PyObject *_wrap_wxPyShape_GetMaintainAspectRatio(PyObject *self, PyObject
static PyObject * wxPyShape_GetLines(wxPyShape *self) {
wxList& list = self->GetLines();
return wxPy_ConvertList(&list, "wxPyLineShape");
return wxPy_ConvertShapeList(&list, "wxPyLineShape");
}
static PyObject *_wrap_wxPyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;