1 # This file was created automatically by SWIG. 
  10 from clip_dnd 
import * 
  14 from controls 
import * 
  17 def EVT_LIST_BEGIN_DRAG(win
, id, func
): 
  18     win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_DRAG
, func
) 
  20 def EVT_LIST_BEGIN_RDRAG(win
, id, func
): 
  21     win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_RDRAG
, func
) 
  23 def EVT_LIST_BEGIN_LABEL_EDIT(win
, id, func
): 
  24     win
.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, func
) 
  26 def EVT_LIST_END_LABEL_EDIT(win
, id, func
): 
  27     win
.Connect(id, -1, wxEVT_COMMAND_LIST_END_LABEL_EDIT
, func
) 
  29 def EVT_LIST_DELETE_ITEM(win
, id, func
): 
  30     win
.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ITEM
, func
) 
  32 def EVT_LIST_DELETE_ALL_ITEMS(win
, id, func
): 
  33     win
.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, func
) 
  35 def EVT_LIST_GET_INFO(win
, id, func
): 
  36     win
.Connect(id, -1, wxEVT_COMMAND_LIST_GET_INFO
, func
) 
  38 def EVT_LIST_SET_INFO(win
, id, func
): 
  39     win
.Connect(id, -1, wxEVT_COMMAND_LIST_SET_INFO
, func
) 
  41 def EVT_LIST_ITEM_SELECTED(win
, id, func
): 
  42     win
.Connect(id, -1,  wxEVT_COMMAND_LIST_ITEM_SELECTED
, func
) 
  44 def EVT_LIST_ITEM_DESELECTED(win
, id, func
): 
  45     win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_DESELECTED
, func
) 
  47 def EVT_LIST_KEY_DOWN(win
, id, func
): 
  48     win
.Connect(id, -1, wxEVT_COMMAND_LIST_KEY_DOWN
, func
) 
  50 def EVT_LIST_INSERT_ITEM(win
, id, func
): 
  51     win
.Connect(id, -1, wxEVT_COMMAND_LIST_INSERT_ITEM
, func
) 
  53 def EVT_LIST_COL_CLICK(win
, id, func
): 
  54     win
.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK
, func
) 
  56 def EVT_LIST_ITEM_RIGHT_CLICK(win
, id, func
): 
  57     win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, func
) 
  59 def EVT_LIST_ITEM_MIDDLE_CLICK(win
, id, func
): 
  60     win
.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, func
) 
  62 def EVT_LIST_ITEM_ACTIVATED(win
, id, func
): 
  63     win
.Connect(id, -1,  wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, func
) 
  65 def EVT_LIST_CACHE_HINT(win
, id, func
): 
  66     win
.Connect(id, -1, wxEVT_COMMAND_LIST_CACHE_HINT
, func
) 
  68 class wxListItemAttrPtr 
: 
  69     def __init__(self
,this
): 
  72     def SetTextColour(self
, *_args
, **_kwargs
): 
  73         val 
= apply(controls2c
.wxListItemAttr_SetTextColour
,(self
,) + _args
, _kwargs
) 
  75     def SetBackgroundColour(self
, *_args
, **_kwargs
): 
  76         val 
= apply(controls2c
.wxListItemAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
) 
  78     def SetFont(self
, *_args
, **_kwargs
): 
  79         val 
= apply(controls2c
.wxListItemAttr_SetFont
,(self
,) + _args
, _kwargs
) 
  81     def HasTextColour(self
, *_args
, **_kwargs
): 
  82         val 
= apply(controls2c
.wxListItemAttr_HasTextColour
,(self
,) + _args
, _kwargs
) 
  84     def HasBackgroundColour(self
, *_args
, **_kwargs
): 
  85         val 
= apply(controls2c
.wxListItemAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
) 
  87     def HasFont(self
, *_args
, **_kwargs
): 
  88         val 
= apply(controls2c
.wxListItemAttr_HasFont
,(self
,) + _args
, _kwargs
) 
  90     def GetTextColour(self
, *_args
, **_kwargs
): 
  91         val 
= apply(controls2c
.wxListItemAttr_GetTextColour
,(self
,) + _args
, _kwargs
) 
  92         if val
: val 
= wxColourPtr(val
)  
  94     def GetBackgroundColour(self
, *_args
, **_kwargs
): 
  95         val 
= apply(controls2c
.wxListItemAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
) 
  96         if val
: val 
= wxColourPtr(val
)  
  98     def GetFont(self
, *_args
, **_kwargs
): 
  99         val 
= apply(controls2c
.wxListItemAttr_GetFont
,(self
,) + _args
, _kwargs
) 
 100         if val
: val 
= wxFontPtr(val
)  
 103         return "<C wxListItemAttr instance at %s>" % (self
.this
,) 
 104 class wxListItemAttr(wxListItemAttrPtr
): 
 105     def __init__(self
,*_args
,**_kwargs
): 
 106         self
.this 
= apply(controls2c
.new_wxListItemAttr
,_args
,_kwargs
) 
 112 class wxListItemPtr(wxObjectPtr
): 
 113     def __init__(self
,this
): 
 116     def __del__(self
,controls2c
=controls2c
): 
 117         if self
.thisown 
== 1 : 
 118             controls2c
.delete_wxListItem(self
) 
 119     def Clear(self
, *_args
, **_kwargs
): 
 120         val 
= apply(controls2c
.wxListItem_Clear
,(self
,) + _args
, _kwargs
) 
 122     def ClearAttributes(self
, *_args
, **_kwargs
): 
 123         val 
= apply(controls2c
.wxListItem_ClearAttributes
,(self
,) + _args
, _kwargs
) 
 125     def SetMask(self
, *_args
, **_kwargs
): 
 126         val 
= apply(controls2c
.wxListItem_SetMask
,(self
,) + _args
, _kwargs
) 
 128     def SetId(self
, *_args
, **_kwargs
): 
 129         val 
= apply(controls2c
.wxListItem_SetId
,(self
,) + _args
, _kwargs
) 
 131     def SetColumn(self
, *_args
, **_kwargs
): 
 132         val 
= apply(controls2c
.wxListItem_SetColumn
,(self
,) + _args
, _kwargs
) 
 134     def SetState(self
, *_args
, **_kwargs
): 
 135         val 
= apply(controls2c
.wxListItem_SetState
,(self
,) + _args
, _kwargs
) 
 137     def SetStateMask(self
, *_args
, **_kwargs
): 
 138         val 
= apply(controls2c
.wxListItem_SetStateMask
,(self
,) + _args
, _kwargs
) 
 140     def SetText(self
, *_args
, **_kwargs
): 
 141         val 
= apply(controls2c
.wxListItem_SetText
,(self
,) + _args
, _kwargs
) 
 143     def SetImage(self
, *_args
, **_kwargs
): 
 144         val 
= apply(controls2c
.wxListItem_SetImage
,(self
,) + _args
, _kwargs
) 
 146     def SetData(self
, *_args
, **_kwargs
): 
 147         val 
= apply(controls2c
.wxListItem_SetData
,(self
,) + _args
, _kwargs
) 
 149     def SetWidth(self
, *_args
, **_kwargs
): 
 150         val 
= apply(controls2c
.wxListItem_SetWidth
,(self
,) + _args
, _kwargs
) 
 152     def SetAlign(self
, *_args
, **_kwargs
): 
 153         val 
= apply(controls2c
.wxListItem_SetAlign
,(self
,) + _args
, _kwargs
) 
 155     def SetTextColour(self
, *_args
, **_kwargs
): 
 156         val 
= apply(controls2c
.wxListItem_SetTextColour
,(self
,) + _args
, _kwargs
) 
 158     def SetBackgroundColour(self
, *_args
, **_kwargs
): 
 159         val 
