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