1 # This file was created automatically by SWIG. 
   8 class wxGDIObjectPtr(wxObjectPtr
): 
   9     def __init__(self
,this
): 
  12     def __del__(self
, delfunc
=gdic
.delete_wxGDIObject
): 
  18     def GetVisible(self
, *_args
, **_kwargs
): 
  19         val 
= gdic
.wxGDIObject_GetVisible(self
, *_args
, **_kwargs
) 
  21     def SetVisible(self
, *_args
, **_kwargs
): 
  22         val 
= gdic
.wxGDIObject_SetVisible(self
, *_args
, **_kwargs
) 
  24     def IsNull(self
, *_args
, **_kwargs
): 
  25         val 
= gdic
.wxGDIObject_IsNull(self
, *_args
, **_kwargs
) 
  28         return "<%s.%s instance; proxy of C++ wxGDIObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
  29 class wxGDIObject(wxGDIObjectPtr
): 
  30     def __init__(self
,*_args
,**_kwargs
): 
  31         self
.this 
= gdic
.new_wxGDIObject(*_args
,**_kwargs
) 
  37 class wxBitmapPtr(wxGDIObjectPtr
): 
  38     def __init__(self
,this
): 
  41     def __del__(self
, delfunc
=gdic
.delete_wxBitmap
): 
  47     def GetPalette(self
, *_args
, **_kwargs
): 
  48         val 
= gdic
.wxBitmap_GetPalette(self
, *_args
, **_kwargs
) 
  49         if val
: val 
= wxPalettePtr(val
)  
  51     def GetMask(self
, *_args
, **_kwargs
): 
  52         val 
= gdic
.wxBitmap_GetMask(self
, *_args
, **_kwargs
) 
  53         if val
: val 
= wxMaskPtr(val
)  
  55     def LoadFile(self
, *_args
, **_kwargs
): 
  56         val 
= gdic
.wxBitmap_LoadFile(self
, *_args
, **_kwargs
) 
  58     def SaveFile(self
, *_args
, **_kwargs
): 
  59         val 
= gdic
.wxBitmap_SaveFile(self
, *_args
, **_kwargs
) 
  61     def SetMask(self
, *_args
, **_kwargs
): 
  62         val 
= gdic
.wxBitmap_SetMask(self
, *_args
, **_kwargs
) 
  64     def Ok(self
, *_args
, **_kwargs
): 
  65         val 
= gdic
.wxBitmap_Ok(self
, *_args
, **_kwargs
) 
  67     def GetWidth(self
, *_args
, **_kwargs
): 
  68         val 
= gdic
.wxBitmap_GetWidth(self
, *_args
, **_kwargs
) 
  70     def GetHeight(self
, *_args
, **_kwargs
): 
  71         val 
= gdic
.wxBitmap_GetHeight(self
, *_args
, **_kwargs
) 
  73     def GetDepth(self
, *_args
, **_kwargs
): 
  74         val 
= gdic
.wxBitmap_GetDepth(self
, *_args
, **_kwargs
) 
  76     def SetWidth(self
, *_args
, **_kwargs
): 
  77         val 
= gdic
.wxBitmap_SetWidth(self
, *_args
, **_kwargs
) 
  79     def SetHeight(self
, *_args
, **_kwargs
): 
  80         val 
= gdic
.wxBitmap_SetHeight(self
, *_args
, **_kwargs
) 
  82     def SetDepth(self
, *_args
, **_kwargs
): 
  83         val 
= gdic
.wxBitmap_SetDepth(self
, *_args
, **_kwargs
) 
  85     def GetSubBitmap(self
, *_args
, **_kwargs
): 
  86         val 
= gdic
.wxBitmap_GetSubBitmap(self
, *_args
, **_kwargs
) 
  87         if val
: val 
= wxBitmapPtr(val
) ; val
.thisown 
= 1 
  89     def CopyFromIcon(self
, *_args
, **_kwargs
): 
  90         val 
= gdic
.wxBitmap_CopyFromIcon(self
, *_args
, **_kwargs
) 
  93         return "<%s.%s instance; proxy of C++ wxBitmap instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
  95     def SetMaskColour(self
, colour
): 
  96         mask 
= wxMaskColour(self
, colour
) 
  99     def __nonzero__(self
): return self
.Ok() 
 100 class wxBitmap(wxBitmapPtr
): 
 101     def __init__(self
,*_args
,**_kwargs
): 
 102         self
.this 
= gdic
.new_wxBitmap(*_args
,**_kwargs
) 
 108 class wxMaskPtr(wxObjectPtr
): 
 109     def __init__(self
,this
): 
 112     def Destroy(self
, *_args
, **_kwargs
): 
 113         val 
= gdic
.wxMask_Destroy(self
, *_args
, **_kwargs
) 
 116         return "<%s.%s instance; proxy of C++ wxMask instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 117 class wxMask(wxMaskPtr
): 
 118     def __init__(self
,*_args
,**_kwargs
): 
 119         self
.this 
= gdic
.new_wxMask(*_args
,**_kwargs
) 
 125 class wxIconPtr(wxGDIObjectPtr
): 
 126     def __init__(self
,this
): 
 129     def __del__(self
, delfunc
=gdic
.delete_wxIcon
): 
 130         if self
.thisown 
== 1: 
 135     def LoadFile(self
, *_args
, **_kwargs
): 
 136         val 
= gdic
.wxIcon_LoadFile(self
, *_args
, **_kwargs
) 
 138     def Ok(self
, *_args
, **_kwargs
): 
 139         val 
= gdic
.wxIcon_Ok(self
, *_args
, **_kwargs
) 
 141     def GetWidth(self
, *_args
, **_kwargs
): 
 142         val 
= gdic
.wxIcon_GetWidth(self
, *_args
, **_kwargs
) 
 144     def GetHeight(self
, *_args
, **_kwargs
): 
 145         val 
= gdic
.wxIcon_GetHeight(self
, *_args
, **_kwargs
) 
 147     def GetDepth(self
, *_args
, **_kwargs
): 
 148         val 
= gdic
.wxIcon_GetDepth(self
, *_args
, **_kwargs
) 
 150     def SetWidth(self
, *_args
, **_kwargs
): 
 151         val 
= gdic
.wxIcon_SetWidth(self
, *_args
, **_kwargs
) 
 153     def SetHeight(self
, *_args
, **_kwargs
): 
 154         val 
= gdic
.wxIcon_SetHeight(self
, *_args
, **_kwargs
) 
 156     def SetDepth(self
, *_args
, **_kwargs
): 
 157         val 
= gdic
.wxIcon_SetDepth(self
, *_args
, **_kwargs
) 
 159     def CopyFromBitmap(self
, *_args
, **_kwargs
): 
 160         val 
= gdic
.wxIcon_CopyFromBitmap(self
, *_args
, **_kwargs
) 
 163         return "<%s.%s instance; proxy of C++ wxIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 164     def __nonzero__(self
): return self
.Ok() 
 165 class wxIcon(wxIconPtr
): 
 166     def __init__(self
,*_args
,**_kwargs
): 
 167         self
.this 
= gdic
.new_wxIcon(*_args
,**_kwargs
) 
 173 class wxIconBundlePtr 
: 
 174     def __init__(self
,this
): 
 177     def __del__(self
, delfunc
=gdic
.delete_wxIconBundle
): 
 178         if self
.thisown 
== 1: 
 183     def AddIcon(self
, *_args
, **_kwargs
): 
 184         val 
= gdic
.wxIconBundle_AddIcon(self
, *_args
, **_kwargs
) 
 186     def AddIconFromFile(self
, *_args
, **_kwargs
): 
 187         val 
= gdic
.wxIconBundle_AddIconFromFile(self
, *_args
, **_kwargs
) 
 189     def GetIcon(self
, *_args
, **_kwargs
): 
 190         val 
= gdic
.wxIconBundle_GetIcon(self
, *_args
, **_kwargs
) 
 191         if val
: val 
= wxIconPtr(val
)  
 194         return "<%s.%s instance; proxy of C++ wxIconBundle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 195 class wxIconBundle(wxIconBundlePtr
): 
 196     def __init__(self
,*_args
,**_kwargs
): 
 197         self
