]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/ogl.py
added safety check to wxWindow::ReleaseMouse
[wxWidgets.git] / wxPython / contrib / ogl / ogl.py
1 # This file was created automatically by SWIG.
2 import oglc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from clip_dnd import *
13
14 from events import *
15
16 from streams import *
17
18 from utils import *
19
20 from mdi import *
21
22 from frames import *
23
24 from stattool import *
25
26 from controls import *
27
28 from controls2 import *
29
30 from windows2 import *
31
32 from cmndlgs import *
33
34 from windows3 import *
35
36 from image import *
37
38 from printfw import *
39
40 from sizers import *
41
42 from filesys import *
43
44 from oglbasic import *
45
46 from oglshapes import *
47
48 from oglshapes2 import *
49
50 from oglcanvas import *
51 import wx
52
53
54 #-------------- FUNCTION WRAPPERS ------------------
55
56 wxOGLInitialize = oglc.wxOGLInitialize
57
58 wxOGLCleanUp = oglc.wxOGLCleanUp
59
60
61
62 #-------------- VARIABLE WRAPPERS ------------------
63
64 KEY_SHIFT = oglc.KEY_SHIFT
65 KEY_CTRL = oglc.KEY_CTRL
66 ARROW_NONE = oglc.ARROW_NONE
67 ARROW_END = oglc.ARROW_END
68 ARROW_BOTH = oglc.ARROW_BOTH
69 ARROW_MIDDLE = oglc.ARROW_MIDDLE
70 ARROW_START = oglc.ARROW_START
71 ARROW_HOLLOW_CIRCLE = oglc.ARROW_HOLLOW_CIRCLE
72 ARROW_FILLED_CIRCLE = oglc.ARROW_FILLED_CIRCLE
73 ARROW_ARROW = oglc.ARROW_ARROW
74 ARROW_SINGLE_OBLIQUE = oglc.ARROW_SINGLE_OBLIQUE
75 ARROW_DOUBLE_OBLIQUE = oglc.ARROW_DOUBLE_OBLIQUE
76 ARROW_METAFILE = oglc.ARROW_METAFILE
77 ARROW_POSITION_END = oglc.ARROW_POSITION_END
78 ARROW_POSITION_START = oglc.ARROW_POSITION_START
79 CONTROL_POINT_VERTICAL = oglc.CONTROL_POINT_VERTICAL
80 CONTROL_POINT_HORIZONTAL = oglc.CONTROL_POINT_HORIZONTAL
81 CONTROL_POINT_DIAGONAL = oglc.CONTROL_POINT_DIAGONAL
82 CONTROL_POINT_ENDPOINT_TO = oglc.CONTROL_POINT_ENDPOINT_TO
83 CONTROL_POINT_ENDPOINT_FROM = oglc.CONTROL_POINT_ENDPOINT_FROM
84 CONTROL_POINT_LINE = oglc.CONTROL_POINT_LINE
85 FORMAT_NONE = oglc.FORMAT_NONE
86 FORMAT_CENTRE_HORIZ = oglc.FORMAT_CENTRE_HORIZ
87 FORMAT_CENTRE_VERT = oglc.FORMAT_CENTRE_VERT
88 FORMAT_SIZE_TO_CONTENTS = oglc.FORMAT_SIZE_TO_CONTENTS
89 LINE_ALIGNMENT_HORIZ = oglc.LINE_ALIGNMENT_HORIZ
90 LINE_ALIGNMENT_VERT = oglc.LINE_ALIGNMENT_VERT
91 LINE_ALIGNMENT_TO_NEXT_HANDLE = oglc.LINE_ALIGNMENT_TO_NEXT_HANDLE
92 LINE_ALIGNMENT_NONE = oglc.LINE_ALIGNMENT_NONE
93 SHADOW_NONE = oglc.SHADOW_NONE
94 SHADOW_LEFT = oglc.SHADOW_LEFT
95 SHADOW_RIGHT = oglc.SHADOW_RIGHT
96 OP_CLICK_LEFT = oglc.OP_CLICK_LEFT
97 OP_CLICK_RIGHT = oglc.OP_CLICK_RIGHT
98 OP_DRAG_LEFT = oglc.OP_DRAG_LEFT
99 OP_DRAG_RIGHT = oglc.OP_DRAG_RIGHT
100 OP_ALL = oglc.OP_ALL
101 ATTACHMENT_MODE_NONE = oglc.ATTACHMENT_MODE_NONE
102 ATTACHMENT_MODE_EDGE = oglc.ATTACHMENT_MODE_EDGE
103 ATTACHMENT_MODE_BRANCHING = oglc.ATTACHMENT_MODE_BRANCHING
104 BRANCHING_ATTACHMENT_NORMAL = oglc.BRANCHING_ATTACHMENT_NORMAL
105 BRANCHING_ATTACHMENT_BLOB = oglc.BRANCHING_ATTACHMENT_BLOB
106 gyCONSTRAINT_CENTRED_VERTICALLY = oglc.gyCONSTRAINT_CENTRED_VERTICALLY
107 gyCONSTRAINT_CENTRED_HORIZONTALLY = oglc.gyCONSTRAINT_CENTRED_HORIZONTALLY
108 gyCONSTRAINT_CENTRED_BOTH = oglc.gyCONSTRAINT_CENTRED_BOTH
109 gyCONSTRAINT_LEFT_OF = oglc.gyCONSTRAINT_LEFT_OF
110 gyCONSTRAINT_RIGHT_OF = oglc.gyCONSTRAINT_RIGHT_OF
111 gyCONSTRAINT_ABOVE = oglc.gyCONSTRAINT_ABOVE
112 gyCONSTRAINT_BELOW = oglc.gyCONSTRAINT_BELOW
113 gyCONSTRAINT_ALIGNED_TOP = oglc.gyCONSTRAINT_ALIGNED_TOP
114 gyCONSTRAINT_ALIGNED_BOTTOM = oglc.gyCONSTRAINT_ALIGNED_BOTTOM
115 gyCONSTRAINT_ALIGNED_LEFT = oglc.gyCONSTRAINT_ALIGNED_LEFT
116 gyCONSTRAINT_ALIGNED_RIGHT = oglc.gyCONSTRAINT_ALIGNED_RIGHT
117 gyCONSTRAINT_MIDALIGNED_TOP = oglc.gyCONSTRAINT_MIDALIGNED_TOP
118 gyCONSTRAINT_MIDALIGNED_BOTTOM = oglc.gyCONSTRAINT_MIDALIGNED_BOTTOM
119 gyCONSTRAINT_MIDALIGNED_LEFT = oglc.gyCONSTRAINT_MIDALIGNED_LEFT
120 gyCONSTRAINT_MIDALIGNED_RIGHT = oglc.gyCONSTRAINT_MIDALIGNED_RIGHT
121 DIVISION_SIDE_NONE = oglc.DIVISION_SIDE_NONE
122 DIVISION_SIDE_LEFT = oglc.DIVISION_SIDE_LEFT
123 DIVISION_SIDE_TOP = oglc.DIVISION_SIDE_TOP
124 DIVISION_SIDE_RIGHT = oglc.DIVISION_SIDE_RIGHT
125 DIVISION_SIDE_BOTTOM = oglc.DIVISION_SIDE_BOTTOM
126
127
128 #-------------- USER INCLUDE -----------------------
129
130
131 # aliases
132 wxShapeCanvas = wxPyShapeCanvas
133 wxShapeEvtHandler = wxPyShapeEvtHandler
134 wxShape = wxPyShape
135 wxRectangleShape = wxPyRectangleShape
136 wxBitmapShape = wxPyBitmapShape
137 wxDrawnShape = wxPyDrawnShape
138 wxCompositeShape = wxPyCompositeShape
139 wxDividedShape = wxPyDividedShape
140 wxDivisionShape = wxPyDivisionShape
141 wxEllipseShape = wxPyEllipseShape
142 wxCircleShape = wxPyCircleShape
143 wxLineShape = wxPyLineShape
144 wxPolygonShape = wxPyPolygonShape
145 wxTextShape = wxPyTextShape
146 wxControlPoint = wxPyControlPoint
147
148 # Stuff these names into the wx namespace so wxPyConstructObject can find them
149 import wx
150 wx.wxArrowHeadPtr = wxArrowHeadPtr
151 wx.wxControlPointPtr = wxPyControlPointPtr
152 wx.wxDiagramPtr = wxDiagramPtr
153 wx.wxOGLConstraintPtr = wxOGLConstraintPtr
154 wx.wxPseudoMetaFilePtr = wxPseudoMetaFile
155 wx.wxPyBitmapShapePtr = wxPyBitmapShapePtr
156 wx.wxPyCircleShapePtr = wxPyCircleShapePtr
157 wx.wxPyCompositeShapePtr = wxPyCompositeShapePtr
158 wx.wxPyControlPointPtr = wxPyControlPointPtr
159 wx.wxPyDividedShapePtr = wxPyDividedShapePtr
160 wx.wxPyDivisionShapePtr = wxPyDivisionShapePtr
161 wx.wxPyDrawnShapePtr = wxPyDrawnShapePtr
162 wx.wxPyEllipseShapePtr = wxPyEllipseShapePtr
163 wx.wxPyLineShapePtr = wxPyLineShapePtr
164 wx.wxPyPolygonShapePtr = wxPyPolygonShapePtr
165 wx.wxPyRectangleShapePtr = wxPyRectangleShapePtr
166 wx.wxPyShapeCanvasPtr = wxPyShapeCanvasPtr
167 wx.wxPyShapeEvtHandlerPtr = wxPyShapeEvtHandlerPtr
168 wx.wxPyShapePtr = wxPyShapePtr
169 wx.wxPyTextShapePtr = wxPyTextShapePtr
170 wx.wxShapeRegionPtr = wxShapeRegionPtr