]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/oglcanvas.py
corrected thread detection for Darwin / Mac OS X
[wxWidgets.git] / wxPython / contrib / ogl / oglcanvas.py
index c988e3860710f4cf5ccd1788086c8700b0e76157..d0126a265af0399b8e5c08ea9cff4297c1c18ae4 100644 (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)