X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..4101db8100f956b8ad2ea2d5f9e329134a6cce89:/wxPython/contrib/ogl/oglcanvas.py diff --git a/wxPython/contrib/ogl/oglcanvas.py b/wxPython/contrib/ogl/oglcanvas.py index 939bd9b18a..d0126a265a 100644 --- a/wxPython/contrib/ogl/oglcanvas.py +++ b/wxPython/contrib/ogl/oglcanvas.py @@ -9,12 +9,16 @@ from windows import * from gdi import * +from fonts import * + from clip_dnd import * from events import * from streams import * +from utils import * + from mdi import * from frames import * @@ -39,8 +43,6 @@ from sizers import * from filesys import * -from utils import * - from oglbasic import * import wx class wxDiagramPtr(wxObjectPtr): @@ -207,6 +209,10 @@ class wxPyShapeCanvasPtr(wxScrolledWindowPtr): return val def __repr__(self): return "" % (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)