= apply(controls2c
.wxListItem_SetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 161     def SetFont(self
, *_args
, **_kwargs
): 
 162         val 
= apply(controls2c
.wxListItem_SetFont
,(self
,) + _args
, _kwargs
) 
 164     def GetMask(self
, *_args
, **_kwargs
): 
 165         val 
= apply(controls2c
.wxListItem_GetMask
,(self
,) + _args
, _kwargs
) 
 167     def GetId(self
, *_args
, **_kwargs
): 
 168         val 
= apply(controls2c
.wxListItem_GetId
,(self
,) + _args
, _kwargs
) 
 170     def GetColumn(self
, *_args
, **_kwargs
): 
 171         val 
= apply(controls2c
.wxListItem_GetColumn
,(self
,) + _args
, _kwargs
) 
 173     def GetState(self
, *_args
, **_kwargs
): 
 174         val 
= apply(controls2c
.wxListItem_GetState
,(self
,) + _args
, _kwargs
) 
 176     def GetText(self
, *_args
, **_kwargs
): 
 177         val 
= apply(controls2c
.wxListItem_GetText
,(self
,) + _args
, _kwargs
) 
 179     def GetImage(self
, *_args
, **_kwargs
): 
 180         val 
= apply(controls2c
.wxListItem_GetImage
,(self
,) + _args
, _kwargs
) 
 182     def GetData(self
, *_args
, **_kwargs
): 
 183         val 
= apply(controls2c
.wxListItem_GetData
,(self
,) + _args
, _kwargs
) 
 185     def GetWidth(self
, *_args
, **_kwargs
): 
 186         val 
= apply(controls2c
.wxListItem_GetWidth
,(self
,) + _args
, _kwargs
) 
 188     def GetAlign(self
, *_args
, **_kwargs
): 
 189         val 
= apply(controls2c
.wxListItem_GetAlign
,(self
,) + _args
, _kwargs
) 
 191     def GetAttributes(self
, *_args
, **_kwargs
): 
 192         val 
= apply(controls2c
.wxListItem_GetAttributes
,(self
,) + _args
, _kwargs
) 
 193         if val
: val 
= wxListItemAttrPtr(val
)  
 195     def HasAttributes(self
, *_args
, **_kwargs
): 
 196         val 
= apply(controls2c
.wxListItem_HasAttributes
,(self
,) + _args
, _kwargs
) 
 198     def GetTextColour(self
, *_args
, **_kwargs
): 
 199         val 
= apply(controls2c
.wxListItem_GetTextColour
,(self
,) + _args
, _kwargs
) 
 200         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 202     def GetBackgroundColour(self
, *_args
, **_kwargs
): 
 203         val 
= apply(controls2c
.wxListItem_GetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 204         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 206     def GetFont(self
, *_args
, **_kwargs
): 
 207         val 
= apply(controls2c
.wxListItem_GetFont
,(self
,) + _args
, _kwargs
) 
 208         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
 210     def __setattr__(self
,name
,value
): 
 211         if name 
== "m_mask" : 
 212             controls2c
.wxListItem_m_mask_set(self
,value
) 
 214         if name 
== "m_itemId" : 
 215             controls2c
.wxListItem_m_itemId_set(self
,value
) 
 218             controls2c
.wxListItem_m_col_set(self
,value
) 
 220         if name 
== "m_state" : 
 221             controls2c
.wxListItem_m_state_set(self
,value
) 
 223         if name 
== "m_stateMask" : 
 224             controls2c
.wxListItem_m_stateMask_set(self
,value
) 
 226         if name 
== "m_text" : 
 227             controls2c
.wxListItem_m_text_set(self
,value
) 
 229         if name 
== "m_image" : 
 230             controls2c
.wxListItem_m_image_set(self
,value
) 
 232         if name 
== "m_data" : 
 233             controls2c
.wxListItem_m_data_set(self
,value
) 
 235         if name 
== "m_format" : 
 236             controls2c
.wxListItem_m_format_set(self
,value
) 
 238         if name 
== "m_width" : 
 239             controls2c
.wxListItem_m_width_set(self
,value
) 
 241         self
.__dict
__[name
] = value
 
 242     def __getattr__(self
,name
): 
 243         if name 
== "m_mask" :  
 244             return controls2c
.wxListItem_m_mask_get(self
) 
 245         if name 
== "m_itemId" :  
 246             return controls2c
.wxListItem_m_itemId_get(self
) 
 248             return controls2c
.wxListItem_m_col_get(self
) 
 249         if name 
== "m_state" :  
 250             return controls2c
.wxListItem_m_state_get(self
) 
 251         if name 
== "m_stateMask" :  
 252             return controls2c
.wxListItem_m_stateMask_get(self
) 
 253         if name 
== "m_text" :  
 254             return controls2c
.wxListItem_m_text_get(self
) 
 255         if name 
== "m_image" :  
 256             return controls2c
.wxListItem_m_image_get(self
) 
 257         if name 
== "m_data" :  
 258             return controls2c
.wxListItem_m_data_get(self
) 
 259         if name 
== "m_format" :  
 260             return controls2c
.wxListItem_m_format_get(self
) 
 261         if name 
== "m_width" :  
 262             return controls2c
.wxListItem_m_width_get(self
) 
 263         raise AttributeError,name
 
 265         return "<C wxListItem instance at %s>" % (self
.this
,) 
 266 class wxListItem(wxListItemPtr
): 
 267     def __init__(self
,*_args
,**_kwargs
): 
 268         self
.this 
= apply(controls2c
.new_wxListItem
,_args
,_kwargs
) 
 274 class wxListEventPtr(wxNotifyEventPtr
): 
 275     def __init__(self
,this
): 
 278     def GetCode(self
, *_args
, **_kwargs
): 
 279         val 
= apply(controls2c
.wxListEvent_GetCode
,(self
,) + _args
, _kwargs
) 
 281     def GetIndex(self
, *_args
, **_kwargs
): 
 282         val 
= apply(controls2c
.wxListEvent_GetIndex
,(self
,) + _args
, _kwargs
) 
 284     def GetOldIndex(self
, *_args
, **_kwargs
): 
 285         val 
= apply(controls2c
.wxListEvent_GetOldIndex
,(self
,) + _args
, _kwargs
) 
 287     def GetOldItem(self
, *_args
, **_kwargs
): 
 288         val 
= apply(controls2c
.wxListEvent_GetOldItem
,(self
,) + _args
, _kwargs
) 
 290     def GetColumn(self
, *_args
, **_kwargs
): 
 291         val 
= apply(controls2c
.wxListEvent_GetColumn
,(self
,) + _args
, _kwargs
) 
 293     def Cancelled(self
, *_args
, **_kwargs
): 
 294         val 
= apply(controls2c
.wxListEvent_Cancelled
,(self
,) + _args
, _kwargs
) 
 296     def GetPoint(self
, *_args
, **_kwargs
): 
 297         val 
= apply(controls2c
.wxListEvent_GetPoint
,(self
,) + _args
, _kwargs
) 
 298         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
 300     def GetLabel(self
, *_args
, **_kwargs
): 
 301         val 
= apply(controls2c
.wxListEvent_GetLabel
,(self
,) + _args
, _kwargs
) 
 303     def GetText(self
, *_args
, **_kwargs
): 
 304         val 
= apply(controls2c
.wxListEvent_GetText
,(self
,) + _args
, _kwargs
) 
 306     def GetImage(self
, *_args
, **_kwargs
): 
 307         val 
= apply(controls2c
.wxListEvent_GetImage
,(self
,) + _args
, _kwargs
) 
 309     def GetData(self
, *_args
, **_kwargs
): 
 310         val 
= apply(controls2c
.wxListEvent_GetData
,(self
,) + _args
, _kwargs
) 
 312     def GetMask(self
, *_args
, **_kwargs
): 
 313         val 
= apply(controls2c
.wxListEvent_GetMask
,(self
,) + _args
, _kwargs
) 
 315     def GetItem(self
, *_args
, **_kwargs
): 
 316         val 
= apply(controls2c
.wxListEvent_GetItem
,(self
,) + _args
, _kwargs
) 
 318     def __setattr__(self
,name
,value
): 
 319         if name 
== "m_code" : 
 320             controls2c
.wxListEvent_m_code_set(self
,value
) 
 322         if name 
== "m_itemIndex" : 
 323             controls2c
.wxListEvent_m_itemIndex_set(self
,value
) 
 325         if name 
== "m_oldItemIndex" : 
 326             controls2c
.wxListEvent_m_oldItemIndex_set(self
,value
) 
 329             controls2c
.wxListEvent_m_col_set(self
,value
) 
 331         if name 
== "m_cancelled" : 
 332             controls2c
.wxListEvent_m_cancelled_set(self
,value
) 
 334         if name 
== "m_pointDrag" : 
 335             controls2c
.wxListEvent_m_pointDrag_set(self
,value
.this
) 
 337         if name 
== "m_item" : 
 338             controls2c
.wxListEvent_m_item_set(self
,value
.this
) 
 340         self
.__dict
__[name
] = value
 
 341     def __getattr__(self
,name
): 
 342         if name 
== "m_code" :  
 343             return controls2c
.wxListEvent_m_code_get(self
) 
 344         if name 
== "m_itemIndex" :  
 345             return controls2c
.wxListEvent_m_itemIndex_get(self
) 
 346         if name 
== "m_oldItemIndex" :  
 347             return controls2c
.wxListEvent_m_oldItemIndex_get(self
) 
 349             return controls2c
.wxListEvent_m_col_get(self
) 
 350         if name 
== "m_cancelled" :  
 351             return controls2c
.wxListEvent_m_cancelled_get(self
) 
 352         if name 
== "m_pointDrag" :  
 353             return wxPointPtr(controls2c
.wxListEvent_m_pointDrag_get(self
)) 
 354         if name 
== "m_item" :  
 355             return wxListItemPtr(controls2c
.wxListEvent_m_item_get(self
)) 
 356         raise AttributeError,name
 
 358         return "<C wxListEvent instance at %s>" % (self
.this
,) 
 359 class wxListEvent(wxListEventPtr
): 
 360     def __init__(self
,this
): 
 366 class wxListCtrlPtr(wxControlPtr
): 
 367     def __init__(self
,this
): 
 370     def _setSelf(self
, *_args
, **_kwargs
): 
 371         val 
= apply(controls2c
.wxListCtrl__setSelf
,(self
,) + _args
, _kwargs
) 
 373     def SetForegroundColour(self
, *_args
, **_kwargs
): 
 374         val 
= apply(controls2c
.wxListCtrl_SetForegroundColour
,(self
,) + _args
, _kwargs
) 
 376     def SetBackgroundColour(self
, *_args
, **_kwargs
): 
 377         val 
= apply(controls2c
.wxListCtrl_SetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 379     def GetColumn(self
, *_args
, **_kwargs
): 
 380         val 
= apply(controls2c
.wxListCtrl_GetColumn
,(self
,) + _args
, _kwargs
) 
 382     def SetColumn(self
, *_args
, **_kwargs
): 
 383         val 
= apply(controls2c
.wxListCtrl_SetColumn
,(self
,) + _args
, _kwargs
) 
 385     def GetColumnWidth(self
, *_args
, **_kwargs
): 
 386         val 
= apply(controls2c
.wxListCtrl_GetColumnWidth
,(self
,) + _args
, _kwargs
) 
 388     def SetColumnWidth(self
, *_args
, **_kwargs
): 
 389         val 
= apply(controls2c
.wxListCtrl_SetColumnWidth
,(self
,) + _args
, _kwargs
) 
 391     def GetCountPerPage(self
, *_args
, **_kwargs
): 
 392         val 
= apply(controls2c
.wxListCtrl_GetCountPerPage
,(self
,) + _args
, _kwargs
) 
 394     def GetEditControl(self
, *_args
, **_kwargs
): 
 395         val 
= apply(controls2c
.wxListCtrl_GetEditControl
,(self
,) + _args
, _kwargs
) 
 397     def GetItem(self
, *_args
, **_kwargs
): 
 398         val 
= apply(controls2c
.wxListCtrl_GetItem
,(self
,) + _args
, _kwargs
) 
 400     def SetItem(self
, *_args
, **_kwargs
): 
 401         val 
= apply(controls2c
.wxListCtrl_SetItem
,(self
,) + _args
, _kwargs
) 
 403     def SetStringItem(self
, *_args
, **_kwargs
): 
 404         val 
= apply(controls2c
.wxListCtrl_SetStringItem
,(self
,) + _args
, _kwargs
) 
 406     def GetItemState(self
, *_args
, **_kwargs
): 
 407         val 
= apply(controls2c
.wxListCtrl_GetItemState
,(self
,) + _args
, _kwargs
) 
 409     def SetItemState(self
, *_args
, **_kwargs
): 
 410         val 
= apply(controls2c
.wxListCtrl_SetItemState
,(self
,) + _args
, _kwargs
) 
 412     def SetItemImage(self
, *_args
, **_kwargs
): 
 413         val 
= apply(controls2c
.wxListCtrl_SetItemImage
,(self
,) + _args
, _kwargs
) 
 415     def GetItemText(self
, *_args
, **_kwargs
): 
 416         val 
= apply(controls2c
.wxListCtrl_GetItemText
,(self
,) + _args
, _kwargs
) 
 418     def SetItemText(self
, *_args
, **_kwargs
): 
 419         val 
= apply(controls2c
.wxListCtrl_SetItemText
,(self
,) + _args
, _kwargs
) 
 421     def GetItemData(self
, *_args
, **_kwargs
): 
 422         val 
= apply(controls2c
.wxListCtrl_GetItemData
,(self
,) + _args
, _kwargs
) 
 424     def SetItemData(self
, *_args
, **_kwargs
): 
 425         val 
= apply(controls2c
.wxListCtrl_SetItemData
,(self
,) + _args
, _kwargs
) 
 427     def GetItemPosition(self
, *_args
, **_kwargs
): 
 428         val 
= apply(controls2c
.wxListCtrl_GetItemPosition
,(self
,) + _args
, _kwargs
) 
 429         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
 431     def GetItemRect(self
, *_args
, **_kwargs
): 
 432         val 
= apply(controls2c
.wxListCtrl_GetItemRect
,(self
,) + _args
, _kwargs
) 
 433         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
 435     def SetItemPosition(self
, *_args
, **_kwargs
): 
 436         val 
= apply(controls2c
.wxListCtrl_SetItemPosition
,(self
,) + _args
, _kwargs
) 
 438     def GetItemCount(self
, *_args
, **_kwargs
): 
 439         val 
= apply(controls2c
.wxListCtrl_GetItemCount
,(self
,) + _args
, _kwargs
) 
 441     def GetColumnCount(self
, *_args
, **_kwargs
): 
 442         val 
= apply(controls2c
.wxListCtrl_GetColumnCount
,(self
,) + _args
, _kwargs
) 
 444     def GetItemSpacing(self
, *_args
, **_kwargs
): 
 445         val 
= apply(controls2c
.wxListCtrl_GetItemSpacing
,(self
,) + _args
, _kwargs
) 
 447     def GetSelectedItemCount(self
, *_args
, **_kwargs
): 
 448         val 
= apply(controls2c
.wxListCtrl_GetSelectedItemCount
,(self
,) + _args
, _kwargs
) 
 450     def GetTextColour(self
, *_args
, **_kwargs
): 
 451         val 
= apply(controls2c
.wxListCtrl_GetTextColour
,(self
,) + _args
, _kwargs
) 
 452         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 454     def SetTextColour(self
, *_args
, **_kwargs
): 
 455         val 
= apply(controls2c
.wxListCtrl_SetTextColour
,(self
,) + _args
, _kwargs
) 
 457     def GetTopItem(self
, *_args
, **_kwargs
): 
 458         val 
= apply(controls2c
.wxListCtrl_GetTopItem
,(self
,) + _args
, _kwargs
) 
 460     def SetSingleStyle(self
, *_args
, **_kwargs
): 
 461         val 
= apply(controls2c
.wxListCtrl_SetSingleStyle
,(self
,) + _args
, _kwargs
) 
 463     def SetWindowStyleFlag(self
, *_args
, **_kwargs
): 
 464         val 
= apply(controls2c
.wxListCtrl_SetWindowStyleFlag
,(self
,) + _args
, _kwargs
) 
 466     def GetNextItem(self
, *_args
, **_kwargs
): 
 467         val 
= apply(controls2c
.wxListCtrl_GetNextItem
,(self
,) + _args
, _kwargs
) 
 469     def GetImageList(self
, *_args
, **_kwargs
): 
 470         val 
= apply(controls2c
.wxListCtrl_GetImageList
,(self
,) + _args
, _kwargs
) 
 472     def SetImageList(self
, *_args
, **_kwargs
): 
 473         val 
= apply(controls2c
.wxListCtrl_SetImageList
,(self
,) + _args
, _kwargs
) 
 475     def AssignImageList(self
, *_args
, **_kwargs
): 
 476         val 
= apply(controls2c
.wxListCtrl_AssignImageList
,(self
,) + _args
, _kwargs
) 
 479     def IsVirtual(self
, *_args
, **_kwargs
): 
 480         val 
= apply(controls2c
.wxListCtrl_IsVirtual
,(self
,) + _args
, _kwargs
) 
 482     def RefreshItem(self
, *_args
, **_kwargs
): 
 483         val 
= apply(controls2c
.wxListCtrl_RefreshItem
,(self
,) + _args
, _kwargs
) 
 485     def RefreshItems(self
, *_args
, **_kwargs
): 
 486         val 
= apply(controls2c
.wxListCtrl_RefreshItems
,(self
,) + _args
, _kwargs
) 
 488     def Arrange(self
, *_args
, **_kwargs
): 
 489         val 
= apply(controls2c
.wxListCtrl_Arrange
,(self
,) + _args
, _kwargs
) 
 491     def DeleteItem(self
, *_args
, **_kwargs
): 
 492         val 
= apply(controls2c
.wxListCtrl_DeleteItem
,(self
,) + _args
, _kwargs
) 
 494     def DeleteAllItems(self
, *_args
, **_kwargs
): 
 495         val 
= apply(controls2c
.wxListCtrl_DeleteAllItems
,(self
,) + _args
, _kwargs
) 
 497     def DeleteColumn(self
, *_args
, **_kwargs
): 
 498         val 
= apply(controls2c
.wxListCtrl_DeleteColumn
,(self
,) + _args
, _kwargs
) 
 500     def DeleteAllColumns(self
, *_args
, **_kwargs
): 
 501         val 
= apply(controls2c
.wxListCtrl_DeleteAllColumns
,(self
,) + _args
, _kwargs
) 
 503     def ClearAll(self
, *_args
, **_kwargs
): 
 504         val 
= apply(controls2c
.wxListCtrl_ClearAll
,(self
,) + _args
, _kwargs
) 
 506     def EditLabel(self
, *_args
, **_kwargs
): 
 507         val 
= apply(controls2c
.wxListCtrl_EditLabel
,(self
,) + _args
, _kwargs
) 
 509     def EndEditLabel(self
, *_args
, **_kwargs
): 
 510         val 
= apply(controls2c
.wxListCtrl_EndEditLabel
,(self
,) + _args
, _kwargs
) 
 512     def EnsureVisible(self
, *_args
, **_kwargs
): 
 513         val 
= apply(controls2c
.wxListCtrl_EnsureVisible
,(self
,) + _args
, _kwargs
) 
 515     def FindItem(self
, *_args
, **_kwargs
): 
 516         val 
= apply(controls2c
.wxListCtrl_FindItem
,(self
,) + _args
, _kwargs
) 
 518     def FindItemData(self
, *_args
, **_kwargs
): 
 519         val 
= apply(controls2c
.wxListCtrl_FindItemData
,(self
,) + _args
, _kwargs
) 
 521     def FindItemAtPos(self
, *_args
, **_kwargs
): 
 522         val 
= apply(controls2c
.wxListCtrl_FindItemAtPos
,(self
,) + _args
, _kwargs
) 
 524     def HitTest(self
, *_args
, **_kwargs
): 
 525         val 
= apply(controls2c
.wxListCtrl_HitTest
,(self
,) + _args
, _kwargs
) 
 527     def InsertItem(self
, *_args
, **_kwargs
): 
 528         val 
= apply(controls2c
.wxListCtrl_InsertItem
,(self
,) + _args
, _kwargs
) 
 530     def InsertStringItem(self
, *_args
, **_kwargs
): 
 531         val 
= apply(controls2c
.wxListCtrl_InsertStringItem
,(self
,) + _args
, _kwargs
) 
 533     def InsertImageItem(self
, *_args
, **_kwargs
): 
 534         val 
= apply(controls2c
.wxListCtrl_InsertImageItem
,(self
,) + _args
, _kwargs
) 
 536     def InsertImageStringItem(self
, *_args
, **_kwargs
): 
 537         val 
= apply(controls2c
.wxListCtrl_InsertImageStringItem
,(self
,) + _args
, _kwargs
) 
 539     def InsertColumnInfo(self
, *_args
, **_kwargs
): 
 540         val 
= apply(controls2c
.wxListCtrl_InsertColumnInfo
,(self
,) + _args
, _kwargs
) 
 542     def InsertColumn(self
, *_args
, **_kwargs
): 
 543         val 
= apply(controls2c
.wxListCtrl_InsertColumn
,(self
,) + _args
, _kwargs
) 
 545     def SetItemCount(self
, *_args
, **_kwargs
): 
 546         val 
= apply(controls2c
.wxListCtrl_SetItemCount
,(self
,) + _args
, _kwargs
) 
 548     def ScrollList(self
, *_args
, **_kwargs
): 
 549         val 
= apply(controls2c
.wxListCtrl_ScrollList
,(self
,) + _args
, _kwargs
) 
 551     def SortItems(self
, *_args
, **_kwargs
): 
 552         val 
= apply(controls2c
.wxListCtrl_SortItems
,(self
,) + _args
, _kwargs
) 
 555         return "<C wxListCtrl instance at %s>" % (self
.this
,) 
 557     def GetItem(self
, *_args
, **_kwargs
): 
 558         val 
= apply(controls2c
.wxListCtrl_GetItem
,(self
,) + _args
, _kwargs
) 
 562 class wxListCtrl(wxListCtrlPtr
): 
 563     def __init__(self
,*_args
,**_kwargs
): 
 564         self
.this 
= apply(controls2c
.new_wxListCtrl
,_args
,_kwargs
) 
 566         #wx._StdWindowCallbacks(self) 
 567         self
._setSelf
(self
, wxListCtrl
) 
 572 class wxTreeItemIdPtr 
: 
 573     def __init__(self
,this
): 
 576     def __del__(self
,controls2c
=controls2c
): 
 577         if self
.thisown 
== 1 : 
 578             controls2c
.delete_wxTreeItemId(self
) 
 579     def IsOk(self
, *_args
, **_kwargs
): 
 580         val 
= apply(controls2c
.wxTreeItemId_IsOk
,(self
,) + _args
, _kwargs
) 
 582     def __cmp__(self
, *_args
, **_kwargs
): 
 583         val 
= apply(controls2c
.wxTreeItemId___cmp__
,(self
,) + _args
, _kwargs
) 
 586         return "<C wxTreeItemId instance at %s>" % (self
.this
,) 
 587 class wxTreeItemId(wxTreeItemIdPtr
): 
 588     def __init__(self
,*_args
,**_kwargs
): 
 589         self
.this 
= apply(controls2c
.new_wxTreeItemId
,_args
,_kwargs
) 
 595 class wxTreeItemDataPtr(wxObjectPtr
): 
 596     def __init__(self
,this
): 
 599     def GetData(self
, *_args
, **_kwargs
): 
 600         val 
= apply(controls2c
.wxTreeItemData_GetData
,(self
,) + _args
, _kwargs
) 
 602     def SetData(self
, *_args
, **_kwargs
): 
 603         val 
= apply(controls2c
.wxTreeItemData_SetData
,(self
,) + _args
, _kwargs
) 
 605     def GetId(self
, *_args
, **_kwargs
): 
 606         val 
= apply(controls2c
.wxTreeItemData_GetId
,(self
,) + _args
, _kwargs
) 
 607         if val
: val 
= wxTreeItemIdPtr(val
)  
 609     def SetId(self
, *_args
, **_kwargs
): 
 610         val 
= apply(controls2c
.wxTreeItemData_SetId
,(self
,) + _args
, _kwargs
) 
 613         return "<C wxTreeItemData instance at %s>" % (self
.this
,) 
 614 class wxTreeItemData(wxTreeItemDataPtr
): 
 615     def __init__(self
,*_args
,**_kwargs
): 
 616         self
.this 
= apply(controls2c
.new_wxTreeItemData
,_args
,_kwargs
) 
 622 class wxTreeEventPtr(wxNotifyEventPtr
): 
 623     def __init__(self
,this
): 
 626     def GetItem(self
, *_args
, **_kwargs
): 
 627         val 
= apply(controls2c
.wxTreeEvent_GetItem
,(self
,) + _args
, _kwargs
) 
 628         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 630     def GetOldItem(self
, *_args
, **_kwargs
): 
 631         val 
= apply(controls2c
.wxTreeEvent_GetOldItem
,(self
,) + _args
, _kwargs
) 
 632         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 634     def GetPoint(self
, *_args
, **_kwargs
): 
 635         val 
= apply(controls2c
.wxTreeEvent_GetPoint
,(self
,) + _args
, _kwargs
) 
 636         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
 638     def GetCode(self
, *_args
, **_kwargs
): 
 639         val 
= apply(controls2c
.wxTreeEvent_GetCode
,(self
,) + _args
, _kwargs
) 
 641     def GetLabel(self
, *_args
, **_kwargs
): 
 642         val 
= apply(controls2c
.wxTreeEvent_GetLabel
,(self
,) + _args
, _kwargs
) 
 645         return "<C wxTreeEvent instance at %s>" % (self
.this
,) 
 646 class wxTreeEvent(wxTreeEventPtr
): 
 647     def __init__(self
,this
): 
 653 class wxTreeCtrlPtr(wxControlPtr
): 
 654     def __init__(self
,this
): 
 657     def _setSelf(self
, *_args
, **_kwargs
): 
 658         val 
= apply(controls2c
.wxTreeCtrl__setSelf
,(self
,) + _args
, _kwargs
) 
 660     def AssignImageList(self
, *_args
, **_kwargs
): 
 661         val 
= apply(controls2c
.wxTreeCtrl_AssignImageList
,(self
,) + _args
, _kwargs
) 
 664     def GetCount(self
, *_args
, **_kwargs
): 
 665         val 
= apply(controls2c
.wxTreeCtrl_GetCount
,(self
,) + _args
, _kwargs
) 
 667     def GetIndent(self
, *_args
, **_kwargs
): 
 668         val 
= apply(controls2c
.wxTreeCtrl_GetIndent
,(self
,) + _args
, _kwargs
) 
 670     def SetIndent(self
, *_args
, **_kwargs
): 
 671         val 
= apply(controls2c
.wxTreeCtrl_SetIndent
,(self
,) + _args
, _kwargs
) 
 673     def GetImageList(self
, *_args
, **_kwargs
): 
 674         val 
= apply(controls2c
.wxTreeCtrl_GetImageList
,(self
,) + _args
, _kwargs
) 
 676     def GetStateImageList(self
, *_args
, **_kwargs
): 
 677         val 
= apply(controls2c
.wxTreeCtrl_GetStateImageList
,(self
,) + _args
, _kwargs
) 
 679     def SetImageList(self
, *_args
, **_kwargs
): 
 680         val 
= apply(controls2c
.wxTreeCtrl_SetImageList
,(self
,) + _args
, _kwargs
) 
 682     def SetStateImageList(self
, *_args
, **_kwargs
): 
 683         val 
= apply(controls2c
.wxTreeCtrl_SetStateImageList
,(self
,) + _args
, _kwargs
) 
 685     def GetSpacing(self
, *_args
, **_kwargs
): 
 686         val 
= apply(controls2c
.wxTreeCtrl_GetSpacing
,(self
,) + _args
, _kwargs
) 
 688     def SetSpacing(self
, *_args
, **_kwargs
): 
 689         val 
= apply(controls2c
.wxTreeCtrl_SetSpacing
,(self
,) + _args
, _kwargs
) 
 691     def GetItemText(self
, *_args
, **_kwargs
): 
 692         val 
= apply(controls2c
.wxTreeCtrl_GetItemText
,(self
,) + _args
, _kwargs
) 
 694     def GetItemImage(self
, *_args
, **_kwargs
): 
 695         val 
= apply(controls2c
.wxTreeCtrl_GetItemImage
,(self
,) + _args
, _kwargs
) 
 697     def GetItemSelectedImage(self
, *_args
, **_kwargs
): 
 698         val 
= apply(controls2c
.wxTreeCtrl_GetItemSelectedImage
,(self
,) + _args
, _kwargs
) 
 700     def SetItemText(self
, *_args
, **_kwargs
): 
 701         val 
= apply(controls2c
.wxTreeCtrl_SetItemText
,(self
,) + _args
, _kwargs
) 
 703     def SetItemImage(self
, *_args
, **_kwargs
): 
 704         val 
= apply(controls2c
.wxTreeCtrl_SetItemImage
,(self
,) + _args
, _kwargs
) 
 706     def SetItemSelectedImage(self
, *_args
, **_kwargs
): 
 707         val 
= apply(controls2c
.wxTreeCtrl_SetItemSelectedImage
,(self
,) + _args
, _kwargs
) 
 709     def SetItemHasChildren(self
, *_args
, **_kwargs
): 
 710         val 
= apply(controls2c
.wxTreeCtrl_SetItemHasChildren
,(self
,) + _args
, _kwargs
) 
 712     def GetItemData(self
, *_args
, **_kwargs
): 
 713         val 
= apply(controls2c
.wxTreeCtrl_GetItemData
,(self
,) + _args
, _kwargs
) 
 714         if val
: val 
= wxTreeItemDataPtr(val
)  
 716     def SetItemData(self
, *_args
, **_kwargs
): 
 717         val 
= apply(controls2c
.wxTreeCtrl_SetItemData
,(self
,) + _args
, _kwargs
) 
 719     def GetPyData(self
, *_args
, **_kwargs
): 
 720         val 
= apply(controls2c
.wxTreeCtrl_GetPyData
,(self
,) + _args
, _kwargs
) 
 722     def SetPyData(self
, *_args
, **_kwargs
): 
 723         val 
= apply(controls2c
.wxTreeCtrl_SetPyData
,(self
,) + _args
, _kwargs
) 
 725     def IsVisible(self
, *_args
, **_kwargs
): 
 726         val 
= apply(controls2c
.wxTreeCtrl_IsVisible
,(self
,) + _args
, _kwargs
) 
 728     def ItemHasChildren(self
, *_args
, **_kwargs
): 
 729         val 
= apply(controls2c
.wxTreeCtrl_ItemHasChildren
,(self
,) + _args
, _kwargs
) 
 731     def IsExpanded(self
, *_args
, **_kwargs
): 
 732         val 
= apply(controls2c
.wxTreeCtrl_IsExpanded
,(self
,) + _args
, _kwargs
) 
 734     def IsSelected(self
, *_args
, **_kwargs
): 
 735         val 
= apply(controls2c
.wxTreeCtrl_IsSelected
,(self
,) + _args
, _kwargs
) 
 737     def GetRootItem(self
, *_args
, **_kwargs
): 
 738         val 
= apply(controls2c
.wxTreeCtrl_GetRootItem
,(self
,) + _args
, _kwargs
) 
 739         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 741     def GetSelection(self
, *_args
, **_kwargs
): 
 742         val 
= apply(controls2c
.wxTreeCtrl_GetSelection
,(self
,) + _args
, _kwargs
) 
 743         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 745     def GetItemParent(self
, *_args
, **_kwargs
): 
 746         val 
= apply(controls2c
.wxTreeCtrl_GetItemParent
,(self
,) + _args
, _kwargs
) 
 747         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 749     def GetSelections(self
, *_args
, **_kwargs
): 
 750         val 
= apply(controls2c
.wxTreeCtrl_GetSelections
,(self
,) + _args
, _kwargs
) 
 752     def GetChildrenCount(self
, *_args
, **_kwargs
): 
 753         val 
= apply(controls2c
.wxTreeCtrl_GetChildrenCount
,(self
,) + _args
, _kwargs
) 
 755     def GetFirstChild(self
, *_args
, **_kwargs
): 
 756         val 
= apply(controls2c
.wxTreeCtrl_GetFirstChild
,(self
,) + _args
, _kwargs
) 
 758     def GetNextChild(self
, *_args
, **_kwargs
): 
 759         val 
= apply(controls2c
.wxTreeCtrl_GetNextChild
,(self
,) + _args
, _kwargs
) 
 761     def GetNextSibling(self
, *_args
, **_kwargs
): 
 762         val 
= apply(controls2c
.wxTreeCtrl_GetNextSibling
,(self
,) + _args
, _kwargs
) 
 763         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 765     def GetPrevSibling(self
, *_args
, **_kwargs
): 
 766         val 
= apply(controls2c
.wxTreeCtrl_GetPrevSibling
,(self
,) + _args
, _kwargs
) 
 767         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 769     def GetFirstVisibleItem(self
, *_args
, **_kwargs
): 
 770         val 
= apply(controls2c
.wxTreeCtrl_GetFirstVisibleItem
,(self
,) + _args
, _kwargs
) 
 771         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 773     def GetNextVisible(self
, *_args
, **_kwargs
): 
 774         val 
= apply(controls2c
.wxTreeCtrl_GetNextVisible
,(self
,) + _args
, _kwargs
) 
 775         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 777     def GetPrevVisible(self
, *_args
, **_kwargs
): 
 778         val 
= apply(controls2c
.wxTreeCtrl_GetPrevVisible
,(self
,) + _args
, _kwargs
) 
 779         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 781     def GetLastChild(self
, *_args
, **_kwargs
): 
 782         val 
= apply(controls2c
.wxTreeCtrl_GetLastChild
,(self
,) + _args
, _kwargs
) 
 783         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 785     def AddRoot(self
, *_args
, **_kwargs
): 
 786         val 
= apply(controls2c
.wxTreeCtrl_AddRoot
,(self
,) + _args
, _kwargs
) 
 787         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 789     def PrependItem(self
, *_args
, **_kwargs
): 
 790         val 
= apply(controls2c
.wxTreeCtrl_PrependItem
,(self
,) + _args
, _kwargs
) 
 791         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 793     def InsertItem(self
, *_args
, **_kwargs
): 
 794         val 
= apply(controls2c
.wxTreeCtrl_InsertItem
,(self
,) + _args
, _kwargs
) 
 795         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 797     def InsertItemBefore(self
, *_args
, **_kwargs
): 
 798         val 
= apply(controls2c
.wxTreeCtrl_InsertItemBefore
,(self
,) + _args
, _kwargs
) 
 799         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 801     def AppendItem(self
, *_args
, **_kwargs
): 
 802         val 
= apply(controls2c
.wxTreeCtrl_AppendItem
,(self
,) + _args
, _kwargs
) 
 803         if val
: val 
= wxTreeItemIdPtr(val
) ; val
.thisown 
= 1 
 805     def Delete(self
, *_args
, **_kwargs
): 
 806         val 
= apply(controls2c
.wxTreeCtrl_Delete
,(self
,) + _args
, _kwargs
) 
 808     def DeleteChildren(self
, *_args
, **_kwargs
): 
 809         val 
= apply(controls2c
.wxTreeCtrl_DeleteChildren
,(self
,) + _args
, _kwargs
) 
 811     def DeleteAllItems(self
, *_args
, **_kwargs
): 
 812         val 
= apply(controls2c
.wxTreeCtrl_DeleteAllItems
,(self
,) + _args
, _kwargs
) 
 814     def Expand(self
, *_args
, **_kwargs
): 
 815         val 
= apply(controls2c
.wxTreeCtrl_Expand
,(self
,) + _args
, _kwargs
) 
 817     def Collapse(self
, *_args
, **_kwargs
): 
 818         val 
= apply(controls2c
.wxTreeCtrl_Collapse
,(self
,) + _args
, _kwargs
) 
 820     def CollapseAndReset(self
, *_args
, **_kwargs
): 
 821         val 
= apply(controls2c
.wxTreeCtrl_CollapseAndReset
,(self
,) + _args
, _kwargs
) 
 823     def Toggle(self
, *_args
, **_kwargs
): 
 824         val 
= apply(controls2c
.wxTreeCtrl_Toggle
,(self
,) + _args
, _kwargs
) 
 826     def Unselect(self
, *_args
, **_kwargs
): 
 827         val 
= apply(controls2c
.wxTreeCtrl_Unselect
,(self
,) + _args
, _kwargs
) 
 829     def UnselectAll(self
, *_args
, **_kwargs
): 
 830         val 
= apply(controls2c
.wxTreeCtrl_UnselectAll
,(self
,) + _args
, _kwargs
) 
 832     def SelectItem(self
, *_args
, **_kwargs
): 
 833         val 
= apply(controls2c
.wxTreeCtrl_SelectItem
,(self
,) + _args
, _kwargs
) 
 835     def EnsureVisible(self
, *_args
, **_kwargs
): 
 836         val 
= apply(controls2c
.wxTreeCtrl_EnsureVisible
,(self
,) + _args
, _kwargs
) 
 838     def ScrollTo(self
, *_args
, **_kwargs
): 
 839         val 
= apply(controls2c
.wxTreeCtrl_ScrollTo
,(self
,) + _args
, _kwargs
) 
 841     def EditLabel(self
, *_args
, **_kwargs
): 
 842         val 
= apply(controls2c
.wxTreeCtrl_EditLabel
,(self
,) + _args
, _kwargs
) 
 844     def GetEditControl(self
, *_args
, **_kwargs
): 
 845         val 
= apply(controls2c
.wxTreeCtrl_GetEditControl
,(self
,) + _args
, _kwargs
) 
 847     def EndEditLabel(self
, *_args
, **_kwargs
): 
 848         val 
= apply(controls2c
.wxTreeCtrl_EndEditLabel
,(self
,) + _args
, _kwargs
) 
 850     def SortChildren(self
, *_args
, **_kwargs
): 
 851         val 
= apply(controls2c
.wxTreeCtrl_SortChildren
,(self
,) + _args
, _kwargs
) 
 853     def SetItemBold(self
, *_args
, **_kwargs
): 
 854         val 
= apply(controls2c
.wxTreeCtrl_SetItemBold
,(self
,) + _args
, _kwargs
) 
 856     def IsBold(self
, *_args
, **_kwargs
): 
 857         val 
= apply(controls2c
.wxTreeCtrl_IsBold
,(self
,) + _args
, _kwargs
) 
 859     def HitTest(self
, *_args
, **_kwargs
): 
 860         val 
= apply(controls2c
.wxTreeCtrl_HitTest
,(self
,) + _args
, _kwargs
) 
 862     def SetItemTextColour(self
, *_args
, **_kwargs
): 
 863         val 
= apply(controls2c
.wxTreeCtrl_SetItemTextColour
,(self
,) + _args
, _kwargs
) 
 865     def SetItemBackgroundColour(self
, *_args
, **_kwargs
): 
 866         val 
= apply(controls2c
.wxTreeCtrl_SetItemBackgroundColour
,(self
,) + _args
, _kwargs
) 
 868     def SetItemFont(self
, *_args
, **_kwargs
): 
 869         val 
= apply(controls2c
.wxTreeCtrl_SetItemFont
,(self
,) + _args
, _kwargs
) 
 871     def SetItemDropHighlight(self
, *_args
, **_kwargs
): 
 872         val 
= apply(controls2c
.wxTreeCtrl_SetItemDropHighlight
,(self
,) + _args
, _kwargs
) 
 874     def GetBoundingRect(self
, *_args
, **_kwargs
): 
 875         val 
= apply(controls2c
.wxTreeCtrl_GetBoundingRect
,(self
,) + _args
, _kwargs
) 
 878         return "<C wxTreeCtrl instance at %s>" % (self
.this
,) 
 880     # Redefine some methods that SWIG gets a bit confused on... 
 881     def GetFirstChild(self
, *_args
, **_kwargs
): 
 882         val1
,val2 
= apply(controls2c
.wxTreeCtrl_GetFirstChild
,(self
,) + _args
, _kwargs
) 
 883         val1 
= wxTreeItemIdPtr(val1
) 
 886     def GetNextChild(self
, *_args
, **_kwargs
): 
 887         val1
,val2 
= apply(controls2c
.wxTreeCtrl_GetNextChild
,(self
,) + _args
, _kwargs
) 
 888         val1 
= wxTreeItemIdPtr(val1
) 
 891     def HitTest(self
, *_args
, **_kwargs
): 
 892         val1
, val2 
= apply(controls2c
.wxTreeCtrl_HitTest
,(self
,) + _args
, _kwargs
) 
 893         val1 
= wxTreeItemIdPtr(val1
) 
 897 class wxTreeCtrl(wxTreeCtrlPtr
): 
 898     def __init__(self
,*_args
,**_kwargs
): 
 899         self
.this 
= apply(controls2c
.new_wxTreeCtrl
,_args
,_kwargs
) 
 901         #wx._StdWindowCallbacks(self) 
 902         self
._setSelf
(self
, wxTreeCtrl
) 
 909 #-------------- FUNCTION WRAPPERS ------------------ 
 913 #-------------- VARIABLE WRAPPERS ------------------ 
 915 wxEVT_COMMAND_LIST_BEGIN_DRAG 
= controls2c
.wxEVT_COMMAND_LIST_BEGIN_DRAG
 
 916 wxEVT_COMMAND_LIST_BEGIN_RDRAG 
= controls2c
.wxEVT_COMMAND_LIST_BEGIN_RDRAG
 
 917 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT 
= controls2c
.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
 
 918 wxEVT_COMMAND_LIST_END_LABEL_EDIT 
= controls2c
.wxEVT_COMMAND_LIST_END_LABEL_EDIT
 
 919 wxEVT_COMMAND_LIST_DELETE_ITEM 
= controls2c
.wxEVT_COMMAND_LIST_DELETE_ITEM
 
 920 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS 
= controls2c
.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
 
 921 wxEVT_COMMAND_LIST_GET_INFO 
= controls2c
.wxEVT_COMMAND_LIST_GET_INFO
 
 922 wxEVT_COMMAND_LIST_SET_INFO 
= controls2c
.wxEVT_COMMAND_LIST_SET_INFO
 
 923 wxEVT_COMMAND_LIST_ITEM_SELECTED 
= controls2c
.wxEVT_COMMAND_LIST_ITEM_SELECTED
 
 924 wxEVT_COMMAND_LIST_ITEM_DESELECTED 
= controls2c
.wxEVT_COMMAND_LIST_ITEM_DESELECTED
 
 925 wxEVT_COMMAND_LIST_KEY_DOWN 
= controls2c
.wxEVT_COMMAND_LIST_KEY_DOWN
 
 926 wxEVT_COMMAND_LIST_INSERT_ITEM 
= controls2c
.wxEVT_COMMAND_LIST_INSERT_ITEM
 
 927 wxEVT_COMMAND_LIST_COL_CLICK 
= controls2c
.wxEVT_COMMAND_LIST_COL_CLICK
 
 928 wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK 
= controls2c
.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
 
 929 wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK 
= controls2c
.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
 
 930 wxEVT_COMMAND_LIST_ITEM_ACTIVATED 
= controls2c
.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
 
 931 wxEVT_COMMAND_LIST_CACHE_HINT 
= controls2c
.wxEVT_COMMAND_LIST_CACHE_HINT
 
 932 wxLC_VRULES 
= controls2c
.wxLC_VRULES
 
 933 wxLC_HRULES 
= controls2c
.wxLC_HRULES
 
 934 wxLC_ICON 
= controls2c
.wxLC_ICON
 
 935 wxLC_SMALL_ICON 
= controls2c
.wxLC_SMALL_ICON
 
 936 wxLC_LIST 
= controls2c
.wxLC_LIST
 
 937 wxLC_REPORT 
= controls2c
.wxLC_REPORT
 
 938 wxLC_ALIGN_TOP 
= controls2c
.wxLC_ALIGN_TOP
 
 939 wxLC_ALIGN_LEFT 
= controls2c
.wxLC_ALIGN_LEFT
 
 940 wxLC_AUTOARRANGE 
= controls2c
.wxLC_AUTOARRANGE
 
 941 wxLC_VIRTUAL 
= controls2c
.wxLC_VIRTUAL
 
 942 wxLC_EDIT_LABELS 
= controls2c
.wxLC_EDIT_LABELS
 
 943 wxLC_NO_HEADER 
= controls2c
.wxLC_NO_HEADER
 
 944 wxLC_NO_SORT_HEADER 
= controls2c
.wxLC_NO_SORT_HEADER
 
 945 wxLC_SINGLE_SEL 
= controls2c
.wxLC_SINGLE_SEL
 
 946 wxLC_SORT_ASCENDING 
= controls2c
.wxLC_SORT_ASCENDING
 
 947 wxLC_SORT_DESCENDING 
= controls2c
.wxLC_SORT_DESCENDING
 
 948 wxLC_MASK_TYPE 
= controls2c
.wxLC_MASK_TYPE
 
 949 wxLC_MASK_ALIGN 
= controls2c
.wxLC_MASK_ALIGN
 
 950 wxLC_MASK_SORT 
= controls2c
.wxLC_MASK_SORT
 
 951 wxLIST_MASK_STATE 
= controls2c
.wxLIST_MASK_STATE
 
 952 wxLIST_MASK_TEXT 
= controls2c
.wxLIST_MASK_TEXT
 
 953 wxLIST_MASK_IMAGE 
= controls2c
.wxLIST_MASK_IMAGE
 
 954 wxLIST_MASK_DATA 
= controls2c
.wxLIST_MASK_DATA
 
 955 wxLIST_SET_ITEM 
= controls2c
.wxLIST_SET_ITEM
 
 956 wxLIST_MASK_WIDTH 
= controls2c
.wxLIST_MASK_WIDTH
 
 957 wxLIST_MASK_FORMAT 
= controls2c
.wxLIST_MASK_FORMAT
 
 958 wxLIST_STATE_DONTCARE 
= controls2c
.wxLIST_STATE_DONTCARE
 
 959 wxLIST_STATE_DROPHILITED 
= controls2c
.wxLIST_STATE_DROPHILITED
 
 960 wxLIST_STATE_FOCUSED 
= controls2c
.wxLIST_STATE_FOCUSED
 
 961 wxLIST_STATE_SELECTED 
= controls2c
.wxLIST_STATE_SELECTED
 
 962 wxLIST_STATE_CUT 
= controls2c
.wxLIST_STATE_CUT
 
 963 wxLIST_HITTEST_ABOVE 
= controls2c
.wxLIST_HITTEST_ABOVE
 
 964 wxLIST_HITTEST_BELOW 
= controls2c
.wxLIST_HITTEST_BELOW
 
 965 wxLIST_HITTEST_NOWHERE 
= controls2c
.wxLIST_HITTEST_NOWHERE
 
 966 wxLIST_HITTEST_ONITEMICON 
= controls2c
.wxLIST_HITTEST_ONITEMICON
 
 967 wxLIST_HITTEST_ONITEMLABEL 
= controls2c
.wxLIST_HITTEST_ONITEMLABEL
 
 968 wxLIST_HITTEST_ONITEMRIGHT 
= controls2c
.wxLIST_HITTEST_ONITEMRIGHT
 
 969 wxLIST_HITTEST_ONITEMSTATEICON 
= controls2c
.wxLIST_HITTEST_ONITEMSTATEICON
 
 970 wxLIST_HITTEST_TOLEFT 
= controls2c
.wxLIST_HITTEST_TOLEFT
 
 971 wxLIST_HITTEST_TORIGHT 
= controls2c
.wxLIST_HITTEST_TORIGHT
 
 972 wxLIST_HITTEST_ONITEM 
= controls2c
.wxLIST_HITTEST_ONITEM
 
 973 wxLIST_NEXT_ABOVE 
= controls2c
.wxLIST_NEXT_ABOVE
 
 974 wxLIST_NEXT_ALL 
= controls2c
.wxLIST_NEXT_ALL
 
 975 wxLIST_NEXT_BELOW 
= controls2c
.wxLIST_NEXT_BELOW
 
 976 wxLIST_NEXT_LEFT 
= controls2c
.wxLIST_NEXT_LEFT
 
 977 wxLIST_NEXT_RIGHT 
= controls2c
.wxLIST_NEXT_RIGHT
 
 978 wxLIST_ALIGN_DEFAULT 
= controls2c
.wxLIST_ALIGN_DEFAULT
 
 979 wxLIST_ALIGN_LEFT 
= controls2c
.wxLIST_ALIGN_LEFT
 
 980 wxLIST_ALIGN_TOP 
= controls2c
.wxLIST_ALIGN_TOP
 
 981 wxLIST_ALIGN_SNAP_TO_GRID 
= controls2c
.wxLIST_ALIGN_SNAP_TO_GRID
 
 982 wxLIST_AUTOSIZE 
= controls2c
.wxLIST_AUTOSIZE
 
 983 wxLIST_AUTOSIZE_USEHEADER 
= controls2c
.wxLIST_AUTOSIZE_USEHEADER
 
 984 wxLIST_RECT_BOUNDS 
= controls2c
.wxLIST_RECT_BOUNDS
 
 985 wxLIST_RECT_ICON 
= controls2c
.wxLIST_RECT_ICON
 
 986 wxLIST_RECT_LABEL 
= controls2c
.wxLIST_RECT_LABEL
 
 987 wxLIST_FIND_UP 
= controls2c
.wxLIST_FIND_UP
 
 988 wxLIST_FIND_DOWN 
= controls2c
.wxLIST_FIND_DOWN
 
 989 wxLIST_FIND_LEFT 
= controls2c
.wxLIST_FIND_LEFT
 
 990 wxLIST_FIND_RIGHT 
= controls2c
.wxLIST_FIND_RIGHT
 
 991 wxLIST_FORMAT_LEFT 
= controls2c
.wxLIST_FORMAT_LEFT
 
 992 wxLIST_FORMAT_RIGHT 
= controls2c
.wxLIST_FORMAT_RIGHT
 
 993 wxLIST_FORMAT_CENTRE 
= controls2c
.wxLIST_FORMAT_CENTRE
 
 994 wxLIST_FORMAT_CENTER 
= controls2c
.wxLIST_FORMAT_CENTER
 
 995 wxTreeItemIcon_Normal 
= controls2c
.wxTreeItemIcon_Normal
 
 996 wxTreeItemIcon_Selected 
= controls2c
.wxTreeItemIcon_Selected
 
 997 wxTreeItemIcon_Expanded 
= controls2c
.wxTreeItemIcon_Expanded
 
 998 wxTreeItemIcon_SelectedExpanded 
= controls2c
.wxTreeItemIcon_SelectedExpanded
 
 999 wxTreeItemIcon_Max 
= controls2c
.wxTreeItemIcon_Max
 
1000 wxTREE_HITTEST_ABOVE 
= controls2c
.wxTREE_HITTEST_ABOVE
 
1001 wxTREE_HITTEST_BELOW 
= controls2c
.wxTREE_HITTEST_BELOW
 
1002 wxTREE_HITTEST_NOWHERE 
= controls2c
.wxTREE_HITTEST_NOWHERE
 
1003 wxTREE_HITTEST_ONITEMBUTTON 
= controls2c
.wxTREE_HITTEST_ONITEMBUTTON
 
1004 wxTREE_HITTEST_ONITEMICON 
= controls2c
.wxTREE_HITTEST_ONITEMICON
 
1005 wxTREE_HITTEST_ONITEMINDENT 
= controls2c
.wxTREE_HITTEST_ONITEMINDENT
 
1006 wxTREE_HITTEST_ONITEMLABEL 
= controls2c
.wxTREE_HITTEST_ONITEMLABEL
 
1007 wxTREE_HITTEST_ONITEMRIGHT 
= controls2c
.wxTREE_HITTEST_ONITEMRIGHT
 
1008 wxTREE_HITTEST_ONITEMSTATEICON 
= controls2c
.wxTREE_HITTEST_ONITEMSTATEICON
 
1009 wxTREE_HITTEST_TOLEFT 
= controls2c
.wxTREE_HITTEST_TOLEFT
 
1010 wxTREE_HITTEST_TORIGHT 
= controls2c
.wxTREE_HITTEST_TORIGHT
 
1011 wxTREE_HITTEST_ONITEMUPPERPART 
= controls2c
.wxTREE_HITTEST_ONITEMUPPERPART
 
1012 wxTREE_HITTEST_ONITEMLOWERPART 
= controls2c
.wxTREE_HITTEST_ONITEMLOWERPART
 
1013 wxTREE_HITTEST_ONITEM 
= controls2c
.wxTREE_HITTEST_ONITEM
 
1014 wxEVT_COMMAND_TREE_BEGIN_DRAG 
= controls2c
.wxEVT_COMMAND_TREE_BEGIN_DRAG
 
1015 wxEVT_COMMAND_TREE_BEGIN_RDRAG 
= controls2c
.wxEVT_COMMAND_TREE_BEGIN_RDRAG
 
1016 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT 
= controls2c
.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
 
1017 wxEVT_COMMAND_TREE_END_LABEL_EDIT 
= controls2c
.wxEVT_COMMAND_TREE_END_LABEL_EDIT
 
1018 wxEVT_COMMAND_TREE_DELETE_ITEM 
= controls2c
.wxEVT_COMMAND_TREE_DELETE_ITEM
 
1019 wxEVT_COMMAND_TREE_GET_INFO 
= controls2c
.wxEVT_COMMAND_TREE_GET_INFO
 
1020 wxEVT_COMMAND_TREE_SET_INFO 
= controls2c
.wxEVT_COMMAND_TREE_SET_INFO
 
1021 wxEVT_COMMAND_TREE_ITEM_EXPANDED 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_EXPANDED
 
1022 wxEVT_COMMAND_TREE_ITEM_EXPANDING 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_EXPANDING
 
1023 wxEVT_COMMAND_TREE_ITEM_COLLAPSED 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
 
1024 wxEVT_COMMAND_TREE_ITEM_COLLAPSING 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
 
1025 wxEVT_COMMAND_TREE_SEL_CHANGED 
= controls2c
.wxEVT_COMMAND_TREE_SEL_CHANGED
 
1026 wxEVT_COMMAND_TREE_SEL_CHANGING 
= controls2c
.wxEVT_COMMAND_TREE_SEL_CHANGING
 
1027 wxEVT_COMMAND_TREE_KEY_DOWN 
= controls2c
.wxEVT_COMMAND_TREE_KEY_DOWN
 
1028 wxEVT_COMMAND_TREE_ITEM_ACTIVATED 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_ACTIVATED
 
1029 wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
 
1030 wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK 
= controls2c
.wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
 
1031 wxEVT_COMMAND_TREE_END_DRAG 
= controls2c
.wxEVT_COMMAND_TREE_END_DRAG