]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/gdi.py
fixes w.r.t. size_t vs. int
[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 wxGDIObjectPtr(wxObjectPtr):
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_wxGDIObject(self)
12 def GetVisible(self, *_args, **_kwargs):
13 val = apply(gdic.wxGDIObject_GetVisible,(self,) + _args, _kwargs)
14 return val
15 def SetVisible(self, *_args, **_kwargs):
16 val = apply(gdic.wxGDIObject_SetVisible,(self,) + _args, _kwargs)
17 return val
18 def IsNull(self, *_args, **_kwargs):
19 val = apply(gdic.wxGDIObject_IsNull,(self,) + _args, _kwargs)
20 return val
21 def __repr__(self):
22 return "<C wxGDIObject instance at %s>" % (self.this,)
23 class wxGDIObject(wxGDIObjectPtr):
24 def __init__(self,*_args,**_kwargs):
25 self.this = apply(gdic.new_wxGDIObject,_args,_kwargs)
26 self.thisown = 1
27
28
29
30
31 class wxBitmapPtr(wxGDIObjectPtr):
32 def __init__(self,this):
33 self.this = this
34 self.thisown = 0
35 def __del__(self,gdic=gdic):
36 if self.thisown == 1 :
37 gdic.delete_wxBitmap(self)
38 def GetPalette(self, *_args, **_kwargs):
39 val = apply(gdic.wxBitmap_GetPalette,(self,) + _args, _kwargs)
40 if val: val = wxPalettePtr(val)
41 return val
42 def GetMask(self, *_args, **_kwargs):
43 val = apply(gdic.wxBitmap_GetMask,(self,) + _args, _kwargs)
44 if val: val = wxMaskPtr(val)
45 return val
46 def LoadFile(self, *_args, **_kwargs):
47 val = apply(gdic.wxBitmap_LoadFile,(self,) + _args, _kwargs)
48 return val
49 def SaveFile(self, *_args, **_kwargs):
50 val = apply(gdic.wxBitmap_SaveFile,(self,) + _args, _kwargs)
51 return val
52 def SetMask(self, *_args, **_kwargs):
53 val = apply(gdic.wxBitmap_SetMask,(self,) + _args, _kwargs)
54 return val
55 def SetPalette(self, *_args, **_kwargs):
56 val = apply(gdic.wxBitmap_SetPalette,(self,) + _args, _kwargs)
57 return val
58 def GetHandle(self, *_args, **_kwargs):
59 val = apply(gdic.wxBitmap_GetHandle,(self,) + _args, _kwargs)
60 return val
61 def SetHandle(self, *_args, **_kwargs):
62 val = apply(gdic.wxBitmap_SetHandle,(self,) + _args, _kwargs)
63 return val
64 def Ok(self, *_args, **_kwargs):
65 val = apply(gdic.wxBitmap_Ok,(self,) + _args, _kwargs)
66 return val
67 def GetWidth(self, *_args, **_kwargs):
68 val = apply(gdic.wxBitmap_GetWidth,(self,) + _args, _kwargs)
69 return val
70 def GetHeight(self, *_args, **_kwargs):
71 val = apply(gdic.wxBitmap_GetHeight,(self,) + _args, _kwargs)
72 return val
73 def GetDepth(self, *_args, **_kwargs):
74 val = apply(gdic.wxBitmap_GetDepth,(self,) + _args, _kwargs)
75 return val
76 def SetWidth(self, *_args, **_kwargs):
77 val = apply(gdic.wxBitmap_SetWidth,(self,) + _args, _kwargs)
78 return val
79 def SetHeight(self, *_args, **_kwargs):
80 val = apply(gdic.wxBitmap_SetHeight,(self,) + _args, _kwargs)
81 return val
82 def SetDepth(self, *_args, **_kwargs):
83 val = apply(gdic.wxBitmap_SetDepth,(self,) + _args, _kwargs)
84 return val
85 def SetSize(self, *_args, **_kwargs):
86 val = apply(gdic.wxBitmap_SetSize,(self,) + _args, _kwargs)
87 return val
88 def GetSubBitmap(self, *_args, **_kwargs):
89 val = apply(gdic.wxBitmap_GetSubBitmap,(self,) + _args, _kwargs)
90 if val: val = wxBitmapPtr(val) ; val.thisown = 1
91 return val
92 def CopyFromIcon(self, *_args, **_kwargs):
93 val = apply(gdic.wxBitmap_CopyFromIcon,(self,) + _args, _kwargs)
94 return val
95 def CopyFromCursor(self, *_args, **_kwargs):
96 val = apply(gdic.wxBitmap_CopyFromCursor,(self,) + _args, _kwargs)
97 return val
98 def GetQuality(self, *_args, **_kwargs):
99 val = apply(gdic.wxBitmap_GetQuality,(self,) + _args, _kwargs)
100 return val
101 def SetQuality(self, *_args, **_kwargs):
102 val = apply(gdic.wxBitmap_SetQuality,(self,) + _args, _kwargs)
103 return val
104 def __repr__(self):
105 return "<C wxBitmap instance at %s>" % (self.this,)
106
107 def __del__(self,gdic=gdic):
108 try:
109 if self.thisown == 1 :
110 gdic.delete_wxBitmap(self)
111 except:
112 pass
113
114 class wxBitmap(wxBitmapPtr):
115 def __init__(self,*_args,**_kwargs):
116 self.this = apply(gdic.new_wxBitmap,_args,_kwargs)
117 self.thisown = 1
118
119
120
121
122 class wxMaskPtr(wxObjectPtr):
123 def __init__(self,this):
124 self.this = this
125 self.thisown = 0
126 def Destroy(self, *_args, **_kwargs):
127 val = apply(gdic.wxMask_Destroy,(self,) + _args, _kwargs)
128 return val
129 def __repr__(self):
130 return "<C wxMask instance at %s>" % (self.this,)
131 class wxMask(wxMaskPtr):
132 def __init__(self,*_args,**_kwargs):
133 self.this = apply(gdic.new_wxMask,_args,_kwargs)
134 self.thisown = 1
135
136
137
138
139 class wxIconPtr(wxGDIObjectPtr):
140 def __init__(self,this):
141 self.this = this
142 self.thisown = 0
143 def __del__(self,gdic=gdic):
144 if self.thisown == 1 :
145 gdic.delete_wxIcon(self)
146 def LoadFile(self, *_args, **_kwargs):
147 val = apply(gdic.wxIcon_LoadFile,(self,) + _args, _kwargs)
148 return val
149 def GetHandle(self, *_args, **_kwargs):
150 val = apply(gdic.wxIcon_GetHandle,(self,) + _args, _kwargs)
151 return val
152 def SetHandle(self, *_args, **_kwargs):
153 val = apply(gdic.wxIcon_SetHandle,(self,) + _args, _kwargs)
154 return val
155 def Ok(self, *_args, **_kwargs):
156 val = apply(gdic.wxIcon_Ok,(self,) + _args, _kwargs)
157 return val
158 def GetWidth(self, *_args, **_kwargs):
159 val = apply(gdic.wxIcon_GetWidth,(self,) + _args, _kwargs)
160 return val
161 def GetHeight(self, *_args, **_kwargs):
162 val = apply(gdic.wxIcon_GetHeight,(self,) + _args, _kwargs)
163 return val
164 def GetDepth(self, *_args, **_kwargs):
165 val = apply(gdic.wxIcon_GetDepth,(self,) + _args, _kwargs)
166 return val
167 def SetWidth(self, *_args, **_kwargs):
168 val = apply(gdic.wxIcon_SetWidth,(self,) + _args, _kwargs)
169 return val
170 def SetHeight(self, *_args, **_kwargs):
171 val = apply(gdic.wxIcon_SetHeight,(self,) + _args, _kwargs)
172 return val
173 def SetDepth(self, *_args, **_kwargs):
174 val = apply(gdic.wxIcon_SetDepth,(self,) + _args, _kwargs)
175 return val
176 def SetSize(self, *_args, **_kwargs):
177 val = apply(gdic.wxIcon_SetSize,(self,) + _args, _kwargs)
178 return val
179 def CopyFromBitmap(self, *_args, **_kwargs):
180 val = apply(gdic.wxIcon_CopyFromBitmap,(self,) + _args, _kwargs)
181 return val
182 def __repr__(self):
183 return "<C wxIcon instance at %s>" % (self.this,)
184
185 def __del__(self,gdic=gdic):
186 try:
187 if self.thisown == 1 :
188 gdic.delete_wxIcon(self)
189 except:
190 pass
191
192 class wxIcon(wxIconPtr):
193 def __init__(self,*_args,**_kwargs):
194 self.this = apply(gdic.new_wxIcon,_args,_kwargs)
195 self.thisown = 1
196
197
198
199
200 class wxCursorPtr(wxGDIObjectPtr):
201 def __init__(self,this):
202 self.this = this
203 self.thisown = 0
204 def __del__(self,gdic=gdic):
205 if self.thisown == 1 :
206 gdic.delete_wxCursor(self)
207 def GetHandle(self, *_args, **_kwargs):
208 val = apply(gdic.wxCursor_GetHandle,(self,) + _args, _kwargs)
209 return val
210 def SetHandle(self, *_args, **_kwargs):
211 val = apply(gdic.wxCursor_SetHandle,(self,) + _args, _kwargs)
212 return val
213 def Ok(self, *_args, **_kwargs):
214 val = apply(gdic.wxCursor_Ok,(self,) + _args, _kwargs)
215 return val
216 def GetWidth(self, *_args, **_kwargs):
217 val = apply(gdic.wxCursor_GetWidth,(self,) + _args, _kwargs)
218 return val
219 def GetHeight(self, *_args, **_kwargs):
220 val = apply(gdic.wxCursor_GetHeight,(self,) + _args, _kwargs)
221 return val
222 def GetDepth(self, *_args, **_kwargs):
223 val = apply(gdic.wxCursor_GetDepth,(self,) + _args, _kwargs)
224 return val
225 def SetWidth(self, *_args, **_kwargs):
226 val = apply(gdic.wxCursor_SetWidth,(self,) + _args, _kwargs)
227 return val
228 def SetHeight(self, *_args, **_kwargs):
229 val = apply(gdic.wxCursor_SetHeight,(self,) + _args, _kwargs)
230 return val
231 def SetDepth(self, *_args, **_kwargs):
232 val = apply(gdic.wxCursor_SetDepth,(self,) + _args, _kwargs)
233 return val
234 def SetSize(self, *_args, **_kwargs):
235 val = apply(gdic.wxCursor_SetSize,(self,) + _args, _kwargs)
236 return val
237 def __repr__(self):
238 return "<C wxCursor instance at %s>" % (self.this,)
239 class wxCursor(wxCursorPtr):
240 def __init__(self,*_args,**_kwargs):
241 self.this = apply(gdic.new_wxCursor,_args,_kwargs)
242 self.thisown = 1
243
244
245
246
247 class wxNativeFontInfoPtr :
248 def __init__(self,this):
249 self.this = this
250 self.thisown = 0
251 def FromString(self, *_args, **_kwargs):
252 val = apply(gdic.wxNativeFontInfo_FromString,(self,) + _args, _kwargs)
253 return val
254 def ToString(self, *_args, **_kwargs):
255 val = apply(gdic.wxNativeFontInfo_ToString,(self,) + _args, _kwargs)
256 return val
257 def __str__(self, *_args, **_kwargs):
258 val = apply(gdic.wxNativeFontInfo___str__,(self,) + _args, _kwargs)
259 return val
260 def __repr__(self):
261 return "<C wxNativeFontInfo instance at %s>" % (self.this,)
262 class wxNativeFontInfo(wxNativeFontInfoPtr):
263 def __init__(self,this):
264 self.this = this
265
266
267
268
269 class wxFontMapperPtr :
270 def __init__(self,this):
271 self.this = this
272 self.thisown = 0
273 def __del__(self,gdic=gdic):
274 if self.thisown == 1 :
275 gdic.delete_wxFontMapper(self)
276 def GetAltForEncoding(self, *_args, **_kwargs):
277 val = apply(gdic.wxFontMapper_GetAltForEncoding,(self,) + _args, _kwargs)
278 return val
279 def IsEncodingAvailable(self, *_args, **_kwargs):
280 val = apply(gdic.wxFontMapper_IsEncodingAvailable,(self,) + _args, _kwargs)
281 return val
282 def CharsetToEncoding(self, *_args, **_kwargs):
283 val = apply(gdic.wxFontMapper_CharsetToEncoding,(self,) + _args, _kwargs)
284 return val
285 def SetDialogParent(self, *_args, **_kwargs):
286 val = apply(gdic.wxFontMapper_SetDialogParent,(self,) + _args, _kwargs)
287 return val
288 def SetDialogTitle(self, *_args, **_kwargs):
289 val = apply(gdic.wxFontMapper_SetDialogTitle,(self,) + _args, _kwargs)
290 return val
291 def SetConfig(self, *_args, **_kwargs):
292 val = apply(gdic.wxFontMapper_SetConfig,(self,) + _args, _kwargs)
293 return val
294 def SetConfigPath(self, *_args, **_kwargs):
295 val = apply(gdic.wxFontMapper_SetConfigPath,(self,) + _args, _kwargs)
296 return val
297 def __repr__(self):
298 return "<C wxFontMapper instance at %s>" % (self.this,)
299 class wxFontMapper(wxFontMapperPtr):
300 def __init__(self,*_args,**_kwargs):
301 self.this = apply(gdic.new_wxFontMapper,_args,_kwargs)
302 self.thisown = 1
303
304
305
306
307 class wxFontPtr(wxGDIObjectPtr):
308 def __init__(self,this):
309 self.this = this
310 self.thisown = 0
311 def __del__(self,gdic=gdic):
312 if self.thisown == 1 :
313 gdic.delete_wxFont(self)
314 def Ok(self, *_args, **_kwargs):
315 val = apply(gdic.wxFont_Ok,(self,) + _args, _kwargs)
316 return val
317 def GetPointSize(self, *_args, **_kwargs):
318 val = apply(gdic.wxFont_GetPointSize,(self,) + _args, _kwargs)
319 return val
320 def GetFamily(self, *_args, **_kwargs):
321 val = apply(gdic.wxFont_GetFamily,(self,) + _args, _kwargs)
322 return val
323 def GetStyle(self, *_args, **_kwargs):
324 val = apply(gdic.wxFont_GetStyle,(self,) + _args, _kwargs)
325 return val
326 def GetWeight(self, *_args, **_kwargs):
327 val = apply(gdic.wxFont_GetWeight,(self,) + _args, _kwargs)
328 return val
329 def GetUnderlined(self, *_args, **_kwargs):
330 val = apply(gdic.wxFont_GetUnderlined,(self,) + _args, _kwargs)
331 return val
332 def GetFaceName(self, *_args, **_kwargs):
333 val = apply(gdic.wxFont_GetFaceName,(self,) + _args, _kwargs)
334 return val
335 def GetEncoding(self, *_args, **_kwargs):
336 val = apply(gdic.wxFont_GetEncoding,(self,) + _args, _kwargs)
337 return val
338 def GetNativeFontInfo(self, *_args, **_kwargs):
339 val = apply(gdic.wxFont_GetNativeFontInfo,(self,) + _args, _kwargs)
340 if val: val = wxNativeFontInfoPtr(val)
341 return val
342 def SetPointSize(self, *_args, **_kwargs):
343 val = apply(gdic.wxFont_SetPointSize,(self,) + _args, _kwargs)
344 return val
345 def SetFamily(self, *_args, **_kwargs):
346 val = apply(gdic.wxFont_SetFamily,(self,) + _args, _kwargs)
347 return val
348 def SetStyle(self, *_args, **_kwargs):
349 val = apply(gdic.wxFont_SetStyle,(self,) + _args, _kwargs)
350 return val
351 def SetWeight(self, *_args, **_kwargs):
352 val = apply(gdic.wxFont_SetWeight,(self,) + _args, _kwargs)
353 return val
354 def SetFaceName(self, *_args, **_kwargs):
355 val = apply(gdic.wxFont_SetFaceName,(self,) + _args, _kwargs)
356 return val
357 def SetUnderlined(self, *_args, **_kwargs):
358 val = apply(gdic.wxFont_SetUnderlined,(self,) + _args, _kwargs)
359 return val
360 def SetEncoding(self, *_args, **_kwargs):
361 val = apply(gdic.wxFont_SetEncoding,(self,) + _args, _kwargs)
362 return val
363 def SetNativeFontInfo(self, *_args, **_kwargs):
364 val = apply(gdic.wxFont_SetNativeFontInfo,(self,) + _args, _kwargs)
365 return val
366 def GetFamilyString(self, *_args, **_kwargs):
367 val = apply(gdic.wxFont_GetFamilyString,(self,) + _args, _kwargs)
368 return val
369 def GetStyleString(self, *_args, **_kwargs):
370 val = apply(gdic.wxFont_GetStyleString,(self,) + _args, _kwargs)
371 return val
372 def GetWeightString(self, *_args, **_kwargs):
373 val = apply(gdic.wxFont_GetWeightString,(self,) + _args, _kwargs)
374 return val
375 def __repr__(self):
376 return "<C wxFont instance at %s>" % (self.this,)
377 class wxFont(wxFontPtr):
378 def __init__(self,*_args,**_kwargs):
379 self.this = apply(gdic.new_wxFont,_args,_kwargs)
380 self.thisown = 1
381
382
383
384 def wxFontFromNativeInfo(*_args,**_kwargs):
385 val = wxFontPtr(apply(gdic.new_wxFontFromNativeInfo,_args,_kwargs))
386 val.thisown = 1
387 return val
388
389
390 class wxFontListPtr(wxObjectPtr):
391 def __init__(self,this):
392 self.this = this
393 self.thisown = 0
394 def AddFont(self, *_args, **_kwargs):
395 val = apply(gdic.wxFontList_AddFont,(self,) + _args, _kwargs)
396 return val
397 def FindOrCreateFont(self, *_args, **_kwargs):
398 val = apply(gdic.wxFontList_FindOrCreateFont,(self,) + _args, _kwargs)
399 if val: val = wxFontPtr(val)
400 return val
401 def RemoveFont(self, *_args, **_kwargs):
402 val = apply(gdic.wxFontList_RemoveFont,(self,) + _args, _kwargs)
403 return val
404 def GetCount(self, *_args, **_kwargs):
405 val = apply(gdic.wxFontList_GetCount,(self,) + _args, _kwargs)
406 return val
407 def __repr__(self):
408 return "<C wxFontList instance at %s>" % (self.this,)
409 class wxFontList(wxFontListPtr):
410 def __init__(self,this):
411 self.this = this
412
413
414
415
416 class wxColourPtr(wxObjectPtr):
417 def __init__(self,this):
418 self.this = this
419 self.thisown = 0
420 def __del__(self,gdic=gdic):
421 if self.thisown == 1 :
422 gdic.delete_wxColour(self)
423 def Red(self, *_args, **_kwargs):
424 val = apply(gdic.wxColour_Red,(self,) + _args, _kwargs)
425 return val
426 def Green(self, *_args, **_kwargs):
427 val = apply(gdic.wxColour_Green,(self,) + _args, _kwargs)
428 return val
429 def Blue(self, *_args, **_kwargs):
430 val = apply(gdic.wxColour_Blue,(self,) + _args, _kwargs)
431 return val
432 def Ok(self, *_args, **_kwargs):
433 val = apply(gdic.wxColour_Ok,(self,) + _args, _kwargs)
434 return val
435 def Set(self, *_args, **_kwargs):
436 val = apply(gdic.wxColour_Set,(self,) + _args, _kwargs)
437 return val
438 def Get(self, *_args, **_kwargs):
439 val = apply(gdic.wxColour_Get,(self,) + _args, _kwargs)
440 return val
441 def __repr__(self):
442 return "<C wxColour instance at %s>" % (self.this,)
443 asTuple = Get
444 def __str__(self): return str(self.asTuple())
445 def __repr__(self): return str(self.asTuple())
446 class wxColour(wxColourPtr):
447 def __init__(self,*_args,**_kwargs):
448 self.this = apply(gdic.new_wxColour,_args,_kwargs)
449 self.thisown = 1
450
451
452
453
454 class wxColourDatabasePtr(wxObjectPtr):
455 def __init__(self,this):
456 self.this = this
457 self.thisown = 0
458 def FindColour(self, *_args, **_kwargs):
459 val = apply(gdic.wxColourDatabase_FindColour,(self,) + _args, _kwargs)
460 if val: val = wxColourPtr(val)
461 return val
462 def FindName(self, *_args, **_kwargs):
463 val = apply(gdic.wxColourDatabase_FindName,(self,) + _args, _kwargs)
464 return val
465 def Append(self, *_args, **_kwargs):
466 val = apply(gdic.wxColourDatabase_Append,(self,) + _args, _kwargs)
467 return val
468 def __repr__(self):
469 return "<C wxColourDatabase instance at %s>" % (self.this,)
470 class wxColourDatabase(wxColourDatabasePtr):
471 def __init__(self,this):
472 self.this = this
473
474
475
476
477 class wxPenPtr(wxGDIObjectPtr):
478 def __init__(self,this):
479 self.this = this
480 self.thisown = 0
481 def __del__(self,gdic=gdic):
482 if self.thisown == 1 :
483 gdic.delete_wxPen(self)
484 def GetCap(self, *_args, **_kwargs):
485 val = apply(gdic.wxPen_GetCap,(self,) + _args, _kwargs)
486 return val
487 def GetColour(self, *_args, **_kwargs):
488 val = apply(gdic.wxPen_GetColour,(self,) + _args, _kwargs)
489 if val: val = wxColourPtr(val) ; val.thisown = 1
490 return val
491 def GetJoin(self, *_args, **_kwargs):
492 val = apply(gdic.wxPen_GetJoin,(self,) + _args, _kwargs)
493 return val
494 def GetStyle(self, *_args, **_kwargs):
495 val = apply(gdic.wxPen_GetStyle,(self,) + _args, _kwargs)
496 return val
497 def GetWidth(self, *_args, **_kwargs):
498 val = apply(gdic.wxPen_GetWidth,(self,) + _args, _kwargs)
499 return val
500 def Ok(self, *_args, **_kwargs):
501 val = apply(gdic.wxPen_Ok,(self,) + _args, _kwargs)
502 return val
503 def SetCap(self, *_args, **_kwargs):
504 val = apply(gdic.wxPen_SetCap,(self,) + _args, _kwargs)
505 return val
506 def SetColour(self, *_args, **_kwargs):
507 val = apply(gdic.wxPen_SetColour,(self,) + _args, _kwargs)
508 return val
509 def SetJoin(self, *_args, **_kwargs):
510 val = apply(gdic.wxPen_SetJoin,(self,) + _args, _kwargs)
511 return val
512 def SetStyle(self, *_args, **_kwargs):
513 val = apply(gdic.wxPen_SetStyle,(self,) + _args, _kwargs)
514 return val
515 def SetWidth(self, *_args, **_kwargs):
516 val = apply(gdic.wxPen_SetWidth,(self,) + _args, _kwargs)
517 return val
518 def SetDashes(self, *_args, **_kwargs):
519 val = apply(gdic.wxPen_SetDashes,(self,) + _args, _kwargs)
520 return val
521 def GetStipple(self, *_args, **_kwargs):
522 val = apply(gdic.wxPen_GetStipple,(self,) + _args, _kwargs)
523 if val: val = wxBitmapPtr(val)
524 return val
525 def SetStipple(self, *_args, **_kwargs):
526 val = apply(gdic.wxPen_SetStipple,(self,) + _args, _kwargs)
527 return val
528 def __repr__(self):
529 return "<C wxPen instance at %s>" % (self.this,)
530 class wxPen(wxPenPtr):
531 def __init__(self,*_args,**_kwargs):
532 self.this = apply(gdic.new_wxPen,_args,_kwargs)
533 self.thisown = 1
534
535
536
537
538 class wxPyPenPtr(wxPenPtr):
539 def __init__(self,this):
540 self.this = this
541 self.thisown = 0
542 def __del__(self,gdic=gdic):
543 if self.thisown == 1 :
544 gdic.delete_wxPyPen(self)
545 def SetDashes(self, *_args, **_kwargs):
546 val = apply(gdic.wxPyPen_SetDashes,(self,) + _args, _kwargs)
547 return val
548 def __repr__(self):
549 return "<C wxPyPen instance at %s>" % (self.this,)
550 class wxPyPen(wxPyPenPtr):
551 def __init__(self,*_args,**_kwargs):
552 self.this = apply(gdic.new_wxPyPen,_args,_kwargs)
553 self.thisown = 1
554
555
556
557
558 class wxPenListPtr(wxObjectPtr):
559 def __init__(self,this):
560 self.this = this
561 self.thisown = 0
562 def AddPen(self, *_args, **_kwargs):
563 val = apply(gdic.wxPenList_AddPen,(self,) + _args, _kwargs)
564 return val
565 def FindOrCreatePen(self, *_args, **_kwargs):
566 val = apply(gdic.wxPenList_FindOrCreatePen,(self,) + _args, _kwargs)
567 if val: val = wxPenPtr(val)
568 return val
569 def RemovePen(self, *_args, **_kwargs):
570 val = apply(gdic.wxPenList_RemovePen,(self,) + _args, _kwargs)
571 return val
572 def GetCount(self, *_args, **_kwargs):
573 val = apply(gdic.wxPenList_GetCount,(self,) + _args, _kwargs)
574 return val
575 def __repr__(self):
576 return "<C wxPenList instance at %s>" % (self.this,)
577 class wxPenList(wxPenListPtr):
578 def __init__(self,this):
579 self.this = this
580
581
582
583
584 class wxBrushPtr(wxGDIObjectPtr):
585 def __init__(self,this):
586 self.this = this
587 self.thisown = 0
588 def __del__(self,gdic=gdic):
589 if self.thisown == 1 :
590 gdic.delete_wxBrush(self)
591 def GetColour(self, *_args, **_kwargs):
592 val = apply(gdic.wxBrush_GetColour,(self,) + _args, _kwargs)
593 if val: val = wxColourPtr(val) ; val.thisown = 1
594 return val
595 def GetStipple(self, *_args, **_kwargs):
596 val = apply(gdic.wxBrush_GetStipple,(self,) + _args, _kwargs)
597 if val: val = wxBitmapPtr(val)
598 return val
599 def GetStyle(self, *_args, **_kwargs):
600 val = apply(gdic.wxBrush_GetStyle,(self,) + _args, _kwargs)
601 return val
602 def Ok(self, *_args, **_kwargs):
603 val = apply(gdic.wxBrush_Ok,(self,) + _args, _kwargs)
604 return val
605 def SetColour(self, *_args, **_kwargs):
606 val = apply(gdic.wxBrush_SetColour,(self,) + _args, _kwargs)
607 return val
608 def SetStipple(self, *_args, **_kwargs):
609 val = apply(gdic.wxBrush_SetStipple,(self,) + _args, _kwargs)
610 return val
611 def SetStyle(self, *_args, **_kwargs):
612 val = apply(gdic.wxBrush_SetStyle,(self,) + _args, _kwargs)
613 return val
614 def __repr__(self):
615 return "<C wxBrush instance at %s>" % (self.this,)
616 class wxBrush(wxBrushPtr):
617 def __init__(self,*_args,**_kwargs):
618 self.this = apply(gdic.new_wxBrush,_args,_kwargs)
619 self.thisown = 1
620
621
622
623
624 class wxBrushListPtr(wxObjectPtr):
625 def __init__(self,this):
626 self.this = this
627 self.thisown = 0
628 def AddBrush(self, *_args, **_kwargs):
629 val = apply(gdic.wxBrushList_AddBrush,(self,) + _args, _kwargs)
630 return val
631 def FindOrCreateBrush(self, *_args, **_kwargs):
632 val = apply(gdic.wxBrushList_FindOrCreateBrush,(self,) + _args, _kwargs)
633 if val: val = wxBrushPtr(val)
634 return val
635 def RemoveBrush(self, *_args, **_kwargs):
636 val = apply(gdic.wxBrushList_RemoveBrush,(self,) + _args, _kwargs)
637 return val
638 def GetCount(self, *_args, **_kwargs):
639 val = apply(gdic.wxBrushList_GetCount,(self,) + _args, _kwargs)
640 return val
641 def __repr__(self):
642 return "<C wxBrushList instance at %s>" % (self.this,)
643 class wxBrushList(wxBrushListPtr):
644 def __init__(self,this):
645 self.this = this
646
647
648
649
650 class wxDCPtr(wxObjectPtr):
651 def __init__(self,this):
652 self.this = this
653 self.thisown = 0
654 def __del__(self,gdic=gdic):
655 if self.thisown == 1 :
656 gdic.delete_wxDC(self)
657 def BeginDrawing(self, *_args, **_kwargs):
658 val = apply(gdic.wxDC_BeginDrawing,(self,) + _args, _kwargs)
659 return val
660 def Blit(self, *_args, **_kwargs):
661 val = apply(gdic.wxDC_Blit,(self,) + _args, _kwargs)
662 return val
663 def Clear(self, *_args, **_kwargs):
664 val = apply(gdic.wxDC_Clear,(self,) + _args, _kwargs)
665 return val
666 def CrossHair(self, *_args, **_kwargs):
667 val = apply(gdic.wxDC_CrossHair,(self,) + _args, _kwargs)
668 return val
669 def DestroyClippingRegion(self, *_args, **_kwargs):
670 val = apply(gdic.wxDC_DestroyClippingRegion,(self,) + _args, _kwargs)
671 return val
672 def DeviceToLogicalX(self, *_args, **_kwargs):
673 val = apply(gdic.wxDC_DeviceToLogicalX,(self,) + _args, _kwargs)
674 return val
675 def DeviceToLogicalXRel(self, *_args, **_kwargs):
676 val = apply(gdic.wxDC_DeviceToLogicalXRel,(self,) + _args, _kwargs)
677 return val
678 def DeviceToLogicalY(self, *_args, **_kwargs):
679 val = apply(gdic.wxDC_DeviceToLogicalY,(self,) + _args, _kwargs)
680 return val
681 def DeviceToLogicalYRel(self, *_args, **_kwargs):
682 val = apply(gdic.wxDC_DeviceToLogicalYRel,(self,) + _args, _kwargs)
683 return val
684 def DrawArc(self, *_args, **_kwargs):
685 val = apply(gdic.wxDC_DrawArc,(self,) + _args, _kwargs)
686 return val
687 def DrawCircle(self, *_args, **_kwargs):
688 val = apply(gdic.wxDC_DrawCircle,(self,) + _args, _kwargs)
689 return val
690 def DrawEllipse(self, *_args, **_kwargs):
691 val = apply(gdic.wxDC_DrawEllipse,(self,) + _args, _kwargs)
692 return val
693 def DrawEllipticArc(self, *_args, **_kwargs):
694 val = apply(gdic.wxDC_DrawEllipticArc,(self,) + _args, _kwargs)
695 return val
696 def DrawIcon(self, *_args, **_kwargs):
697 val = apply(gdic.wxDC_DrawIcon,(self,) + _args, _kwargs)
698 return val
699 def DrawLine(self, *_args, **_kwargs):
700 val = apply(gdic.wxDC_DrawLine,(self,) + _args, _kwargs)
701 return val
702 def DrawLines(self, *_args, **_kwargs):
703 val = apply(gdic.wxDC_DrawLines,(self,) + _args, _kwargs)
704 return val
705 def DrawPolygon(self, *_args, **_kwargs):
706 val = apply(gdic.wxDC_DrawPolygon,(self,) + _args, _kwargs)
707 return val
708 def DrawPoint(self, *_args, **_kwargs):
709 val = apply(gdic.wxDC_DrawPoint,(self,) + _args, _kwargs)
710 return val
711 def DrawRectangle(self, *_args, **_kwargs):
712 val = apply(gdic.wxDC_DrawRectangle,(self,) + _args, _kwargs)
713 return val
714 def DrawRotatedText(self, *_args, **_kwargs):
715 val = apply(gdic.wxDC_DrawRotatedText,(self,) + _args, _kwargs)
716 return val
717 def DrawRoundedRectangle(self, *_args, **_kwargs):
718 val = apply(gdic.wxDC_DrawRoundedRectangle,(self,) + _args, _kwargs)
719 return val
720 def DrawSpline(self, *_args, **_kwargs):
721 val = apply(gdic.wxDC_DrawSpline,(self,) + _args, _kwargs)
722 return val
723 def DrawText(self, *_args, **_kwargs):
724 val = apply(gdic.wxDC_DrawText,(self,) + _args, _kwargs)
725 return val
726 def EndDoc(self, *_args, **_kwargs):
727 val = apply(gdic.wxDC_EndDoc,(self,) + _args, _kwargs)
728 return val
729 def EndDrawing(self, *_args, **_kwargs):
730 val = apply(gdic.wxDC_EndDrawing,(self,) + _args, _kwargs)
731 return val
732 def EndPage(self, *_args, **_kwargs):
733 val = apply(gdic.wxDC_EndPage,(self,) + _args, _kwargs)
734 return val
735 def FloodFill(self, *_args, **_kwargs):
736 val = apply(gdic.wxDC_FloodFill,(self,) + _args, _kwargs)
737 return val
738 def GetBackground(self, *_args, **_kwargs):
739 val = apply(gdic.wxDC_GetBackground,(self,) + _args, _kwargs)
740 if val: val = wxBrushPtr(val)
741 return val
742 def GetBrush(self, *_args, **_kwargs):
743 val = apply(gdic.wxDC_GetBrush,(self,) + _args, _kwargs)
744 if val: val = wxBrushPtr(val)
745 return val
746 def GetCharHeight(self, *_args, **_kwargs):
747 val = apply(gdic.wxDC_GetCharHeight,(self,) + _args, _kwargs)
748 return val
749 def GetCharWidth(self, *_args, **_kwargs):
750 val = apply(gdic.wxDC_GetCharWidth,(self,) + _args, _kwargs)
751 return val
752 def GetClippingBox(self, *_args, **_kwargs):
753 val = apply(gdic.wxDC_GetClippingBox,(self,) + _args, _kwargs)
754 return val
755 def GetFont(self, *_args, **_kwargs):
756 val = apply(gdic.wxDC_GetFont,(self,) + _args, _kwargs)
757 if val: val = wxFontPtr(val)
758 return val
759 def GetLogicalFunction(self, *_args, **_kwargs):
760 val = apply(gdic.wxDC_GetLogicalFunction,(self,) + _args, _kwargs)
761 return val
762 def GetLogicalScale(self, *_args, **_kwargs):
763 val = apply(gdic.wxDC_GetLogicalScale,(self,) + _args, _kwargs)
764 return val
765 def GetMapMode(self, *_args, **_kwargs):
766 val = apply(gdic.wxDC_GetMapMode,(self,) + _args, _kwargs)
767 return val
768 def GetOptimization(self, *_args, **_kwargs):
769 val = apply(gdic.wxDC_GetOptimization,(self,) + _args, _kwargs)
770 return val
771 def GetPen(self, *_args, **_kwargs):
772 val = apply(gdic.wxDC_GetPen,(self,) + _args, _kwargs)
773 if val: val = wxPenPtr(val)
774 return val
775 def GetPixel(self, *_args, **_kwargs):
776 val = apply(gdic.wxDC_GetPixel,(self,) + _args, _kwargs)
777 if val: val = wxColourPtr(val) ; val.thisown = 1
778 return val
779 def GetSizeTuple(self, *_args, **_kwargs):
780 val = apply(gdic.wxDC_GetSizeTuple,(self,) + _args, _kwargs)
781 return val
782 def GetSize(self, *_args, **_kwargs):
783 val = apply(gdic.wxDC_GetSize,(self,) + _args, _kwargs)
784 if val: val = wxSizePtr(val) ; val.thisown = 1
785 return val
786 def GetSizeMM(self, *_args, **_kwargs):
787 val = apply(gdic.wxDC_GetSizeMM,(self,) + _args, _kwargs)
788 if val: val = wxSizePtr(val) ; val.thisown = 1
789 return val
790 def GetTextBackground(self, *_args, **_kwargs):
791 val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs)
792 if val: val = wxColourPtr(val) ; val.thisown = 1
793 return val
794 def GetTextExtent(self, *_args, **_kwargs):
795 val = apply(gdic.wxDC_GetTextExtent,(self,) + _args, _kwargs)
796 return val
797 def GetFullTextExtent(self, *_args, **_kwargs):
798 val = apply(gdic.wxDC_GetFullTextExtent,(self,) + _args, _kwargs)
799 return val
800 def GetTextForeground(self, *_args, **_kwargs):
801 val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs)
802 if val: val = wxColourPtr(val) ; val.thisown = 1
803 return val
804 def GetUserScale(self, *_args, **_kwargs):
805 val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs)
806 return val
807 def LogicalToDeviceX(self, *_args, **_kwargs):
808 val = apply(gdic.wxDC_LogicalToDeviceX,(self,) + _args, _kwargs)
809 return val
810 def LogicalToDeviceXRel(self, *_args, **_kwargs):
811 val = apply(gdic.wxDC_LogicalToDeviceXRel,(self,) + _args, _kwargs)
812 return val
813 def LogicalToDeviceY(self, *_args, **_kwargs):
814 val = apply(gdic.wxDC_LogicalToDeviceY,(self,) + _args, _kwargs)
815 return val
816 def LogicalToDeviceYRel(self, *_args, **_kwargs):
817 val = apply(gdic.wxDC_LogicalToDeviceYRel,(self,) + _args, _kwargs)
818 return val
819 def MaxX(self, *_args, **_kwargs):
820 val = apply(gdic.wxDC_MaxX,(self,) + _args, _kwargs)
821 return val
822 def MaxY(self, *_args, **_kwargs):
823 val = apply(gdic.wxDC_MaxY,(self,) + _args, _kwargs)
824 return val
825 def MinX(self, *_args, **_kwargs):
826 val = apply(gdic.wxDC_MinX,(self,) + _args, _kwargs)
827 return val
828 def MinY(self, *_args, **_kwargs):
829 val = apply(gdic.wxDC_MinY,(self,) + _args, _kwargs)
830 return val
831 def Ok(self, *_args, **_kwargs):
832 val = apply(gdic.wxDC_Ok,(self,) + _args, _kwargs)
833 return val
834 def SetDeviceOrigin(self, *_args, **_kwargs):
835 val = apply(gdic.wxDC_SetDeviceOrigin,(self,) + _args, _kwargs)
836 return val
837 def SetBackground(self, *_args, **_kwargs):
838 val = apply(gdic.wxDC_SetBackground,(self,) + _args, _kwargs)
839 return val
840 def SetBackgroundMode(self, *_args, **_kwargs):
841 val = apply(gdic.wxDC_SetBackgroundMode,(self,) + _args, _kwargs)
842 return val
843 def SetClippingRegion(self, *_args, **_kwargs):
844 val = apply(gdic.wxDC_SetClippingRegion,(self,) + _args, _kwargs)
845 return val
846 def SetClippingRegionAsRegion(self, *_args, **_kwargs):
847 val = apply(gdic.wxDC_SetClippingRegionAsRegion,(self,) + _args, _kwargs)
848 return val
849 def SetPalette(self, *_args, **_kwargs):
850 val = apply(gdic.wxDC_SetPalette,(self,) + _args, _kwargs)
851 return val
852 def SetBrush(self, *_args, **_kwargs):
853 val = apply(gdic.wxDC_SetBrush,(self,) + _args, _kwargs)
854 return val
855 def SetFont(self, *_args, **_kwargs):
856 val = apply(gdic.wxDC_SetFont,(self,) + _args, _kwargs)
857 return val
858 def SetLogicalFunction(self, *_args, **_kwargs):
859 val = apply(gdic.wxDC_SetLogicalFunction,(self,) + _args, _kwargs)
860 return val
861 def SetLogicalScale(self, *_args, **_kwargs):
862 val = apply(gdic.wxDC_SetLogicalScale,(self,) + _args, _kwargs)
863 return val
864 def SetMapMode(self, *_args, **_kwargs):
865 val = apply(gdic.wxDC_SetMapMode,(self,) + _args, _kwargs)
866 return val
867 def SetOptimization(self, *_args, **_kwargs):
868 val = apply(gdic.wxDC_SetOptimization,(self,) + _args, _kwargs)
869 return val
870 def SetPen(self, *_args, **_kwargs):
871 val = apply(gdic.wxDC_SetPen,(self,) + _args, _kwargs)
872 return val
873 def SetTextBackground(self, *_args, **_kwargs):
874 val = apply(gdic.wxDC_SetTextBackground,(self,) + _args, _kwargs)
875 return val
876 def SetTextForeground(self, *_args, **_kwargs):
877 val = apply(gdic.wxDC_SetTextForeground,(self,) + _args, _kwargs)
878 return val
879 def SetUserScale(self, *_args, **_kwargs):
880 val = apply(gdic.wxDC_SetUserScale,(self,) + _args, _kwargs)
881 return val
882 def StartDoc(self, *_args, **_kwargs):
883 val = apply(gdic.wxDC_StartDoc,(self,) + _args, _kwargs)
884 return val
885 def StartPage(self, *_args, **_kwargs):
886 val = apply(gdic.wxDC_StartPage,(self,) + _args, _kwargs)
887 return val
888 def DrawBitmap(self, *_args, **_kwargs):
889 val = apply(gdic.wxDC_DrawBitmap,(self,) + _args, _kwargs)
890 return val
891 def CanDrawBitmap(self, *_args, **_kwargs):
892 val = apply(gdic.wxDC_CanDrawBitmap,(self,) + _args, _kwargs)
893 return val
894 def CanGetTextExtent(self, *_args, **_kwargs):
895 val = apply(gdic.wxDC_CanGetTextExtent,(self,) + _args, _kwargs)
896 return val
897 def GetDepth(self, *_args, **_kwargs):
898 val = apply(gdic.wxDC_GetDepth,(self,) + _args, _kwargs)
899 return val
900 def GetPPI(self, *_args, **_kwargs):
901 val = apply(gdic.wxDC_GetPPI,(self,) + _args, _kwargs)
902 if val: val = wxSizePtr(val) ; val.thisown = 1
903 return val
904 def GetLogicalOrigin(self, *_args, **_kwargs):
905 val = apply(gdic.wxDC_GetLogicalOrigin,(self,) + _args, _kwargs)
906 return val
907 def SetLogicalOrigin(self, *_args, **_kwargs):
908 val = apply(gdic.wxDC_SetLogicalOrigin,(self,) + _args, _kwargs)
909 return val
910 def GetDeviceOrigin(self, *_args, **_kwargs):
911 val = apply(gdic.wxDC_GetDeviceOrigin,(self,) + _args, _kwargs)
912 return val
913 def SetAxisOrientation(self, *_args, **_kwargs):
914 val = apply(gdic.wxDC_SetAxisOrientation,(self,) + _args, _kwargs)
915 return val
916 def CalcBoundingBox(self, *_args, **_kwargs):
917 val = apply(gdic.wxDC_CalcBoundingBox,(self,) + _args, _kwargs)
918 return val
919 def ResetBoundingBox(self, *_args, **_kwargs):
920 val = apply(gdic.wxDC_ResetBoundingBox,(self,) + _args, _kwargs)
921 return val
922 def GetBoundingBox(self, *_args, **_kwargs):
923 val = apply(gdic.wxDC_GetBoundingBox,(self,) + _args, _kwargs)
924 return val
925 def GetHDC(self, *_args, **_kwargs):
926 val = apply(gdic.wxDC_GetHDC,(self,) + _args, _kwargs)
927 return val
928 def _DrawPointList(self, *_args, **_kwargs):
929 val = apply(gdic.wxDC__DrawPointList,(self,) + _args, _kwargs)
930 return val
931 def _DrawLineList(self, *_args, **_kwargs):
932 val = apply(gdic.wxDC__DrawLineList,(self,) + _args, _kwargs)
933 return val
934 def __repr__(self):
935 return "<C wxDC instance at %s>" % (self.this,)
936
937 def DrawPointList(self, points, pens=None):
938 if pens is None:
939 pens = []
940 elif isinstance(pens, wxPenPtr):
941 pens = [pens]
942 elif len(pens) != len(points):
943 raise ValueError('points and pens must have same length')
944 return self._DrawPointList(points, pens)
945
946 def DrawLineList(self, lines, pens=None):
947 if pens is None:
948 pens = []
949 elif isinstance(pens, wxPenPtr):
950 pens = [pens]
951 elif len(pens) != len(lines):
952 raise ValueError('lines and pens must have same length')
953 return self._DrawLineList(lines, pens)
954
955 class wxDC(wxDCPtr):
956 def __init__(self,this):
957 self.this = this
958
959
960
961
962 class wxMemoryDCPtr(wxDCPtr):
963 def __init__(self,this):
964 self.this = this
965 self.thisown = 0
966 def SelectObject(self, *_args, **_kwargs):
967 val = apply(gdic.wxMemoryDC_SelectObject,(self,) + _args, _kwargs)
968 return val
969 def __repr__(self):
970 return "<C wxMemoryDC instance at %s>" % (self.this,)
971 class wxMemoryDC(wxMemoryDCPtr):
972 def __init__(self,*_args,**_kwargs):
973 self.this = apply(gdic.new_wxMemoryDC,_args,_kwargs)
974 self.thisown = 1
975
976
977
978
979 class wxScreenDCPtr(wxDCPtr):
980 def __init__(self,this):
981 self.this = this
982 self.thisown = 0
983 def StartDrawingOnTopWin(self, *_args, **_kwargs):
984 val = apply(gdic.wxScreenDC_StartDrawingOnTopWin,(self,) + _args, _kwargs)
985 return val
986 def StartDrawingOnTop(self, *_args, **_kwargs):
987 val = apply(gdic.wxScreenDC_StartDrawingOnTop,(self,) + _args, _kwargs)
988 return val
989 def EndDrawingOnTop(self, *_args, **_kwargs):
990 val = apply(gdic.wxScreenDC_EndDrawingOnTop,(self,) + _args, _kwargs)
991 return val
992 def __repr__(self):
993 return "<C wxScreenDC instance at %s>" % (self.this,)
994 class wxScreenDC(wxScreenDCPtr):
995 def __init__(self,*_args,**_kwargs):
996 self.this = apply(gdic.new_wxScreenDC,_args,_kwargs)
997 self.thisown = 1
998
999
1000
1001
1002 class wxClientDCPtr(wxDCPtr):
1003 def __init__(self,this):
1004 self.this = this
1005 self.thisown = 0
1006 def __repr__(self):
1007 return "<C wxClientDC instance at %s>" % (self.this,)
1008 class wxClientDC(wxClientDCPtr):
1009 def __init__(self,*_args,**_kwargs):
1010 self.this = apply(gdic.new_wxClientDC,_args,_kwargs)
1011 self.thisown = 1
1012
1013
1014
1015
1016 class wxPaintDCPtr(wxDCPtr):
1017 def __init__(self,this):
1018 self.this = this
1019 self.thisown = 0
1020 def __repr__(self):
1021 return "<C wxPaintDC instance at %s>" % (self.this,)
1022 class wxPaintDC(wxPaintDCPtr):
1023 def __init__(self,*_args,**_kwargs):
1024 self.this = apply(gdic.new_wxPaintDC,_args,_kwargs)
1025 self.thisown = 1
1026
1027
1028
1029
1030 class wxWindowDCPtr(wxDCPtr):
1031 def __init__(self,this):
1032 self.this = this
1033 self.thisown = 0
1034 def __repr__(self):
1035 return "<C wxWindowDC instance at %s>" % (self.this,)
1036 class wxWindowDC(wxWindowDCPtr):
1037 def __init__(self,*_args,**_kwargs):
1038 self.this = apply(gdic.new_wxWindowDC,_args,_kwargs)
1039 self.thisown = 1
1040
1041
1042
1043
1044 class wxMetaFilePtr(wxObjectPtr):
1045 def __init__(self,this):
1046 self.this = this
1047 self.thisown = 0
1048 def __del__(self,gdic=gdic):
1049 if self.thisown == 1 :
1050 gdic.delete_wxMetaFile(self)
1051 def Ok(self, *_args, **_kwargs):
1052 val = apply(gdic.wxMetaFile_Ok,(self,) + _args, _kwargs)
1053 return val
1054 def SetClipboard(self, *_args, **_kwargs):
1055 val = apply(gdic.wxMetaFile_SetClipboard,(self,) + _args, _kwargs)
1056 return val
1057 def GetSize(self, *_args, **_kwargs):
1058 val = apply(gdic.wxMetaFile_GetSize,(self,) + _args, _kwargs)
1059 if val: val = wxSizePtr(val) ; val.thisown = 1
1060 return val
1061 def GetWidth(self, *_args, **_kwargs):
1062 val = apply(gdic.wxMetaFile_GetWidth,(self,) + _args, _kwargs)
1063 return val
1064 def GetHeight(self, *_args, **_kwargs):
1065 val = apply(gdic.wxMetaFile_GetHeight,(self,) + _args, _kwargs)
1066 return val
1067 def GetFileName(self, *_args, **_kwargs):
1068 val = apply(gdic.wxMetaFile_GetFileName,(self,) + _args, _kwargs)
1069 return val
1070 def __repr__(self):
1071 return "<C wxMetaFile instance at %s>" % (self.this,)
1072 class wxMetaFile(wxMetaFilePtr):
1073 def __init__(self,*_args,**_kwargs):
1074 self.this = apply(gdic.new_wxMetaFile,_args,_kwargs)
1075 self.thisown = 1
1076
1077
1078
1079
1080 class wxMetaFileDCPtr(wxDCPtr):
1081 def __init__(self,this):
1082 self.this = this
1083 self.thisown = 0
1084 def Close(self, *_args, **_kwargs):
1085 val = apply(gdic.wxMetaFileDC_Close,(self,) + _args, _kwargs)
1086 if val: val = wxMetaFilePtr(val)
1087 return val
1088 def __repr__(self):
1089 return "<C wxMetaFileDC instance at %s>" % (self.this,)
1090 class wxMetaFileDC(wxMetaFileDCPtr):
1091 def __init__(self,*_args,**_kwargs):
1092 self.this = apply(gdic.new_wxMetaFileDC,_args,_kwargs)
1093 self.thisown = 1
1094
1095
1096
1097
1098 class wxPalettePtr(wxGDIObjectPtr):
1099 def __init__(self,this):
1100 self.this = this
1101 self.thisown = 0
1102 def __del__(self,gdic=gdic):
1103 if self.thisown == 1 :
1104 gdic.delete_wxPalette(self)
1105 def GetPixel(self, *_args, **_kwargs):
1106 val = apply(gdic.wxPalette_GetPixel,(self,) + _args, _kwargs)
1107 return val
1108 def GetRGB(self, *_args, **_kwargs):
1109 val = apply(gdic.wxPalette_GetRGB,(self,) + _args, _kwargs)
1110 return val
1111 def Ok(self, *_args, **_kwargs):
1112 val = apply(gdic.wxPalette_Ok,(self,) + _args, _kwargs)
1113 return val
1114 def __repr__(self):
1115 return "<C wxPalette instance at %s>" % (self.this,)
1116 class wxPalette(wxPalettePtr):
1117 def __init__(self,*_args,**_kwargs):
1118 self.this = apply(gdic.new_wxPalette,_args,_kwargs)
1119 self.thisown = 1
1120
1121
1122
1123
1124 class wxImageListPtr(wxObjectPtr):
1125 def __init__(self,this):
1126 self.this = this
1127 self.thisown = 0
1128 def __del__(self,gdic=gdic):
1129 if self.thisown == 1 :
1130 gdic.delete_wxImageList(self)
1131 def Add(self, *_args, **_kwargs):
1132 val = apply(gdic.wxImageList_Add,(self,) + _args, _kwargs)
1133 return val
1134 def AddWithColourMask(self, *_args, **_kwargs):
1135 val = apply(gdic.wxImageList_AddWithColourMask,(self,) + _args, _kwargs)
1136 return val
1137 def AddIcon(self, *_args, **_kwargs):
1138 val = apply(gdic.wxImageList_AddIcon,(self,) + _args, _kwargs)
1139 return val
1140 def Replace(self, *_args, **_kwargs):
1141 val = apply(gdic.wxImageList_Replace,(self,) + _args, _kwargs)
1142 return val
1143 def Draw(self, *_args, **_kwargs):
1144 val = apply(gdic.wxImageList_Draw,(self,) + _args, _kwargs)
1145 return val
1146 def GetImageCount(self, *_args, **_kwargs):
1147 val = apply(gdic.wxImageList_GetImageCount,(self,) + _args, _kwargs)
1148 return val
1149 def Remove(self, *_args, **_kwargs):
1150 val = apply(gdic.wxImageList_Remove,(self,) + _args, _kwargs)
1151 return val
1152 def RemoveAll(self, *_args, **_kwargs):
1153 val = apply(gdic.wxImageList_RemoveAll,(self,) + _args, _kwargs)
1154 return val
1155 def GetSize(self, *_args, **_kwargs):
1156 val = apply(gdic.wxImageList_GetSize,(self,) + _args, _kwargs)
1157 return val
1158 def __repr__(self):
1159 return "<C wxImageList instance at %s>" % (self.this,)
1160 class wxImageList(wxImageListPtr):
1161 def __init__(self,*_args,**_kwargs):
1162 self.this = apply(gdic.new_wxImageList,_args,_kwargs)
1163 self.thisown = 1
1164
1165
1166
1167
1168 class wxRegionPtr(wxGDIObjectPtr):
1169 def __init__(self,this):
1170 self.this = this
1171 self.thisown = 0
1172 def __del__(self,gdic=gdic):
1173 if self.thisown == 1 :
1174 gdic.delete_wxRegion(self)
1175 def Clear(self, *_args, **_kwargs):
1176 val = apply(gdic.wxRegion_Clear,(self,) + _args, _kwargs)
1177 return val
1178 def Contains(self, *_args, **_kwargs):
1179 val = apply(gdic.wxRegion_Contains,(self,) + _args, _kwargs)
1180 return val
1181 def ContainsPoint(self, *_args, **_kwargs):
1182 val = apply(gdic.wxRegion_ContainsPoint,(self,) + _args, _kwargs)
1183 return val
1184 def ContainsRect(self, *_args, **_kwargs):
1185 val = apply(gdic.wxRegion_ContainsRect,(self,) + _args, _kwargs)
1186 return val
1187 def ContainsRectDim(self, *_args, **_kwargs):
1188 val = apply(gdic.wxRegion_ContainsRectDim,(self,) + _args, _kwargs)
1189 return val
1190 def GetBox(self, *_args, **_kwargs):
1191 val = apply(gdic.wxRegion_GetBox,(self,) + _args, _kwargs)
1192 if val: val = wxRectPtr(val) ; val.thisown = 1
1193 return val
1194 def Intersect(self, *_args, **_kwargs):
1195 val = apply(gdic.wxRegion_Intersect,(self,) + _args, _kwargs)
1196 return val
1197 def IntersectRect(self, *_args, **_kwargs):
1198 val = apply(gdic.wxRegion_IntersectRect,(self,) + _args, _kwargs)
1199 return val
1200 def IntersectRegion(self, *_args, **_kwargs):
1201 val = apply(gdic.wxRegion_IntersectRegion,(self,) + _args, _kwargs)
1202 return val
1203 def IsEmpty(self, *_args, **_kwargs):
1204 val = apply(gdic.wxRegion_IsEmpty,(self,) + _args, _kwargs)
1205 return val
1206 def Union(self, *_args, **_kwargs):
1207 val = apply(gdic.wxRegion_Union,(self,) + _args, _kwargs)
1208 return val
1209 def UnionRect(self, *_args, **_kwargs):
1210 val = apply(gdic.wxRegion_UnionRect,(self,) + _args, _kwargs)
1211 return val
1212 def UnionRegion(self, *_args, **_kwargs):
1213 val = apply(gdic.wxRegion_UnionRegion,(self,) + _args, _kwargs)
1214 return val
1215 def Subtract(self, *_args, **_kwargs):
1216 val = apply(gdic.wxRegion_Subtract,(self,) + _args, _kwargs)
1217 return val
1218 def SubtractRect(self, *_args, **_kwargs):
1219 val = apply(gdic.wxRegion_SubtractRect,(self,) + _args, _kwargs)
1220 return val
1221 def SubtractRegion(self, *_args, **_kwargs):
1222 val = apply(gdic.wxRegion_SubtractRegion,(self,) + _args, _kwargs)
1223 return val
1224 def Xor(self, *_args, **_kwargs):
1225 val = apply(gdic.wxRegion_Xor,(self,) + _args, _kwargs)
1226 return val
1227 def XorRect(self, *_args, **_kwargs):
1228 val = apply(gdic.wxRegion_XorRect,(self,) + _args, _kwargs)
1229 return val
1230 def XorRegion(self, *_args, **_kwargs):
1231 val = apply(gdic.wxRegion_XorRegion,(self,) + _args, _kwargs)
1232 return val
1233 def __repr__(self):
1234 return "<C wxRegion instance at %s>" % (self.this,)
1235 class wxRegion(wxRegionPtr):
1236 def __init__(self,*_args,**_kwargs):
1237 self.this = apply(gdic.new_wxRegion,_args,_kwargs)
1238 self.thisown = 1
1239
1240
1241
1242
1243 class wxRegionIteratorPtr(wxObjectPtr):
1244 def __init__(self,this):
1245 self.this = this
1246 self.thisown = 0
1247 def __del__(self,gdic=gdic):
1248 if self.thisown == 1 :
1249 gdic.delete_wxRegionIterator(self)
1250 def GetX(self, *_args, **_kwargs):
1251 val = apply(gdic.wxRegionIterator_GetX,(self,) + _args, _kwargs)
1252 return val
1253 def GetY(self, *_args, **_kwargs):
1254 val = apply(gdic.wxRegionIterator_GetY,(self,) + _args, _kwargs)
1255 return val
1256 def GetW(self, *_args, **_kwargs):
1257 val = apply(gdic.wxRegionIterator_GetW,(self,) + _args, _kwargs)
1258 return val
1259 def GetWidth(self, *_args, **_kwargs):
1260 val = apply(gdic.wxRegionIterator_GetWidth,(self,) + _args, _kwargs)
1261 return val
1262 def GetH(self, *_args, **_kwargs):
1263 val = apply(gdic.wxRegionIterator_GetH,(self,) + _args, _kwargs)
1264 return val
1265 def GetHeight(self, *_args, **_kwargs):
1266 val = apply(gdic.wxRegionIterator_GetHeight,(self,) + _args, _kwargs)
1267 return val
1268 def GetRect(self, *_args, **_kwargs):
1269 val = apply(gdic.wxRegionIterator_GetRect,(self,) + _args, _kwargs)
1270 if val: val = wxRectPtr(val) ; val.thisown = 1
1271 return val
1272 def HaveRects(self, *_args, **_kwargs):
1273 val = apply(gdic.wxRegionIterator_HaveRects,(self,) + _args, _kwargs)
1274 return val
1275 def Reset(self, *_args, **_kwargs):
1276 val = apply(gdic.wxRegionIterator_Reset,(self,) + _args, _kwargs)
1277 return val
1278 def Next(self, *_args, **_kwargs):
1279 val = apply(gdic.wxRegionIterator_Next,(self,) + _args, _kwargs)
1280 return val
1281 def __repr__(self):
1282 return "<C wxRegionIterator instance at %s>" % (self.this,)
1283 class wxRegionIterator(wxRegionIteratorPtr):
1284 def __init__(self,*_args,**_kwargs):
1285 self.this = apply(gdic.new_wxRegionIterator,_args,_kwargs)
1286 self.thisown = 1
1287
1288
1289
1290
1291
1292
1293 #-------------- FUNCTION WRAPPERS ------------------
1294
1295 def wxEmptyBitmap(*_args, **_kwargs):
1296 val = apply(gdic.wxEmptyBitmap,_args,_kwargs)
1297 if val: val = wxBitmapPtr(val); val.thisown = 1
1298 return val
1299
1300 def wxBitmapFromXPMData(*_args, **_kwargs):
1301 val = apply(gdic.wxBitmapFromXPMData,_args,_kwargs)
1302 if val: val = wxBitmapPtr(val); val.thisown = 1
1303 return val
1304
1305 def wxBitmapFromIcon(*_args, **_kwargs):
1306 val = apply(gdic.wxBitmapFromIcon,_args,_kwargs)
1307 if val: val = wxBitmapPtr(val); val.thisown = 1
1308 return val
1309
1310 def wxBitmapFromBits(*_args, **_kwargs):
1311 val = apply(gdic.wxBitmapFromBits,_args,_kwargs)
1312 if val: val = wxBitmapPtr(val); val.thisown = 1
1313 return val
1314
1315 def wxMaskColour(*_args, **_kwargs):
1316 val = apply(gdic.wxMaskColour,_args,_kwargs)
1317 if val: val = wxMaskPtr(val); val.thisown = 1
1318 return val
1319
1320 def wxEmptyIcon(*_args, **_kwargs):
1321 val = apply(gdic.wxEmptyIcon,_args,_kwargs)
1322 if val: val = wxIconPtr(val); val.thisown = 1
1323 return val
1324
1325 def wxIconFromXPMData(*_args, **_kwargs):
1326 val = apply(gdic.wxIconFromXPMData,_args,_kwargs)
1327 if val: val = wxIconPtr(val); val.thisown = 1
1328 return val
1329
1330 def wxStockCursor(*_args, **_kwargs):
1331 val = apply(gdic.wxStockCursor,_args,_kwargs)
1332 if val: val = wxCursorPtr(val); val.thisown = 1
1333 return val
1334
1335 def wxNamedColour(*_args, **_kwargs):
1336 val = apply(gdic.wxNamedColour,_args,_kwargs)
1337 if val: val = wxColourPtr(val); val.thisown = 1
1338 return val
1339
1340 def wxMemoryDCFromDC(*_args, **_kwargs):
1341 val = apply(gdic.wxMemoryDCFromDC,_args,_kwargs)
1342 if val: val = wxMemoryDCPtr(val); val.thisown = 1
1343 return val
1344
1345 wxFontMapper_GetEncodingName = gdic.wxFontMapper_GetEncodingName
1346
1347 wxFontMapper_GetEncodingDescription = gdic.wxFontMapper_GetEncodingDescription
1348
1349 wxFontMapper_GetDefaultConfigPath = gdic.wxFontMapper_GetDefaultConfigPath
1350
1351 wxFont_GetDefaultEncoding = gdic.wxFont_GetDefaultEncoding
1352
1353 wxFont_SetDefaultEncoding = gdic.wxFont_SetDefaultEncoding
1354
1355
1356
1357 #-------------- VARIABLE WRAPPERS ------------------
1358
1359 wxFONTFAMILY_DEFAULT = gdic.wxFONTFAMILY_DEFAULT
1360 wxFONTFAMILY_DECORATIVE = gdic.wxFONTFAMILY_DECORATIVE
1361 wxFONTFAMILY_ROMAN = gdic.wxFONTFAMILY_ROMAN
1362 wxFONTFAMILY_SCRIPT = gdic.wxFONTFAMILY_SCRIPT
1363 wxFONTFAMILY_SWISS = gdic.wxFONTFAMILY_SWISS
1364 wxFONTFAMILY_MODERN = gdic.wxFONTFAMILY_MODERN
1365 wxFONTFAMILY_TELETYPE = gdic.wxFONTFAMILY_TELETYPE
1366 wxFONTFAMILY_MAX = gdic.wxFONTFAMILY_MAX
1367 wxFONTSTYLE_NORMAL = gdic.wxFONTSTYLE_NORMAL
1368 wxFONTSTYLE_ITALIC = gdic.wxFONTSTYLE_ITALIC
1369 wxFONTSTYLE_SLANT = gdic.wxFONTSTYLE_SLANT
1370 wxFONTSTYLE_MAX = gdic.wxFONTSTYLE_MAX
1371 wxFONTWEIGHT_NORMAL = gdic.wxFONTWEIGHT_NORMAL
1372 wxFONTWEIGHT_LIGHT = gdic.wxFONTWEIGHT_LIGHT
1373 wxFONTWEIGHT_BOLD = gdic.wxFONTWEIGHT_BOLD
1374 wxFONTWEIGHT_MAX = gdic.wxFONTWEIGHT_MAX
1375 wxFONTENCODING_SYSTEM = gdic.wxFONTENCODING_SYSTEM
1376 wxFONTENCODING_DEFAULT = gdic.wxFONTENCODING_DEFAULT
1377 wxFONTENCODING_ISO8859_1 = gdic.wxFONTENCODING_ISO8859_1
1378 wxFONTENCODING_ISO8859_2 = gdic.wxFONTENCODING_ISO8859_2
1379 wxFONTENCODING_ISO8859_3 = gdic.wxFONTENCODING_ISO8859_3
1380 wxFONTENCODING_ISO8859_4 = gdic.wxFONTENCODING_ISO8859_4
1381 wxFONTENCODING_ISO8859_5 = gdic.wxFONTENCODING_ISO8859_5
1382 wxFONTENCODING_ISO8859_6 = gdic.wxFONTENCODING_ISO8859_6
1383 wxFONTENCODING_ISO8859_7 = gdic.wxFONTENCODING_ISO8859_7
1384 wxFONTENCODING_ISO8859_8 = gdic.wxFONTENCODING_ISO8859_8
1385 wxFONTENCODING_ISO8859_9 = gdic.wxFONTENCODING_ISO8859_9
1386 wxFONTENCODING_ISO8859_10 = gdic.wxFONTENCODING_ISO8859_10
1387 wxFONTENCODING_ISO8859_11 = gdic.wxFONTENCODING_ISO8859_11
1388 wxFONTENCODING_ISO8859_12 = gdic.wxFONTENCODING_ISO8859_12
1389 wxFONTENCODING_ISO8859_13 = gdic.wxFONTENCODING_ISO8859_13
1390 wxFONTENCODING_ISO8859_14 = gdic.wxFONTENCODING_ISO8859_14
1391 wxFONTENCODING_ISO8859_15 = gdic.wxFONTENCODING_ISO8859_15
1392 wxFONTENCODING_ISO8859_MAX = gdic.wxFONTENCODING_ISO8859_MAX
1393 wxFONTENCODING_KOI8 = gdic.wxFONTENCODING_KOI8
1394 wxFONTENCODING_ALTERNATIVE = gdic.wxFONTENCODING_ALTERNATIVE
1395 wxFONTENCODING_BULGARIAN = gdic.wxFONTENCODING_BULGARIAN
1396 wxFONTENCODING_CP437 = gdic.wxFONTENCODING_CP437
1397 wxFONTENCODING_CP850 = gdic.wxFONTENCODING_CP850
1398 wxFONTENCODING_CP852 = gdic.wxFONTENCODING_CP852
1399 wxFONTENCODING_CP855 = gdic.wxFONTENCODING_CP855
1400 wxFONTENCODING_CP866 = gdic.wxFONTENCODING_CP866
1401 wxFONTENCODING_CP874 = gdic.wxFONTENCODING_CP874
1402 wxFONTENCODING_CP932 = gdic.wxFONTENCODING_CP932
1403 wxFONTENCODING_CP936 = gdic.wxFONTENCODING_CP936
1404 wxFONTENCODING_CP949 = gdic.wxFONTENCODING_CP949
1405 wxFONTENCODING_CP950 = gdic.wxFONTENCODING_CP950
1406 wxFONTENCODING_CP1250 = gdic.wxFONTENCODING_CP1250
1407 wxFONTENCODING_CP1251 = gdic.wxFONTENCODING_CP1251
1408 wxFONTENCODING_CP1252 = gdic.wxFONTENCODING_CP1252
1409 wxFONTENCODING_CP1253 = gdic.wxFONTENCODING_CP1253
1410 wxFONTENCODING_CP1254 = gdic.wxFONTENCODING_CP1254
1411 wxFONTENCODING_CP1255 = gdic.wxFONTENCODING_CP1255
1412 wxFONTENCODING_CP1256 = gdic.wxFONTENCODING_CP1256
1413 wxFONTENCODING_CP1257 = gdic.wxFONTENCODING_CP1257
1414 wxFONTENCODING_CP12_MAX = gdic.wxFONTENCODING_CP12_MAX
1415 wxFONTENCODING_UTF7 = gdic.wxFONTENCODING_UTF7
1416 wxFONTENCODING_UTF8 = gdic.wxFONTENCODING_UTF8
1417 wxFONTENCODING_UNICODE = gdic.wxFONTENCODING_UNICODE
1418 wxFONTENCODING_MAX = gdic.wxFONTENCODING_MAX
1419 cvar = gdic.cvar
1420 wxNORMAL_FONT = wxFontPtr(gdic.cvar.wxNORMAL_FONT)
1421 wxSMALL_FONT = wxFontPtr(gdic.cvar.wxSMALL_FONT)
1422 wxITALIC_FONT = wxFontPtr(gdic.cvar.wxITALIC_FONT)
1423 wxSWISS_FONT = wxFontPtr(gdic.cvar.wxSWISS_FONT)
1424 wxRED_PEN = wxPenPtr(gdic.cvar.wxRED_PEN)
1425 wxCYAN_PEN = wxPenPtr(gdic.cvar.wxCYAN_PEN)
1426 wxGREEN_PEN = wxPenPtr(gdic.cvar.wxGREEN_PEN)
1427 wxBLACK_PEN = wxPenPtr(gdic.cvar.wxBLACK_PEN)
1428 wxWHITE_PEN = wxPenPtr(gdic.cvar.wxWHITE_PEN)
1429 wxTRANSPARENT_PEN = wxPenPtr(gdic.cvar.wxTRANSPARENT_PEN)
1430 wxBLACK_DASHED_PEN = wxPenPtr(gdic.cvar.wxBLACK_DASHED_PEN)
1431 wxGREY_PEN = wxPenPtr(gdic.cvar.wxGREY_PEN)
1432 wxMEDIUM_GREY_PEN = wxPenPtr(gdic.cvar.wxMEDIUM_GREY_PEN)
1433 wxLIGHT_GREY_PEN = wxPenPtr(gdic.cvar.wxLIGHT_GREY_PEN)
1434 wxBLUE_BRUSH = wxBrushPtr(gdic.cvar.wxBLUE_BRUSH)
1435 wxGREEN_BRUSH = wxBrushPtr(gdic.cvar.wxGREEN_BRUSH)
1436 wxWHITE_BRUSH = wxBrushPtr(gdic.cvar.wxWHITE_BRUSH)
1437 wxBLACK_BRUSH = wxBrushPtr(gdic.cvar.wxBLACK_BRUSH)
1438 wxTRANSPARENT_BRUSH = wxBrushPtr(gdic.cvar.wxTRANSPARENT_BRUSH)
1439 wxCYAN_BRUSH = wxBrushPtr(gdic.cvar.wxCYAN_BRUSH)
1440 wxRED_BRUSH = wxBrushPtr(gdic.cvar.wxRED_BRUSH)
1441 wxGREY_BRUSH = wxBrushPtr(gdic.cvar.wxGREY_BRUSH)
1442 wxMEDIUM_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxMEDIUM_GREY_BRUSH)
1443 wxLIGHT_GREY_BRUSH = wxBrushPtr(gdic.cvar.wxLIGHT_GREY_BRUSH)
1444 wxBLACK = wxColourPtr(gdic.cvar.wxBLACK)
1445 wxWHITE = wxColourPtr(gdic.cvar.wxWHITE)
1446 wxRED = wxColourPtr(gdic.cvar.wxRED)
1447 wxBLUE = wxColourPtr(gdic.cvar.wxBLUE)
1448 wxGREEN = wxColourPtr(gdic.cvar.wxGREEN)
1449 wxCYAN = wxColourPtr(gdic.cvar.wxCYAN)
1450 wxLIGHT_GREY = wxColourPtr(gdic.cvar.wxLIGHT_GREY)
1451 wxSTANDARD_CURSOR = wxCursorPtr(gdic.cvar.wxSTANDARD_CURSOR)
1452 wxHOURGLASS_CURSOR = wxCursorPtr(gdic.cvar.wxHOURGLASS_CURSOR)
1453 wxCROSS_CURSOR = wxCursorPtr(gdic.cvar.wxCROSS_CURSOR)
1454 wxNullBitmap = wxBitmapPtr(gdic.cvar.wxNullBitmap)
1455 wxNullIcon = wxIconPtr(gdic.cvar.wxNullIcon)
1456 wxNullCursor = wxCursorPtr(gdic.cvar.wxNullCursor)
1457 wxNullPen = wxPenPtr(gdic.cvar.wxNullPen)
1458 wxNullBrush = wxBrushPtr(gdic.cvar.wxNullBrush)
1459 wxNullPalette = wxPalettePtr(gdic.cvar.wxNullPalette)
1460 wxNullFont = wxFontPtr(gdic.cvar.wxNullFont)
1461 wxNullColour = wxColourPtr(gdic.cvar.wxNullColour)
1462 wxTheFontList = wxFontListPtr(gdic.cvar.wxTheFontList)
1463 wxThePenList = wxPenListPtr(gdic.cvar.wxThePenList)
1464 wxTheBrushList = wxBrushListPtr(gdic.cvar.wxTheBrushList)
1465 wxTheColourDatabase = wxColourDatabasePtr(gdic.cvar.wxTheColourDatabase)
1466 wxIMAGELIST_DRAW_NORMAL = gdic.wxIMAGELIST_DRAW_NORMAL
1467 wxIMAGELIST_DRAW_TRANSPARENT = gdic.wxIMAGELIST_DRAW_TRANSPARENT
1468 wxIMAGELIST_DRAW_SELECTED = gdic.wxIMAGELIST_DRAW_SELECTED
1469 wxIMAGELIST_DRAW_FOCUSED = gdic.wxIMAGELIST_DRAW_FOCUSED
1470 wxIMAGE_LIST_NORMAL = gdic.wxIMAGE_LIST_NORMAL
1471 wxIMAGE_LIST_SMALL = gdic.wxIMAGE_LIST_SMALL
1472 wxIMAGE_LIST_STATE = gdic.wxIMAGE_LIST_STATE
1473 wxOutRegion = gdic.wxOutRegion
1474 wxPartRegion = gdic.wxPartRegion
1475 wxInRegion = gdic.wxInRegion