%addmethods {
PyObject* GetChildren() {
wxList& list = self->GetChildren();
- return wxPy_ConvertList(&list, "wxPyShape");
+ return wxPy_ConvertShapeList(&list, "wxPyShape");
}
}
%addmethods {
PyObject* GetLines() {
wxList& list = self->GetLines();
- return wxPy_ConvertList(&list, "wxPyLineShape");
+ return wxPy_ConvertShapeList(&list, "wxPyLineShape");
}
}