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