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

@@ -209,6 +209,10 @@ class wxPyShapeCanvasPtr(wxScrolledWindowPtr):
return val
def __repr__(self):
return "<C wxPyShapeCanvas instance at %s>" % (self.this,)
def GetShapeList(self):
return self.GetDiagram().GetShapeList()
class wxPyShapeCanvas(wxPyShapeCanvasPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs)