%addmethods {
PyObject* GetShapeList() {
wxList* list = self->GetShapeList();
- return wxPy_ConvertList(list, "wxPyShape");
+ return wxPy_ConvertShapeList(list, "wxPyShape");
}
}
void SetDiagram(wxDiagram *diagram);
void Snap(double *INOUT, double *INOUT);
+
+ %pragma(python) addtoclass = "
+ def GetShapeList(self):
+ return self.GetDiagram().GetShapeList()
+ "
+
};