.this 
= gdic
.new_wxIconBundle(*_args
,**_kwargs
) 
 202 def wxIconBundleFromFile(*_args
,**_kwargs
): 
 203     val 
= wxIconBundlePtr(gdic
.new_wxIconBundleFromFile(*_args
,**_kwargs
)) 
 207 def wxIconBundleFromIcon(*_args
,**_kwargs
): 
 208     val 
= wxIconBundlePtr(gdic
.new_wxIconBundleFromIcon(*_args
,**_kwargs
)) 
 213 class wxCursorPtr(wxGDIObjectPtr
): 
 214     def __init__(self
,this
): 
 217     def __del__(self
, delfunc
=gdic
.delete_wxCursor
): 
 218         if self
.thisown 
== 1: 
 223     def Ok(self
, *_args
, **_kwargs
): 
 224         val 
= gdic
.wxCursor_Ok(self
, *_args
, **_kwargs
) 
 227         return "<%s.%s instance; proxy of C++ wxCursor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 228     def __nonzero__(self
): return self
.Ok() 
 229 class wxCursor(wxCursorPtr
): 
 230     def __init__(self
,*_args
,**_kwargs
): 
 231         self
.this 
= gdic
.new_wxCursor(*_args
,**_kwargs
) 
 237 class wxColourPtr(wxObjectPtr
): 
 238     def __init__(self
,this
): 
 241     def __del__(self
, delfunc
=gdic
.delete_wxColour
): 
 242         if self
.thisown 
== 1: 
 247     def Red(self
, *_args
, **_kwargs
): 
 248         val 
= gdic
.wxColour_Red(self
, *_args
, **_kwargs
) 
 250     def Green(self
, *_args
, **_kwargs
): 
 251         val 
= gdic
.wxColour_Green(self
, *_args
, **_kwargs
) 
 253     def Blue(self
, *_args
, **_kwargs
): 
 254         val 
= gdic
.wxColour_Blue(self
, *_args
, **_kwargs
) 
 256     def Ok(self
, *_args
, **_kwargs
): 
 257         val 
= gdic
.wxColour_Ok(self
, *_args
, **_kwargs
) 
 259     def Set(self
, *_args
, **_kwargs
): 
 260         val 
= gdic
.wxColour_Set(self
, *_args
, **_kwargs
) 
 262     def Get(self
, *_args
, **_kwargs
): 
 263         val 
= gdic
.wxColour_Get(self
, *_args
, **_kwargs
) 
 265     def __eq__(self
, *_args
, **_kwargs
): 
 266         val 
= gdic
.wxColour___eq__(self
, *_args
, **_kwargs
) 
 268     def __ne__(self
, *_args
, **_kwargs
): 
 269         val 
= gdic
.wxColour___ne__(self
, *_args
, **_kwargs
) 
 272         return "<%s.%s instance; proxy of C++ wxColour instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 274     def __str__(self
):                  return str(self
.asTuple()) 
 275     def __repr__(self
):                 return 'wxColour:' + str(self
.asTuple()) 
 276     def __nonzero__(self
):              return self
.Ok() 
 277     def __getinitargs__(self
):          return () 
 278     def __getstate__(self
):             return self
.asTuple() 
 279     def __setstate__(self
, state
):      self
.Set(*state
) 
 281 class wxColour(wxColourPtr
): 
 282     def __init__(self
,*_args
,**_kwargs
): 
 283         self
.this 
= gdic
.new_wxColour(*_args
,**_kwargs
) 
 289 class wxColourDatabasePtr(wxObjectPtr
): 
 290     def __init__(self
,this
): 
 293     def FindColour(self
, *_args
, **_kwargs
): 
 294         val 
= gdic
.wxColourDatabase_FindColour(self
, *_args
, **_kwargs
) 
 295         if val
: val 
= wxColourPtr(val
)  
 297     def FindName(self
, *_args
, **_kwargs
): 
 298         val 
= gdic
.wxColourDatabase_FindName(self
, *_args
, **_kwargs
) 
 300     def Append(self
, *_args
, **_kwargs
): 
 301         val 
= gdic
.wxColourDatabase_Append(self
, *_args
, **_kwargs
) 
 304         return "<%s.%s instance; proxy of C++ wxColourDatabase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 305 class wxColourDatabase(wxColourDatabasePtr
): 
 306     def __init__(self
,this
): 
 312 class wxPenPtr(wxGDIObjectPtr
): 
 313     def __init__(self
,this
): 
 316     def __del__(self
, delfunc
=gdic
.delete_wxPen
): 
 317         if self
.thisown 
== 1: 
 322     def GetCap(self
, *_args
, **_kwargs
): 
 323         val 
= gdic
.wxPen_GetCap(self
, *_args
, **_kwargs
) 
 325     def GetColour(self
, *_args
, **_kwargs
): 
 326         val 
= gdic
.wxPen_GetColour(self
, *_args
, **_kwargs
) 
 327         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 329     def GetJoin(self
, *_args
, **_kwargs
): 
 330         val 
= gdic
.wxPen_GetJoin(self
, *_args
, **_kwargs
) 
 332     def GetStyle(self
, *_args
, **_kwargs
): 
 333         val 
= gdic
.wxPen_GetStyle(self
, *_args
, **_kwargs
) 
 335     def GetWidth(self
, *_args
, **_kwargs
): 
 336         val 
= gdic
.wxPen_GetWidth(self
, *_args
, **_kwargs
) 
 338     def Ok(self
, *_args
, **_kwargs
): 
 339         val 
= gdic
.wxPen_Ok(self
, *_args
, **_kwargs
) 
 341     def SetCap(self
, *_args
, **_kwargs
): 
 342         val 
= gdic
.wxPen_SetCap(self
, *_args
, **_kwargs
) 
 344     def SetColour(self
, *_args
, **_kwargs
): 
 345         val 
= gdic
.wxPen_SetColour(self
, *_args
, **_kwargs
) 
 347     def SetJoin(self
, *_args
, **_kwargs
): 
 348         val 
= gdic
.wxPen_SetJoin(self
, *_args
, **_kwargs
) 
 350     def SetStyle(self
, *_args
, **_kwargs
): 
 351         val 
= gdic
.wxPen_SetStyle(self
, *_args
, **_kwargs
) 
 353     def SetWidth(self
, *_args
, **_kwargs
): 
 354         val 
= gdic
.wxPen_SetWidth(self
, *_args
, **_kwargs
) 
 356     def SetDashes(self
, *_args
, **_kwargs
): 
 357         val 
= gdic
.wxPen_SetDashes(self
, *_args
, **_kwargs
) 
 359     def GetDashes(self
, *_args
, **_kwargs
): 
 360         val 
= gdic
.wxPen_GetDashes(self
, *_args
, **_kwargs
) 
 363         return "<%s.%s instance; proxy of C++ wxPen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 364     def __nonzero__(self
): return self
.Ok() 
 365 class wxPen(wxPenPtr
): 
 366     def __init__(self
,*_args
,**_kwargs
): 
 367         self
.this 
= gdic
.new_wxPen(*_args
,**_kwargs
) 
 373 class wxPyPenPtr(wxPenPtr
): 
 374     def __init__(self
,this
): 
 377     def __del__(self
, delfunc
=gdic
.delete_wxPyPen
): 
 378         if self
.thisown 
== 1: 
 383     def SetDashes(self
, *_args
, **_kwargs
): 
 384         val 
= gdic
.wxPyPen_SetDashes(self
, *_args
, **_kwargs
) 
 387         return "<%s.%s instance; proxy of C++ wxPyPen instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 388 class wxPyPen(wxPyPenPtr
): 
 389     def __init__(self
,*_args
,**_kwargs
): 
 390         self
.this 
= gdic
.new_wxPyPen(*_args
,**_kwargs
) 
 396 class wxPenListPtr(wxObjectPtr
): 
 397     def __init__(self
,this
): 
 400     def AddPen(self
, *_args
, **_kwargs
): 
 401         val 
= gdic
.wxPenList_AddPen(self
, *_args
, **_kwargs
) 
 403     def FindOrCreatePen(self
, *_args
, **_kwargs
): 
 404         val 
= gdic
.wxPenList_FindOrCreatePen(self
, *_args
, **_kwargs
) 
 405         if val
: val 
= wxPenPtr(val
)  
 407     def RemovePen(self
, *_args
, **_kwargs
): 
 408         val 
= gdic
.wxPenList_RemovePen(self
, *_args
, **_kwargs
) 
 410     def GetCount(self
, *_args
, **_kwargs
): 
 411         val 
= gdic
.wxPenList_GetCount(self
, *_args
, **_kwargs
) 
 414         return "<%s.%s instance; proxy of C++ wxPenList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 415 class wxPenList(wxPenListPtr
): 
 416     def __init__(self
,this
): 
 422 class wxBrushPtr(wxGDIObjectPtr
): 
 423     def __init__(self
,this
): 
 426     def __del__(self
, delfunc
=gdic
.delete_wxBrush
): 
 427         if self
.thisown 
== 1: 
 432     def GetColour(self
, *_args
, **_kwargs
): 
 433         val 
= gdic
.wxBrush_GetColour(self
, *_args
, **_kwargs
) 
 434         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 436     def GetStipple(self
, *_args
, **_kwargs
): 
 437         val 
= gdic
.wxBrush_GetStipple(self
, *_args
, **_kwargs
) 
 438         if val
: val 
= wxBitmapPtr(val
)  
 440     def GetStyle(self
, *_args
, **_kwargs
): 
 441         val 
= gdic
.wxBrush_GetStyle(self
, *_args
, **_kwargs
) 
 443     def Ok(self
, *_args
, **_kwargs
): 
 444         val 
= gdic
.wxBrush_Ok(self
, *_args
, **_kwargs
) 
 446     def SetColour(self
, *_args
, **_kwargs
): 
 447         val 
= gdic
.wxBrush_SetColour(self
, *_args
, **_kwargs
) 
 449     def SetStipple(self
, *_args
, **_kwargs
): 
 450         val 
= gdic
.wxBrush_SetStipple(self
, *_args
, **_kwargs
) 
 452     def SetStyle(self
, *_args
, **_kwargs
): 
 453         val 
= gdic
.wxBrush_SetStyle(self
, *_args
, **_kwargs
) 
 456         return "<%s.%s instance; proxy of C++ wxBrush instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 457     def __nonzero__(self
): return self
.Ok() 
 458 class wxBrush(wxBrushPtr
): 
 459     def __init__(self
,*_args
,**_kwargs
): 
 460         self
.this 
= gdic
.new_wxBrush(*_args
,**_kwargs
) 
 466 class wxBrushListPtr(wxObjectPtr
): 
 467     def __init__(self
,this
): 
 470     def AddBrush(self
, *_args
, **_kwargs
): 
 471         val 
= gdic
.wxBrushList_AddBrush(self
, *_args
, **_kwargs
) 
 473     def FindOrCreateBrush(self
, *_args
, **_kwargs
): 
 474         val 
= gdic
.wxBrushList_FindOrCreateBrush(self
, *_args
, **_kwargs
) 
 475         if val
: val 
= wxBrushPtr(val
)  
 477     def RemoveBrush(self
, *_args
, **_kwargs
): 
 478         val 
= gdic
.wxBrushList_RemoveBrush(self
, *_args
, **_kwargs
) 
 480     def GetCount(self
, *_args
, **_kwargs
): 
 481         val 
= gdic
.wxBrushList_GetCount(self
, *_args
, **_kwargs
) 
 484         return "<%s.%s instance; proxy of C++ wxBrushList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 485 class wxBrushList(wxBrushListPtr
): 
 486     def __init__(self
,this
): 
 492 class wxDCPtr(wxObjectPtr
): 
 493     def __init__(self
,this
): 
 496     def __del__(self
, delfunc
=gdic
.delete_wxDC
): 
 497         if self
.thisown 
== 1: 
 502     def BeginDrawing(self
, *_args
, **_kwargs
): 
 503         val 
= gdic
.wxDC_BeginDrawing(self
, *_args
, **_kwargs
) 
 505     def Blit(self
, *_args
, **_kwargs
): 
 506         val 
= gdic
.wxDC_Blit(self
, *_args
, **_kwargs
) 
 508     def Clear(self
, *_args
, **_kwargs
): 
 509         val 
= gdic
.wxDC_Clear(self
, *_args
, **_kwargs
) 
 511     def CrossHair(self
, *_args
, **_kwargs
): 
 512         val 
= gdic
.wxDC_CrossHair(self
, *_args
, **_kwargs
) 
 514     def DestroyClippingRegion(self
, *_args
, **_kwargs
): 
 515         val 
= gdic
.wxDC_DestroyClippingRegion(self
, *_args
, **_kwargs
) 
 517     def DeviceToLogicalX(self
, *_args
, **_kwargs
): 
 518         val 
= gdic
.wxDC_DeviceToLogicalX(self
, *_args
, **_kwargs
) 
 520     def DeviceToLogicalXRel(self
, *_args
, **_kwargs
): 
 521         val 
= gdic
.wxDC_DeviceToLogicalXRel(self
, *_args
, **_kwargs
) 
 523     def DeviceToLogicalY(self
, *_args
, **_kwargs
): 
 524         val 
= gdic
.wxDC_DeviceToLogicalY(self
, *_args
, **_kwargs
) 
 526     def DeviceToLogicalYRel(self
, *_args
, **_kwargs
): 
 527         val 
= gdic
.wxDC_DeviceToLogicalYRel(self
, *_args
, **_kwargs
) 
 529     def DrawArc(self
, *_args
, **_kwargs
): 
 530         val 
= gdic
.wxDC_DrawArc(self
, *_args
, **_kwargs
) 
 532     def DrawCircle(self
, *_args
, **_kwargs
): 
 533         val 
= gdic
.wxDC_DrawCircle(self
, *_args
, **_kwargs
) 
 535     def DrawEllipse(self
, *_args
, **_kwargs
): 
 536         val 
= gdic
.wxDC_DrawEllipse(self
, *_args
, **_kwargs
) 
 538     def DrawEllipticArc(self
, *_args
, **_kwargs
): 
 539         val 
= gdic
.wxDC_DrawEllipticArc(self
, *_args
, **_kwargs
) 
 541     def DrawIcon(self
, *_args
, **_kwargs
): 
 542         val 
= gdic
.wxDC_DrawIcon(self
, *_args
, **_kwargs
) 
 544     def DrawLabel(self
, *_args
, **_kwargs
): 
 545         val 
= gdic
.wxDC_DrawLabel(self
, *_args
, **_kwargs
) 
 547     def DrawImageLabel(self
, *_args
, **_kwargs
): 
 548         val 
= gdic
.wxDC_DrawImageLabel(self
, *_args
, **_kwargs
) 
 549         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
 551     def DrawLine(self
, *_args
, **_kwargs
): 
 552         val 
= gdic
.wxDC_DrawLine(self
, *_args
, **_kwargs
) 
 554     def DrawLines(self
, *_args
, **_kwargs
): 
 555         val 
= gdic
.wxDC_DrawLines(self
, *_args
, **_kwargs
) 
 557     def DrawPolygon(self
, *_args
, **_kwargs
): 
 558         val 
= gdic
.wxDC_DrawPolygon(self
, *_args
, **_kwargs
) 
 560     def DrawPoint(self
, *_args
, **_kwargs
): 
 561         val 
= gdic
.wxDC_DrawPoint(self
, *_args
, **_kwargs
) 
 563     def DrawRectangle(self
, *_args
, **_kwargs
): 
 564         val 
= gdic
.wxDC_DrawRectangle(self
, *_args
, **_kwargs
) 
 566     def DrawRectangleRect(self
, *_args
, **_kwargs
): 
 567         val 
= gdic
.wxDC_DrawRectangleRect(self
, *_args
, **_kwargs
) 
 569     def DrawRotatedText(self
, *_args
, **_kwargs
): 
 570         val 
= gdic
.wxDC_DrawRotatedText(self
, *_args
, **_kwargs
) 
 572     def DrawRoundedRectangle(self
, *_args
, **_kwargs
): 
 573         val 
= gdic
.wxDC_DrawRoundedRectangle(self
, *_args
, **_kwargs
) 
 575     def DrawSpline(self
, *_args
, **_kwargs
): 
 576         val 
= gdic
.wxDC_DrawSpline(self
, *_args
, **_kwargs
) 
 578     def DrawText(self
, *_args
, **_kwargs
): 
 579         val 
= gdic
.wxDC_DrawText(self
, *_args
, **_kwargs
) 
 581     def EndDoc(self
, *_args
, **_kwargs
): 
 582         val 
= gdic
.wxDC_EndDoc(self
, *_args
, **_kwargs
) 
 584     def EndDrawing(self
, *_args
, **_kwargs
): 
 585         val 
= gdic
.wxDC_EndDrawing(self
, *_args
, **_kwargs
) 
 587     def EndPage(self
, *_args
, **_kwargs
): 
 588         val 
= gdic
.wxDC_EndPage(self
, *_args
, **_kwargs
) 
 590     def FloodFill(self
, *_args
, **_kwargs
): 
 591         val 
= gdic
.wxDC_FloodFill(self
, *_args
, **_kwargs
) 
 593     def GetBackground(self
, *_args
, **_kwargs
): 
 594         val 
= gdic
.wxDC_GetBackground(self
, *_args
, **_kwargs
) 
 595         if val
: val 
= wxBrushPtr(val
) ; val
.thisown 
= 1 
 597     def GetBrush(self
, *_args
, **_kwargs
): 
 598         val 
= gdic
.wxDC_GetBrush(self
, *_args
, **_kwargs
) 
 599         if val
: val 
= wxBrushPtr(val
) ; val
.thisown 
= 1 
 601     def GetCharHeight(self
, *_args
, **_kwargs
): 
 602         val 
= gdic
.wxDC_GetCharHeight(self
, *_args
, **_kwargs
) 
 604     def GetCharWidth(self
, *_args
, **_kwargs
): 
 605         val 
= gdic
.wxDC_GetCharWidth(self
, *_args
, **_kwargs
) 
 607     def GetClippingBox(self
, *_args
, **_kwargs
): 
 608         val 
= gdic
.wxDC_GetClippingBox(self
, *_args
, **_kwargs
) 
 610     def GetFont(self
, *_args
, **_kwargs
): 
 611         val 
= gdic
.wxDC_GetFont(self
, *_args
, **_kwargs
) 
 612         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
 614     def GetLogicalFunction(self
, *_args
, **_kwargs
): 
 615         val 
= gdic
.wxDC_GetLogicalFunction(self
, *_args
, **_kwargs
) 
 617     def GetLogicalScale(self
, *_args
, **_kwargs
): 
 618         val 
= gdic
.wxDC_GetLogicalScale(self
, *_args
, **_kwargs
) 
 620     def GetMapMode(self
, *_args
, **_kwargs
): 
 621         val 
= gdic
.wxDC_GetMapMode(self
, *_args
, **_kwargs
) 
 623     def GetOptimization(self
, *_args
, **_kwargs
): 
 624         val 
= gdic
.wxDC_GetOptimization(self
, *_args
, **_kwargs
) 
 626     def GetPen(self
, *_args
, **_kwargs
): 
 627         val 
= gdic
.wxDC_GetPen(self
, *_args
, **_kwargs
) 
 628         if val
: val 
= wxPenPtr(val
) ; val
.thisown 
= 1 
 630     def GetPixel(self
, *_args
, **_kwargs
): 
 631         val 
= gdic
.wxDC_GetPixel(self
, *_args
, **_kwargs
) 
 632         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 634     def GetSizeTuple(self
, *_args
, **_kwargs
): 
 635         val 
= gdic
.wxDC_GetSizeTuple(self
, *_args
, **_kwargs
) 
 637     def GetSize(self
, *_args
, **_kwargs
): 
 638         val 
= gdic
.wxDC_GetSize(self
, *_args
, **_kwargs
) 
 639         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 641     def GetSizeMM(self
, *_args
, **_kwargs
): 
 642         val 
= gdic
.wxDC_GetSizeMM(self
, *_args
, **_kwargs
) 
 643         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 645     def GetTextBackground(self
, *_args
, **_kwargs
): 
 646         val 
= gdic
.wxDC_GetTextBackground(self
, *_args
, **_kwargs
) 
 647         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 649     def GetTextExtent(self
, *_args
, **_kwargs
): 
 650         val 
= gdic
.wxDC_GetTextExtent(self
, *_args
, **_kwargs
) 
 652     def GetFullTextExtent(self
, *_args
, **_kwargs
): 
 653         val 
= gdic
.wxDC_GetFullTextExtent(self
, *_args
, **_kwargs
) 
 655     def GetMultiLineTextExtent(self
, *_args
, **_kwargs
): 
 656         val 
= gdic
.wxDC_GetMultiLineTextExtent(self
, *_args
, **_kwargs
) 
 658     def GetTextForeground(self
, *_args
, **_kwargs
): 
 659         val 
= gdic
.wxDC_GetTextForeground(self
, *_args
, **_kwargs
) 
 660         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 662     def GetUserScale(self
, *_args
, **_kwargs
): 
 663         val 
= gdic
.wxDC_GetUserScale(self
, *_args
, **_kwargs
) 
 665     def LogicalToDeviceX(self
, *_args
, **_kwargs
): 
 666         val 
= gdic
.wxDC_LogicalToDeviceX(self
, *_args
, **_kwargs
) 
 668     def LogicalToDeviceXRel(self
, *_args
, **_kwargs
): 
 669         val 
= gdic
.wxDC_LogicalToDeviceXRel(self
, *_args
, **_kwargs
) 
 671     def LogicalToDeviceY(self
, *_args
, **_kwargs
): 
 672         val 
= gdic
.wxDC_LogicalToDeviceY(self
, *_args
, **_kwargs
) 
 674     def LogicalToDeviceYRel(self
, *_args
, **_kwargs
): 
 675         val 
= gdic
.wxDC_LogicalToDeviceYRel(self
, *_args
, **_kwargs
) 
 677     def MaxX(self
, *_args
, **_kwargs
): 
 678         val 
= gdic
.wxDC_MaxX(self
, *_args
, **_kwargs
) 
 680     def MaxY(self
, *_args
, **_kwargs
): 
 681         val 
= gdic
.wxDC_MaxY(self
, *_args
, **_kwargs
) 
 683     def MinX(self
, *_args
, **_kwargs
): 
 684         val 
= gdic
.wxDC_MinX(self
, *_args
, **_kwargs
) 
 686     def MinY(self
, *_args
, **_kwargs
): 
 687         val 
= gdic
.wxDC_MinY(self
, *_args
, **_kwargs
) 
 689     def Ok(self
, *_args
, **_kwargs
): 
 690         val 
= gdic
.wxDC_Ok(self
, *_args
, **_kwargs
) 
 692     def SetDeviceOrigin(self
, *_args
, **_kwargs
): 
 693         val 
= gdic
.wxDC_SetDeviceOrigin(self
, *_args
, **_kwargs
) 
 695     def SetBackground(self
, *_args
, **_kwargs
): 
 696         val 
= gdic
.wxDC_SetBackground(self
, *_args
, **_kwargs
) 
 698     def SetBackgroundMode(self
, *_args
, **_kwargs
): 
 699         val 
= gdic
.wxDC_SetBackgroundMode(self
, *_args
, **_kwargs
) 
 701     def SetClippingRegion(self
, *_args
, **_kwargs
): 
 702         val 
= gdic
.wxDC_SetClippingRegion(self
, *_args
, **_kwargs
) 
 704     def SetClippingRegionAsRegion(self
, *_args
, **_kwargs
): 
 705         val 
= gdic
.wxDC_SetClippingRegionAsRegion(self
, *_args
, **_kwargs
) 
 707     def SetClippingRect(self
, *_args
, **_kwargs
): 
 708         val 
= gdic
.wxDC_SetClippingRect(self
, *_args
, **_kwargs
) 
 710     def SetPalette(self
, *_args
, **_kwargs
): 
 711         val 
= gdic
.wxDC_SetPalette(self
, *_args
, **_kwargs
) 
 713     def SetBrush(self
, *_args
, **_kwargs
): 
 714         val 
= gdic
.wxDC_SetBrush(self
, *_args
, **_kwargs
) 
 716     def SetFont(self
, *_args
, **_kwargs
): 
 717         val 
= gdic
.wxDC_SetFont(self
, *_args
, **_kwargs
) 
 719     def SetLogicalFunction(self
, *_args
, **_kwargs
): 
 720         val 
