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