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:
@@ -179,7 +179,7 @@ public:
|
||||
%addmethods {
|
||||
PyObject* GetChildren() {
|
||||
wxList& list = self->GetChildren();
|
||||
return wxPy_ConvertList(&list, "wxPyShape");
|
||||
return wxPy_ConvertShapeList(&list, "wxPyShape");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ public:
|
||||
%addmethods {
|
||||
PyObject* GetLines() {
|
||||
wxList& list = self->GetLines();
|
||||
return wxPy_ConvertList(&list, "wxPyLineShape");
|
||||
return wxPy_ConvertShapeList(&list, "wxPyLineShape");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user