= gdic
.wxDC_SetLogicalFunction(self
, *_args
, **_kwargs
) 
 722     def SetLogicalScale(self
, *_args
, **_kwargs
): 
 723         val 
= gdic
.wxDC_SetLogicalScale(self
, *_args
, **_kwargs
) 
 725     def SetMapMode(self
, *_args
, **_kwargs
): 
 726         val 
= gdic
.wxDC_SetMapMode(self
, *_args
, **_kwargs
) 
 728     def SetOptimization(self
, *_args
, **_kwargs
): 
 729         val 
= gdic
.wxDC_SetOptimization(self
, *_args
, **_kwargs
) 
 731     def SetPen(self
, *_args
, **_kwargs
): 
 732         val 
= gdic
.wxDC_SetPen(self
, *_args
, **_kwargs
) 
 734     def SetTextBackground(self
, *_args
, **_kwargs
): 
 735         val 
= gdic
.wxDC_SetTextBackground(self
, *_args
, **_kwargs
) 
 737     def SetTextForeground(self
, *_args
, **_kwargs
): 
 738         val 
= gdic
.wxDC_SetTextForeground(self
, *_args
, **_kwargs
) 
 740     def SetUserScale(self
, *_args
, **_kwargs
): 
 741         val 
= gdic
.wxDC_SetUserScale(self
, *_args
, **_kwargs
) 
 743     def StartDoc(self
, *_args
, **_kwargs
): 
 744         val 
= gdic
.wxDC_StartDoc(self
, *_args
, **_kwargs
) 
 746     def StartPage(self
, *_args
, **_kwargs
): 
 747         val 
= gdic
.wxDC_StartPage(self
, *_args
, **_kwargs
) 
 749     def DrawBitmap(self
, *_args
, **_kwargs
): 
 750         val 
= gdic
.wxDC_DrawBitmap(self
, *_args
, **_kwargs
) 
 752     def CanDrawBitmap(self
, *_args
, **_kwargs
): 
 753         val 
= gdic
.wxDC_CanDrawBitmap(self
, *_args
, **_kwargs
) 
 755     def CanGetTextExtent(self
, *_args
, **_kwargs
): 
 756         val 
= gdic
.wxDC_CanGetTextExtent(self
, *_args
, **_kwargs
) 
 758     def GetDepth(self
, *_args
, **_kwargs
): 
 759         val 
= gdic
.wxDC_GetDepth(self
, *_args
, **_kwargs
) 
 761     def GetPPI(self
, *_args
, **_kwargs
): 
 762         val 
= gdic
.wxDC_GetPPI(self
, *_args
, **_kwargs
) 
 763         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 765     def GetLogicalOrigin(self
, *_args
, **_kwargs
): 
 766         val 
= gdic
.wxDC_GetLogicalOrigin(self
, *_args
, **_kwargs
) 
 768     def SetLogicalOrigin(self
, *_args
, **_kwargs
): 
 769         val 
= gdic
.wxDC_SetLogicalOrigin(self
, *_args
, **_kwargs
) 
 771     def GetDeviceOrigin(self
, *_args
, **_kwargs
): 
 772         val 
= gdic
.wxDC_GetDeviceOrigin(self
, *_args
, **_kwargs
) 
 774     def SetAxisOrientation(self
, *_args
, **_kwargs
): 
 775         val 
= gdic
.wxDC_SetAxisOrientation(self
, *_args
, **_kwargs
) 
 777     def CalcBoundingBox(self
, *_args
, **_kwargs
): 
 778         val 
= gdic
.wxDC_CalcBoundingBox(self
, *_args
, **_kwargs
) 
 780     def ResetBoundingBox(self
, *_args
, **_kwargs
): 
 781         val 
= gdic
.wxDC_ResetBoundingBox(self
, *_args
, **_kwargs
) 
 783     def GetBoundingBox(self
, *_args
, **_kwargs
): 
 784         val 
= gdic
.wxDC_GetBoundingBox(self
, *_args
, **_kwargs
) 
 786     def _DrawPointList(self
, *_args
, **_kwargs
): 
 787         val 
= gdic
.wxDC__DrawPointList(self
, *_args
, **_kwargs
) 
 789     def _DrawLineList(self
, *_args
, **_kwargs
): 
 790         val 
= gdic
.wxDC__DrawLineList(self
, *_args
, **_kwargs
) 
 792     def _DrawRectangleList(self
, *_args
, **_kwargs
): 
 793         val 
= gdic
.wxDC__DrawRectangleList(self
, *_args
, **_kwargs
) 
 795     def _DrawEllipseList(self
, *_args
, **_kwargs
): 
 796         val 
= gdic
.wxDC__DrawEllipseList(self
, *_args
, **_kwargs
) 
 798     def _DrawPolygonList(self
, *_args
, **_kwargs
): 
 799         val 
= gdic
.wxDC__DrawPolygonList(self
, *_args
, **_kwargs
) 
 801     def _DrawTextList(self
, *_args
, **_kwargs
): 
 802         val 
= gdic
.wxDC__DrawTextList(self
, *_args
, **_kwargs
) 
 805         return "<%s.%s instance; proxy of C++ wxDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 806     def __nonzero__(self
): return self
.Ok() 
 808     def DrawPointList(self
, points
, pens
=None): 
 811         elif isinstance(pens
, wxPenPtr
): 
 813         elif len(pens
) != len(points
): 
 814            raise ValueError('points and pens must have same length') 
 815         return self
._DrawPointList
(points
, pens
, []) 
 818     def DrawLineList(self
, lines
, pens
=None): 
 821         elif isinstance(pens
, wxPenPtr
): 
 823         elif len(pens
) != len(lines
): 
 824            raise ValueError('lines and pens must have same length') 
 825         return self
._DrawLineList
(lines
, pens
, []) 
 828     def DrawRectangleList(self
, rectangles
, pens
=None, brushes
=None): 
 831         elif isinstance(pens
, wxPenPtr
): 
 833         elif len(pens
) != len(rectangles
): 
 834            raise ValueError('rectangles and pens must have same length') 
 837         elif isinstance(brushes
, wxBrushPtr
): 
 839         elif len(brushes
) != len(rectangles
): 
 840            raise ValueError('rectangles and brushes must have same length') 
 841         return self
._DrawRectangleList
(rectangles
, pens
, brushes
) 
 844     def DrawEllipseList(self
, ellipses
, pens
=None, brushes
=None): 
 847         elif isinstance(pens
, wxPenPtr
): 
 849         elif len(pens
) != len(ellipses
): 
 850            raise ValueError('ellipses and pens must have same length') 
 853         elif isinstance(brushes
, wxBrushPtr
): 
 855         elif len(brushes
) != len(ellipses
): 
 856            raise ValueError('ellipses and brushes must have same length') 
 857         return self
._DrawEllipseList
(ellipses
, pens
, brushes
) 
 860     def DrawPolygonList(self
, polygons
, pens
=None, brushes
=None): 
 861         ## Note: This does not currently support fill style or offset 
 862         ## you can always use the non-List version if need be. 
 863         ## I really would like to support fill-style, however, 
 864         ## but wxODDEVEN_RULE does not appear to be defined at the Python level 
 865         ## [It's in wx.py... --Robin] 
 868         elif isinstance(pens
, wxPenPtr
): 
 870         elif len(pens
) != len(polygons
): 
 871            raise ValueError('polygons and pens must have same length') 
 874         elif isinstance(brushes
, wxBrushPtr
): 
 876         elif len(brushes
) != len(polygons
): 
 877            raise ValueError('polygons and brushes must have same length') 
 878         return self
._DrawPolygonList
(polygons
, pens
, brushes
) 
 881     def DrawTextList(self
, textList
, coords
, foregrounds 
= None, backgrounds 
= None, fonts 
= None): 
 882         ## NOTE: this does not currently support changing the font 
 883         ##       Make sure you set Background mode to wxSolid (DC.SetBackgroundMode) 
 884         ##       If you want backgounds to do anything. 
 885         if type(textList
) == type(''): 
 886            textList 
= [textList
] 
 887         elif len(textList
) != len(coords
): 
 888            raise ValueError('textlist and coords must have same length') 
 889         if foregrounds 
is None: 
 891         elif isinstance(foregrounds
, wxColourPtr
): 
 892            foregrounds 
