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