]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/_oglextras.py
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / wxPython / contrib / ogl / _oglextras.py
CommitLineData
e91a9dfc 1
9416aa89 2# aliases
e91a9dfc
RD
3wxShapeCanvas = wxPyShapeCanvas
4wxShapeEvtHandler = wxPyShapeEvtHandler
5wxShape = wxPyShape
6wxRectangleShape = wxPyRectangleShape
7wxBitmapShape = wxPyBitmapShape
8wxDrawnShape = wxPyDrawnShape
9wxCompositeShape = wxPyCompositeShape
10wxDividedShape = wxPyDividedShape
11wxDivisionShape = wxPyDivisionShape
12wxEllipseShape = wxPyEllipseShape
13wxCircleShape = wxPyCircleShape
14wxLineShape = wxPyLineShape
15wxPolygonShape = wxPyPolygonShape
16wxTextShape = wxPyTextShape
2348eaee 17wxControlPoint = wxPyControlPoint
e91a9dfc
RD
18
19# Stuff these names into the wx namespace so wxPyConstructObject can find them
20import wx
9416aa89
RD
21wx.wxArrowHeadPtr = wxArrowHeadPtr
22wx.wxControlPointPtr = wxPyControlPointPtr
23wx.wxDiagramPtr = wxDiagramPtr
24wx.wxOGLConstraintPtr = wxOGLConstraintPtr
25wx.wxPseudoMetaFilePtr = wxPseudoMetaFile
e91a9dfc 26wx.wxPyBitmapShapePtr = wxPyBitmapShapePtr
9416aa89 27wx.wxPyCircleShapePtr = wxPyCircleShapePtr
e91a9dfc 28wx.wxPyCompositeShapePtr = wxPyCompositeShapePtr
9416aa89 29wx.wxPyControlPointPtr = wxPyControlPointPtr
e91a9dfc
RD
30wx.wxPyDividedShapePtr = wxPyDividedShapePtr
31wx.wxPyDivisionShapePtr = wxPyDivisionShapePtr
9416aa89 32wx.wxPyDrawnShapePtr = wxPyDrawnShapePtr
e91a9dfc 33wx.wxPyEllipseShapePtr = wxPyEllipseShapePtr
e91a9dfc
RD
34wx.wxPyLineShapePtr = wxPyLineShapePtr
35wx.wxPyPolygonShapePtr = wxPyPolygonShapePtr
9416aa89
RD
36wx.wxPyRectangleShapePtr = wxPyRectangleShapePtr
37wx.wxPyShapeCanvasPtr = wxPyShapeCanvasPtr
38wx.wxPyShapeEvtHandlerPtr = wxPyShapeEvtHandlerPtr
39wx.wxPyShapePtr = wxPyShapePtr
e91a9dfc
RD
40wx.wxPyTextShapePtr = wxPyTextShapePtr
41wx.wxShapeRegionPtr = wxShapeRegionPtr