= [foregrounds
] 
 893         elif len(foregrounds
) != len(coords
): 
 894            raise ValueError('foregrounds and coords must have same length') 
 895         if backgrounds 
is None: 
 897         elif isinstance(backgrounds
, wxColourPtr
): 
 898            backgrounds 
= [backgrounds
] 
 899         elif len(backgrounds
) != len(coords
): 
 900            raise ValueError('backgrounds and coords must have same length') 
 901         return  self
._DrawTextList
(textList
, coords
, foregrounds
, backgrounds
) 
 904     def __init__(self
,this
): 
 910 class wxMemoryDCPtr(wxDCPtr
): 
 911     def __init__(self
,this
): 
 914     def SelectObject(self
, *_args
, **_kwargs
): 
 915         val 
= gdic
.wxMemoryDC_SelectObject(self
, *_args
, **_kwargs
) 
 918         return "<%s.%s instance; proxy of C++ wxMemoryDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 919 class wxMemoryDC(wxMemoryDCPtr
): 
 920     def __init__(self
,*_args
,**_kwargs
): 
 921         self
.this 
= gdic
.new_wxMemoryDC(*_args
,**_kwargs
) 
 927 class wxBufferedDCPtr(wxMemoryDCPtr
): 
 928     def __init__(self
,this
): 
 931     def UnMask(self
, *_args
, **_kwargs
): 
 932         val 
= gdic
.wxBufferedDC_UnMask(self
, *_args
, **_kwargs
) 
 935         return "<%s.%s instance; proxy of C++ wxBufferedDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 936 class wxBufferedDC(wxBufferedDCPtr
): 
 937     def __init__(self
,*_args
,**_kwargs
): 
 938         self
.this 
= gdic
.new_wxBufferedDC(*_args
,**_kwargs
) 
 940         self
._dc 
= _args
[0] # save a ref so the other dc won't be deleted before self 
 944 def wxBufferedDCInternalBuffer(*_args
,**_kwargs
): 
 945     val 
= wxBufferedDCPtr(gdic
.new_wxBufferedDCInternalBuffer(*_args
,**_kwargs
)) 
 947     val
._dc 
= _args
[0] # save a ref so the other dc won't be deleted before self 
 951 class wxBufferedPaintDCPtr(wxBufferedDCPtr
): 
 952     def __init__(self
,this
): 
 956         return "<%s.%s instance; proxy of C++ wxBufferedPaintDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 957 class wxBufferedPaintDC(wxBufferedPaintDCPtr
): 
 958     def __init__(self
,*_args
,**_kwargs
): 
 959         self
.this 
= gdic
.new_wxBufferedPaintDC(*_args
,**_kwargs
) 
 965 class wxScreenDCPtr(wxDCPtr
): 
 966     def __init__(self
,this
): 
 969     def StartDrawingOnTopWin(self
, *_args
, **_kwargs
): 
 970         val 
= gdic
.wxScreenDC_StartDrawingOnTopWin(self
, *_args
, **_kwargs
) 
 972     def StartDrawingOnTop(self
, *_args
, **_kwargs
): 
 973         val 
= gdic
.wxScreenDC_StartDrawingOnTop(self
, *_args
, **_kwargs
) 
 975     def EndDrawingOnTop(self
, *_args
, **_kwargs
): 
 976         val 
= gdic
.wxScreenDC_EndDrawingOnTop(self
, *_args
, **_kwargs
) 
 979         return "<%s.%s instance; proxy of C++ wxScreenDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 980 class wxScreenDC(wxScreenDCPtr
): 
 981     def __init__(self
,*_args
,**_kwargs
): 
 982         self
.this 
= gdic
.new_wxScreenDC(*_args
,**_kwargs
) 
 988 class wxClientDCPtr(wxDCPtr
): 
 989     def __init__(self
,this
): 
 993         return "<%s.%s instance; proxy of C++ wxClientDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
 994 class wxClientDC(wxClientDCPtr
): 
 995     def __init__(self
,*_args
,**_kwargs
): 
 996         self
