]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/gdi.py
incremented wxPython version number
[wxWidgets.git] / utils / wxPython / src / msw / gdi.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import gdic
3
4from misc import *
5class wxBitmapPtr :
6 def __init__(self,this):
7 self.this = this
8 self.thisown = 0
1d99702e 9 def __del__(self,gdic=gdic):
8ab979d7 10 if self.thisown == 1 :
1d99702e
RD
11 gdic.delete_wxBitmap(self)
12 def Create(self, *_args, **_kwargs):
13 val = apply(gdic.wxBitmap_Create,(self,) + _args, _kwargs)
8ab979d7 14 return val
1d99702e
RD
15 def GetDepth(self, *_args, **_kwargs):
16 val = apply(gdic.wxBitmap_GetDepth,(self,) + _args, _kwargs)
8ab979d7 17 return val
1d99702e
RD
18 def GetHeight(self, *_args, **_kwargs):
19 val = apply(gdic.wxBitmap_GetHeight,(self,) + _args, _kwargs)
8ab979d7 20 return val
1d99702e
RD
21 def GetPalette(self, *_args, **_kwargs):
22 val = apply(gdic.wxBitmap_GetPalette,(self,) + _args, _kwargs)
23 if val: val = wxPalettePtr(val)
8ab979d7 24 return val
1d99702e
RD
25 def GetMask(self, *_args, **_kwargs):
26 val = apply(gdic.wxBitmap_GetMask,(self,) + _args, _kwargs)
27 if val: val = wxMaskPtr(val)
8ab979d7 28 return val
1d99702e
RD
29 def GetWidth(self, *_args, **_kwargs):
30 val = apply(gdic.wxBitmap_GetWidth,(self,) + _args, _kwargs)
8ab979d7 31 return val
1d99702e
RD
32 def LoadFile(self, *_args, **_kwargs):
33 val = apply(gdic.wxBitmap_LoadFile,(self,) + _args, _kwargs)
8ab979d7 34 return val
1d99702e
RD
35 def Ok(self, *_args, **_kwargs):
36 val = apply(gdic.wxBitmap_Ok,(self,) + _args, _kwargs)
8ab979d7 37 return val
1d99702e
RD
38 def SaveFile(self, *_args, **_kwargs):
39 val = apply(gdic.wxBitmap_SaveFile,(self,) + _args, _kwargs)
8ab979d7 40 return val
1d99702e
RD
41 def SetDepth(self, *_args, **_kwargs):
42 val = apply(gdic.wxBitmap_SetDepth,(self,) + _args, _kwargs)
8ab979d7 43 return val
1d99702e
RD
44 def SetHeight(self, *_args, **_kwargs):
45 val = apply(gdic.wxBitmap_SetHeight,(self,) + _args, _kwargs)
8ab979d7 46 return val
1d99702e
RD
47 def SetMask(self, *_args, **_kwargs):
48 val = apply(gdic.wxBitmap_SetMask,(self,) + _args, _kwargs)
8ab979d7 49 return val
1d99702e
RD
50 def SetPalette(self, *_args, **_kwargs):
51 val = apply(gdic.wxBitmap_SetPalette,(self,) + _args, _kwargs)
8ab979d7 52 return val
1d99702e
RD
53 def SetWidth(self, *_args, **_kwargs):
54 val = apply(gdic.wxBitmap_SetWidth,(self,) + _args, _kwargs)
8ab979d7
RD
55 return val
56 def __repr__(self):
1d99702e 57 return "<C wxBitmap instance at %s>" % (self.this,)
8ab979d7 58class wxBitmap(wxBitmapPtr):
1d99702e
RD
59 def __init__(self,*_args,**_kwargs):
60 self.this = apply(gdic.new_wxBitmap,_args,_kwargs)
8ab979d7
RD
61 self.thisown = 1
62
63
64
65
66class wxMaskPtr :
67 def __init__(self,this):
68 self.this = this
69 self.thisown = 0
1d99702e 70 def __del__(self,gdic=gdic):
8ab979d7 71 if self.thisown == 1 :
1d99702e 72 gdic.delete_wxMask(self)
8ab979d7 73 def __repr__(self):
1d99702e 74 return "<C wxMask instance at %s>" % (self.this,)
8ab979d7 75class wxMask(wxMaskPtr):
1d99702e
RD
76 def __init__(self,*_args,**_kwargs):
77 self.this = apply(gdic.new_wxMask,_args,_kwargs)
8ab979d7
RD
78 self.thisown = 1
79
80
81
82
83class wxIconPtr(wxBitmapPtr):
84 def __init__(self,this):
85 self.this = this
86 self.thisown = 0
1d99702e 87 def __del__(self,gdic=gdic):
8ab979d7 88 if self.thisown == 1 :
1d99702e
RD
89 gdic.delete_wxIcon(self)
90 def GetDepth(self, *_args, **_kwargs):
91 val = apply(gdic.wxIcon_GetDepth,(self,) + _args, _kwargs)
8ab979d7 92 return val
1d99702e
RD
93 def GetHeight(self, *_args, **_kwargs):
94 val = apply(gdic.wxIcon_GetHeight,(self,) + _args, _kwargs)
8ab979d7 95 return val
1d99702e
RD
96 def GetWidth(self, *_args, **_kwargs):
97 val = apply(gdic.wxIcon_GetWidth,(self,) + _args, _kwargs)
8ab979d7 98 return val
1d99702e
RD
99 def LoadFile(self, *_args, **_kwargs):
100 val = apply(gdic.wxIcon_LoadFile,(self,) + _args, _kwargs)
8ab979d7 101 return val
1d99702e
RD
102 def Ok(self, *_args, **_kwargs):
103 val = apply(gdic.wxIcon_Ok,(self,) + _args, _kwargs)
8ab979d7 104 return val
1d99702e
RD
105 def SetDepth(self, *_args, **_kwargs):
106 val = apply(gdic.wxIcon_SetDepth,(self,) + _args, _kwargs)
8ab979d7 107 return val
1d99702e
RD
108 def SetHeight(self, *_args, **_kwargs):
109 val = apply(gdic.wxIcon_SetHeight,(self,) + _args, _kwargs)
8ab979d7 110 return val
1d99702e
RD
111 def SetWidth(self, *_args, **_kwargs):
112 val = apply(gdic.wxIcon_SetWidth,(self,) + _args, _kwargs)
8ab979d7
RD
113 return val
114 def __repr__(self):
1d99702e 115 return "<C wxIcon instance at %s>" % (self.this,)
8ab979d7 116class wxIcon(wxIconPtr):
1d99702e
RD
117 def __init__(self,*_args,**_kwargs):
118 self.this = apply(gdic.new_wxIcon,_args,_kwargs)
8ab979d7
RD
119 self.thisown = 1
120
121
122
123
124class wxCursorPtr(wxBitmapPtr):
125 def __init__(self,this):
126 self.this = this
127 self.thisown = 0
1d99702e 128 def __del__(self,gdic=gdic):
8ab979d7 129 if self.thisown == 1 :
1d99702e
RD
130 gdic.delete_wxCursor(self)
131 def Ok(self, *_args, **_kwargs):
132 val = apply(gdic.wxCursor_Ok,(self,) + _args, _kwargs)
8ab979d7
RD
133 return val
134 def __repr__(self):
1d99702e 135 return "<C wxCursor instance at %s>" % (self.this,)
8ab979d7 136class wxCursor(wxCursorPtr):
1d99702e
RD
137 def __init__(self,*_args,**_kwargs):
138 self.this = apply(gdic.new_wxCursor,_args,_kwargs)
1dc2f865 139 self.thisown = 1
8ab979d7
RD
140
141
8ab979d7
RD
142
143
1dc2f865
RD
144class wxFontPtr :
145 def __init__(self,this):
146 self.this = this
147 self.thisown = 0
1d99702e
RD
148 def GetFaceName(self, *_args, **_kwargs):
149 val = apply(gdic.wxFont_GetFaceName,(self,) + _args, _kwargs)
1dc2f865 150 return val
1d99702e
RD
151 def GetFamily(self, *_args, **_kwargs):
152 val = apply(gdic.wxFont_GetFamily,(self,) + _args, _kwargs)
1dc2f865 153 return val
1d99702e
RD
154 def GetFontId(self, *_args, **_kwargs):
155 val = apply(gdic.wxFont_GetFontId,(self,) + _args, _kwargs)
1dc2f865 156 return val
1d99702e
RD
157 def GetPointSize(self, *_args, **_kwargs):
158 val = apply(gdic.wxFont_GetPointSize,(self,) + _args, _kwargs)
1dc2f865 159 return val
1d99702e
RD
160 def GetStyle(self, *_args, **_kwargs):
161 val = apply(gdic.wxFont_GetStyle,(self,) + _args, _kwargs)
1dc2f865 162 return val
1d99702e
RD
163 def GetUnderlined(self, *_args, **_kwargs):
164 val = apply(gdic.wxFont_GetUnderlined,(self,) + _args, _kwargs)
1dc2f865 165 return val
1d99702e
RD
166 def GetWeight(self, *_args, **_kwargs):
167 val = apply(gdic.wxFont_GetWeight,(self,) + _args, _kwargs)
1dc2f865 168 return val
f0261a72
RD
169 def GetEncoding(self, *_args, **_kwargs):
170 val = apply(gdic.wxFont_GetEncoding,(self,) + _args, _kwargs)
171 return val
1d99702e
RD
172 def SetFaceName(self, *_args, **_kwargs):
173 val = apply(gdic.wxFont_SetFaceName,(self,) + _args, _kwargs)
1dc2f865 174 return val
1d99702e
RD
175 def SetFamily(self, *_args, **_kwargs):
176 val = apply(gdic.wxFont_SetFamily,(self,) + _args, _kwargs)
1dc2f865 177 return val
1d99702e
RD
178 def SetPointSize(self, *_args, **_kwargs):
179 val = apply(gdic.wxFont_SetPointSize,(self,) + _args, _kwargs)
1dc2f865 180 return val
1d99702e
RD
181 def SetStyle(self, *_args, **_kwargs):
182 val = apply(gdic.wxFont_SetStyle,(self,) + _args, _kwargs)
1dc2f865 183 return val
1d99702e
RD
184 def SetUnderlined(self, *_args, **_kwargs):
185 val = apply(gdic.wxFont_SetUnderlined,(self,) + _args, _kwargs)
1dc2f865 186 return val
1d99702e
RD
187 def SetWeight(self, *_args, **_kwargs):
188 val = apply(gdic.wxFont_SetWeight,(self,) + _args, _kwargs)
1dc2f865 189 return val
f0261a72
RD
190 def SetEncoding(self, *_args, **_kwargs):
191 val = apply(gdic.wxFont_SetEncoding,(self,) + _args, _kwargs)
192 return val
193 def GetFamilyString(self, *_args, **_kwargs):
194 val = apply(gdic.wxFont_GetFamilyString,(self,) + _args, _kwargs)
195 return val
196 def GetStyleString(self, *_args, **_kwargs):
197 val = apply(gdic.wxFont_GetStyleString,(self,) + _args, _kwargs)
198 return val
199 def GetWeightString(self, *_args, **_kwargs):
200 val = apply(gdic.wxFont_GetWeightString,(self,) + _args, _kwargs)
201 return val
1dc2f865 202 def __repr__(self):
1d99702e 203 return "<C wxFont instance at %s>" % (self.this,)
1dc2f865 204class wxFont(wxFontPtr):
1d99702e
RD
205 def __init__(self,*_args,**_kwargs):
206 self.this = apply(gdic.new_wxFont,_args,_kwargs)
1dc2f865 207 self.thisown = 1
8ab979d7
RD
208
209
8ab979d7
RD
210
211
1dc2f865
RD
212class wxColourPtr :
213 def __init__(self,this):
214 self.this = this
215 self.thisown = 0
1d99702e 216 def __del__(self,gdic=gdic):
1dc2f865 217 if self.thisown == 1 :
1d99702e
RD
218 gdic.delete_wxColour(self)
219 def Red(self, *_args, **_kwargs):
220 val = apply(gdic.wxColour_Red,(self,) + _args, _kwargs)
1dc2f865 221 return val
1d99702e
RD
222 def Green(self, *_args, **_kwargs):
223 val = apply(gdic.wxColour_Green,(self,) + _args, _kwargs)
1dc2f865 224 return val
1d99702e
RD
225 def Blue(self, *_args, **_kwargs):
226 val = apply(gdic.wxColour_Blue,(self,) + _args, _kwargs)
1dc2f865 227 return val
1d99702e
RD
228 def Ok(self, *_args, **_kwargs):
229 val = apply(gdic.wxColour_Ok,(self,) + _args, _kwargs)
1dc2f865 230 return val
1d99702e
RD
231 def Set(self, *_args, **_kwargs):
232 val = apply(gdic.wxColour_Set,(self,) + _args, _kwargs)
1dc2f865 233 return val
1d99702e
RD
234 def Get(self, *_args, **_kwargs):
235 val = apply(gdic.wxColour_Get,(self,) + _args, _kwargs)
1dc2f865
RD
236 return val
237 def __repr__(self):
1d99702e 238 return "<C wxColour instance at %s>" % (self.this,)
1dc2f865 239class wxColour(wxColourPtr):
1d99702e
RD
240 def __init__(self,*_args,**_kwargs):
241 self.this = apply(gdic.new_wxColour,_args,_kwargs)
1dc2f865 242 self.thisown = 1
8ab979d7
RD
243
244
8ab979d7
RD
245
246
1dc2f865
RD
247class wxPenPtr :
248 def __init__(self,this):
249 self.this = this
250 self.thisown = 0
1d99702e
RD
251 def GetCap(self, *_args, **_kwargs):
252 val = apply(gdic.wxPen_GetCap,(self,) + _args, _kwargs)
1dc2f865 253 return val
1d99702e
RD
254 def GetColour(self, *_args, **_kwargs):
255 val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
256 if val: val = wxColourPtr(val)
1dc2f865 257 return val
1d99702e
RD
258 def GetJoin(self, *_args, **_kwargs):
259 val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
1dc2f865 260 return val
1d99702e
RD
261 def GetStyle(self, *_args, **_kwargs):
262 val = apply(gdic.wxPen_GetStyle,(self,) + _args, _kwargs)
1dc2f865 263 return val
1d99702e
RD
264 def GetWidth(self, *_args, **_kwargs):
265 val = apply(gdic.wxPen_GetWidth,(self,) + _args, _kwargs)
1dc2f865 266 return val
1d99702e
RD
267 def Ok(self, *_args, **_kwargs):
268 val = apply(gdic.wxPen_Ok,(self,) + _args, _kwargs)
1dc2f865 269 return val
1d99702e
RD
270 def SetCap(self, *_args, **_kwargs):
271 val = apply(gdic.wxPen_SetCap,(self,) + _args, _kwargs)
1dc2f865 272 return val
1d99702e
RD
273 def SetColour(self, *_args, **_kwargs):
274 val = apply(gdic.wxPen_SetColour,(self,) + _args, _kwargs)
1dc2f865 275 return val
1d99702e
RD
276 def SetJoin(self, *_args, **_kwargs):
277 val = apply(gdic.wxPen_SetJoin,(self,) + _args, _kwargs)
1dc2f865 278 return val
1d99702e
RD
279 def SetStyle(self, *_args, **_kwargs):
280 val = apply(gdic.wxPen_SetStyle,(self,) + _args, _kwargs)
1dc2f865 281 return val
1d99702e
RD
282 def SetWidth(self, *_args, **_kwargs):
283 val = apply(gdic.wxPen_SetWidth,(self,) + _args, _kwargs)
1dc2f865 284 return val
1d99702e
RD
285 def GetDashes(self, *_args, **_kwargs):
286 val = apply(gdic.wxPen_GetDashes,(self,) + _args, _kwargs)
1dc2f865 287 return val
1d99702e
RD
288 def GetStipple(self, *_args, **_kwargs):
289 val = apply(gdic.wxPen_GetStipple,(self,) + _args, _kwargs)
290 if val: val = wxBitmapPtr(val)
1dc2f865 291 return val
1d99702e
RD
292 def SetDashes(self, *_args, **_kwargs):
293 val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs)
1dc2f865 294 return val
1d99702e
RD
295 def SetStipple(self, *_args, **_kwargs):
296 val = apply(gdic.wxPen_SetStipple,(self,) + _args, _kwargs)
1dc2f865
RD
297 return val
298 def __repr__(self):
1d99702e 299 return "<C wxPen instance at %s>" % (self.this,)
1dc2f865 300class wxPen(wxPenPtr):
1d99702e
RD
301 def __init__(self,*_args,**_kwargs):
302 self.this = apply(gdic.new_wxPen,_args,_kwargs)
1dc2f865 303 self.thisown = 1
8ab979d7
RD
304
305
8ab979d7
RD
306
307
1dc2f865
RD
308class wxBrushPtr :
309 def __init__(self,this):
310 self.this = this
311 self.thisown = 0
1d99702e
RD
312 def GetColour(self, *_args, **_kwargs):
313 val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
314 if val: val = wxColourPtr(val)
1dc2f865 315 return val
1d99702e
RD
316 def GetStipple(self, *_args, **_kwargs):
317 val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
318 if val: val = wxBitmapPtr(val)
1dc2f865 319 return val
1d99702e
RD
320 def GetStyle(self, *_args, **_kwargs):
321 val = apply(gdic.wxBrush_GetStyle,(self,) + _args, _kwargs)
1dc2f865 322 return val
1d99702e
RD
323 def Ok(self, *_args, **_kwargs):
324 val = apply(gdic.wxBrush_Ok,(self,) + _args, _kwargs)
1dc2f865 325 return val
1d99702e
RD
326 def SetColour(self, *_args, **_kwargs):
327 val = apply(gdic.wxBrush_SetColour,(self,) + _args, _kwargs)
1dc2f865 328 return val
1d99702e
RD
329 def SetStipple(self, *_args, **_kwargs):
330 val = apply(gdic.wxBrush_SetStipple,(self,) + _args, _kwargs)
1dc2f865 331 return val
1d99702e
RD
332 def SetStyle(self, *_args, **_kwargs):
333 val = apply(gdic.wxBrush_SetStyle,(self,) + _args, _kwargs)
1dc2f865
RD
334 return val
335 def __repr__(self):
1d99702e 336 return "<C wxBrush instance at %s>" % (self.this,)
1dc2f865 337class wxBrush(wxBrushPtr):
1d99702e
RD
338 def __init__(self,*_args,**_kwargs):
339 self.this = apply(gdic.new_wxBrush,_args,_kwargs)
1dc2f865 340 self.thisown = 1
8ab979d7
RD
341
342
8ab979d7
RD
343
344
1dc2f865
RD
345class wxDCPtr :
346 def __init__(self,this):
347 self.this = this
348 self.thisown = 0
1d99702e 349 def __del__(self,gdic=gdic):
1dc2f865 350 if self.thisown == 1 :
1d99702e
RD
351 gdic.delete_wxDC(self)
352 def BeginDrawing(self, *_args, **_kwargs):
353 val = apply(gdic.wxDC_BeginDrawing,(self,) + _args, _kwargs)
1dc2f865 354 return val
1d99702e
RD
355 def Blit(self, *_args, **_kwargs):
356 val = apply(gdic.wxDC_Blit,(self,) + _args, _kwargs)
1dc2f865 357 return val
1d99702e
RD
358 def Clear(self, *_args, **_kwargs):
359 val = apply(gdic.wxDC_Clear,(self,) + _args, _kwargs)
1dc2f865 360 return val
1d99702e
RD
361 def CrossHair(self, *_args, **_kwargs):
362 val = apply(gdic.wxDC_CrossHair,(self,) + _args, _kwargs)
1dc2f865 363 return val
1d99702e
RD
364 def DestroyClippingRegion(self, *_args, **_kwargs):
365 val = apply(gdic.wxDC_DestroyClippingRegion,(self,) + _args, _kwargs)
1dc2f865 366 return val
1d99702e
RD
367 def DeviceToLogicalX(self, *_args, **_kwargs):
368 val = apply(gdic.wxDC_DeviceToLogicalX,(self,) + _args, _kwargs)
1dc2f865 369 return val
1d99702e
RD
370 def DeviceToLogicalXRel(self, *_args, **_kwargs):
371 val = apply(gdic.wxDC_DeviceToLogicalXRel,(self,) + _args, _kwargs)
1dc2f865 372 return val
1d99702e
RD
373 def DeviceToLogicalY(self, *_args, **_kwargs):
374 val = apply(gdic.wxDC_DeviceToLogicalY,(self,) + _args, _kwargs)
1dc2f865 375 return val
1d99702e
RD
376 def DeviceToLogicalYRel(self, *_args, **_kwargs):
377 val = apply(gdic.wxDC_DeviceToLogicalYRel,(self,) + _args, _kwargs)
1dc2f865 378 return val
1d99702e
RD
379 def DrawArc(self, *_args, **_kwargs):
380 val = apply(gdic.wxDC_DrawArc,(self,) + _args, _kwargs)
1dc2f865 381 return val
1d99702e
RD
382 def DrawCircle(self, *_args, **_kwargs):
383 val = apply(gdic.wxDC_DrawCircle,(self,) + _args, _kwargs)
1dc2f865 384 return val
1d99702e
RD
385 def DrawEllipse(self, *_args, **_kwargs):
386 val = apply(gdic.wxDC_DrawEllipse,(self,) + _args, _kwargs)
1dc2f865 387 return val
1d99702e
RD
388 def DrawEllipticArc(self, *_args, **_kwargs):
389 val = apply(gdic.wxDC_DrawEllipticArc,(self,) + _args, _kwargs)
1dc2f865 390 return val
1d99702e
RD
391 def DrawIcon(self, *_args, **_kwargs):
392 val = apply(gdic.wxDC_DrawIcon,(self,) + _args, _kwargs)
1dc2f865 393 return val
1d99702e
RD
394 def DrawLine(self, *_args, **_kwargs):
395 val = apply(gdic.wxDC_DrawLine,(self,) + _args, _kwargs)
1dc2f865 396 return val
1d99702e
RD
397 def DrawLines(self, *_args, **_kwargs):
398 val = apply(gdic.wxDC_DrawLines,(self,) + _args, _kwargs)
1dc2f865 399 return val
1d99702e
RD
400 def DrawPolygon(self, *_args, **_kwargs):
401 val = apply(gdic.wxDC_DrawPolygon,(self,) + _args, _kwargs)
1dc2f865 402 return val
1d99702e
RD
403 def DrawPoint(self, *_args, **_kwargs):
404 val = apply(gdic.wxDC_DrawPoint,(self,) + _args, _kwargs)
1dc2f865 405 return val
1d99702e
RD
406 def DrawRectangle(self, *_args, **_kwargs):
407 val = apply(gdic.wxDC_DrawRectangle,(self,) + _args, _kwargs)
1dc2f865 408 return val
1d99702e
RD
409 def DrawRoundedRectangle(self, *_args, **_kwargs):
410 val = apply(gdic.wxDC_DrawRoundedRectangle,(self,) + _args, _kwargs)
1dc2f865 411 return val
1d99702e
RD
412 def DrawSpline(self, *_args, **_kwargs):
413 val = apply(gdic.wxDC_DrawSpline,(self,) + _args, _kwargs)
1dc2f865 414 return val
1d99702e
RD
415 def DrawText(self, *_args, **_kwargs):
416 val = apply(gdic.wxDC_DrawText,(self,) + _args, _kwargs)
1dc2f865 417 return val
1d99702e
RD
418 def EndDoc(self, *_args, **_kwargs):
419 val = apply(gdic.wxDC_EndDoc,(self,) + _args, _kwargs)
1dc2f865 420 return val
1d99702e
RD
421 def EndDrawing(self, *_args, **_kwargs):
422 val = apply(gdic.wxDC_EndDrawing,(self,) + _args, _kwargs)
1dc2f865 423 return val
1d99702e
RD
424 def EndPage(self, *_args, **_kwargs):
425 val = apply(gdic.wxDC_EndPage,(self,) + _args, _kwargs)
1dc2f865 426 return val
1d99702e
RD
427 def FloodFill(self, *_args, **_kwargs):
428 val = apply(gdic.wxDC_FloodFill,(self,) + _args, _kwargs)
1dc2f865 429 return val
1d99702e
RD
430 def GetBackground(self, *_args, **_kwargs):
431 val = apply(gdic.wxDC_GetBackground,(self,) + _args, _kwargs)
432 if val: val = wxBrushPtr(val)
1dc2f865 433 return val
1d99702e
RD
434 def GetBrush(self, *_args, **_kwargs):
435 val = apply(gdic.wxDC_GetBrush,(self,) + _args, _kwargs)
436 if val: val = wxBrushPtr(val)
1dc2f865 437 return val
1d99702e
RD
438 def GetCharHeight(self, *_args, **_kwargs):
439 val = apply(gdic.wxDC_GetCharHeight,(self,) + _args, _kwargs)
1dc2f865 440 return val
1d99702e
RD
441 def GetCharWidth(self, *_args, **_kwargs):
442 val = apply(gdic.wxDC_GetCharWidth,(self,) + _args, _kwargs)
1dc2f865 443 return val
1d99702e
RD
444 def GetClippingBox(self, *_args, **_kwargs):
445 val = apply(gdic.wxDC_GetClippingBox,(self,) + _args, _kwargs)
1dc2f865 446 return val
1d99702e
RD
447 def GetFont(self, *_args, **_kwargs):
448 val = apply(gdic.wxDC_GetFont,(self,) + _args, _kwargs)
449 if val: val = wxFontPtr(val)
1dc2f865 450 return val
1d99702e
RD
451 def GetLogicalFunction(self, *_args, **_kwargs):
452 val = apply(gdic.wxDC_GetLogicalFunction,(self,) + _args, _kwargs)
1dc2f865 453 return val
1d99702e
RD
454 def GetMapMode(self, *_args, **_kwargs):
455 val = apply(gdic.wxDC_GetMapMode,(self,) + _args, _kwargs)
1dc2f865 456 return val
1d99702e
RD
457 def GetOptimization(self, *_args, **_kwargs):
458 val = apply(gdic.wxDC_GetOptimization,(self,) + _args, _kwargs)
1dc2f865 459 return val
1d99702e
RD
460 def GetPen(self, *_args, **_kwargs):
461 val = apply(gdic.wxDC_GetPen,(self,) + _args, _kwargs)
462 if val: val = wxPenPtr(val)
1dc2f865 463 return val
1d99702e
RD
464 def GetPixel(self, *_args, **_kwargs):
465 val = apply(gdic.wxDC_GetPixel,(self,) + _args, _kwargs)
466 if val: val = wxColourPtr(val) ; val.thisown = 1
1dc2f865 467 return val
1d99702e
RD
468 def GetSizeTuple(self, *_args, **_kwargs):
469 val = apply(gdic.wxDC_GetSizeTuple,(self,) + _args, _kwargs)
1dc2f865 470 return val
1d99702e
RD
471 def GetSize(self, *_args, **_kwargs):
472 val = apply(gdic.wxDC_GetSize,(self,) + _args, _kwargs)
473 if val: val = wxSizePtr(val) ; val.thisown = 1
1dc2f865 474 return val
1d99702e
RD
475 def GetTextBackground(self, *_args, **_kwargs):
476 val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
477 if val: val = wxColourPtr(val)
1dc2f865 478 return val
1d99702e
RD
479 def GetTextExtent(self, *_args, **_kwargs):
480 val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
1dc2f865 481 return val
1d99702e
RD
482 def GetFullTextExtent(self, *_args, **_kwargs):
483 val = apply(gdic.wxDC_GetFullTextExtent,(self,) + _args, _kwargs)
1dc2f865 484 return val
1d99702e
RD
485 def GetTextForeground(self, *_args, **_kwargs):
486 val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
487 if val: val = wxColourPtr(val)
1dc2f865 488 return val
1d99702e
RD
489 def LogicalToDeviceX(self, *_args, **_kwargs):
490 val = apply(gdic.wxDC_LogicalToDeviceX,(self,) + _args, _kwargs)
1dc2f865 491 return val
1d99702e
RD
492 def LogicalToDeviceXRel(self, *_args, **_kwargs):
493 val = apply(gdic.wxDC_LogicalToDeviceXRel,(self,) + _args, _kwargs)
1dc2f865 494 return val
1d99702e
RD
495 def LogicalToDeviceY(self, *_args, **_kwargs):
496 val = apply(gdic.wxDC_LogicalToDeviceY,(self,) + _args, _kwargs)
1dc2f865 497 return val
1d99702e
RD
498 def LogicalToDeviceYRel(self, *_args, **_kwargs):
499 val = apply(gdic.wxDC_LogicalToDeviceYRel,(self,) + _args, _kwargs)
1dc2f865 500 return val
1d99702e
RD
501 def MaxX(self, *_args, **_kwargs):
502 val = apply(gdic.wxDC_MaxX,(self,) + _args, _kwargs)
1dc2f865 503 return val
1d99702e
RD
504 def MaxY(self, *_args, **_kwargs):
505 val = apply(gdic.wxDC_MaxY,(self,) + _args, _kwargs)
1dc2f865 506 return val
1d99702e
RD
507 def MinX(self, *_args, **_kwargs):
508 val = apply(gdic.wxDC_MinX,(self,) + _args, _kwargs)
1dc2f865 509 return val
1d99702e
RD
510 def MinY(self, *_args, **_kwargs):
511 val = apply(gdic.wxDC_MinY,(self,) + _args, _kwargs)
1dc2f865 512 return val
1d99702e
RD
513 def Ok(self, *_args, **_kwargs):
514 val = apply(gdic.wxDC_Ok,(self,) + _args, _kwargs)
1dc2f865 515 return val
1d99702e
RD
516 def SetDeviceOrigin(self, *_args, **_kwargs):
517 val = apply(gdic.wxDC_SetDeviceOrigin,(self,) + _args, _kwargs)
1dc2f865 518 return val
1d99702e
RD
519 def SetBackground(self, *_args, **_kwargs):
520 val = apply(gdic.wxDC_SetBackground,(self,) + _args, _kwargs)
1dc2f865 521 return val
1d99702e
RD
522 def SetBackgroundMode(self, *_args, **_kwargs):
523 val = apply(gdic.wxDC_SetBackgroundMode,(self,) + _args, _kwargs)
1dc2f865 524 return val
1d99702e
RD
525 def SetClippingRegion(self, *_args, **_kwargs):
526 val = apply(gdic.wxDC_SetClippingRegion,(self,) + _args, _kwargs)
1dc2f865 527 return val
1d99702e
RD
528 def SetPalette(self, *_args, **_kwargs):
529 val = apply(gdic.wxDC_SetPalette,(self,) + _args, _kwargs)
1dc2f865 530 return val
1d99702e
RD
531 def SetBrush(self, *_args, **_kwargs):
532 val = apply(gdic.wxDC_SetBrush,(self,) + _args, _kwargs)
1dc2f865 533 return val
1d99702e
RD
534 def SetFont(self, *_args, **_kwargs):
535 val = apply(gdic.wxDC_SetFont,(self,) + _args, _kwargs)
1dc2f865 536 return val
1d99702e
RD
537 def SetLogicalFunction(self, *_args, **_kwargs):
538 val = apply(gdic.wxDC_SetLogicalFunction,(self,) + _args, _kwargs)
1dc2f865 539 return val
1d99702e
RD
540 def SetMapMode(self, *_args, **_kwargs):
541 val = apply(gdic.wxDC_SetMapMode,(self,) + _args, _kwargs)
1dc2f865 542 return val
1d99702e
RD
543 def SetOptimization(self, *_args, **_kwargs):
544 val = apply(gdic.wxDC_SetOptimization,(self,) + _args, _kwargs)
1dc2f865 545 return val
1d99702e
RD
546 def SetPen(self, *_args, **_kwargs):
547 val = apply(gdic.wxDC_SetPen,(self,) + _args, _kwargs)
1dc2f865 548 return val
1d99702e
RD
549 def SetTextBackground(self, *_args, **_kwargs):
550 val = apply(gdic.wxDC_SetTextBackground,(self,) + _args, _kwargs)
1dc2f865 551 return val
1d99702e
RD
552 def SetTextForeground(self, *_args, **_kwargs):
553 val = apply(gdic.wxDC_SetTextForeground,(self,) + _args, _kwargs)
1dc2f865 554 return val
1d99702e
RD
555 def SetUserScale(self, *_args, **_kwargs):
556 val = apply(gdic.wxDC_SetUserScale,(self,) + _args, _kwargs)
1dc2f865 557 return val
1d99702e
RD
558 def StartDoc(self, *_args, **_kwargs):
559 val = apply(gdic.wxDC_StartDoc,(self,) + _args, _kwargs)
1dc2f865 560 return val
1d99702e
RD
561 def StartPage(self, *_args, **_kwargs):
562 val = apply(gdic.wxDC_StartPage,(self,) + _args, _kwargs)
1dc2f865 563 return val
1d99702e
RD
564 def DrawBitmap(self, *_args, **_kwargs):
565 val = apply(gdic.wxDC_DrawBitmap,(self,) + _args, _kwargs)
1dc2f865
RD
566 return val
567 def __repr__(self):
1d99702e 568 return "<C wxDC instance at %s>" % (self.this,)
1dc2f865
RD
569class wxDC(wxDCPtr):
570 def __init__(self,this):
571 self.this = this
8ab979d7
RD
572
573
8ab979d7
RD
574
575
1dc2f865
RD
576class wxMemoryDCPtr(wxDCPtr):
577 def __init__(self,this):
578 self.this = this
579 self.thisown = 0
1d99702e
RD
580 def SelectObject(self, *_args, **_kwargs):
581 val = apply(gdic.wxMemoryDC_SelectObject,(self,) + _args, _kwargs)
1dc2f865
RD
582 return val
583 def __repr__(self):
1d99702e 584 return "<C wxMemoryDC instance at %s>" % (self.this,)
1dc2f865 585class wxMemoryDC(wxMemoryDCPtr):
1d99702e
RD
586 def __init__(self,*_args,**_kwargs):
587 self.this = apply(gdic.new_wxMemoryDC,_args,_kwargs)
1dc2f865 588 self.thisown = 1
8ab979d7
RD
589
590
b639c3c5
RD
591
592
1dc2f865
RD
593class wxScreenDCPtr(wxDCPtr):
594 def __init__(self,this):
595 self.this = this
596 self.thisown = 0
1d99702e
RD
597 def StartDrawingOnTop(self, *_args, **_kwargs):
598 val = apply(gdic.wxScreenDC_StartDrawingOnTop,(self,) + _args, _kwargs)
1dc2f865 599 return val
1d99702e
RD
600 def StartDrawingOnTopRect(self, *_args, **_kwargs):
601 val = apply(gdic.wxScreenDC_StartDrawingOnTopRect,(self,) + _args, _kwargs)
1dc2f865 602 return val
1d99702e
RD
603 def EndDrawingOnTop(self, *_args, **_kwargs):
604 val = apply(gdic.wxScreenDC_EndDrawingOnTop,(self,) + _args, _kwargs)
1dc2f865
RD
605 return val
606 def __repr__(self):
1d99702e 607 return "<C wxScreenDC instance at %s>" % (self.this,)
1dc2f865 608class wxScreenDC(wxScreenDCPtr):
1d99702e
RD
609 def __init__(self,*_args,**_kwargs):
610 self.this = apply(gdic.new_wxScreenDC,_args,_kwargs)
1dc2f865 611 self.thisown = 1
b639c3c5
RD
612
613
8ab979d7
RD
614
615
1dc2f865
RD
616class wxClientDCPtr(wxDCPtr):
617 def __init__(self,this):
618 self.this = this
619 self.thisown = 0
620 def __repr__(self):
1d99702e 621 return "<C wxClientDC instance at %s>" % (self.this,)
1dc2f865 622class wxClientDC(wxClientDCPtr):
1d99702e
RD
623 def __init__(self,*_args,**_kwargs):
624 self.this = apply(gdic.new_wxClientDC,_args,_kwargs)
1dc2f865 625 self.thisown = 1
8ab979d7
RD
626
627
8ab979d7
RD
628
629
1dc2f865
RD
630class wxPaintDCPtr(wxDCPtr):
631 def __init__(self,this):
632 self.this = this
633 self.thisown = 0
634 def __repr__(self):
1d99702e 635 return "<C wxPaintDC instance at %s>" % (self.this,)
1dc2f865 636class wxPaintDC(wxPaintDCPtr):
1d99702e
RD
637 def __init__(self,*_args,**_kwargs):
638 self.this = apply(gdic.new_wxPaintDC,_args,_kwargs)
1dc2f865 639 self.thisown = 1
8ab979d7
RD
640
641
b639c3c5
RD
642
643
1dc2f865
RD
644class wxWindowDCPtr(wxDCPtr):
645 def __init__(self,this):
646 self.this = this
647 self.thisown = 0
648 def __repr__(self):
1d99702e 649 return "<C wxWindowDC instance at %s>" % (self.this,)
1dc2f865 650class wxWindowDC(wxWindowDCPtr):
1d99702e
RD
651 def __init__(self,*_args,**_kwargs):
652 self.this = apply(gdic.new_wxWindowDC,_args,_kwargs)
1dc2f865 653 self.thisown = 1
b639c3c5
RD
654
655
8bf5d46e 656
8bf5d46e 657
1dc2f865
RD
658class wxPrinterDCPtr(wxDCPtr):
659 def __init__(self,this):
660 self.this = this
661 self.thisown = 0
662 def __repr__(self):
1d99702e 663 return "<C wxPrinterDC instance at %s>" % (self.this,)
1dc2f865 664class wxPrinterDC(wxPrinterDCPtr):
1d99702e
RD
665 def __init__(self,*_args,**_kwargs):
666 self.this = apply(gdic.new_wxPrinterDC,_args,_kwargs)
1dc2f865 667 self.thisown = 1
8bf5d46e 668
8bf5d46e 669
8bf5d46e 670
8bf5d46e 671
1dc2f865
RD
672class wxMetaFileDCPtr(wxDCPtr):
673 def __init__(self,this):
674 self.this = this
675 self.thisown = 0
1d99702e
RD
676 def Close(self, *_args, **_kwargs):
677 val = apply(gdic.wxMetaFileDC_Close,(self,) + _args, _kwargs)
1dc2f865
RD
678 return val
679 def __repr__(self):
1d99702e 680 return "<C wxMetaFileDC instance at %s>" % (self.this,)
1dc2f865 681class wxMetaFileDC(wxMetaFileDCPtr):
1d99702e
RD
682 def __init__(self,*_args,**_kwargs):
683 self.this = apply(gdic.new_wxMetaFileDC,_args,_kwargs)
1dc2f865 684 self.thisown = 1
8bf5d46e 685
8bf5d46e 686
8bf5d46e 687
8bf5d46e 688
1dc2f865
RD
689class wxPalettePtr :
690 def __init__(self,this):
691 self.this = this
692 self.thisown = 0
1d99702e 693 def __del__(self,gdic=gdic):
1dc2f865 694 if self.thisown == 1 :
1d99702e
RD
695 gdic.delete_wxPalette(self)
696 def GetPixel(self, *_args, **_kwargs):
697 val = apply(gdic.wxPalette_GetPixel,(self,) + _args, _kwargs)
1dc2f865 698 return val
1d99702e
RD
699 def GetRGB(self, *_args, **_kwargs):
700 val = apply(gdic.wxPalette_GetRGB,(self,) + _args, _kwargs)
1dc2f865 701 return val
1d99702e
RD
702 def Ok(self, *_args, **_kwargs):
703 val = apply(gdic.wxPalette_Ok,(self,) + _args, _kwargs)
1dc2f865
RD
704 return val
705 def __repr__(self):
1d99702e 706 return "<C wxPalette instance at %s>" % (self.this,)
1dc2f865 707class wxPalette(wxPalettePtr):
1d99702e
RD
708 def __init__(self,*_args,**_kwargs):
709 self.this = apply(gdic.new_wxPalette,_args,_kwargs)
1dc2f865 710 self.thisown = 1
8bf5d46e 711
8bf5d46e 712
8bf5d46e 713
8bf5d46e 714
1dc2f865
RD
715class wxImageListPtr :
716 def __init__(self,this):
717 self.this = this
718 self.thisown = 0
1d99702e 719 def __del__(self,gdic=gdic):
1dc2f865 720 if self.thisown == 1 :
1d99702e
RD
721 gdic.delete_wxImageList(self)
722 def Add(self, *_args, **_kwargs):
723 val = apply(gdic.wxImageList_Add,(self,) + _args, _kwargs)
1dc2f865 724 return val
1d99702e
RD
725 def AddWithColourMask(self, *_args, **_kwargs):
726 val = apply(gdic.wxImageList_AddWithColourMask,(self,) + _args, _kwargs)
1dc2f865 727 return val
1d99702e
RD
728 def AddIcon(self, *_args, **_kwargs):
729 val = apply(gdic.wxImageList_AddIcon,(self,) + _args, _kwargs)
1dc2f865 730 return val
1d99702e
RD
731 def Replace(self, *_args, **_kwargs):
732 val = apply(gdic.wxImageList_Replace,(self,) + _args, _kwargs)
1dc2f865 733 return val
1d99702e
RD
734 def ReplaceIcon(self, *_args, **_kwargs):
735 val = apply(gdic.wxImageList_ReplaceIcon,(self,) + _args, _kwargs)
1dc2f865 736 return val
1d99702e
RD
737 def Draw(self, *_args, **_kwargs):
738 val = apply(gdic.wxImageList_Draw,(self,) + _args, _kwargs)
1dc2f865 739 return val
1d99702e
RD
740 def GetImageCount(self, *_args, **_kwargs):
741 val = apply(gdic.wxImageList_GetImageCount,(self,) + _args, _kwargs)
1dc2f865 742 return val
1d99702e
RD
743 def Remove(self, *_args, **_kwargs):
744 val = apply(gdic.wxImageList_Remove,(self,) + _args, _kwargs)
1dc2f865 745 return val
1d99702e
RD
746 def RemoveAll(self, *_args, **_kwargs):
747 val = apply(gdic.wxImageList_RemoveAll,(self,) + _args, _kwargs)
1dc2f865
RD
748 return val
749 def __repr__(self):
1d99702e 750 return "<C wxImageList instance at %s>" % (self.this,)
1dc2f865 751class wxImageList(wxImageListPtr):
1d99702e
RD
752 def __init__(self,*_args,**_kwargs):
753 self.this = apply(gdic.new_wxImageList,_args,_kwargs)
1dc2f865 754 self.thisown = 1
af309447
RD
755
756
757
758
8ab979d7
RD
759
760
1dc2f865
RD
761#-------------- FUNCTION WRAPPERS ------------------
762
1d99702e
RD
763def wxEmptyBitmap(*_args, **_kwargs):
764 val = apply(gdic.wxEmptyBitmap,_args,_kwargs)
765 if val: val = wxBitmapPtr(val); val.thisown = 1
1dc2f865
RD
766 return val
767
1d99702e
RD
768def wxNoRefBitmap(*_args, **_kwargs):
769 val = apply(gdic.wxNoRefBitmap,_args,_kwargs)
770 if val: val = wxBitmapPtr(val)
1dc2f865
RD
771 return val
772
1d99702e
RD
773def wxBitmapFromData(*_args, **_kwargs):
774 val = apply(gdic.wxBitmapFromData,_args,_kwargs)
775 if val: val = wxBitmapPtr(val); val.thisown = 1
1dc2f865
RD
776 return val
777
1d99702e
RD
778def wxMaskColour(*_args, **_kwargs):
779 val = apply(gdic.wxMaskColour,_args,_kwargs)
780 if val: val = wxMaskPtr(val); val.thisown = 1
1dc2f865
RD
781 return val
782
1d99702e
RD
783def wxStockCursor(*_args, **_kwargs):
784 val = apply(gdic.wxStockCursor,_args,_kwargs)
785 if val: val = wxCursorPtr(val); val.thisown = 1
1dc2f865
RD
786 return val
787
f0261a72
RD
788wxFont_GetDefaultEncoding = gdic.wxFont_GetDefaultEncoding
789
790wxFont_SetDefaultEncoding = gdic.wxFont_SetDefaultEncoding
791
1d99702e
RD
792def wxNamedColour(*_args, **_kwargs):
793 val = apply(gdic.wxNamedColour,_args,_kwargs)
794 if val: val = wxColourPtr(val); val.thisown = 1
1dc2f865
RD
795 return val
796
1d99702e
RD
797def wxMemoryDCFromDC(*_args, **_kwargs):
798 val = apply(gdic.wxMemoryDCFromDC,_args,_kwargs)
799 if val: val = wxMemoryDCPtr(val); val.thisown = 1
1dc2f865
RD
800 return val
801
802
803
804#-------------- VARIABLE WRAPPERS ------------------
805
f0261a72
RD
806wxFONTENCODING_SYSTEM = gdic.wxFONTENCODING_SYSTEM
807wxFONTENCODING_DEFAULT = gdic.wxFONTENCODING_DEFAULT
808wxFONTENCODING_ISO8859_1 = gdic.wxFONTENCODING_ISO8859_1
809wxFONTENCODING_ISO8859_2 = gdic.wxFONTENCODING_ISO8859_2
810wxFONTENCODING_ISO8859_3 = gdic.wxFONTENCODING_ISO8859_3
811wxFONTENCODING_ISO8859_4 = gdic.wxFONTENCODING_ISO8859_4
812wxFONTENCODING_ISO8859_5 = gdic.wxFONTENCODING_ISO8859_5
813wxFONTENCODING_ISO8859_6 = gdic.wxFONTENCODING_ISO8859_6
814wxFONTENCODING_ISO8859_7 = gdic.wxFONTENCODING_ISO8859_7
815wxFONTENCODING_ISO8859_8 = gdic.wxFONTENCODING_ISO8859_8
816wxFONTENCODING_ISO8859_9 = gdic.wxFONTENCODING_ISO8859_9
817wxFONTENCODING_ISO8859_10 = gdic.wxFONTENCODING_ISO8859_10
818wxFONTENCODING_ISO8859_11 = gdic.wxFONTENCODING_ISO8859_11
819wxFONTENCODING_ISO8859_12 = gdic.wxFONTENCODING_ISO8859_12
820wxFONTENCODING_ISO8859_13 = gdic.wxFONTENCODING_ISO8859_13
821wxFONTENCODING_ISO8859_14 = gdic.wxFONTENCODING_ISO8859_14
822wxFONTENCODING_ISO8859_15 = gdic.wxFONTENCODING_ISO8859_15
823wxFONTENCODING_KOI8 = gdic.wxFONTENCODING_KOI8
824wxFONTENCODING_ALTERNATIVE = gdic.wxFONTENCODING_ALTERNATIVE
825wxFONTENCODING_BULGARIAN = gdic.wxFONTENCODING_BULGARIAN
826wxFONTENCODING_CP437 = gdic.wxFONTENCODING_CP437
827wxFONTENCODING_CP850 = gdic.wxFONTENCODING_CP850
828wxFONTENCODING_CP852 = gdic.wxFONTENCODING_CP852
829wxFONTENCODING_CP855 = gdic.wxFONTENCODING_CP855
830wxFONTENCODING_CP866 = gdic.wxFONTENCODING_CP866
831wxFONTENCODING_CP1250 = gdic.wxFONTENCODING_CP1250
832wxFONTENCODING_CP1251 = gdic.wxFONTENCODING_CP1251
833wxFONTENCODING_CP1252 = gdic.wxFONTENCODING_CP1252
834wxFONTENCODING_MAX = gdic.wxFONTENCODING_MAX
1dc2f865
RD
835cvar = gdic.cvar
836wxNORMAL_FONT = wxFontPtr(gdic.cvar.wxNORMAL_FONT)
837wxSMALL_FONT = wxFontPtr(gdic.cvar.wxSMALL_FONT)
838wxITALIC_FONT = wxFontPtr(gdic.cvar.wxITALIC_FONT)
839wxSWISS_FONT = wxFontPtr(gdic.cvar.wxSWISS_FONT)
840wxRED_PEN = wxPenPtr(gdic.cvar.wxRED_PEN)
841wxCYAN_PEN = wxPenPtr(gdic.cvar.wxCYAN_PEN)
842wxGREEN_PEN = wxPenPtr(gdic.cvar.wxGREEN_PEN)
843wxBLACK_PEN = wxPenPtr(gdic.cvar.wxBLACK_PEN)
844wxWHITE_PEN = wxPenPtr(gdic.cvar.wxWHITE_PEN)
845wxTRANSPARENT_PEN = wxPenPtr(gdic.cvar.wxTRANSPARENT_PEN)
846wxBLACK_DASHED_PEN = wxPenPtr(gdic.cvar.wxBLACK_DASHED_PEN)
847wxGREY_PEN = wxPenPtr(gdic.cvar.wxGREY_PEN)
848wxMEDIUM_GREY_PEN = wxPenPtr(gdic.cvar.wxMEDIUM_GREY_PEN)
849wxLIGHT_GREY_PEN = wxPenPtr(gdic.cvar.wxLIGHT_GREY_PEN)
850wxBLUE_BRUSH = wxBrushPtr(gdic.cvar.wxBLUE_BRUSH)
851wxGREEN_BRUSH = wxBrushPtr(gdic.cvar.wxGREEN_BRUSH)
852wxWHITE_BRUSH = wxBrushPtr(gdic.cvar.wxWHITE_BRUSH)
853wxBLACK_BRUSH = wxBrushPtr(gdic.cvar.wxBLACK_BRUSH)
854wxTRANSPARENT_BRUSH = wxBrushPtr(gdic.cvar.wxTRANSPARENT_BRUSH)
855wxCYAN_BRUSH = wxBrushPtr(gdic.cvar.wxCYAN_BRUSH)
856wxRED_BRUSH = wxBrushPtr(gdic.cvar.wxRED_BRUSH)
857wxGREY_BRUSH = wxBrushPtr(gdic.cvar.wxGREY_BRUSH)
858wxMEDIUM_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxMEDIUM_GREY_BRUSH)
859wxLIGHT_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxLIGHT_GREY_BRUSH)
860wxBLACK = wxColourPtr(gdic.cvar.wxBLACK)
861wxWHITE = wxColourPtr(gdic.cvar.wxWHITE)
862wxRED = wxColourPtr(gdic.cvar.wxRED)
863wxBLUE = wxColourPtr(gdic.cvar.wxBLUE)
864wxGREEN = wxColourPtr(gdic.cvar.wxGREEN)
865wxCYAN = wxColourPtr(gdic.cvar.wxCYAN)
866wxLIGHT_GREY = wxColourPtr(gdic.cvar.wxLIGHT_GREY)
867wxSTANDARD_CURSOR = wxCursorPtr(gdic.cvar.wxSTANDARD_CURSOR)
868wxHOURGLASS_CURSOR = wxCursorPtr(gdic.cvar.wxHOURGLASS_CURSOR)
869wxCROSS_CURSOR = wxCursorPtr(gdic.cvar.wxCROSS_CURSOR)
870wxNullBitmap = wxBitmapPtr(gdic.cvar.wxNullBitmap)
871wxNullIcon = wxIconPtr(gdic.cvar.wxNullIcon)
872wxNullCursor = wxCursorPtr(gdic.cvar.wxNullCursor)
873wxNullPen = wxPenPtr(gdic.cvar.wxNullPen)
874wxNullBrush = wxBrushPtr(gdic.cvar.wxNullBrush)
875wxNullPalette = wxPalettePtr(gdic.cvar.wxNullPalette)
876wxNullFont = wxFontPtr(gdic.cvar.wxNullFont)
877wxNullColour = wxColourPtr(gdic.cvar.wxNullColour)
878wxIMAGELIST_DRAW_NORMAL = gdic.wxIMAGELIST_DRAW_NORMAL
879wxIMAGELIST_DRAW_TRANSPARENT = gdic.wxIMAGELIST_DRAW_TRANSPARENT
880wxIMAGELIST_DRAW_SELECTED = gdic.wxIMAGELIST_DRAW_SELECTED
881wxIMAGELIST_DRAW_FOCUSED = gdic.wxIMAGELIST_DRAW_FOCUSED
882wxIMAGE_LIST_NORMAL = gdic.wxIMAGE_LIST_NORMAL
883wxIMAGE_LIST_SMALL = gdic.wxIMAGE_LIST_SMALL
884wxIMAGE_LIST_STATE = gdic.wxIMAGE_LIST_STATE