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