.this 
= gdic
.new_wxClientDC(*_args
,**_kwargs
) 
1002 class wxPaintDCPtr(wxDCPtr
): 
1003     def __init__(self
,this
): 
1007         return "<%s.%s instance; proxy of C++ wxPaintDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
1008 class wxPaintDC(wxPaintDCPtr
): 
1009     def __init__(self
,*_args
,**_kwargs
): 
1010         self
.this 
= gdic
.new_wxPaintDC(*_args
,**_kwargs
) 
1016 class wxWindowDCPtr(wxDCPtr
): 
1017     def __init__(self
,this
): 
1021         return "<%s.%s instance; proxy of C++ wxWindowDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
1022 class wxWindowDC(wxWindowDCPtr
): 
1023     def __init__(self
,*_args
,**_kwargs
): 
1024         self
.this 
= gdic
.new_wxWindowDC(*_args
,**_kwargs
) 
1030 class wxPalettePtr(wxGDIObjectPtr
): 
1031     def __init__(self
,this
): 
1034     def __del__(self
, delfunc
=gdic
.delete_wxPalette
): 
1035         if self
.thisown 
== 1: 
1040     def GetPixel(self
, *_args
, **_kwargs
): 
1041         val 
= gdic
.wxPalette_GetPixel(self
, *_args
, **_kwargs
) 
1043     def GetRGB(self
, *_args
, **_kwargs
): 
1044         val 
= gdic
.wxPalette_GetRGB(self
, *_args
, **_kwargs
) 
1046     def Ok(self
, *_args
, **_kwargs
): 
1047         val 
= gdic
.wxPalette_Ok(self
, *_args
, **_kwargs
) 
1050         return "<%s.%s instance; proxy of C++ wxPalette instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
1051     def __nonzero__(self
): return self
.Ok() 
1052 class wxPalette(wxPalettePtr
): 
1053     def __init__(self
,*_args
,**_kwargs
): 
1054         self
.this 
= gdic
.new_wxPalette(*_args
,**_kwargs
) 
1060 class wxImageListPtr(wxObjectPtr
): 
1061     def __init__(self
,this
): 
1064     def __del__(self
, delfunc
=gdic
.delete_wxImageList
): 
1065         if self
.thisown 
== 1: 
1070     def Add(self
, *_args
, **_kwargs
): 
1071         val 
= gdic
.wxImageList_Add(self
, *_args
, **_kwargs
) 
1073     def AddWithColourMask(self
, *_args
, **_kwargs
): 
1074         val 
= gdic
.wxImageList_AddWithColourMask(self
, *_args
, **_kwargs
) 
1076     def AddIcon(self
, *_args
, **_kwargs
): 
1077         val 
= gdic
.wxImageList_AddIcon(self
, *_args
, **_kwargs
) 
1079     def Replace(self
, *_args
, **_kwargs
): 
1080         val 
= gdic
.wxImageList_Replace(self
, *_args
, **_kwargs
) 
1082     def Draw(self
, *_args
, **_kwargs
): 
1083         val 
= gdic
.wxImageList_Draw(self
, *_args
, **_kwargs
) 
1085     def GetImageCount(self
, *_args
, **_kwargs
): 
1086         val 
= gdic
.wxImageList_GetImageCount(self
, *_args
, **_kwargs
) 
1088     def Remove(self
, *_args
, **_kwargs
): 
1089         val 
= gdic
.wxImageList_Remove(self
, *_args
, **_kwargs
) 
1091     def RemoveAll(self
, *_args
, **_kwargs
): 
1092         val 
= gdic
.wxImageList_RemoveAll(self
, *_args
, **_kwargs
) 
1094     def GetSize(self
, *_args
, **_kwargs
): 
1095         val 
= gdic
.wxImageList_GetSize(self
, *_args
, **_kwargs
) 
1098         return "<%s.%s instance; proxy of C++ wxImageList instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
1099 class wxImageList(wxImageListPtr
): 
1100     def __init__(self
,*_args
,**_kwargs
): 
1101         self
.this 
= gdic
.new_wxImageList(*_args
,**_kwargs
) 
1107 class wxRegionPtr(wxGDIObjectPtr
): 
1108     def __init__(self
,this
): 
1111     def __del__(self
, delfunc
=gdic
.delete_wxRegion
): 
1112         if self
.thisown 
== 1: 
1117     def Clear(self
, *_args
, **_kwargs
): 
1118         val 
= gdic
.wxRegion_Clear(self
, *_args
, **_kwargs
) 
1120     def Offset(self
, *_args
, **_kwargs
): 
1121         val 
= gdic
.wxRegion_Offset(self
, *_args
, **_kwargs
) 
1123     def Contains(self
, *_args
, **_kwargs
): 
1124         val 
= gdic
.wxRegion_Contains(self
, *_args
, **_kwargs
) 
1126     def ContainsPoint(self
, *_args
, **_kwargs
): 
1127         val 
= gdic
.wxRegion_ContainsPoint(self
, *_args
, **_kwargs
) 
1129     def ContainsRect(self
, *_args
, **_kwargs
): 
1130         val 
= gdic
.wxRegion_ContainsRect(self
, *_args
, **_kwargs
) 
1132     def ContainsRectDim(self
, *_args
, **_kwargs
): 
1133         val 
= gdic
.wxRegion_ContainsRectDim(self
, *_args
, **_kwargs
) 
1135     def GetBox(self
, *_args
, **_kwargs
): 
1136         val 
= gdic
.wxRegion_GetBox(self
, *_args
, **_kwargs
) 
1137         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
1139     def Intersect(self
, *_args
, **_kwargs
): 
1140         val 
= gdic
.wxRegion_Intersect(self
, *_args
, **_kwargs
) 
1142     def IntersectRect(self
, *_args
, **_kwargs
): 
1143         val 
= gdic
.wxRegion_IntersectRect(self
, *_args
, **_kwargs
) 
1145     def IntersectRegion(self
, *_args
, **_kwargs
): 
1146         val 
= gdic
.wxRegion_IntersectRegion(self
, *_args
, **_kwargs
) 
1148     def IsEmpty(self
, *_args
, **_kwargs
): 
1149         val 
= gdic
.wxRegion_IsEmpty(self
, *_args
, **_kwargs
) 
1151     def Union(self
, *_args
, **_kwargs
): 
1152         val 
= gdic
.wxRegion_Union(self
, *_args
, **_kwargs
) 
1154     def UnionRect(self
, *_args
, **_kwargs
): 
1155         val 
= gdic
.wxRegion_UnionRect(self
, *_args
, **_kwargs
) 
1157     def UnionRegion(self
, *_args
, **_kwargs
): 
1158         val 
= gdic
.wxRegion_UnionRegion(self
, *_args
, **_kwargs
) 
1160     def Subtract(self
, *_args
, **_kwargs
): 
1161         val 
= gdic
.wxRegion_Subtract(self
, *_args
, **_kwargs
) 
1163     def SubtractRect(self
, *_args
, **_kwargs
): 
1164         val 
= gdic
.wxRegion_SubtractRect(self
, *_args
, **_kwargs
) 
1166     def SubtractRegion(self
, *_args
, **_kwargs
): 
1167         val 
= gdic
.wxRegion_SubtractRegion(self
, *_args
, **_kwargs
) 
1169     def Xor(self
, *_args
, **_kwargs
): 
1170         val 
= gdic
.wxRegion_Xor(self
, *_args
, **_kwargs
) 
1172     def XorRect(self
, *_args
, **_kwargs
): 
1173         val 
= gdic
.wxRegion_XorRect(self
, *_args
, **_kwargs
) 
1175     def XorRegion(self
, *_args
, **_kwargs
): 
1176         val 
= gdic
.wxRegion_XorRegion(self
, *_args
, **_kwargs
) 
1178     def ConvertToBitmap(self
, *_args
, **_kwargs
): 
1179         val 
= gdic
.wxRegion_ConvertToBitmap(self
, *_args
, **_kwargs
) 
1180         if val
: val 
= wxBitmapPtr(val
) ; val
.thisown 
= 1 
1182     def UnionBitmap(self
, *_args
, **_kwargs
): 
1183         val 
= gdic
.wxRegion_UnionBitmap(self
, *_args
, **_kwargs
) 
1186         return "<%s.%s instance; proxy of C++ wxRegion instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
1187 class wxRegion(wxRegionPtr
): 
1188     def __init__(self
,*_args
,**_kwargs
): 
1189         self
.this 
= gdic
.new_wxRegion(*_args
,**_kwargs
) 
1194 def wxRegionFromPoints(*_args
,**_kwargs
): 
1195     val 
= wxRegionPtr(gdic
.new_wxRegionFromPoints(*_args
,**_kwargs
)) 
1199 def wxRegionFromBitmap(*_args
,**_kwargs
): 
1200     val 
= wxRegionPtr(gdic
.new_wxRegionFromBitmap(*_args
,**_kwargs
)) 
1205 class wxRegionIteratorPtr(wxObjectPtr
): 
1206     def __init__(self
,this
): 
1209     def __del__(self
, delfunc
=gdic
.delete_wxRegionIterator
): 
1210         if self
.thisown 
== 1: 
1215     def GetX(self
, *_args
, **_kwargs
): 
1216         val 
= gdic
.wxRegionIterator_GetX(self
, *_args
, **_kwargs
) 
1218     def GetY(self
, *_args
, **_kwargs
): 
1219         val 
= gdic
.wxRegionIterator_GetY(self
, *_args
, **_kwargs
) 
1221     def GetW(self
, *_args
, **_kwargs
): 
1222         val 
= gdic
.wxRegionIterator_GetW(self
, *_args
, **_kwargs
) 
1224     def GetWidth(self
, *_args
, **_kwargs
): 
1225         val 
= gdic
.wxRegionIterator_GetWidth(self
, *_args
, **_kwargs
) 
1227     def GetH(self
, *_args
, **_kwargs
): 
1228         val 
= gdic
.wxRegionIterator_GetH(self
, *_args
, **_kwargs
) 
1230     def GetHeight(self
, *_args
, **_kwargs
): 
1231         val 
= gdic
.wxRegionIterator_GetHeight(self
, *_args
, **_kwargs
) 
1233     def GetRect(self
, *_args
, **_kwargs
): 
1234         val 
= gdic
.wxRegionIterator_GetRect(self
, *_args
, **_kwargs
) 
1235         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
1237     def HaveRects(self
, *_args
, **_kwargs
): 
1238         val 
= gdic
.wxRegionIterator_HaveRects(self
, *_args
, **_kwargs
) 
1240     def Reset(self
, *_args
, **_kwargs
): 
1241         val 
= gdic
.wxRegionIterator_Reset(self
, *_args
, **_kwargs
) 
1243     def Next(self
, *_args
, **_kwargs
): 
1244         val 
= gdic
.wxRegionIterator_Next(self
, *_args
, **_kwargs
) 
1247         return "<%s.%s instance; proxy of C++ wxRegionIterator instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
) 
1248 class wxRegionIterator(wxRegionIteratorPtr
): 
1249     def __init__(self
,*_args
,**_kwargs
): 
1250         self
.this 
= gdic
.new_wxRegionIterator(*_args
,**_kwargs
) 
1258 #-------------- FUNCTION WRAPPERS ------------------ 
1260 def wxEmptyBitmap(*_args
, **_kwargs
): 
1261     val 
= gdic
.wxEmptyBitmap(*_args
,**_kwargs
) 
1262     if val
: val 
= wxBitmapPtr(val
); val
.thisown 
= 1 
1265 def wxBitmapFromXPMData(*_args
, **_kwargs
): 
1266     val 
= gdic
.wxBitmapFromXPMData(*_args
,**_kwargs
) 
1267     if val
: val 
= wxBitmapPtr(val
); val
.thisown 
= 1 
1270 def wxBitmapFromIcon(*_args
, **_kwargs
): 
1271     val 
= gdic
.wxBitmapFromIcon(*_args
,**_kwargs
) 
1272     if val
: val 
= wxBitmapPtr(val
); val
.thisown 
= 1 
1275 def wxBitmapFromBits(*_args
, **_kwargs
): 
1276     val 
= gdic
.wxBitmapFromBits(*_args
,**_kwargs
) 
1277     if val
: val 
= wxBitmapPtr(val
); val
.thisown 
= 1 
1280 def wxMaskColour(*_args
, **_kwargs
): 
1281     val 
= gdic
.wxMaskColour(*_args
,**_kwargs
) 
1282     if val
: val 
= wxMaskPtr(val
); val
.thisown 
= 1 
1285 def wxEmptyIcon(*_args
, **_kwargs
): 
1286     val 
= gdic
.wxEmptyIcon(*_args
,**_kwargs
) 
1287     if val
: val 
= wxIconPtr(val
); val
.thisown 
= 1 
1290 def wxIconFromXPMData(*_args
, **_kwargs
): 
1291     val 
= gdic
.wxIconFromXPMData(*_args
,**_kwargs
) 
1292     if val
: val 
= wxIconPtr(val
); val
.thisown 
= 1 
1295 def wxIconFromBitmap(*_args
, **_kwargs
): 
1296     val 
= gdic
.wxIconFromBitmap(*_args
,**_kwargs
) 
1297     if val
: val 
= wxIconPtr(val
); val
.thisown 
= 1 
1300 def wxStockCursor(*_args
, **_kwargs
): 
1301     val 
= gdic
.wxStockCursor(*_args
,**_kwargs
) 
1302     if val
: val 
= wxCursorPtr(val
); val
.thisown 
= 1 
1305 def wxCursorFromImage(*_args
, **_kwargs
): 
1306     val 
= gdic
.wxCursorFromImage(*_args
,**_kwargs
) 
1307     if val
: val 
= wxCursorPtr(val
); val
.thisown 
= 1 
1310 def wxCursorFromBits(*_args
, **_kwargs
): 
1311     val 
= gdic
.wxCursorFromBits(*_args
,**_kwargs
) 
1312     if val
: val 
= wxCursorPtr(val
); val
.thisown 
= 1 
1315 def wxNamedColour(*_args
, **_kwargs
): 
1316     val 
= gdic
.wxNamedColour(*_args
,**_kwargs
) 
1317     if val
: val 
= wxColourPtr(val
); val
.thisown 
= 1 
1320 def wxMemoryDCFromDC(*_args
, **_kwargs
): 
1321     val 
= gdic
.wxMemoryDCFromDC(*_args
,**_kwargs
) 
1322     if val
: val 
= wxMemoryDCPtr(val
); val
.thisown 
= 1 
1327 #-------------- VARIABLE WRAPPERS ------------------ 
1329 wxIMAGELIST_DRAW_NORMAL 
= gdic
.wxIMAGELIST_DRAW_NORMAL
 
