1 # This file was created automatically by SWIG.
6 def __init__(self
,this
):
9 def __del__(self
,gdic
=gdic
):
10 if self
.thisown
== 1 :
11 gdic
.delete_wxBitmap(self
)
12 def GetPalette(self
, *_args
, **_kwargs
):
13 val
= apply(gdic
.wxBitmap_GetPalette
,(self
,) + _args
, _kwargs
)
14 if val
: val
= wxPalettePtr(val
)
16 def GetMask(self
, *_args
, **_kwargs
):
17 val
= apply(gdic
.wxBitmap_GetMask
,(self
,) + _args
, _kwargs
)
18 if val
: val
= wxMaskPtr(val
)
20 def LoadFile(self
, *_args
, **_kwargs
):
21 val
= apply(gdic
.wxBitmap_LoadFile
,(self
,) + _args
, _kwargs
)
23 def SaveFile(self
, *_args
, **_kwargs
):
24 val
= apply(gdic
.wxBitmap_SaveFile
,(self
,) + _args
, _kwargs
)
26 def SetMask(self
, *_args
, **_kwargs
):
27 val
= apply(gdic
.wxBitmap_SetMask
,(self
,) + _args
, _kwargs
)
29 def Ok(self
, *_args
, **_kwargs
):
30 val
= apply(gdic
.wxBitmap_Ok
,(self
,) + _args
, _kwargs
)
32 def GetWidth(self
, *_args
, **_kwargs
):
33 val
= apply(gdic
.wxBitmap_GetWidth
,(self
,) + _args
, _kwargs
)
35 def GetHeight(self
, *_args
, **_kwargs
):
36 val
= apply(gdic
.wxBitmap_GetHeight
,(self
,) + _args
, _kwargs
)
38 def GetDepth(self
, *_args
, **_kwargs
):
39 val
= apply(gdic
.wxBitmap_GetDepth
,(self
,) + _args
, _kwargs
)
41 def SetWidth(self
, *_args
, **_kwargs
):
42 val
= apply(gdic
.wxBitmap_SetWidth
,(self
,) + _args
, _kwargs
)
44 def SetHeight(self
, *_args
, **_kwargs
):
45 val
= apply(gdic
.wxBitmap_SetHeight
,(self
,) + _args
, _kwargs
)
47 def SetDepth(self
, *_args
, **_kwargs
):
48 val
= apply(gdic
.wxBitmap_SetDepth
,(self
,) + _args
, _kwargs
)
51 return "<C wxBitmap instance at %s>" % (self
.this
,)
52 class wxBitmap(wxBitmapPtr
):
53 def __init__(self
,*_args
,**_kwargs
):
54 self
.this
= apply(gdic
.new_wxBitmap
,_args
,_kwargs
)
61 def __init__(self
,this
):
65 return "<C wxMask instance at %s>" % (self
.this
,)
66 class wxMask(wxMaskPtr
):
67 def __init__(self
,*_args
,**_kwargs
):
68 self
.this
= apply(gdic
.new_wxMask
,_args
,_kwargs
)
75 def __init__(self
,this
):
78 def __del__(self
,gdic
=gdic
):
79 if self
.thisown
== 1 :
80 gdic
.delete_wxIcon(self
)
81 def LoadFile(self
, *_args
, **_kwargs
):
82 val
= apply(gdic
.wxIcon_LoadFile
,(self
,) + _args
, _kwargs
)
84 def Ok(self
, *_args
, **_kwargs
):
85 val
= apply(gdic
.wxIcon_Ok
,(self
,) + _args
, _kwargs
)
87 def GetWidth(self
, *_args
, **_kwargs
):
88 val
= apply(gdic
.wxIcon_GetWidth
,(self
,) + _args
, _kwargs
)
90 def GetHeight(self
, *_args
, **_kwargs
):
91 val
= apply(gdic
.wxIcon_GetHeight
,(self
,) + _args
, _kwargs
)
93 def GetDepth(self
, *_args
, **_kwargs
):
94 val
= apply(gdic
.wxIcon_GetDepth
,(self
,) + _args
, _kwargs
)
96 def SetWidth(self
, *_args
, **_kwargs
):
97 val
= apply(gdic
.wxIcon_SetWidth
,(self
,) + _args
, _kwargs
)
99 def SetHeight(self
, *_args
, **_kwargs
):
100 val
= apply(gdic
.wxIcon_SetHeight
,(self
,) + _args
, _kwargs
)
102 def SetDepth(self
, *_args
, **_kwargs
):
103 val
= apply(gdic
.wxIcon_SetDepth
,(self
,) + _args
, _kwargs
)
106 return "<C wxIcon instance at %s>" % (self
.this
,)
107 class wxIcon(wxIconPtr
):
108 def __init__(self
,*_args
,**_kwargs
):
109 self
.this
= apply(gdic
.new_wxIcon
,_args
,_kwargs
)
116 def __init__(self
,this
):
119 def __del__(self
,gdic
=gdic
):
120 if self
.thisown
== 1 :
121 gdic
.delete_wxCursor(self
)
122 def Ok(self
, *_args
, **_kwargs
):
123 val
= apply(gdic
.wxCursor_Ok
,(self
,) + _args
, _kwargs
)
126 return "<C wxCursor instance at %s>" % (self
.this
,)
127 class wxCursor(wxCursorPtr
):
128 def __init__(self
,this
):
135 def __init__(self
,this
):
138 def Ok(self
, *_args
, **_kwargs
):
139 val
= apply(gdic
.wxFont_Ok
,(self
,) + _args
, _kwargs
)
141 def GetFaceName(self
, *_args
, **_kwargs
):
142 val
= apply(gdic
.wxFont_GetFaceName
,(self
,) + _args
, _kwargs
)
144 def GetFamily(self
, *_args
, **_kwargs
):
145 val
= apply(gdic
.wxFont_GetFamily
,(self
,) + _args
, _kwargs
)
147 def GetPointSize(self
, *_args
, **_kwargs
):
148 val
= apply(gdic
.wxFont_GetPointSize
,(self
,) + _args
, _kwargs
)
150 def GetStyle(self
, *_args
, **_kwargs
):
151 val
= apply(gdic
.wxFont_GetStyle
,(self
,) + _args
, _kwargs
)
153 def GetUnderlined(self
, *_args
, **_kwargs
):
154 val
= apply(gdic
.wxFont_GetUnderlined
,(self
,) + _args
, _kwargs
)
156 def GetWeight(self
, *_args
, **_kwargs
):
157 val
= apply(gdic
.wxFont_GetWeight
,(self
,) + _args
, _kwargs
)
159 def GetEncoding(self
, *_args
, **_kwargs
):
160 val
= apply(gdic
.wxFont_GetEncoding
,(self
,) + _args
, _kwargs
)
162 def SetFaceName(self
, *_args
, **_kwargs
):
163 val
= apply(gdic
.wxFont_SetFaceName
,(self
,) + _args
, _kwargs
)
165 def SetFamily(self
, *_args
, **_kwargs
):
166 val
= apply(gdic
.wxFont_SetFamily
,(self
,) + _args
, _kwargs
)
168 def SetPointSize(self
, *_args
, **_kwargs
):
169 val
= apply(gdic
.wxFont_SetPointSize
,(self
,) + _args
, _kwargs
)
171 def SetStyle(self
, *_args
, **_kwargs
):
172 val
= apply(gdic
.wxFont_SetStyle
,(self
,) + _args
, _kwargs
)
174 def SetUnderlined(self
, *_args
, **_kwargs
):
175 val
= apply(gdic
.wxFont_SetUnderlined
,(self
,) + _args
, _kwargs
)
177 def SetWeight(self
, *_args
, **_kwargs
):
178 val
= apply(gdic
.wxFont_SetWeight
,(self
,) + _args
, _kwargs
)
180 def SetEncoding(self
, *_args
, **_kwargs
):
181 val
= apply(gdic
.wxFont_SetEncoding
,(self
,) + _args
, _kwargs
)
183 def GetFamilyString(self
, *_args
, **_kwargs
):
184 val
= apply(gdic
.wxFont_GetFamilyString
,(self
,) + _args
, _kwargs
)
186 def GetStyleString(self
, *_args
, **_kwargs
):
187 val
= apply(gdic
.wxFont_GetStyleString
,(self
,) + _args
, _kwargs
)
189 def GetWeightString(self
, *_args
, **_kwargs
):
190 val
= apply(gdic
.wxFont_GetWeightString
,(self
,) + _args
, _kwargs
)
193 return "<C wxFont instance at %s>" % (self
.this
,)
194 class wxFont(wxFontPtr
):
195 def __init__(self
,*_args
,**_kwargs
):
196 self
.this
= apply(gdic
.new_wxFont
,_args
,_kwargs
)
203 def __init__(self
,this
):
206 def __del__(self
,gdic
=gdic
):
207 if self
.thisown
== 1 :
208 gdic
.delete_wxColour(self
)
209 def Red(self
, *_args
, **_kwargs
):
210 val
= apply(gdic
.wxColour_Red
,(self
,) + _args
, _kwargs
)
212 def Green(self
, *_args
, **_kwargs
):
213 val
= apply(gdic
.wxColour_Green
,(self
,) + _args
, _kwargs
)
215 def Blue(self
, *_args
, **_kwargs
):
216 val
= apply(gdic
.wxColour_Blue
,(self
,) + _args
, _kwargs
)
218 def Ok(self
, *_args
, **_kwargs
):
219 val
= apply(gdic
.wxColour_Ok
,(self
,) + _args
, _kwargs
)
221 def Set(self
, *_args
, **_kwargs
):
222 val
= apply(gdic
.wxColour_Set
,(self
,) + _args
, _kwargs
)
224 def Get(self
, *_args
, **_kwargs
):
225 val
= apply(gdic
.wxColour_Get
,(self
,) + _args
, _kwargs
)
228 return "<C wxColour instance at %s>" % (self
.this
,)
229 class wxColour(wxColourPtr
):
230 def __init__(self
,*_args
,**_kwargs
):
231 self
.this
= apply(gdic
.new_wxColour
,_args
,_kwargs
)
238 def __init__(self
,this
):
241 def GetCap(self
, *_args
, **_kwargs
):
242 val
= apply(gdic
.wxPen_GetCap
,(self
,) + _args
, _kwargs
)
244 def GetColour(self
, *_args
, **_kwargs
):
245 val
= apply(gdic
.wxPen_GetColour
,(self
,) + _args
, _kwargs
)
246 if val
: val
= wxColourPtr(val
)
248 def GetJoin(self
, *_args
, **_kwargs
):
249 val
= apply(gdic
.wxPen_GetJoin
,(self
,) + _args
, _kwargs
)
251 def GetStyle(self
, *_args
, **_kwargs
):
252 val
= apply(gdic
.wxPen_GetStyle
,(self
,) + _args
, _kwargs
)
254 def GetWidth(self
, *_args
, **_kwargs
):
255 val
= apply(gdic
.wxPen_GetWidth
,(self
,) + _args
, _kwargs
)
257 def Ok(self
, *_args
, **_kwargs
):
258 val
= apply(gdic
.wxPen_Ok
,(self
,) + _args
, _kwargs
)
260 def SetCap(self
, *_args
, **_kwargs
):
261 val
= apply(gdic
.wxPen_SetCap
,(self
,) + _args
, _kwargs
)
263 def SetColour(self
, *_args
, **_kwargs
):
264 val
= apply(gdic
.wxPen_SetColour
,(self
,) + _args
, _kwargs
)
266 def SetJoin(self
, *_args
, **_kwargs
):
267 val
= apply(gdic
.wxPen_SetJoin
,(self
,) + _args
, _kwargs
)
269 def SetStyle(self
, *_args
, **_kwargs
):
270 val
= apply(gdic
.wxPen_SetStyle
,(self
,) + _args
, _kwargs
)
272 def SetWidth(self
, *_args
, **_kwargs
):
273 val
= apply(gdic
.wxPen_SetWidth
,(self
,) + _args
, _kwargs
)
275 def GetDashes(self
, *_args
, **_kwargs
):
276 val
= apply(gdic
.wxPen_GetDashes
,(self
,) + _args
, _kwargs
)
278 def SetDashes(self
, *_args
, **_kwargs
):
279 val
= apply(gdic
.wxPen_SetDashes
,(self
,) + _args
, _kwargs
)
282 return "<C wxPen instance at %s>" % (self
.this
,)
283 class wxPen(wxPenPtr
):
284 def __init__(self
,*_args
,**_kwargs
):
285 self
.this
= apply(gdic
.new_wxPen
,_args
,_kwargs
)
292 def __init__(self
,this
):
295 def GetColour(self
, *_args
, **_kwargs
):
296 val
= apply(gdic
.wxBrush_GetColour
,(self
,) + _args
, _kwargs
)
297 if val
: val
= wxColourPtr(val
)
299 def GetStipple(self
, *_args
, **_kwargs
):
300 val
= apply(gdic
.wxBrush_GetStipple
,(self
,) + _args
, _kwargs
)
301 if val
: val
= wxBitmapPtr(val
)
303 def GetStyle(self
, *_args
, **_kwargs
):
304 val
= apply(gdic
.wxBrush_GetStyle
,(self
,) + _args
, _kwargs
)
306 def Ok(self
, *_args
, **_kwargs
):
307 val
= apply(gdic
.wxBrush_Ok
,(self
,) + _args
, _kwargs
)
309 def SetColour(self
, *_args
, **_kwargs
):
310 val
= apply(gdic
.wxBrush_SetColour
,(self
,) + _args
, _kwargs
)
312 def SetStipple(self
, *_args
, **_kwargs
):
313 val
= apply(gdic
.wxBrush_SetStipple
,(self
,) + _args
, _kwargs
)
315 def SetStyle(self
, *_args
, **_kwargs
):
316 val
= apply(gdic
.wxBrush_SetStyle
,(self
,) + _args
, _kwargs
)
319 return "<C wxBrush instance at %s>" % (self
.this
,)
320 class wxBrush(wxBrushPtr
):
321 def __init__(self
,*_args
,**_kwargs
):
322 self
.this
= apply(gdic
.new_wxBrush
,_args
,_kwargs
)
329 def __init__(self
,this
):
332 def __del__(self
,gdic
=gdic
):
333 if self
.thisown
== 1 :
334 gdic
.delete_wxDC(self
)
335 def BeginDrawing(self
, *_args
, **_kwargs
):
336 val
= apply(gdic
.wxDC_BeginDrawing
,(self
,) + _args
, _kwargs
)
338 def Blit(self
, *_args
, **_kwargs
):
339 val
= apply(gdic
.wxDC_Blit
,(self
,) + _args
, _kwargs
)
341 def Clear(self
, *_args
, **_kwargs
):
342 val
= apply(gdic
.wxDC_Clear
,(self
,) + _args
, _kwargs
)
344 def CrossHair(self
, *_args
, **_kwargs
):
345 val
= apply(gdic
.wxDC_CrossHair
,(self
,) + _args
, _kwargs
)
347 def DestroyClippingRegion(self
, *_args
, **_kwargs
):
348 val
= apply(gdic
.wxDC_DestroyClippingRegion
,(self
,) + _args
, _kwargs
)
350 def DeviceToLogicalX(self
, *_args
, **_kwargs
):
351 val
= apply(gdic
.wxDC_DeviceToLogicalX
,(self
,) + _args
, _kwargs
)
353 def DeviceToLogicalXRel(self
, *_args
, **_kwargs
):
354 val
= apply(gdic
.wxDC_DeviceToLogicalXRel
,(self
,) + _args
, _kwargs
)
356 def DeviceToLogicalY(self
, *_args
, **_kwargs
):
357 val
= apply(gdic
.wxDC_DeviceToLogicalY
,(self
,) + _args
, _kwargs
)
359 def DeviceToLogicalYRel(self
, *_args
, **_kwargs
):
360 val
= apply(gdic
.wxDC_DeviceToLogicalYRel
,(self
,) + _args
, _kwargs
)
362 def DrawArc(self
, *_args
, **_kwargs
):
363 val
= apply(gdic
.wxDC_DrawArc
,(self
,) + _args
, _kwargs
)
365 def DrawCircle(self
, *_args
, **_kwargs
):
366 val
= apply(gdic
.wxDC_DrawCircle
,(self
,) + _args
, _kwargs
)
368 def DrawEllipse(self
, *_args
, **_kwargs
):
369 val
= apply(gdic
.wxDC_DrawEllipse
,(self
,) + _args
, _kwargs
)
371 def DrawEllipticArc(self
, *_args
, **_kwargs
):
372 val
= apply(gdic
.wxDC_DrawEllipticArc
,(self
,) + _args
, _kwargs
)
374 def DrawIcon(self
, *_args
, **_kwargs
):
375 val
= apply(gdic
.wxDC_DrawIcon
,(self
,) + _args
, _kwargs
)
377 def DrawLine(self
, *_args
, **_kwargs
):
378 val
= apply(gdic
.wxDC_DrawLine
,(self
,) + _args
, _kwargs
)
380 def DrawLines(self
, *_args
, **_kwargs
):
381 val
= apply(gdic
.wxDC_DrawLines
,(self
,) + _args
, _kwargs
)
383 def DrawPolygon(self
, *_args
, **_kwargs
):
384 val
= apply(gdic
.wxDC_DrawPolygon
,(self
,) + _args
, _kwargs
)
386 def DrawPoint(self
, *_args
, **_kwargs
):
387 val
= apply(gdic
.wxDC_DrawPoint
,(self
,) + _args
, _kwargs
)
389 def DrawRectangle(self
, *_args
, **_kwargs
):
390 val
= apply(gdic
.wxDC_DrawRectangle
,(self
,) + _args
, _kwargs
)
392 def DrawRotatedText(self
, *_args
, **_kwargs
):
393 val
= apply(gdic
.wxDC_DrawRotatedText
,(self
,) + _args
, _kwargs
)
395 def DrawRoundedRectangle(self
, *_args
, **_kwargs
):
396 val
= apply(gdic
.wxDC_DrawRoundedRectangle
,(self
,) + _args
, _kwargs
)
398 def DrawSpline(self
, *_args
, **_kwargs
):
399 val
= apply(gdic
.wxDC_DrawSpline
,(self
,) + _args
, _kwargs
)
401 def DrawText(self
, *_args
, **_kwargs
):
402 val
= apply(gdic
.wxDC_DrawText
,(self
,) + _args
, _kwargs
)
404 def EndDoc(self
, *_args
, **_kwargs
):
405 val
= apply(gdic
.wxDC_EndDoc
,(self
,) + _args
, _kwargs
)
407 def EndDrawing(self
, *_args
, **_kwargs
):
408 val
= apply(gdic
.wxDC_EndDrawing
,(self
,) + _args
, _kwargs
)
410 def EndPage(self
, *_args
, **_kwargs
):
411 val
= apply(gdic
.wxDC_EndPage
,(self
,) + _args
, _kwargs
)
413 def FloodFill(self
, *_args
, **_kwargs
):
414 val
= apply(gdic
.wxDC_FloodFill
,(self
,) + _args
, _kwargs
)
416 def GetBackground(self
, *_args
, **_kwargs
):
417 val
= apply(gdic
.wxDC_GetBackground
,(self
,) + _args
, _kwargs
)
418 if val
: val
= wxBrushPtr(val
)
420 def GetBrush(self
, *_args
, **_kwargs
):
421 val
= apply(gdic
.wxDC_GetBrush
,(self
,) + _args
, _kwargs
)
422 if val
: val
= wxBrushPtr(val
)
424 def GetCharHeight(self
, *_args
, **_kwargs
):
425 val
= apply(gdic
.wxDC_GetCharHeight
,(self
,) + _args
, _kwargs
)
427 def GetCharWidth(self
, *_args
, **_kwargs
):
428 val
= apply(gdic
.wxDC_GetCharWidth
,(self
,) + _args
, _kwargs
)
430 def GetClippingBox(self
, *_args
, **_kwargs
):
431 val
= apply(gdic
.wxDC_GetClippingBox
,(self
,) + _args
, _kwargs
)
433 def GetFont(self
, *_args
, **_kwargs
):
434 val
= apply(gdic
.wxDC_GetFont
,(self
,) + _args
, _kwargs
)
435 if val
: val
= wxFontPtr(val
)
437 def GetLogicalFunction(self
, *_args
, **_kwargs
):
438 val
= apply(gdic
.wxDC_GetLogicalFunction
,(self
,) + _args
, _kwargs
)
440 def GetMapMode(self
, *_args
, **_kwargs
):
441 val
= apply(gdic
.wxDC_GetMapMode
,(self
,) + _args
, _kwargs
)
443 def GetOptimization(self
, *_args
, **_kwargs
):
444 val
= apply(gdic
.wxDC_GetOptimization
,(self
,) + _args
, _kwargs
)
446 def GetPen(self
, *_args
, **_kwargs
):
447 val
= apply(gdic
.wxDC_GetPen
,(self
,) + _args
, _kwargs
)
448 if val
: val
= wxPenPtr(val
)
450 def GetPixel(self
, *_args
, **_kwargs
):
451 val
= apply(gdic
.wxDC_GetPixel
,(self
,) + _args
, _kwargs
)
452 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
454 def GetSizeTuple(self
, *_args
, **_kwargs
):
455 val
= apply(gdic
.wxDC_GetSizeTuple
,(self
,) + _args
, _kwargs
)
457 def GetSize(self
, *_args
, **_kwargs
):
458 val
= apply(gdic
.wxDC_GetSize
,(self
,) + _args
, _kwargs
)
459 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
461 def GetTextBackground(self
, *_args
, **_kwargs
):
462 val
= apply(gdic
.wxDC_GetTextBackground
,(self
,) + _args
, _kwargs
)
463 if val
: val
= wxColourPtr(val
)
465 def GetTextExtent(self
, *_args
, **_kwargs
):
466 val
= apply(gdic
.wxDC_GetTextExtent
,(self
,) + _args
, _kwargs
)
468 def GetFullTextExtent(self
, *_args
, **_kwargs
):
469 val
= apply(gdic
.wxDC_GetFullTextExtent
,(self
,) + _args
, _kwargs
)
471 def GetTextForeground(self
, *_args
, **_kwargs
):
472 val
= apply(gdic
.wxDC_GetTextForeground
,(self
,) + _args
, _kwargs
)
473 if val
: val
= wxColourPtr(val
)
475 def LogicalToDeviceX(self
, *_args
, **_kwargs
):
476 val
= apply(gdic
.wxDC_LogicalToDeviceX
,(self
,) + _args
, _kwargs
)
478 def LogicalToDeviceXRel(self
, *_args
, **_kwargs
):
479 val
= apply(gdic
.wxDC_LogicalToDeviceXRel
,(self
,) + _args
, _kwargs
)
481 def LogicalToDeviceY(self
, *_args
, **_kwargs
):
482 val
= apply(gdic
.wxDC_LogicalToDeviceY
,(self
,) + _args
, _kwargs
)
484 def LogicalToDeviceYRel(self
, *_args
, **_kwargs
):
485 val
= apply(gdic
.wxDC_LogicalToDeviceYRel
,(self
,) + _args
, _kwargs
)
487 def MaxX(self
, *_args
, **_kwargs
):
488 val
= apply(gdic
.wxDC_MaxX
,(self
,) + _args
, _kwargs
)
490 def MaxY(self
, *_args
, **_kwargs
):
491 val
= apply(gdic
.wxDC_MaxY
,(self
,) + _args
, _kwargs
)
493 def MinX(self
, *_args
, **_kwargs
):
494 val
= apply(gdic
.wxDC_MinX
,(self
,) + _args
, _kwargs
)
496 def MinY(self
, *_args
, **_kwargs
):
497 val
= apply(gdic
.wxDC_MinY
,(self
,) + _args
, _kwargs
)
499 def Ok(self
, *_args
, **_kwargs
):
500 val
= apply(gdic
.wxDC_Ok
,(self
,) + _args
, _kwargs
)
502 def SetDeviceOrigin(self
, *_args
, **_kwargs
):
503 val
= apply(gdic
.wxDC_SetDeviceOrigin
,(self
,) + _args
, _kwargs
)
505 def SetBackground(self
, *_args
, **_kwargs
):
506 val
= apply(gdic
.wxDC_SetBackground
,(self
,) + _args
, _kwargs
)
508 def SetBackgroundMode(self
, *_args
, **_kwargs
):
509 val
= apply(gdic
.wxDC_SetBackgroundMode
,(self
,) + _args
, _kwargs
)
511 def SetClippingRegion(self
, *_args
, **_kwargs
):
512 val
= apply(gdic
.wxDC_SetClippingRegion
,(self
,) + _args
, _kwargs
)
514 def SetPalette(self
, *_args
, **_kwargs
):
515 val
= apply(gdic
.wxDC_SetPalette
,(self
,) + _args
, _kwargs
)
517 def SetBrush(self
, *_args
, **_kwargs
):
518 val
= apply(gdic
.wxDC_SetBrush
,(self
,) + _args
, _kwargs
)
520 def SetFont(self
, *_args
, **_kwargs
):
521 val
= apply(gdic
.wxDC_SetFont
,(self
,) + _args
, _kwargs
)
523 def SetLogicalFunction(self
, *_args
, **_kwargs
):
524 val
= apply(gdic
.wxDC_SetLogicalFunction
,(self
,) + _args
, _kwargs
)
526 def SetMapMode(self
, *_args
, **_kwargs
):
527 val
= apply(gdic
.wxDC_SetMapMode
,(self
,) + _args
, _kwargs
)
529 def SetOptimization(self
, *_args
, **_kwargs
):
530 val
= apply(gdic
.wxDC_SetOptimization
,(self
,) + _args
, _kwargs
)
532 def SetPen(self
, *_args
, **_kwargs
):
533 val
= apply(gdic
.wxDC_SetPen
,(self
,) + _args
, _kwargs
)
535 def SetTextBackground(self
, *_args
, **_kwargs
):
536 val
= apply(gdic
.wxDC_SetTextBackground
,(self
,) + _args
, _kwargs
)
538 def SetTextForeground(self
, *_args
, **_kwargs
):
539 val
= apply(gdic
.wxDC_SetTextForeground
,(self
,) + _args
, _kwargs
)
541 def SetUserScale(self
, *_args
, **_kwargs
):
542 val
= apply(gdic
.wxDC_SetUserScale
,(self
,) + _args
, _kwargs
)
544 def StartDoc(self
, *_args
, **_kwargs
):
545 val
= apply(gdic
.wxDC_StartDoc
,(self
,) + _args
, _kwargs
)
547 def StartPage(self
, *_args
, **_kwargs
):
548 val
= apply(gdic
.wxDC_StartPage
,(self
,) + _args
, _kwargs
)
550 def DrawBitmap(self
, *_args
, **_kwargs
):
551 val
= apply(gdic
.wxDC_DrawBitmap
,(self
,) + _args
, _kwargs
)
554 return "<C wxDC instance at %s>" % (self
.this
,)
556 def __init__(self
,this
):
562 class wxMemoryDCPtr(wxDCPtr
):
563 def __init__(self
,this
):
566 def SelectObject(self
, *_args
, **_kwargs
):
567 val
= apply(gdic
.wxMemoryDC_SelectObject
,(self
,) + _args
, _kwargs
)
570 return "<C wxMemoryDC instance at %s>" % (self
.this
,)
571 class wxMemoryDC(wxMemoryDCPtr
):
572 def __init__(self
,*_args
,**_kwargs
):
573 self
.this
= apply(gdic
.new_wxMemoryDC
,_args
,_kwargs
)
579 class wxScreenDCPtr(wxDCPtr
):
580 def __init__(self
,this
):
583 def StartDrawingOnTop(self
, *_args
, **_kwargs
):
584 val
= apply(gdic
.wxScreenDC_StartDrawingOnTop
,(self
,) + _args
, _kwargs
)
586 def StartDrawingOnTopRect(self
, *_args
, **_kwargs
):
587 val
= apply(gdic
.wxScreenDC_StartDrawingOnTopRect
,(self
,) + _args
, _kwargs
)
589 def EndDrawingOnTop(self
, *_args
, **_kwargs
):
590 val
= apply(gdic
.wxScreenDC_EndDrawingOnTop
,(self
,) + _args
, _kwargs
)
593 return "<C wxScreenDC instance at %s>" % (self
.this
,)
594 class wxScreenDC(wxScreenDCPtr
):
595 def __init__(self
,*_args
,**_kwargs
):
596 self
.this
= apply(gdic
.new_wxScreenDC
,_args
,_kwargs
)
602 class wxClientDCPtr(wxDCPtr
):
603 def __init__(self
,this
):
607 return "<C wxClientDC instance at %s>" % (self
.this
,)
608 class wxClientDC(wxClientDCPtr
):
609 def __init__(self
,*_args
,**_kwargs
):
610 self
.this
= apply(gdic
.new_wxClientDC
,_args
,_kwargs
)
616 class wxPaintDCPtr(wxDCPtr
):
617 def __init__(self
,this
):
621 return "<C wxPaintDC instance at %s>" % (self
.this
,)
622 class wxPaintDC(wxPaintDCPtr
):
623 def __init__(self
,*_args
,**_kwargs
):
624 self
.this
= apply(gdic
.new_wxPaintDC
,_args
,_kwargs
)
630 class wxWindowDCPtr(wxDCPtr
):
631 def __init__(self
,this
):
635 return "<C wxWindowDC instance at %s>" % (self
.this
,)
636 class wxWindowDC(wxWindowDCPtr
):
637 def __init__(self
,*_args
,**_kwargs
):
638 self
.this
= apply(gdic
.new_wxWindowDC
,_args
,_kwargs
)
644 class wxPostScriptDCPtr(wxDCPtr
):
645 def __init__(self
,this
):
649 return "<C wxPostScriptDC instance at %s>" % (self
.this
,)
650 class wxPostScriptDC(wxPostScriptDCPtr
):
651 def __init__(self
,*_args
,**_kwargs
):
652 self
.this
= apply(gdic
.new_wxPostScriptDC
,_args
,_kwargs
)
659 def __init__(self
,this
):
662 def __del__(self
,gdic
=gdic
):
663 if self
.thisown
== 1 :
664 gdic
.delete_wxPalette(self
)
665 def GetPixel(self
, *_args
, **_kwargs
):
666 val
= apply(gdic
.wxPalette_GetPixel
,(self
,) + _args
, _kwargs
)
668 def GetRGB(self
, *_args
, **_kwargs
):
669 val
= apply(gdic
.wxPalette_GetRGB
,(self
,) + _args
, _kwargs
)
671 def Ok(self
, *_args
, **_kwargs
):
672 val
= apply(gdic
.wxPalette_Ok
,(self
,) + _args
, _kwargs
)
675 return "<C wxPalette instance at %s>" % (self
.this
,)
676 class wxPalette(wxPalettePtr
):
677 def __init__(self
,*_args
,**_kwargs
):
678 self
.this
= apply(gdic
.new_wxPalette
,_args
,_kwargs
)
684 class wxImageListPtr
:
685 def __init__(self
,this
):
688 def __del__(self
,gdic
=gdic
):
689 if self
.thisown
== 1 :
690 gdic
.delete_wxImageList(self
)
691 def Add(self
, *_args
, **_kwargs
):
692 val
= apply(gdic
.wxImageList_Add
,(self
,) + _args
, _kwargs
)
694 def Replace(self
, *_args
, **_kwargs
):
695 val
= apply(gdic
.wxImageList_Replace
,(self
,) + _args
, _kwargs
)
697 def Draw(self
, *_args
, **_kwargs
):
698 val
= apply(gdic
.wxImageList_Draw
,(self
,) + _args
, _kwargs
)
700 def GetImageCount(self
, *_args
, **_kwargs
):
701 val
= apply(gdic
.wxImageList_GetImageCount
,(self
,) + _args
, _kwargs
)
703 def Remove(self
, *_args
, **_kwargs
):
704 val
= apply(gdic
.wxImageList_Remove
,(self
,) + _args
, _kwargs
)
706 def RemoveAll(self
, *_args
, **_kwargs
):
707 val
= apply(gdic
.wxImageList_RemoveAll
,(self
,) + _args
, _kwargs
)
710 return "<C wxImageList instance at %s>" % (self
.this
,)
711 class wxImageList(wxImageListPtr
):
712 def __init__(self
,*_args
,**_kwargs
):
713 self
.this
= apply(gdic
.new_wxImageList
,_args
,_kwargs
)
721 #-------------- FUNCTION WRAPPERS ------------------
723 def wxEmptyBitmap(*_args
, **_kwargs
):
724 val
= apply(gdic
.wxEmptyBitmap
,_args
,_kwargs
)
725 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
728 def wxMaskColour(*_args
, **_kwargs
):
729 val
= apply(gdic
.wxMaskColour
,_args
,_kwargs
)
730 if val
: val
= wxMaskPtr(val
); val
.thisown
= 1
733 def wxStockCursor(*_args
, **_kwargs
):
734 val
= apply(gdic
.wxStockCursor
,_args
,_kwargs
)
735 if val
: val
= wxCursorPtr(val
); val
.thisown
= 1
738 wxFont_GetDefaultEncoding
= gdic
.wxFont_GetDefaultEncoding
740 wxFont_SetDefaultEncoding
= gdic
.wxFont_SetDefaultEncoding
742 def wxNamedColour(*_args
, **_kwargs
):
743 val
= apply(gdic
.wxNamedColour
,_args
,_kwargs
)
744 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
747 def wxMemoryDCFromDC(*_args
, **_kwargs
):
748 val
= apply(gdic
.wxMemoryDCFromDC
,_args
,_kwargs
)
749 if val
: val
= wxMemoryDCPtr(val
); val
.thisown
= 1
754 #-------------- VARIABLE WRAPPERS ------------------
756 wxFONTENCODING_SYSTEM
= gdic
.wxFONTENCODING_SYSTEM
757 wxFONTENCODING_DEFAULT
= gdic
.wxFONTENCODING_DEFAULT
758 wxFONTENCODING_ISO8859_1
= gdic
.wxFONTENCODING_ISO8859_1
759 wxFONTENCODING_ISO8859_2
= gdic
.wxFONTENCODING_ISO8859_2
760 wxFONTENCODING_ISO8859_3
= gdic
.wxFONTENCODING_ISO8859_3
761 wxFONTENCODING_ISO8859_4
= gdic
.wxFONTENCODING_ISO8859_4
762 wxFONTENCODING_ISO8859_5
= gdic
.wxFONTENCODING_ISO8859_5
763 wxFONTENCODING_ISO8859_6
= gdic
.wxFONTENCODING_ISO8859_6
764 wxFONTENCODING_ISO8859_7
= gdic
.wxFONTENCODING_ISO8859_7
765 wxFONTENCODING_ISO8859_8
= gdic
.wxFONTENCODING_ISO8859_8
766 wxFONTENCODING_ISO8859_9
= gdic
.wxFONTENCODING_ISO8859_9
767 wxFONTENCODING_ISO8859_10
= gdic
.wxFONTENCODING_ISO8859_10
768 wxFONTENCODING_ISO8859_11
= gdic
.wxFONTENCODING_ISO8859_11
769 wxFONTENCODING_ISO8859_12
= gdic
.wxFONTENCODING_ISO8859_12
770 wxFONTENCODING_ISO8859_13
= gdic
.wxFONTENCODING_ISO8859_13
771 wxFONTENCODING_ISO8859_14
= gdic
.wxFONTENCODING_ISO8859_14
772 wxFONTENCODING_ISO8859_15
= gdic
.wxFONTENCODING_ISO8859_15
773 wxFONTENCODING_KOI8
= gdic
.wxFONTENCODING_KOI8
774 wxFONTENCODING_ALTERNATIVE
= gdic
.wxFONTENCODING_ALTERNATIVE
775 wxFONTENCODING_BULGARIAN
= gdic
.wxFONTENCODING_BULGARIAN
776 wxFONTENCODING_CP437
= gdic
.wxFONTENCODING_CP437
777 wxFONTENCODING_CP850
= gdic
.wxFONTENCODING_CP850
778 wxFONTENCODING_CP852
= gdic
.wxFONTENCODING_CP852
779 wxFONTENCODING_CP855
= gdic
.wxFONTENCODING_CP855
780 wxFONTENCODING_CP866
= gdic
.wxFONTENCODING_CP866
781 wxFONTENCODING_CP1250
= gdic
.wxFONTENCODING_CP1250
782 wxFONTENCODING_CP1251
= gdic
.wxFONTENCODING_CP1251
783 wxFONTENCODING_CP1252
= gdic
.wxFONTENCODING_CP1252
784 wxFONTENCODING_MAX
= gdic
.wxFONTENCODING_MAX
786 wxNORMAL_FONT
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
)
787 wxSMALL_FONT
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
)
788 wxITALIC_FONT
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
)
789 wxSWISS_FONT
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
)
790 wxRED_PEN
= wxPenPtr(gdic
.cvar
.wxRED_PEN
)
791 wxCYAN_PEN
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
)
792 wxGREEN_PEN
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
)
793 wxBLACK_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
)
794 wxWHITE_PEN
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
)
795 wxTRANSPARENT_PEN
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
)
796 wxBLACK_DASHED_PEN
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
)
797 wxGREY_PEN
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
)
798 wxMEDIUM_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
)
799 wxLIGHT_GREY_PEN
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
)
800 wxBLUE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
)
801 wxGREEN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
)
802 wxWHITE_BRUSH
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
)
803 wxBLACK_BRUSH
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
)
804 wxTRANSPARENT_BRUSH
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
)
805 wxCYAN_BRUSH
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
)
806 wxRED_BRUSH
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
)
807 wxGREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
)
808 wxMEDIUM_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
)
809 wxLIGHT_GREY_BRUSH
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
)
810 wxBLACK
= wxColourPtr(gdic
.cvar
.wxBLACK
)
811 wxWHITE
= wxColourPtr(gdic
.cvar
.wxWHITE
)
812 wxRED
= wxColourPtr(gdic
.cvar
.wxRED
)
813 wxBLUE
= wxColourPtr(gdic
.cvar
.wxBLUE
)
814 wxGREEN
= wxColourPtr(gdic
.cvar
.wxGREEN
)
815 wxCYAN
= wxColourPtr(gdic
.cvar
.wxCYAN
)
816 wxLIGHT_GREY
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
)
817 wxSTANDARD_CURSOR
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
)
818 wxHOURGLASS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
)
819 wxCROSS_CURSOR
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
)
820 wxNullBitmap
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
)
821 wxNullIcon
= wxIconPtr(gdic
.cvar
.wxNullIcon
)
822 wxNullCursor
= wxCursorPtr(gdic
.cvar
.wxNullCursor
)
823 wxNullPen
= wxPenPtr(gdic
.cvar
.wxNullPen
)
824 wxNullBrush
= wxBrushPtr(gdic
.cvar
.wxNullBrush
)
825 wxNullPalette
= wxPalettePtr(gdic
.cvar
.wxNullPalette
)
826 wxNullFont
= wxFontPtr(gdic
.cvar
.wxNullFont
)
827 wxNullColour
= wxColourPtr(gdic
.cvar
.wxNullColour
)
828 wxIMAGELIST_DRAW_NORMAL
= gdic
.wxIMAGELIST_DRAW_NORMAL
829 wxIMAGELIST_DRAW_TRANSPARENT
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
830 wxIMAGELIST_DRAW_SELECTED
= gdic
.wxIMAGELIST_DRAW_SELECTED
831 wxIMAGELIST_DRAW_FOCUSED
= gdic
.wxIMAGELIST_DRAW_FOCUSED
832 wxIMAGE_LIST_NORMAL
= gdic
.wxIMAGE_LIST_NORMAL
833 wxIMAGE_LIST_SMALL
= gdic
.wxIMAGE_LIST_SMALL
834 wxIMAGE_LIST_STATE
= gdic
.wxIMAGE_LIST_STATE