X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c368d904fc27d35ae1e533155e2154dc496432e4..d91535c47f8bb17ab9740e35baea3f6450de026d:/wxPython/contrib/ogl/ogl.py diff --git a/wxPython/contrib/ogl/ogl.py b/wxPython/contrib/ogl/ogl.py index 5c3b81333d..cca62bc8d9 100644 --- a/wxPython/contrib/ogl/ogl.py +++ b/wxPython/contrib/ogl/ogl.py @@ -15,6 +15,8 @@ from events import * from streams import * +from utils import * + from mdi import * from frames import * @@ -39,8 +41,6 @@ from sizers import * from filesys import * -from utils import * - from oglbasic import * from oglshapes import * @@ -128,6 +128,7 @@ DIVISION_SIDE_BOTTOM = oglc.DIVISION_SIDE_BOTTOM #-------------- USER INCLUDE ----------------------- +# aliases wxShapeCanvas = wxPyShapeCanvas wxShapeEvtHandler = wxPyShapeEvtHandler wxShape = wxPyShape @@ -146,20 +147,24 @@ wxControlPoint = wxPyControlPoint # Stuff these names into the wx namespace so wxPyConstructObject can find them import wx -wx.wxPyShapeCanvasPtr = wxPyShapeCanvasPtr -wx.wxPyShapeEvtHandlerPtr = wxPyShapeEvtHandlerPtr -wx.wxPyShapePtr = wxPyShapePtr -wx.wxPyRectangleShapePtr = wxPyRectangleShapePtr +wx.wxArrowHeadPtr = wxArrowHeadPtr +wx.wxControlPointPtr = wxPyControlPointPtr +wx.wxDiagramPtr = wxDiagramPtr +wx.wxOGLConstraintPtr = wxOGLConstraintPtr +wx.wxPseudoMetaFilePtr = wxPseudoMetaFile wx.wxPyBitmapShapePtr = wxPyBitmapShapePtr -wx.wxPyDrawnShapePtr = wxPyDrawnShapePtr +wx.wxPyCircleShapePtr = wxPyCircleShapePtr wx.wxPyCompositeShapePtr = wxPyCompositeShapePtr +wx.wxPyControlPointPtr = wxPyControlPointPtr wx.wxPyDividedShapePtr = wxPyDividedShapePtr wx.wxPyDivisionShapePtr = wxPyDivisionShapePtr +wx.wxPyDrawnShapePtr = wxPyDrawnShapePtr wx.wxPyEllipseShapePtr = wxPyEllipseShapePtr -wx.wxPyCircleShapePtr = wxPyCircleShapePtr wx.wxPyLineShapePtr = wxPyLineShapePtr wx.wxPyPolygonShapePtr = wxPyPolygonShapePtr +wx.wxPyRectangleShapePtr = wxPyRectangleShapePtr +wx.wxPyShapeCanvasPtr = wxPyShapeCanvasPtr +wx.wxPyShapeEvtHandlerPtr = wxPyShapeEvtHandlerPtr +wx.wxPyShapePtr = wxPyShapePtr wx.wxPyTextShapePtr = wxPyTextShapePtr wx.wxShapeRegionPtr = wxShapeRegionPtr -wx.wxOGLConstraintPtr = wxOGLConstraintPtr -wx.wxControlPointPtr = wxPyControlPointPtr