1330 wxIMAGELIST_DRAW_TRANSPARENT 
= gdic
.wxIMAGELIST_DRAW_TRANSPARENT
 
1331 wxIMAGELIST_DRAW_SELECTED 
= gdic
.wxIMAGELIST_DRAW_SELECTED
 
1332 wxIMAGELIST_DRAW_FOCUSED 
= gdic
.wxIMAGELIST_DRAW_FOCUSED
 
1333 wxIMAGE_LIST_NORMAL 
= gdic
.wxIMAGE_LIST_NORMAL
 
1334 wxIMAGE_LIST_SMALL 
= gdic
.wxIMAGE_LIST_SMALL
 
1335 wxIMAGE_LIST_STATE 
= gdic
.wxIMAGE_LIST_STATE
 
1336 wxOutRegion 
= gdic
.wxOutRegion
 
1337 wxPartRegion 
= gdic
.wxPartRegion
 
1338 wxInRegion 
= gdic
.wxInRegion
 
1340 wxNORMAL_FONT 
= wxFontPtr(gdic
.cvar
.wxNORMAL_FONT
) 
1341 wxSMALL_FONT 
= wxFontPtr(gdic
.cvar
.wxSMALL_FONT
) 
1342 wxITALIC_FONT 
= wxFontPtr(gdic
.cvar
.wxITALIC_FONT
) 
1343 wxSWISS_FONT 
= wxFontPtr(gdic
.cvar
.wxSWISS_FONT
) 
1344 wxRED_PEN 
= wxPenPtr(gdic
.cvar
.wxRED_PEN
) 
1345 wxCYAN_PEN 
= wxPenPtr(gdic
.cvar
.wxCYAN_PEN
) 
1346 wxGREEN_PEN 
= wxPenPtr(gdic
.cvar
.wxGREEN_PEN
) 
1347 wxBLACK_PEN 
= wxPenPtr(gdic
.cvar
.wxBLACK_PEN
) 
1348 wxWHITE_PEN 
= wxPenPtr(gdic
.cvar
.wxWHITE_PEN
) 
1349 wxTRANSPARENT_PEN 
= wxPenPtr(gdic
.cvar
.wxTRANSPARENT_PEN
) 
1350 wxBLACK_DASHED_PEN 
= wxPenPtr(gdic
.cvar
.wxBLACK_DASHED_PEN
) 
1351 wxGREY_PEN 
= wxPenPtr(gdic
.cvar
.wxGREY_PEN
) 
1352 wxMEDIUM_GREY_PEN 
= wxPenPtr(gdic
.cvar
.wxMEDIUM_GREY_PEN
) 
1353 wxLIGHT_GREY_PEN 
= wxPenPtr(gdic
.cvar
.wxLIGHT_GREY_PEN
) 
1354 wxBLUE_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxBLUE_BRUSH
) 
1355 wxGREEN_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxGREEN_BRUSH
) 
1356 wxWHITE_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxWHITE_BRUSH
) 
1357 wxBLACK_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxBLACK_BRUSH
) 
1358 wxTRANSPARENT_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxTRANSPARENT_BRUSH
) 
1359 wxCYAN_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxCYAN_BRUSH
) 
1360 wxRED_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxRED_BRUSH
) 
1361 wxGREY_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxGREY_BRUSH
) 
1362 wxMEDIUM_GREY_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxMEDIUM_GREY_BRUSH
) 
1363 wxLIGHT_GREY_BRUSH 
= wxBrushPtr(gdic
.cvar
.wxLIGHT_GREY_BRUSH
) 
1364 wxBLACK 
= wxColourPtr(gdic
.cvar
.wxBLACK
) 
1365 wxWHITE 
= wxColourPtr(gdic
.cvar
.wxWHITE
) 
1366 wxRED 
= wxColourPtr(gdic
.cvar
.wxRED
) 
1367 wxBLUE 
= wxColourPtr(gdic
.cvar
.wxBLUE
) 
1368 wxGREEN 
= wxColourPtr(gdic
.cvar
.wxGREEN
) 
1369 wxCYAN 
= wxColourPtr(gdic
.cvar
.wxCYAN
) 
1370 wxLIGHT_GREY 
= wxColourPtr(gdic
.cvar
.wxLIGHT_GREY
) 
1371 wxSTANDARD_CURSOR 
= wxCursorPtr(gdic
.cvar
.wxSTANDARD_CURSOR
) 
1372 wxHOURGLASS_CURSOR 
= wxCursorPtr(gdic
.cvar
.wxHOURGLASS_CURSOR
) 
1373 wxCROSS_CURSOR 
= wxCursorPtr(gdic
.cvar
.wxCROSS_CURSOR
) 
1374 wxNullBitmap 
= wxBitmapPtr(gdic
.cvar
.wxNullBitmap
) 
1375 wxNullIcon 
= wxIconPtr(gdic
.cvar
.wxNullIcon
) 
1376 wxNullCursor 
= wxCursorPtr(gdic
.cvar
.wxNullCursor
) 
1377 wxNullPen 
= wxPenPtr(gdic
.cvar
.wxNullPen
) 
1378 wxNullBrush 
= wxBrushPtr(gdic
.cvar
.wxNullBrush
) 
1379 wxNullPalette 
= wxPalettePtr(gdic
.cvar
.wxNullPalette
) 
1380 wxNullFont 
= wxFontPtr(gdic
.cvar
.wxNullFont
) 
1381 wxNullColour 
= wxColourPtr(gdic
.cvar
.wxNullColour
) 
1382 wxTheFontList 
= wxFontListPtr(gdic
.cvar
.wxTheFontList
) 
1383 wxThePenList 
= wxPenListPtr(gdic
.cvar
.wxThePenList
) 
1384 wxTheBrushList 
= wxBrushListPtr(gdic
.cvar
.wxTheBrushList
) 
1385 wxTheColourDatabase 
= wxColourDatabasePtr(gdic
.cvar
.wxTheColourDatabase
)