+ self.this = controls2c.new_wxTreeCtrl(*_args,**_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxTreeCtrl)
+ self._setOORInfo(self)
+
+
+
+def wxPreTreeCtrl(*_args,**_kwargs):
+ val = wxTreeCtrlPtr(controls2c.new_wxPreTreeCtrl(*_args,**_kwargs))
+ val.thisown = 1
+ val._setOORInfo(val)
+ return val
+
+
+class wxDirItemDataPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def SetNewDirName(self, *_args, **_kwargs):
+ val = controls2c.wxDirItemData_SetNewDirName(self, *_args, **_kwargs)
+ return val
+ def __setattr__(self,name,value):
+ if name == "m_path" :
+ controls2c.wxDirItemData_m_path_set(self,value)
+ return
+ if name == "m_name" :
+ controls2c.wxDirItemData_m_name_set(self,value)
+ return
+ if name == "m_isHidden" :
+ controls2c.wxDirItemData_m_isHidden_set(self,value)
+ return
+ if name == "m_isExpanded" :
+ controls2c.wxDirItemData_m_isExpanded_set(self,value)
+ return
+ if name == "m_isDir" :
+ controls2c.wxDirItemData_m_isDir_set(self,value)
+ return
+ self.__dict__[name] = value
+ def __getattr__(self,name):
+ if name == "m_path" :
+ return controls2c.wxDirItemData_m_path_get(self)
+ if name == "m_name" :
+ return controls2c.wxDirItemData_m_name_get(self)
+ if name == "m_isHidden" :
+ return controls2c.wxDirItemData_m_isHidden_get(self)
+ if name == "m_isExpanded" :
+ return controls2c.wxDirItemData_m_isExpanded_get(self)
+ if name == "m_isDir" :
+ return controls2c.wxDirItemData_m_isDir_get(self)
+ raise AttributeError,name
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxDirItemData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxDirItemData(wxDirItemDataPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = controls2c.new_wxDirItemData(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxGenericDirCtrlPtr(wxControlPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Create(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_Create(self, *_args, **_kwargs)
+ return val
+ def ExpandPath(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_ExpandPath(self, *_args, **_kwargs)
+ return val
+ def GetDefaultPath(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetDefaultPath(self, *_args, **_kwargs)
+ return val
+ def SetDefaultPath(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_SetDefaultPath(self, *_args, **_kwargs)
+ return val
+ def GetPath(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetPath(self, *_args, **_kwargs)
+ return val
+ def GetFilePath(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetFilePath(self, *_args, **_kwargs)
+ return val
+ def SetPath(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_SetPath(self, *_args, **_kwargs)
+ return val
+ def ShowHidden(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_ShowHidden(self, *_args, **_kwargs)
+ return val
+ def GetShowHidden(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetShowHidden(self, *_args, **_kwargs)
+ return val
+ def GetFilter(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetFilter(self, *_args, **_kwargs)
+ return val
+ def SetFilter(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_SetFilter(self, *_args, **_kwargs)
+ return val
+ def GetFilterIndex(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetFilterIndex(self, *_args, **_kwargs)
+ return val
+ def SetFilterIndex(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_SetFilterIndex(self, *_args, **_kwargs)
+ return val
+ def GetRootId(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetRootId(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetTreeCtrl(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetTreeCtrl(self, *_args, **_kwargs)
+ return val
+ def GetFilterListCtrl(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_GetFilterListCtrl(self, *_args, **_kwargs)
+ if val: val = wxDirFilterListCtrlPtr(val)
+ return val
+ def ReCreateTree(self, *_args, **_kwargs):
+ val = controls2c.wxGenericDirCtrl_ReCreateTree(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxGenericDirCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxGenericDirCtrl(wxGenericDirCtrlPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = controls2c.new_wxGenericDirCtrl(*_args,**_kwargs)
+ self.thisown = 1
+ self._setOORInfo(self)
+
+
+
+def wxPreGenericDirCtrl(*_args,**_kwargs):
+ val = wxGenericDirCtrlPtr(controls2c.new_wxPreGenericDirCtrl(*_args,**_kwargs))
+ val.thisown = 1
+ val._setOORInfo(val)
+ return val
+
+
+class wxDirFilterListCtrlPtr(wxChoicePtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Create(self, *_args, **_kwargs):
+ val = controls2c.wxDirFilterListCtrl_Create(self, *_args, **_kwargs)
+ return val
+ def FillFilterList(self, *_args, **_kwargs):
+ val = controls2c.wxDirFilterListCtrl_FillFilterList(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxDirFilterListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxDirFilterListCtrl(wxDirFilterListCtrlPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = controls2c.new_wxDirFilterListCtrl(*_args,**_kwargs)
+ self.thisown = 1
+ self._setOORInfo(self)
+
+
+
+def wxPreDirFilterListCtrl(*_args,**_kwargs):
+ val = wxDirFilterListCtrlPtr(controls2c.new_wxPreDirFilterListCtrl(*_args,**_kwargs))
+ val.thisown = 1
+ val._setOORInfo(val)
+ return val
+
+
+class wxFileIconsTablePtr :
+ folder = controls2c.wxFileIconsTable_folder
+ folder_open = controls2c.wxFileIconsTable_folder_open
+ computer = controls2c.wxFileIconsTable_computer
+ drive = controls2c.wxFileIconsTable_drive
+ cdrom = controls2c.wxFileIconsTable_cdrom
+ floppy = controls2c.wxFileIconsTable_floppy
+ removeable = controls2c.wxFileIconsTable_removeable
+ file = controls2c.wxFileIconsTable_file
+ executable = controls2c.wxFileIconsTable_executable
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self, delfunc=controls2c.delete_wxFileIconsTable):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
+ def GetIconID(self, *_args, **_kwargs):
+ val = controls2c.wxFileIconsTable_GetIconID(self, *_args, **_kwargs)
+ return val
+ def GetSmallImageList(self, *_args, **_kwargs):
+ val = controls2c.wxFileIconsTable_GetSmallImageList(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxFileIconsTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxFileIconsTable(wxFileIconsTablePtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = controls2c.new_wxFileIconsTable(*_args,**_kwargs)