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