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