1 # This file was created automatically by SWIG.
5 class wxGDIObjectPtr(wxObjectPtr
):
6 def __init__(self
,this
):
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
)
15 def SetVisible(self
, *_args
, **_kwargs
):
16 val
= apply(gdic
.wxGDIObject_SetVisible
,(self
,) + _args
, _kwargs
)
18 def IsNull(self
, *_args
, **_kwargs
):
19 val
= apply(gdic
.wxGDIObject_IsNull
,(self
,) + _args
, _kwargs
)
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
)
31 class wxBitmapPtr(wxGDIObjectPtr
):
32 def __init__(self
,this
):
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
)
42 def GetMask(self
, *_args
, **_kwargs
):
43 val
= apply(gdic
.wxBitmap_GetMask
,(self
,) + _args
, _kwargs
)
44 if val
: val
= wxMaskPtr(val
)
46 def LoadFile(self
, *_args
, **_kwargs
):
47 val
= apply(gdic
.wxBitmap_LoadFile
,(self
,) + _args
, _kwargs
)
49 def SaveFile(self
, *_args
, **_kwargs
):
50 val
= apply(gdic
.wxBitmap_SaveFile
,(self
,) + _args
, _kwargs
)
52 def SetMask(self
, *_args
, **_kwargs
):
53 val
= apply(gdic
.wxBitmap_SetMask
,(self
,) + _args
, _kwargs
)
55 def SetPalette(self
, *_args
, **_kwargs
):
56 val
= apply(gdic
.wxBitmap_SetPalette
,(self
,) + _args
, _kwargs
)
58 def GetHandle(self
, *_args
, **_kwargs
):
59 val
= apply(gdic
.wxBitmap_GetHandle
,(self
,) + _args
, _kwargs
)
61 def SetHandle(self
, *_args
, **_kwargs
):
62 val
= apply(gdic
.wxBitmap_SetHandle
,(self
,) + _args
, _kwargs
)
64 def Ok(self
, *_args
, **_kwargs
):
65 val
= apply(gdic
.wxBitmap_Ok
,(self
,) + _args
, _kwargs
)
67 def GetWidth(self
, *_args
, **_kwargs
):
68 val
= apply(gdic
.wxBitmap_GetWidth
,(self
,) + _args
, _kwargs
)
70 def GetHeight(self
, *_args
, **_kwargs
):
71 val
= apply(gdic
.wxBitmap_GetHeight
,(self
,) + _args
, _kwargs
)
73 def GetDepth(self
, *_args
, **_kwargs
):
74 val
= apply(gdic
.wxBitmap_GetDepth
,(self
,) + _args
, _kwargs
)
76 def SetWidth(self
, *_args
, **_kwargs
):
77 val
= apply(gdic
.wxBitmap_SetWidth
,(self
,) + _args
, _kwargs
)
79 def SetHeight(self
, *_args
, **_kwargs
):
80 val
= apply(gdic
.wxBitmap_SetHeight
,(self
,) + _args
, _kwargs
)
82 def SetDepth(self
, *_args
, **_kwargs
):
83 val
= apply(gdic
.wxBitmap_SetDepth
,(self
,) + _args
, _kwargs
)
85 def SetSize(self
, *_args
, **_kwargs
):
86 val
= apply(gdic
.wxBitmap_SetSize
,(self
,) + _args
, _kwargs
)
88 def GetSubBitmap(self
, *_args
, **_kwargs
):
89 val
= apply(gdic
.wxBitmap_GetSubBitmap
,(self
,) + _args
, _kwargs
)
90 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
92 def CopyFromIcon(self
, *_args
, **_kwargs
):
93 val
= apply(gdic
.wxBitmap_CopyFromIcon
,(self
,) + _args
, _kwargs
)
95 def CopyFromCursor(self
, *_args
, **_kwargs
):
96 val
= apply(gdic
.wxBitmap_CopyFromCursor
,(self
,) + _args
, _kwargs
)
98 def GetQuality(self
, *_args
, **_kwargs
):
99 val
= apply(gdic
.wxBitmap_GetQuality
,(self
,) + _args
, _kwargs
)
101 def SetQuality(self
, *_args
, **_kwargs
):
102 val
= apply(gdic
.wxBitmap_SetQuality
,(self
,) + _args
, _kwargs
)
105 return "<C wxBitmap instance at %s>" % (self
.this
,)
107 def __del__(self
,gdic
=gdic
):
109 if self
.thisown
== 1 :
110 gdic
.delete_wxBitmap(self
)
114 class wxBitmap(wxBitmapPtr
):
115 def __init__(self
,*_args
,**_kwargs
):
116 self
.this
= apply(gdic
.new_wxBitmap
,_args
,_kwargs
)
122 class wxMaskPtr(wxObjectPtr
):
123 def __init__(self
,this
):
126 def Destroy(self
, *_args
, **_kwargs
):
127 val
= apply(gdic
.wxMask_Destroy
,(self
,) + _args
, _kwargs
)
130 return "<C wxMask instance at %s>" % (self
.this
,)
131 class wxMask(wxMaskPtr
):
132 def __init__(self
,*_args
,**_kwargs
):
133 self
.this
= apply(gdic
.new_wxMask
,_args
,_kwargs
)
139 class wxIconPtr(wxGDIObjectPtr
):
140 def __init__(self
,this
):
143 def __del__(self
,gdic
=gdic
):
144 if self
.thisown
== 1 :
145 gdic
.delete_wxIcon(self
)
146 def LoadFile(self
, *_args
, **_kwargs
):
147 val
= apply(gdic
.wxIcon_LoadFile
,(self
,) + _args
, _kwargs
)
149 def GetHandle(self
, *_args
, **_kwargs
):
150 val
= apply(gdic
.wxIcon_GetHandle
,(self
,) + _args
, _kwargs
)
152 def SetHandle(self
, *_args
, **_kwargs
):
153 val
= apply(gdic
.wxIcon_SetHandle
,(self
,) + _args
, _kwargs
)
155 def Ok(self
, *_args
, **_kwargs
):
156 val
= apply(gdic
.wxIcon_Ok
,(self
,) + _args
, _kwargs
)
158 def GetWidth(self
, *_args
, **_kwargs
):
159 val
= apply(gdic
.wxIcon_GetWidth
,(self
,) + _args
, _kwargs
)
161 def GetHeight(self
, *_args
, **_kwargs
):
162 val
= apply(gdic
.wxIcon_GetHeight
,(self
,) + _args
, _kwargs
)
164 def GetDepth(self
, *_args
, **_kwargs
):
165 val
= apply(gdic
.wxIcon_GetDepth
,(self
,) + _args
, _kwargs
)
167 def SetWidth(self
, *_args
, **_kwargs
):
168 val
= apply(gdic
.wxIcon_SetWidth
,(self
,) + _args
, _kwargs
)
170 def SetHeight(self
, *_args
, **_kwargs
):
171 val
= apply(gdic
.wxIcon_SetHeight
,(self
,) + _args
, _kwargs
)
173 def SetDepth(self
, *_args
, **_kwargs
):
174 val
= apply(gdic
.wxIcon_SetDepth
,(self
,) + _args
, _kwargs
)
176 def SetSize(self
, *_args
, **_kwargs
):
177 val
= apply(gdic
.wxIcon_SetSize
,(self
,) + _args
, _kwargs
)
179 def CopyFromBitmap(self
, *_args
, **_kwargs
):
180 val
= apply(gdic
.wxIcon_CopyFromBitmap
,(self
,) + _args
, _kwargs
)
183 return "<C wxIcon instance at %s>" % (self
.this
,)
185 def __del__(self
,gdic
=gdic
):
187 if self
.thisown
== 1 :
188 gdic
.delete_wxIcon(self
)
192 class wxIcon(wxIconPtr
):
193 def __init__(self
,*_args
,**_kwargs
):
194 self
.this
= apply(gdic
.new_wxIcon
,_args
,_kwargs
)
200 class wxCursorPtr(wxGDIObjectPtr
):
201 def __init__(self
,this
):
204 def __del__(self
,gdic
=gdic
):
205 if self
.thisown
== 1 :
206 gdic
.delete_wxCursor(self
)
207 def GetHandle(self
, *_args
, **_kwargs
):
208 val
= apply(gdic
.wxCursor_GetHandle
,(self
,) + _args
, _kwargs
)
210 def SetHandle(self
, *_args
, **_kwargs
):
211 val
= apply(gdic
.wxCursor_SetHandle
,(self
,) + _args
, _kwargs
)
213 def Ok(self
, *_args
, **_kwargs
):
214 val
= apply(gdic
.wxCursor_Ok
,(self
,) + _args
, _kwargs
)
216 def GetWidth(self
, *_args
, **_kwargs
):
217 val
= apply(gdic
.wxCursor_GetWidth
,(self
,) + _args
, _kwargs
)
219 def GetHeight(self
, *_args
, **_kwargs
):
220 val
= apply(gdic
.wxCursor_GetHeight
,(self
,) + _args
, _kwargs
)
222 def GetDepth(self
, *_args
, **_kwargs
):
223 val
= apply(gdic
.wxCursor_GetDepth
,(self
,) + _args
, _kwargs
)
225 def SetWidth(self
, *_args
, **_kwargs
):
226 val
= apply(gdic
.wxCursor_SetWidth
,(self
,) + _args
, _kwargs
)
228 def SetHeight(self
, *_args
, **_kwargs
):
229 val
= apply(gdic
.wxCursor_SetHeight
,(self
,) + _args
, _kwargs
)
231 def SetDepth(self
, *_args
, **_kwargs
):
232 val
= apply(gdic
.wxCursor_SetDepth
,(self
,) + _args
, _kwargs
)
234 def SetSize(self
, *_args
, **_kwargs
):
235 val
= apply(gdic
.wxCursor_SetSize
,(self
,) + _args
, _kwargs
)
238 return "<C wxCursor instance at %s>" % (self
.this
,)
239 class wxCursor(wxCursorPtr
):
240 def __init__(self
,*_args
,**_kwargs
):
241 self
.this
= apply(gdic
.new_wxCursor
,_args
,_kwargs
)
247 class wxNativeFontInfoPtr
:
248 def __init__(self
,this
):
251 def Init(self
, *_args
, **_kwargs
):
252 val
= apply(gdic
.wxNativeFontInfo_Init
,(self
,) + _args
, _kwargs
)
254 def GetPointSize(self
, *_args
, **_kwargs
):
255 val
= apply(gdic
.wxNativeFontInfo_GetPointSize
,(self
,) + _args
, _kwargs
)
257 def GetStyle(self
, *_args
, **_kwargs
):
258 val
= apply(gdic
.wxNativeFontInfo_GetStyle
,(self
,) + _args
, _kwargs
)
260 def GetWeight(self
, *_args
, **_kwargs
):
261 val
= apply(gdic
.wxNativeFontInfo_GetWeight
,(self
,) + _args
, _kwargs
)
263 def GetUnderlined(self
, *_args
, **_kwargs
):
264 val
= apply(gdic
.wxNativeFontInfo_GetUnderlined
,(self
,) + _args
, _kwargs
)
266 def GetFaceName(self
, *_args
, **_kwargs
):
267 val
= apply(gdic
.wxNativeFontInfo_GetFaceName
,(self
,) + _args
, _kwargs
)
269 def GetFamily(self
, *_args
, **_kwargs
):
270 val
= apply(gdic
.wxNativeFontInfo_GetFamily
,(self
,) + _args
, _kwargs
)
272 def GetEncoding(self
, *_args
, **_kwargs
):
273 val
= apply(gdic
.wxNativeFontInfo_GetEncoding
,(self
,) + _args
, _kwargs
)
275 def SetPointSize(self
, *_args
, **_kwargs
):
276 val
= apply(gdic
.wxNativeFontInfo_SetPointSize
,(self
,) + _args
, _kwargs
)
278 def SetStyle(self
, *_args
, **_kwargs
):
279 val
= apply(gdic
.wxNativeFontInfo_SetStyle
,(self
,) + _args
, _kwargs
)
281 def SetWeight(self
, *_args
, **_kwargs
):
282 val
= apply(gdic
.wxNativeFontInfo_SetWeight
,(self
,) + _args
, _kwargs
)
284 def SetUnderlined(self
, *_args
, **_kwargs
):
285 val
= apply(gdic
.wxNativeFontInfo_SetUnderlined
,(self
,) + _args
, _kwargs
)
287 def SetFaceName(self
, *_args
, **_kwargs
):
288 val
= apply(gdic
.wxNativeFontInfo_SetFaceName
,(self
,) + _args
, _kwargs
)
290 def SetFamily(self
, *_args
, **_kwargs
):
291 val
= apply(gdic
.wxNativeFontInfo_SetFamily
,(self
,) + _args
, _kwargs
)
293 def SetEncoding(self
, *_args
, **_kwargs
):
294 val
= apply(gdic
.wxNativeFontInfo_SetEncoding
,(self
,) + _args
, _kwargs
)
296 def FromString(self
, *_args
, **_kwargs
):
297 val
= apply(gdic
.wxNativeFontInfo_FromString
,(self
,) + _args
, _kwargs
)
299 def ToString(self
, *_args
, **_kwargs
):
300 val
= apply(gdic
.wxNativeFontInfo_ToString
,(self
,) + _args
, _kwargs
)
302 def __str__(self
, *_args
, **_kwargs
):
303 val
= apply(gdic
.wxNativeFontInfo___str__
,(self
,) + _args
, _kwargs
)
305 def FromUserString(self
, *_args
, **_kwargs
):
306 val
= apply(gdic
.wxNativeFontInfo_FromUserString
,(self
,) + _args
, _kwargs
)
308 def ToUserString(self
, *_args
, **_kwargs
):
309 val
= apply(gdic
.wxNativeFontInfo_ToUserString
,(self
,) + _args
, _kwargs
)
312 return "<C wxNativeFontInfo instance at %s>" % (self
.this
,)
313 class wxNativeFontInfo(wxNativeFontInfoPtr
):
314 def __init__(self
,*_args
,**_kwargs
):
315 self
.this
= apply(gdic
.new_wxNativeFontInfo
,_args
,_kwargs
)
321 class wxFontMapperPtr
:
322 def __init__(self
,this
):
325 def __del__(self
,gdic
=gdic
):
326 if self
.thisown
== 1 :
327 gdic
.delete_wxFontMapper(self
)
328 def GetAltForEncoding(self
, *_args
, **_kwargs
):
329 val
= apply(gdic
.wxFontMapper_GetAltForEncoding
,(self
,) + _args
, _kwargs
)
331 def IsEncodingAvailable(self
, *_args
, **_kwargs
):
332 val
= apply(gdic
.wxFontMapper_IsEncodingAvailable
,(self
,) + _args
, _kwargs
)
334 def CharsetToEncoding(self
, *_args
, **_kwargs
):
335 val
= apply(gdic
.wxFontMapper_CharsetToEncoding
,(self
,) + _args
, _kwargs
)
337 def SetDialogParent(self
, *_args
, **_kwargs
):
338 val
= apply(gdic
.wxFontMapper_SetDialogParent
,(self
,) + _args
, _kwargs
)
340 def SetDialogTitle(self
, *_args
, **_kwargs
):
341 val
= apply(gdic
.wxFontMapper_SetDialogTitle
,(self
,) + _args
, _kwargs
)
343 def SetConfig(self
, *_args
, **_kwargs
):
344 val
= apply(gdic
.wxFontMapper_SetConfig
,(self
,) + _args
, _kwargs
)
346 def SetConfigPath(self
, *_args
, **_kwargs
):
347 val
= apply(gdic
.wxFontMapper_SetConfigPath
,(self
,) + _args
, _kwargs
)
350 return "<C wxFontMapper instance at %s>" % (self
.this
,)
351 class wxFontMapper(wxFontMapperPtr
):
352 def __init__(self
,*_args
,**_kwargs
):
353 self
.this
= apply(gdic
.new_wxFontMapper
,_args
,_kwargs
)
359 class wxFontPtr(wxGDIObjectPtr
):
360 def __init__(self
,this
):
363 def __del__(self
,gdic
=gdic
):
364 if self
.thisown
== 1 :
365 gdic
.delete_wxFont(self
)
366 def Ok(self
, *_args
, **_kwargs
):
367 val
= apply(gdic
.wxFont_Ok
,(self
,) + _args
, _kwargs
)
369 def GetPointSize(self
, *_args
, **_kwargs
):
370 val
= apply(gdic
.wxFont_GetPointSize
,(self
,) + _args
, _kwargs
)
372 def GetFamily(self
, *_args
, **_kwargs
):
373 val
= apply(gdic
.wxFont_GetFamily
,(self
,) + _args
, _kwargs
)
375 def GetStyle(self
, *_args
, **_kwargs
):
376 val
= apply(gdic
.wxFont_GetStyle
,(self
,) + _args
, _kwargs
)
378 def GetWeight(self
, *_args
, **_kwargs
):
379 val
= apply(gdic
.wxFont_GetWeight
,(self
,) + _args
, _kwargs
)
381 def GetUnderlined(self
, *_args
, **_kwargs
):
382 val
= apply(gdic
.wxFont_GetUnderlined
,(self
,) + _args
, _kwargs
)
384 def GetFaceName(self
, *_args
, **_kwargs
):
385 val
= apply(gdic
.wxFont_GetFaceName
,(self
,) + _args
, _kwargs
)
387 def GetEncoding(self
, *_args
, **_kwargs
):
388 val
= apply(gdic
.wxFont_GetEncoding
,(self
,) + _args
, _kwargs
)
390 def IsFixedWidth(self
, *_args
, **_kwargs
):
391 val
= apply(gdic
.wxFont_IsFixedWidth
,(self
,) + _args
, _kwargs
)
393 def GetNativeFontInfo(self
, *_args
, **_kwargs
):
394 val
= apply(gdic
.wxFont_GetNativeFontInfo
,(self
,) + _args
, _kwargs
)
395 if val
: val
= wxNativeFontInfoPtr(val
)
397 def GetNativeFontInfoDesc(self
, *_args
, **_kwargs
):
398 val
= apply(gdic
.wxFont_GetNativeFontInfoDesc
,(self
,) + _args
, _kwargs
)
400 def GetNativeFontInfoUserDesc(self
, *_args
, **_kwargs
):
401 val
= apply(gdic
.wxFont_GetNativeFontInfoUserDesc
,(self
,) + _args
, _kwargs
)
403 def SetPointSize(self
, *_args
, **_kwargs
):
404 val
= apply(gdic
.wxFont_SetPointSize
,(self
,) + _args
, _kwargs
)
406 def SetFamily(self
, *_args
, **_kwargs
):
407 val
= apply(gdic
.wxFont_SetFamily
,(self
,) + _args
, _kwargs
)
409 def SetStyle(self
, *_args
, **_kwargs
):
410 val
= apply(gdic
.wxFont_SetStyle
,(self
,) + _args
, _kwargs
)
412 def SetWeight(self
, *_args
, **_kwargs
):
413 val
= apply(gdic
.wxFont_SetWeight
,(self
,) + _args
, _kwargs
)
415 def SetFaceName(self
, *_args
, **_kwargs
):
416 val
= apply(gdic
.wxFont_SetFaceName
,(self
,) + _args
, _kwargs
)
418 def SetUnderlined(self
, *_args
, **_kwargs
):
419 val
= apply(gdic
.wxFont_SetUnderlined
,(self
,) + _args
, _kwargs
)
421 def SetEncoding(self
, *_args
, **_kwargs
):
422 val
= apply(gdic
.wxFont_SetEncoding
,(self
,) + _args
, _kwargs
)
424 def SetNativeFontInfo(self
, *_args
, **_kwargs
):
425 val
= apply(gdic
.wxFont_SetNativeFontInfo
,(self
,) + _args
, _kwargs
)
427 def SetNativeFontInfoUserDesc(self
, *_args
, **_kwargs
):
428 val
= apply(gdic
.wxFont_SetNativeFontInfoUserDesc
,(self
,) + _args
, _kwargs
)
430 def GetFamilyString(self
, *_args
, **_kwargs
):
431 val
= apply(gdic
.wxFont_GetFamilyString
,(self
,) + _args
, _kwargs
)
433 def GetStyleString(self
, *_args
, **_kwargs
):
434 val
= apply(gdic
.wxFont_GetStyleString
,(self
,) + _args
, _kwargs
)
436 def GetWeightString(self
, *_args
, **_kwargs
):
437 val
= apply(gdic
.wxFont_GetWeightString
,(self
,) + _args
, _kwargs
)
440 return "<C wxFont instance at %s>" % (self
.this
,)
441 class wxFont(wxFontPtr
):
442 def __init__(self
,*_args
,**_kwargs
):
443 self
.this
= apply(gdic
.new_wxFont
,_args
,_kwargs
)
448 def wxFontFromNativeInfo(*_args
,**_kwargs
):
449 val
= wxFontPtr(apply(gdic
.new_wxFontFromNativeInfo
,_args
,_kwargs
))
454 class wxFontListPtr(wxObjectPtr
):
455 def __init__(self
,this
):
458 def AddFont(self
, *_args
, **_kwargs
):
459 val
= apply(gdic
.wxFontList_AddFont
,(self
,) + _args
, _kwargs
)
461 def FindOrCreateFont(self
, *_args
, **_kwargs
):
462 val
= apply(gdic
.wxFontList_FindOrCreateFont
,(self
,) + _args
, _kwargs
)
463 if val
: val
= wxFontPtr(val
)
465 def RemoveFont(self
, *_args
, **_kwargs
):
466 val
= apply(gdic
.wxFontList_RemoveFont
,(self
,) + _args
, _kwargs
)
468 def GetCount(self
, *_args
, **_kwargs
):
469 val
= apply(gdic
.wxFontList_GetCount
,(self
,) + _args
, _kwargs
)
472 return "<C wxFontList instance at %s>" % (self
.this
,)
473 class wxFontList(wxFontListPtr
):
474 def __init__(self
,this
):
480 class wxColourPtr(wxObjectPtr
):
481 def __init__(self
,this
):
484 def __del__(self
,gdic
=gdic
):
485 if self
.thisown
== 1 :
486 gdic
.delete_wxColour(self
)
487 def Red(self
, *_args
, **_kwargs
):
488 val
= apply(gdic
.wxColour_Red
,(self
,) + _args
, _kwargs
)
490 def Green(self
, *_args
, **_kwargs
):
491 val
= apply(gdic
.wxColour_Green
,(self
,) + _args
, _kwargs
)
493 def Blue(self
, *_args
, **_kwargs
):
494 val
= apply(gdic
.wxColour_Blue
,(self
,) + _args
, _kwargs
)
496 def Ok(self
, *_args
, **_kwargs
):
497 val
= apply(gdic
.wxColour_Ok
,(self
,) + _args
, _kwargs
)
499 def Set(self
, *_args
, **_kwargs
):
500 val
= apply(gdic
.wxColour_Set
,(self
,) + _args
, _kwargs
)
502 def Get(self
, *_args
, **_kwargs
):
503 val
= apply(gdic
.wxColour_Get
,(self
,) + _args
, _kwargs
)
506 return "<C wxColour instance at %s>" % (self
.this
,)
508 def __str__(self
): return str(self
.asTuple())
509 def __repr__(self
): return str(self
.asTuple())
510 class wxColour(wxColourPtr
):
511 def __init__(self
,*_args
,**_kwargs
):
512 self
.this
= apply(gdic
.new_wxColour
,_args
,_kwargs
)
518 class wxColourDatabasePtr(wxObjectPtr
):
519 def __init__(self
,this
):
522 def FindColour(self
, *_args
, **_kwargs
):
523 val
= apply(gdic
.wxColourDatabase_FindColour
,(self
,) + _args
, _kwargs
)
524 if val
: val
= wxColourPtr(val
)
526 def FindName(self
, *_args
, **_kwargs
):
527 val
= apply(gdic
.wxColourDatabase_FindName
,(self
,) + _args
, _kwargs
)
529 def Append(self
, *_args
, **_kwargs
):
530 val
= apply(gdic
.wxColourDatabase_Append
,(self
,) + _args
, _kwargs
)
533 return "<C wxColourDatabase instance at %s>" % (self
.this
,)
534 class wxColourDatabase(wxColourDatabasePtr
):
535 def __init__(self
,this
):
541 class wxPenPtr(wxGDIObjectPtr
):
542 def __init__(self
,this
):
545 def __del__(self
,gdic
=gdic
):
546 if self
.thisown
== 1 :
547 gdic
.delete_wxPen(self
)
548 def GetCap(self
, *_args
, **_kwargs
):
549 val
= apply(gdic
.wxPen_GetCap
,(self
,) + _args
, _kwargs
)
551 def GetColour(self
, *_args
, **_kwargs
):
552 val
= apply(gdic
.wxPen_GetColour
,(self
,) + _args
, _kwargs
)
553 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
555 def GetJoin(self
, *_args
, **_kwargs
):
556 val
= apply(gdic
.wxPen_GetJoin
,(self
,) + _args
, _kwargs
)
558 def GetStyle(self
, *_args
, **_kwargs
):
559 val
= apply(gdic
.wxPen_GetStyle
,(self
,) + _args
, _kwargs
)
561 def GetWidth(self
, *_args
, **_kwargs
):
562 val
= apply(gdic
.wxPen_GetWidth
,(self
,) + _args
, _kwargs
)
564 def Ok(self
, *_args
, **_kwargs
):
565 val
= apply(gdic
.wxPen_Ok
,(self
,) + _args
, _kwargs
)
567 def SetCap(self
, *_args
, **_kwargs
):
568 val
= apply(gdic
.wxPen_SetCap
,(self
,) + _args
, _kwargs
)
570 def SetColour(self
, *_args
, **_kwargs
):
571 val
= apply(gdic
.wxPen_SetColour
,(self
,) + _args
, _kwargs
)
573 def SetJoin(self
, *_args
, **_kwargs
):
574 val
= apply(gdic
.wxPen_SetJoin
,(self
,) + _args
, _kwargs
)
576 def SetStyle(self
, *_args
, **_kwargs
):
577 val
= apply(gdic
.wxPen_SetStyle
,(self
,) + _args
, _kwargs
)
579 def SetWidth(self
, *_args
, **_kwargs
):
580 val
= apply(gdic
.wxPen_SetWidth
,(self
,) + _args
, _kwargs
)
582 def SetDashes(self
, *_args
, **_kwargs
):
583 val
= apply(gdic
.wxPen_SetDashes
,(self
,) + _args
, _kwargs
)
585 def GetStipple(self
, *_args
, **_kwargs
):
586 val
= apply(gdic
.wxPen_GetStipple
,(self
,) + _args
, _kwargs
)
587 if val
: val
= wxBitmapPtr(val
)
589 def SetStipple(self
, *_args
, **_kwargs
):
590 val
= apply(gdic
.wxPen_SetStipple
,(self
,) + _args
, _kwargs
)
593 return "<C wxPen instance at %s>" % (self
.this
,)
594 class wxPen(wxPenPtr
):
595 def __init__(self
,*_args
,**_kwargs
):
596 self
.this
= apply(gdic
.new_wxPen
,_args
,_kwargs
)
602 class wxPyPenPtr(wxPenPtr
):
603 def __init__(self
,this
):
606 def __del__(self
,gdic
=gdic
):
607 if self
.thisown
== 1 :
608 gdic
.delete_wxPyPen(self
)
609 def SetDashes(self
, *_args
, **_kwargs
):
610 val
= apply(gdic
.wxPyPen_SetDashes
,(self
,) + _args
, _kwargs
)
613 return "<C wxPyPen instance at %s>" % (self
.this
,)
614 class wxPyPen(wxPyPenPtr
):
615 def __init__(self
,*_args
,**_kwargs
):
616 self
.this
= apply(gdic
.new_wxPyPen
,_args
,_kwargs
)
622 class wxPenListPtr(wxObjectPtr
):
623 def __init__(self
,this
):
626 def AddPen(self
, *_args
, **_kwargs
):
627 val
= apply(gdic
.wxPenList_AddPen
,(self
,) + _args
, _kwargs
)
629 def FindOrCreatePen(self
, *_args
, **_kwargs
):
630 val
= apply(gdic
.wxPenList_FindOrCreatePen
,(self
,) + _args
, _kwargs
)
631 if val
: val
= wxPenPtr(val
)
633 def RemovePen(self
, *_args
, **_kwargs
):
634 val
= apply(gdic
.wxPenList_RemovePen
,(self
,) + _args
, _kwargs
)
636 def GetCount(self
, *_args
, **_kwargs
):
637 val
= apply(gdic
.wxPenList_GetCount
,(self
,) + _args
, _kwargs
)
640 return "<C wxPenList instance at %s>" % (self
.this
,)
641 class wxPenList(wxPenListPtr
):
642 def __init__(self
,this
):
648 class wxBrushPtr(wxGDIObjectPtr
):
649 def __init__(self
,this
):
652 def __del__(self
,gdic
=gdic
):
653 if self
.thisown
== 1 :
654 gdic
.delete_wxBrush(self
)
655 def GetColour(self
, *_args
, **_kwargs
):
656 val
= apply(gdic
.wxBrush_GetColour
,(self
,) + _args
, _kwargs
)
657 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
659 def GetStipple(self
, *_args
, **_kwargs
):
660 val
= apply(gdic
.wxBrush_GetStipple
,(self
,) + _args
, _kwargs
)
661 if val
: val
= wxBitmapPtr(val
)
663 def GetStyle(self
, *_args
, **_kwargs
):
664 val
= apply(gdic
.wxBrush_GetStyle
,(self
,) + _args
, _kwargs
)
666 def Ok(self
, *_args
, **_kwargs
):
667 val
= apply(gdic
.wxBrush_Ok
,(self
,) + _args
, _kwargs
)
669 def SetColour(self
, *_args
, **_kwargs
):
670 val
= apply(gdic
.wxBrush_SetColour
,(self
,) + _args
, _kwargs
)
672 def SetStipple(self
, *_args
, **_kwargs
):
673 val
= apply(gdic
.wxBrush_SetStipple
,(self
,) + _args
, _kwargs
)
675 def SetStyle(self
, *_args
, **_kwargs
):
676 val
= apply(gdic
.wxBrush_SetStyle
,(self
,) + _args
, _kwargs
)
679 return "<C wxBrush instance at %s>" % (self
.this
,)
680 class wxBrush(wxBrushPtr
):
681 def __init__(self
,*_args
,**_kwargs
):
682 self
.this
= apply(gdic
.new_wxBrush
,_args
,_kwargs
)
688 class wxBrushListPtr(wxObjectPtr
):
689 def __init__(self
,this
):
692 def AddBrush(self
, *_args
, **_kwargs
):
693 val
= apply(gdic
.wxBrushList_AddBrush
,(self
,) + _args
, _kwargs
)
695 def FindOrCreateBrush(self
, *_args
, **_kwargs
):
696 val
= apply(gdic
.wxBrushList_FindOrCreateBrush
,(self
,) + _args
, _kwargs
)
697 if val
: val
= wxBrushPtr(val
)
699 def RemoveBrush(self
, *_args
, **_kwargs
):
700 val
= apply(gdic
.wxBrushList_RemoveBrush
,(self
,) + _args
, _kwargs
)
702 def GetCount(self
, *_args
, **_kwargs
):
703 val
= apply(gdic
.wxBrushList_GetCount
,(self
,) + _args
, _kwargs
)
706 return "<C wxBrushList instance at %s>" % (self
.this
,)
707 class wxBrushList(wxBrushListPtr
):
708 def __init__(self
,this
):
714 class wxDCPtr(wxObjectPtr
):
715 def __init__(self
,this
):
718 def __del__(self
,gdic
=gdic
):
719 if self
.thisown
== 1 :
720 gdic
.delete_wxDC(self
)
721 def BeginDrawing(self
, *_args
, **_kwargs
):
722 val
= apply(gdic
.wxDC_BeginDrawing
,(self
,) + _args
, _kwargs
)
724 def Blit(self
, *_args
, **_kwargs
):
725 val
= apply(gdic
.wxDC_Blit
,(self
,) + _args
, _kwargs
)
727 def Clear(self
, *_args
, **_kwargs
):
728 val
= apply(gdic
.wxDC_Clear
,(self
,) + _args
, _kwargs
)
730 def CrossHair(self
, *_args
, **_kwargs
):
731 val
= apply(gdic
.wxDC_CrossHair
,(self
,) + _args
, _kwargs
)
733 def DestroyClippingRegion(self
, *_args
, **_kwargs
):
734 val
= apply(gdic
.wxDC_DestroyClippingRegion
,(self
,) + _args
, _kwargs
)
736 def DeviceToLogicalX(self
, *_args
, **_kwargs
):
737 val
= apply(gdic
.wxDC_DeviceToLogicalX
,(self
,) + _args
, _kwargs
)
739 def DeviceToLogicalXRel(self
, *_args
, **_kwargs
):
740 val
= apply(gdic
.wxDC_DeviceToLogicalXRel
,(self
,) + _args
, _kwargs
)
742 def DeviceToLogicalY(self
, *_args
, **_kwargs
):
743 val
= apply(gdic
.wxDC_DeviceToLogicalY
,(self
,) + _args
, _kwargs
)
745 def DeviceToLogicalYRel(self
, *_args
, **_kwargs
):
746 val
= apply(gdic
.wxDC_DeviceToLogicalYRel
,(self
,) + _args
, _kwargs
)
748 def DrawArc(self
, *_args
, **_kwargs
):
749 val
= apply(gdic
.wxDC_DrawArc
,(self
,) + _args
, _kwargs
)
751 def DrawCircle(self
, *_args
, **_kwargs
):
752 val
= apply(gdic
.wxDC_DrawCircle
,(self
,) + _args
, _kwargs
)
754 def DrawEllipse(self
, *_args
, **_kwargs
):
755 val
= apply(gdic
.wxDC_DrawEllipse
,(self
,) + _args
, _kwargs
)
757 def DrawEllipticArc(self
, *_args
, **_kwargs
):
758 val
= apply(gdic
.wxDC_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
760 def DrawIcon(self
, *_args
, **_kwargs
):
761 val
= apply(gdic
.wxDC_DrawIcon
,(self
,) + _args
, _kwargs
)
763 def DrawLabel(self
, *_args
, **_kwargs
):
764 val
= apply(gdic
.wxDC_DrawLabel
,(self
,) + _args
, _kwargs
)
766 def DrawImageLabel(self
, *_args
, **_kwargs
):
767 val
= apply(gdic
.wxDC_DrawImageLabel
,(self
,) + _args
, _kwargs
)
768 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
770 def DrawLine(self
, *_args
, **_kwargs
):
771 val
= apply(gdic
.wxDC_DrawLine
,(self
,) + _args
, _kwargs
)
773 def DrawLines(self
, *_args
, **_kwargs
):
774 val
= apply(gdic
.wxDC_DrawLines
,(self
,) + _args
, _kwargs
)
776 def DrawPolygon(self
, *_args
, **_kwargs
):
777 val
= apply(gdic
.wxDC_DrawPolygon
,(self
,) + _args
, _kwargs
)
779 def DrawPoint(self
, *_args
, **_kwargs
):
780 val
= apply(gdic
.wxDC_DrawPoint
,(self
,) + _args
, _kwargs
)
782 def DrawRectangle(self
, *_args
, **_kwargs
):
783 val
= apply(gdic
.wxDC_DrawRectangle
,(self
,) + _args
, _kwargs
)
785 def DrawRotatedText(self
, *_args
, **_kwargs
):
786 val
= apply(gdic
.wxDC_DrawRotatedText
,(self
,) + _args
, _kwargs
)
788 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
789 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
791 def DrawSpline(self
, *_args
, **_kwargs
):
792 val
= apply(gdic
.wxDC_DrawSpline
,(self
,) + _args
, _kwargs
)
794 def DrawText(self
, *_args
, **_kwargs
):
795 val
= apply(gdic
.wxDC_DrawText
,(self
,) + _args
, _kwargs
)
797 def EndDoc(self
, *_args
, **_kwargs
):
798 val
= apply(gdic
.wxDC_EndDoc
,(self
,) + _args
, _kwargs
)
800 def EndDrawing(self
, *_args
, **_kwargs
):
801 val
= apply(gdic
.wxDC_EndDrawing
,(self
,) + _args
, _kwargs
)
803 def EndPage(self
, *_args
, **_kwargs
):
804 val
= apply(gdic
.wxDC_EndPage
,(self
,) + _args
, _kwargs
)
806 def FloodFill(self
, *_args
, **_kwargs
):
807 val
= apply(gdic
.wxDC_FloodFill
,(self
,) + _args
, _kwargs
)
809 def GetBackground(self
, *_args
, **_kwargs
):
810 val
= apply(gdic
.wxDC_GetBackground
,(self
,) + _args
, _kwargs
)
811 if val
: val
= wxBrushPtr(val
) ; val
.thisown
= 1
813 def GetBrush(self
, *_args
, **_kwargs
):
814 val
= apply(gdic
.wxDC_GetBrush
,(self
,) + _args
, _kwargs
)
815 if val
: val
= wxBrushPtr(val
) ; val
.thisown
= 1
817 def GetCharHeight(self
, *_args
, **_kwargs
):
818 val
= apply(gdic
.wxDC_GetCharHeight
,(self
,) + _args
, _kwargs
)
820 def GetCharWidth(self
, *_args
, **_kwargs
):
821 val
= apply(gdic
.wxDC_GetCharWidth
,(self
,) + _args
, _kwargs
)
823 def GetClippingBox(self
, *_args
, **_kwargs
):
824 val
= apply(gdic
.wxDC_GetClippingBox
,(self
,) + _args
, _kwargs
)
826 def GetFont(self
, *_args
, **_kwargs
):
827 val
= apply(gdic
.wxDC_GetFont
,(self
,) + _args
, _kwargs
)
828 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
830 def GetLogicalFunction(self
, *_args
, **_kwargs
):
831 val
= apply(gdic
.wxDC_GetLogicalFunction
,(self
,) + _args
, _kwargs
)
833 def GetLogicalScale(self
, *_args
, **_kwargs
):
834 val
= apply(gdic
.wxDC_GetLogicalScale
,(self
,) + _args
, _kwargs
)
836 def GetMapMode(self
, *_args
, **_kwargs
):
837 val
= apply(gdic
.wxDC_GetMapMode
,(self
,) + _args
, _kwargs
)
839 def GetOptimization(self
, *_args
, **_kwargs
):
840 val
= apply(gdic
.wxDC_GetOptimization
,(self
,) + _args
, _kwargs
)
842 def GetPen(self
, *_args
, **_kwargs
):
843 val
= apply(gdic
.wxDC_GetPen
,(self
,) + _args
, _kwargs
)
844 if val
: val
= wxPenPtr(val
) ; val
.thisown
= 1
846 def GetPixel(self
, *_args
, **_kwargs
):
847 val
= apply(gdic
.wxDC_GetPixel
,(self
,) + _args
, _kwargs
)
848 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
850 def GetSizeTuple(self
, *_args
, **_kwargs
):
851 val
= apply(gdic
.wxDC_GetSizeTuple
,(self
,) + _args
, _kwargs
)
853 def GetSize(self
, *_args
, **_kwargs
):
854 val
= apply(gdic
.wxDC_GetSize
,(self
,) + _args
, _kwargs
)
855 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
857 def GetSizeMM(self
, *_args
, **_kwargs
):
858 val
= apply(gdic
.wxDC_GetSizeMM
,(self
,) + _args
, _kwargs
)
859 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
861 def GetTextBackground(self
, *_args
, **_kwargs
):
862 val
= apply(gdic
.wxDC_GetTextBackground
,(self
,) + _args
, _kwargs
)
863 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
865 def GetTextExtent(self
, *_args
, **_kwargs
):
866 val
= apply(gdic
.wxDC_GetTextExtent
,(self
,) + _args
, _kwargs
)
868 def GetFullTextExtent(self
, *_args
, **_kwargs
):
869 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
,) + _args
, _kwargs
)
871 def GetTextForeground(self
, *_args
, **_kwargs
):
872 val
= apply(gdic
.wxDC_GetTextForeground
,(self
,) + _args
, _kwargs
)
873 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
875 def GetUserScale(self
, *_args
, **_kwargs
):
876 val
= apply(gdic
.wxDC_GetUserScale
,(self
,) + _args
, _kwargs
)
878 def LogicalToDeviceX(self
, *_args
, **_kwargs
):
879 val
= apply(gdic
.wxDC_LogicalToDeviceX
,(self
,) + _args
, _kwargs
)
881 def LogicalToDeviceXRel(self
, *_args
, **_kwargs
):
882 val
= apply(gdic
.wxDC_LogicalToDeviceXRel
,(self
,) + _args
, _kwargs
)
884 def LogicalToDeviceY(self
, *_args
, **_kwargs
):
885 val
= apply(gdic
.wxDC_LogicalToDeviceY
,(self
,) + _args
, _kwargs
)
887 def LogicalToDeviceYRel(self
, *_args
, **_kwargs
):
888 val
= apply(gdic
.wxDC_LogicalToDeviceYRel
,(self
,) + _args
, _kwargs
)
890 def MaxX(self
, *_args
, **_kwargs
):
891 val
= apply(gdic
.wxDC_MaxX
,(self
,) + _args
, _kwargs
)
893 def MaxY(self
, *_args
, **_kwargs
):
894 val
= apply(gdic
.wxDC_MaxY
,(self
,) + _args
, _kwargs
)
896 def MinX(self
, *_args
, **_kwargs
):
897 val
= apply(gdic
.wxDC_MinX
,(self
,) + _args
, _kwargs
)
899 def MinY(self
, *_args
, **_kwargs
):
900 val
= apply(gdic
.wxDC_MinY
,(self
,) + _args
, _kwargs
)
902 def Ok(self
, *_args
, **_kwargs
):
903 val
= apply(gdic
.wxDC_Ok
,(self
,) + _args
, _kwargs
)
905 def SetDeviceOrigin(self
, *_args
, **_kwargs
):
906 val
= apply(gdic
.wxDC_SetDeviceOrigin
,(self
,) + _args
, _kwargs
)
908 def SetBackground(self
, *_args
, **_kwargs
):
909 val
= apply(gdic
.wxDC_SetBackground
,(self
,) + _args
, _kwargs
)
911 def SetBackgroundMode(self
, *_args
, **_kwargs
):
912 val
= apply(gdic
.wxDC_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
914 def SetClippingRegion(self
, *_args
, **_kwargs
):
915 val
= apply(gdic
.wxDC_SetClippingRegion
,(self
,) + _args
, _kwargs
)
917 def SetClippingRegionAsRegion(self
, *_args
, **_kwargs
):
918 val
= apply(gdic
.wxDC_SetClippingRegionAsRegion
,(self
,) + _args
, _kwargs
)
920 def SetPalette(self
, *_args
, **_kwargs
):
921 val
= apply(gdic
.wxDC_SetPalette
,(self
,) + _args
, _kwargs
)
923 def SetBrush(self
, *_args
, **_kwargs
):
924 val
= apply(gdic
.wxDC_SetBrush
,(self
,) + _args
, _kwargs
)
926 def SetFont(self
, *_args
, **_kwargs
):
927 val
= apply(gdic
.wxDC_SetFont
,(self
,) + _args
, _kwargs
)
929 def SetLogicalFunction(self
, *_args
, **_kwargs
):
930 val
= apply(gdic
.wxDC_SetLogicalFunction
,(self
,) + _args
, _kwargs
)
932 def SetLogicalScale(self
, *_args
, **_kwargs
):
933 val
= apply(gdic
.wxDC_SetLogicalScale
,(self
,) + _args
, _kwargs
)
935 def SetMapMode(self
, *_args
, **_kwargs
):
936 val
= apply(gdic
.wxDC_SetMapMode
,(self
,) + _args
, _kwargs
)
938 def SetOptimization(self
, *_args
, **_kwargs
):
939 val
= apply(gdic
.wxDC_SetOptimization
,(self
,) + _args
, _kwargs
)
941 def SetPen(self
, *_args
, **_kwargs
):
942 val
= apply(gdic
.wxDC_SetPen
,(self
,) + _args
, _kwargs
)
944 def SetTextBackground(self
, *_args
, **_kwargs
):
945 val
= apply(gdic
.wxDC_SetTextBackground
,(self
,) + _args
, _kwargs
)
947 def SetTextForeground(self
, *_args
, **_kwargs
):
948 val
= apply(gdic
.wxDC_SetTextForeground
,(self
,) + _args
, _kwargs
)
950 def SetUserScale(self
, *_args
, **_kwargs
):
951 val
= apply(gdic
.wxDC_SetUserScale
,(self
,) + _args
, _kwargs
)
953 def StartDoc(self
, *_args
, **_kwargs
):
954 val
= apply(gdic
.wxDC_StartDoc
,(self
,) + _args
, _kwargs
)
956 def StartPage(self
, *_args
, **_kwargs
):
957 val
= apply(gdic
.wxDC_StartPage
,(self
,) + _args
, _kwargs
)
959 def DrawBitmap(self
, *_args
, **_kwargs
):
960 val
= apply(gdic
.wxDC_DrawBitmap
,(self
,) + _args
, _kwargs
)
962 def CanDrawBitmap(self
, *_args
, **_kwargs
):
963 val
= apply(gdic
.wxDC_CanDrawBitmap
,(self
,) + _args
, _kwargs
)
965 def CanGetTextExtent(self
, *_args
, **_kwargs
):
966 val
= apply(gdic
.wxDC_CanGetTextExtent
,(self
,) + _args
, _kwargs
)
968 def GetDepth(self
, *_args
, **_kwargs
):
969 val
= apply(gdic
.wxDC_GetDepth
,(self
,) + _args
, _kwargs
)
971 def GetPPI(self
, *_args
, **_kwargs
):
972 val
= apply(gdic
.wxDC_GetPPI
,(self
,) + _args
, _kwargs
)
973 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
975 def GetLogicalOrigin(self
, *_args
, **_kwargs
):
976 val
= apply(gdic
.wxDC_GetLogicalOrigin
,(self
,) + _args
, _kwargs
)
978 def SetLogicalOrigin(self
, *_args
, **_kwargs
):
979 val
= apply(gdic
.wxDC_SetLogicalOrigin
,(self
,) + _args
, _kwargs
)
981 def GetDeviceOrigin(self
, *_args
, **_kwargs
):
982 val
= apply(gdic
.wxDC_GetDeviceOrigin
,(self
,) + _args
, _kwargs
)
984 def SetAxisOrientation(self
, *_args
, **_kwargs
):
985 val
= apply(gdic
.wxDC_SetAxisOrientation
,(self
,) + _args
, _kwargs
)
987 def CalcBoundingBox(self
, *_args
, **_kwargs
):
988 val
= apply(gdic
.wxDC_CalcBoundingBox
,(self
,) + _args
, _kwargs
)
990 def ResetBoundingBox(self
, *_args
, **_kwargs
):
991 val
= apply(gdic
.wxDC_ResetBoundingBox
,(self
,) + _args
, _kwargs
)
993 def GetBoundingBox(self
, *_args
, **_kwargs
):
994 val
= apply(gdic
.wxDC_GetBoundingBox
,(self
,) + _args
, _kwargs
)
996 def GetHDC(self
, *_args
, **_kwargs
):
997 val
= apply(gdic
.wxDC_GetHDC
,(self
,) + _args
, _kwargs
)
999 def _DrawPointList(self
, *_args
, **_kwargs
):
1000 val
= apply(gdic
.wxDC__DrawPointList
,(self
,) + _args
, _kwargs
)
1002 def _DrawLineList(self
, *_args
, **_kwargs
):
1003 val
= apply(gdic
.wxDC__DrawLineList
,(self
,) + _args
, _kwargs
)
1006 return "<C wxDC instance at %s>" % (self
.this
,)
1008 def DrawPointList(self
, points
, pens
=None):
1011 elif isinstance(pens
, wxPenPtr
):
1013 elif len(pens
) != len(points
):
1014 raise ValueError('points and pens must have same length')
1015 return self
._DrawPointList
(points
, pens
)
1017 def DrawLineList(self
, lines
, pens
=None):
1020 elif isinstance(pens
, wxPenPtr
):
1022 elif len(pens
) != len(lines
):
1023 raise ValueError('lines and pens must have same length')
1024 return self
._DrawLineList
(lines
, pens
)
1026 class wxDC(wxDCPtr
):
1027 def __init__(self
,this
):
1033 class wxMemoryDCPtr(wxDCPtr
):
1034 def __init__(self
,this
):
1037 def SelectObject(self
, *_args
, **_kwargs
):
1038 val
= apply(gdic
.wxMemoryDC_SelectObject
,(self
,) + _args
, _kwargs
)
1041 return "<C wxMemoryDC instance at %s>" % (self
.this
,)
1042 class wxMemoryDC(wxMemoryDCPtr
):
1043 def __init__(self
,*_args
,**_kwargs
):
1044 self
.this
= apply(gdic
.new_wxMemoryDC
,_args
,_kwargs
)
1050 class wxBufferedDCPtr(wxMemoryDCPtr
):
1051 def __init__(self
,this
):
1055 return "<C wxBufferedDC instance at %s>" % (self
.this
,)
1056 class wxBufferedDC(wxBufferedDCPtr
):
1057 def __init__(self
,*_args
,**_kwargs
):
1058 self
.this
= apply(gdic
.new_wxBufferedDC
,_args
,_kwargs
)
1063 def wxBufferedDCInternalBuffer(*_args
,**_kwargs
):
1064 val
= wxBufferedDCPtr(apply(gdic
.new_wxBufferedDCInternalBuffer
,_args
,_kwargs
))
1069 class wxBufferedPaintDCPtr(wxBufferedDCPtr
):
1070 def __init__(self
,this
):
1074 return "<C wxBufferedPaintDC instance at %s>" % (self
.this
,)
1075 class wxBufferedPaintDC(wxBufferedPaintDCPtr
):
1076 def __init__(self
,*_args
,**_kwargs
):
1077 self
.this
= apply(gdic
.new_wxBufferedPaintDC
,_args
,_kwargs
)
1083 class wxScreenDCPtr(wxDCPtr
):
1084 def __init__(self
,this
):
1087 def StartDrawingOnTopWin(self
, *_args
, **_kwargs
):
1088 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopWin
,(self
,) + _args
, _kwargs
)
1090 def StartDrawingOnTop(self
, *_args
, **_kwargs
):
1091 val
= apply(gdic
.wxScreenDC_StartDrawingOnTop
,(self
,) + _args
, _kwargs
)
1093 def EndDrawingOnTop(self
, *_args
, **_kwargs
):
1094 val
= apply(gdic
.wxScreenDC_EndDrawingOnTop
,(self
,) + _args
, _kwargs
)
1097 return "<C wxScreenDC instance at %s>" % (self
.this
,)
1098 class wxScreenDC(wxScreenDCPtr
):
1099 def __init__(self
,*_args
,**_kwargs
):
1100 self
.this
= apply(gdic
.new_wxScreenDC
,_args
,_kwargs
)
1106 class wxClientDCPtr(wxDCPtr
):
1107 def __init__(self
,this
):
1111 return "<C wxClientDC instance at %s>" % (self
.this
,)
1112 class wxClientDC(wxClientDCPtr
):
1113 def __init__(self
,*_args
,**_kwargs
):
1114 self
.this
= apply(gdic
.new_wxClientDC
,_args
,_kwargs
)
1120 class wxPaintDCPtr(wxDCPtr
):
1121 def __init__(self
,this
):
1125 return "<C wxPaintDC instance at %s>" % (self
.this
,)
1126 class wxPaintDC(wxPaintDCPtr
):
1127 def __init__(self
,*_args
,**_kwargs
):
1128 self
.this
= apply(gdic
.new_wxPaintDC
,_args
,_kwargs
)
1134 class wxWindowDCPtr(wxDCPtr
):
1135 def __init__(self
,this
):
1139 return "<C wxWindowDC instance at %s>" % (self
.this
,)
1140 class wxWindowDC(wxWindowDCPtr
):
1141 def __init__(self
,*_args
,**_kwargs
):
1142 self
.this
= apply(gdic
.new_wxWindowDC
,_args
,_kwargs
)
1148 class wxMetaFilePtr(wxObjectPtr
):
1149 def __init__(self
,this
):
1152 def __del__(self
,gdic
=gdic
):
1153 if self
.thisown
== 1 :
1154 gdic
.delete_wxMetaFile(self
)
1155 def Ok(self
, *_args
, **_kwargs
):
1156 val
= apply(gdic
.wxMetaFile_Ok
,(self
,) + _args
, _kwargs
)
1158 def SetClipboard(self
, *_args
, **_kwargs
):
1159 val
= apply(gdic
.wxMetaFile_SetClipboard
,(self
,) + _args
, _kwargs
)
1161 def GetSize(self
, *_args
, **_kwargs
):
1162 val
= apply(gdic
.wxMetaFile_GetSize
,(self
,) + _args
, _kwargs
)
1163 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
1165 def GetWidth(self
, *_args
, **_kwargs
):
1166 val
= apply(gdic
.wxMetaFile_GetWidth
,(self
,) + _args
, _kwargs
)
1168 def GetHeight(self
, *_args
, **_kwargs
):
1169 val
= apply(gdic
.wxMetaFile_GetHeight
,(self
,) + _args
, _kwargs
)
1171 def GetFileName(self
, *_args
, **_kwargs
):
1172 val
= apply(gdic
.wxMetaFile_GetFileName
,(self
,) + _args
, _kwargs
)
1175 return "<C wxMetaFile instance at %s>" % (self
.this
,)
1176 class wxMetaFile(wxMetaFilePtr
):
1177 def __init__(self
,*_args
,**_kwargs
):
1178 self
.this
= apply(gdic
.new_wxMetaFile
,_args
,_kwargs
)
1184 class wxMetaFileDCPtr(wxDCPtr
):
1185 def __init__(self
,this
):
1188 def Close(self
, *_args
, **_kwargs
):
1189 val
= apply(gdic
.wxMetaFileDC_Close
,(self
,) + _args
, _kwargs
)
1190 if val
: val
= wxMetaFilePtr(val
)
1193 return "<C wxMetaFileDC instance at %s>" % (self
.this
,)
1194 class wxMetaFileDC(wxMetaFileDCPtr
):
1195 def __init__(self
,*_args
,**_kwargs
):
1196 self
.this
= apply(gdic
.new_wxMetaFileDC
,_args
,_kwargs
)
1202 class wxPalettePtr(wxGDIObjectPtr
):
1203 def __init__(self
,this
):
1206 def __del__(self
,gdic
=gdic
):
1207 if self
.thisown
== 1 :
1208 gdic
.delete_wxPalette(self
)
1209 def GetPixel(self
, *_args
, **_kwargs
):
1210 val
= apply(gdic
.wxPalette_GetPixel
,(self
,) + _args
, _kwargs
)
1212 def GetRGB(self
, *_args
, **_kwargs
):
1213 val
= apply(gdic
.wxPalette_GetRGB
,(self
,) + _args
, _kwargs
)
1215 def Ok(self
, *_args
, **_kwargs
):
1216 val
= apply(gdic
.wxPalette_Ok
,(self
,) + _args
, _kwargs
)
1219 return "<C wxPalette instance at %s>" % (self
.this
,)
1220 class wxPalette(wxPalettePtr
):
1221 def __init__(self
,*_args
,**_kwargs
):
1222 self
.this
= apply(gdic
.new_wxPalette
,_args
,_kwargs
)
1228 class wxImageListPtr(wxObjectPtr
):
1229 def __init__(self
,this
):
1232 def __del__(self
,gdic
=gdic
):
1233 if self
.thisown
== 1 :
1234 gdic
.delete_wxImageList(self
)
1235 def Add(self
, *_args
, **_kwargs
):
1236 val
= apply(gdic
.wxImageList_Add
,(self
,) + _args
, _kwargs
)
1238 def AddWithColourMask(self
, *_args
, **_kwargs
):
1239 val
= apply(gdic
.wxImageList_AddWithColourMask
,(self
,) + _args
, _kwargs
)
1241 def AddIcon(self
, *_args
, **_kwargs
):
1242 val
= apply(gdic
.wxImageList_AddIcon
,(self
,) + _args
, _kwargs
)
1244 def Replace(self
, *_args
, **_kwargs
):
1245 val
= apply(gdic
.wxImageList_Replace
,(self
,) + _args
, _kwargs
)
1247 def Draw(self
, *_args
, **_kwargs
):
1248 val
= apply(gdic
.wxImageList_Draw
,(self
,) + _args
, _kwargs
)
1250 def GetImageCount(self
, *_args
, **_kwargs
):
1251 val
= apply(gdic
.wxImageList_GetImageCount
,(self
,) + _args
, _kwargs
)
1253 def Remove(self
, *_args
, **_kwargs
):
1254 val
= apply(gdic
.wxImageList_Remove
,(self
,) + _args
, _kwargs
)
1256 def RemoveAll(self
, *_args
, **_kwargs
):
1257 val
= apply(gdic
.wxImageList_RemoveAll
,(self
,) + _args
, _kwargs
)
1259 def GetSize(self
, *_args
, **_kwargs
):
1260 val
= apply(gdic
.wxImageList_GetSize
,(self
,) + _args
, _kwargs
)
1263 return "<C wxImageList instance at %s>" % (self
.this
,)
1264 class wxImageList(wxImageListPtr
):
1265 def __init__(self
,*_args
,**_kwargs
):
1266 self
.this
= apply(gdic
.new_wxImageList
,_args
,_kwargs
)
1272 class wxRegionPtr(wxGDIObjectPtr
):
1273 def __init__(self
,this
):
1276 def __del__(self
,gdic
=gdic
):
1277 if self
.thisown
== 1 :
1278 gdic
.delete_wxRegion(self
)
1279 def Clear(self
, *_args
, **_kwargs
):
1280 val
= apply(gdic
.wxRegion_Clear
,(self
,) + _args
, _kwargs
)
1282 def Offset(self
, *_args
, **_kwargs
):
1283 val
= apply(gdic
.wxRegion_Offset
,(self
,) + _args
, _kwargs
)
1285 def Contains(self
, *_args
, **_kwargs
):
1286 val
= apply(gdic
.wxRegion_Contains
,(self
,) + _args
, _kwargs
)
1288 def ContainsPoint(self
, *_args
, **_kwargs
):
1289 val
= apply(gdic
.wxRegion_ContainsPoint
,(self
,) + _args
, _kwargs
)
1291 def ContainsRect(self
, *_args
, **_kwargs
):
1292 val
= apply(gdic
.wxRegion_ContainsRect
,(self
,) + _args
, _kwargs
)
1294 def ContainsRectDim(self
, *_args
, **_kwargs
):
1295 val
= apply(gdic
.wxRegion_ContainsRectDim
,(self
,) + _args
, _kwargs
)
1297 def GetBox(self
, *_args
, **_kwargs
):
1298 val
= apply(gdic
.wxRegion_GetBox
,(self
,) + _args
, _kwargs
)
1299 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1301 def Intersect(self
, *_args
, **_kwargs
):
1302 val
= apply(gdic
.wxRegion_Intersect
,(self
,) + _args
, _kwargs
)
1304 def IntersectRect(self
, *_args
, **_kwargs
):
1305 val
= apply(gdic
.wxRegion_IntersectRect
,(self
,) + _args
, _kwargs
)
1307 def IntersectRegion(self
, *_args
, **_kwargs
):
1308 val
= apply(gdic
.wxRegion_IntersectRegion
,(self
,) + _args
, _kwargs
)
1310 def IsEmpty(self
, *_args
, **_kwargs
):
1311 val
= apply(gdic
.wxRegion_IsEmpty
,(self
,) + _args
, _kwargs
)
1313 def Union(self
, *_args
, **_kwargs
):
1314 val
= apply(gdic
.wxRegion_Union
,(self
,) + _args
, _kwargs
)
1316 def UnionRect(self
, *_args
, **_kwargs
):
1317 val
= apply(gdic
.wxRegion_UnionRect
,(self
,) + _args
, _kwargs
)
1319 def UnionRegion(self
, *_args
, **_kwargs
):
1320 val
= apply(gdic
.wxRegion_UnionRegion
,(self
,) + _args
, _kwargs
)
1322 def Subtract(self
, *_args
, **_kwargs
):
1323 val
= apply(gdic
.wxRegion_Subtract
,(self
,) + _args
, _kwargs
)
1325 def SubtractRect(self
, *_args
, **_kwargs
):
1326 val
= apply(gdic
.wxRegion_SubtractRect
,(self
,) + _args
, _kwargs
)
1328 def SubtractRegion(self
, *_args
, **_kwargs
):
1329 val
= apply(gdic
.wxRegion_SubtractRegion
,(self
,) + _args
, _kwargs
)
1331 def Xor(self
, *_args
, **_kwargs
):
1332 val
= apply(gdic
.wxRegion_Xor
,(self
,) + _args
, _kwargs
)
1334 def XorRect(self
, *_args
, **_kwargs
):
1335 val
= apply(gdic
.wxRegion_XorRect
,(self
,) + _args
, _kwargs
)
1337 def XorRegion(self
, *_args
, **_kwargs
):
1338 val
= apply(gdic
.wxRegion_XorRegion
,(self
,) + _args
, _kwargs
)
1341 return "<C wxRegion instance at %s>" % (self
.this
,)
1342 class wxRegion(wxRegionPtr
):
1343 def __init__(self
,*_args
,**_kwargs
):
1344 self
.this
= apply(gdic
.new_wxRegion
,_args
,_kwargs
)
1350 class wxRegionIteratorPtr(wxObjectPtr
):
1351 def __init__(self
,this
):
1354 def __del__(self
,gdic
=gdic
):
1355 if self
.thisown
== 1 :
1356 gdic
.delete_wxRegionIterator(self
)
1357 def GetX(self
, *_args
, **_kwargs
):
1358 val
= apply(gdic
.wxRegionIterator_GetX
,(self
,) + _args
, _kwargs
)
1360 def GetY(self
, *_args
, **_kwargs
):
1361 val
= apply(gdic
.wxRegionIterator_GetY
,(self
,) + _args
, _kwargs
)
1363 def GetW(self
, *_args
, **_kwargs
):
1364 val
= apply(gdic
.wxRegionIterator_GetW
,(self
,) + _args
, _kwargs
)
1366 def GetWidth(self
, *_args
, **_kwargs
):
1367 val
= apply(gdic
.wxRegionIterator_GetWidth
,(self
,) + _args
, _kwargs
)
1369 def GetH(self
, *_args
, **_kwargs
):
1370 val
= apply(gdic
.wxRegionIterator_GetH
,(self
,) + _args
, _kwargs
)
1372 def GetHeight(self
, *_args
, **_kwargs
):
1373 val
= apply(gdic
.wxRegionIterator_GetHeight
,(self
,) + _args
, _kwargs
)
1375 def GetRect(self
, *_args
, **_kwargs
):
1376 val
= apply(gdic
.wxRegionIterator_GetRect
,(self
,) + _args
, _kwargs
)
1377 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1379 def HaveRects(self
, *_args
, **_kwargs
):
1380 val
= apply(gdic
.wxRegionIterator_HaveRects
,(self
,) + _args
, _kwargs
)
1382 def Reset(self
, *_args
, **_kwargs
):
1383 val
= apply(gdic
.wxRegionIterator_Reset
,(self
,) + _args
, _kwargs
)
1385 def Next(self
, *_args
, **_kwargs
):
1386 val
= apply(gdic
.wxRegionIterator_Next
,(self
,) + _args
, _kwargs
)
1389 return "<C wxRegionIterator instance at %s>" % (self
.this
,)
1390 class wxRegionIterator(wxRegionIteratorPtr
):
1391 def __init__(self
,*_args
,**_kwargs
):
1392 self
.this
= apply(gdic
.new_wxRegionIterator
,_args
,_kwargs
)
1400 #-------------- FUNCTION WRAPPERS ------------------
1402 def wxEmptyBitmap(*_args
, **_kwargs
):
1403 val
= apply(gdic
.wxEmptyBitmap
,_args
,_kwargs
)
1404 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1407 def wxBitmapFromXPMData(*_args
, **_kwargs
):
1408 val
= apply(gdic
.wxBitmapFromXPMData
,_args
,_kwargs
)
1409 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1412 def wxBitmapFromIcon(*_args
, **_kwargs
):
1413 val
= apply(gdic
.wxBitmapFromIcon
,_args
,_kwargs
)
1414 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1417 def wxBitmapFromBits(*_args
, **_kwargs
):
1418 val
= apply(gdic
.wxBitmapFromBits
,_args
,_kwargs
)
1419 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
1422 def wxMaskColour(*_args
, **_kwargs
):
1423 val
= apply(gdic
.wxMaskColour
,_args
,_kwargs
)
1424 if val
: val
= wxMaskPtr(val
); val
.thisown
= 1
1427 def wxEmptyIcon(*_args
, **_kwargs
):
1428 val
= apply(gdic
.wxEmptyIcon
,_args
,_kwargs
)
1429 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1432 def wxIconFromXPMData(*_args
, **_kwargs
):
1433 val
= apply(gdic
.wxIconFromXPMData
,_args
,_kwargs
)
1434 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1437 def wxIconFromBitmap(*_args
, **_kwargs
):
1438 val
= apply(gdic
.wxIconFromBitmap
,_args
,_kwargs
)
1439 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
1442 def wxStockCursor(*_args
, **_kwargs
):
1443 val
= apply(gdic
.wxStockCursor
,_args
,_kwargs
)
1444 if val
: val
= wxCursorPtr(val
); val
.thisown
= 1
1447 def wxNamedColour(*_args
, **_kwargs
):
1448 val
= apply(gdic
.wxNamedColour
,_args
,_kwargs
)
1449 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
1452 def wxMemoryDCFromDC(*_args
, **_kwargs
):
1453 val
= apply(gdic
.wxMemoryDCFromDC
,_args
,_kwargs
)
1454 if val
: val
= wxMemoryDCPtr(val
); val
.thisown
= 1
1457 wxFontMapper_GetEncodingName
= gdic
.wxFontMapper_GetEncodingName
1459 wxFontMapper_GetEncodingDescription
= gdic
.wxFontMapper_GetEncodingDescription
1461 wxFontMapper_GetDefaultConfigPath
= gdic
.wxFontMapper_GetDefaultConfigPath
1463 wxFont_GetDefaultEncoding
= gdic
.wxFont_GetDefaultEncoding
1465 wxFont_SetDefaultEncoding
= gdic
.wxFont_SetDefaultEncoding
1469 #-------------- VARIABLE WRAPPERS ------------------
1471 wxFONTFAMILY_DEFAULT
= gdic
.wxFONTFAMILY_DEFAULT
1472 wxFONTFAMILY_DECORATIVE
= gdic
.wxFONTFAMILY_DECORATIVE
1473 wxFONTFAMILY_ROMAN
= gdic
.wxFONTFAMILY_ROMAN
1474 wxFONTFAMILY_SCRIPT
= gdic
.wxFONTFAMILY_SCRIPT
1475 wxFONTFAMILY_SWISS
= gdic
.wxFONTFAMILY_SWISS
1476 wxFONTFAMILY_MODERN
= gdic
.wxFONTFAMILY_MODERN
1477 wxFONTFAMILY_TELETYPE
= gdic
.wxFONTFAMILY_TELETYPE
1478 wxFONTFAMILY_MAX
= gdic
.wxFONTFAMILY_MAX
1479 wxFONTFAMILY_UNKNOWN
= gdic
.wxFONTFAMILY_UNKNOWN
1480 wxFONTSTYLE_NORMAL
= gdic
.wxFONTSTYLE_NORMAL
1481 wxFONTSTYLE_ITALIC
= gdic
.wxFONTSTYLE_ITALIC
1482 wxFONTSTYLE_SLANT
= gdic
.wxFONTSTYLE_SLANT
1483 wxFONTSTYLE_MAX
= gdic
.wxFONTSTYLE_MAX
1484 wxFONTWEIGHT_NORMAL
= gdic
.wxFONTWEIGHT_NORMAL
1485 wxFONTWEIGHT_LIGHT
= gdic
.wxFONTWEIGHT_LIGHT
1486 wxFONTWEIGHT_BOLD
= gdic
.wxFONTWEIGHT_BOLD
1487 wxFONTWEIGHT_MAX
= gdic
.wxFONTWEIGHT_MAX
1488 wxFONTENCODING_SYSTEM
= gdic
.wxFONTENCODING_SYSTEM
1489 wxFONTENCODING_DEFAULT
= gdic
.wxFONTENCODING_DEFAULT
1490 wxFONTENCODING_ISO8859_1
= gdic
.wxFONTENCODING_ISO8859_1
1491 wxFONTENCODING_ISO8859_2
= gdic
.wxFONTENCODING_ISO8859_2
1492 wxFONTENCODING_ISO8859_3
= gdic
.wxFONTENCODING_ISO8859_3
1493 wxFONTENCODING_ISO8859_4
= gdic
.wxFONTENCODING_ISO8859_4
1494 wxFONTENCODING_ISO8859_5
= gdic
.wxFONTENCODING_ISO8859_5
1495 wxFONTENCODING_ISO8859_6
= gdic
.wxFONTENCODING_ISO8859_6
1496 wxFONTENCODING_ISO8859_7
= gdic
.wxFONTENCODING_ISO8859_7
1497 wxFONTENCODING_ISO8859_8
= gdic
.wxFONTENCODING_ISO8859_8
1498 wxFONTENCODING_ISO8859_9
= gdic
.wxFONTENCODING_ISO8859_9
1499 wxFONTENCODING_ISO8859_10
= gdic
.wxFONTENCODING_ISO8859_10
1500 wxFONTENCODING_ISO8859_11
= gdic
.wxFONTENCODING_ISO8859_11
1501 wxFONTENCODING_ISO8859_12
= gdic
.wxFONTENCODING_ISO8859_12
1502 wxFONTENCODING_ISO8859_13
= gdic
.wxFONTENCODING_ISO8859_13
1503 wxFONTENCODING_ISO8859_14
= gdic
.wxFONTENCODING_ISO8859_14
1504 wxFONTENCODING_ISO8859_15
= gdic
.wxFONTENCODING_ISO8859_15
1505 wxFONTENCODING_ISO8859_MAX
= gdic
.wxFONTENCODING_ISO8859_MAX
1506 wxFONTENCODING_KOI8
= gdic
.wxFONTENCODING_KOI8
1507 wxFONTENCODING_ALTERNATIVE
= gdic
.wxFONTENCODING_ALTERNATIVE
1508 wxFONTENCODING_BULGARIAN
= gdic
.wxFONTENCODING_BULGARIAN
1509 wxFONTENCODING_CP437
= gdic
.wxFONTENCODING_CP437
1510 wxFONTENCODING_CP850
= gdic
.wxFONTENCODING_CP850
1511 wxFONTENCODING_CP852
= gdic
.wxFONTENCODING_CP852
1512 wxFONTENCODING_CP855
= gdic
.wxFONTENCODING_CP855
1513 wxFONTENCODING_CP866
= gdic
.wxFONTENCODING_CP866
1514 wxFONTENCODING_CP874
= gdic
.wxFONTENCODING_CP874
1515 wxFONTENCODING_CP932
= gdic
.wxFONTENCODING_CP932
1516 wxFONTENCODING_CP936
= gdic
.wxFONTENCODING_CP936
1517 wxFONTENCODING_CP949
= gdic
.wxFONTENCODING_CP949
1518 wxFONTENCODING_CP950
= gdic
.wxFONTENCODING_CP950
1519 wxFONTENCODING_CP1250
= gdic
.wxFONTENCODING_CP1250
1520 wxFONTENCODING_CP1251
= gdic
.wxFONTENCODING_CP1251
1521 wxFONTENCODING_CP1252
= gdic
.wxFONTENCODING_CP1252
1522 wxFONTENCODING_CP1253
= gdic
.wxFONTENCODING_CP1253
1523 wxFONTENCODING_CP1254
= gdic
.wxFONTENCODING_CP1254
1524 wxFONTENCODING_CP1255
= gdic
.wxFONTENCODING_CP1255
1525 wxFONTENCODING_CP1256
= gdic
.wxFONTENCODING_CP1256
1526 wxFONTENCODING_CP1257
= gdic
.wxFONTENCODING_CP1257
1527 wxFONTENCODING_CP12_MAX
= gdic
.wxFONTENCODING_CP12_MAX
1528 wxFONTENCODING_UTF7
= gdic
.wxFONTENCODING_UTF7
1529 wxFONTENCODING_UTF8
= gdic
.wxFONTENCODING_UTF8
1530 wxFONTENCODING_UNICODE
= gdic
.wxFONTENCODING_UNICODE
1531 wxFONTENCODING_MAX
= gdic
.wxFONTENCODING_MAX
1532 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
1533 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
1534 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
1535 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
1536 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
1537 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
1538 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE
1539 wxOutRegion
= gdic
.wxOutRegion
1540 wxPartRegion
= gdic
.wxPartRegion
1541 wxInRegion
= gdic
.wxInRegion
1543 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
1544 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
1545 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
1546 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
1547 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
1548 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
1549 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
1550 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
1551 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
1552 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
1553 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
1554 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
1555 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
1556 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
1557 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
1558 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
1559 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
1560 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
1561 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
1562 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
1563 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
1564 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
1565 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
1566 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
1567 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
1568 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
1569 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
1570 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
1571 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
1572 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
1573 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
1574 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
1575 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
1576 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
1577 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
1578 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
1579 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
1580 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
1581 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
1582 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
1583 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
1584 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
1585 wxTheFontList
= wxFontListPtr(gdic
.cvar
.wxTheFontList
)
1586 wxThePenList
= wxPenListPtr(gdic
.cvar
.wxThePenList
)
1587 wxTheBrushList
= wxBrushListPtr(gdic
.cvar
.wxTheBrushList
)
1588 wxTheColourDatabase
= wxColourDatabasePtr(gdic
.cvar
.wxTheColourDatabase
)