return _resultobj;
}
-#define wxTreeItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
-static PyObject *_wrap_wxTreeItem_m_mask_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_mask_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_mask_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeItem_m_mask_get(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
-static PyObject *_wrap_wxTreeItem_m_itemId_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_itemId_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_itemId_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeItem_m_itemId_get(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
-static PyObject *_wrap_wxTreeItem_m_state_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_state_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_state_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeItem_m_state_get(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
-static PyObject *_wrap_wxTreeItem_m_stateMask_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_stateMask_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_stateMask_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeItem_m_stateMask_get(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_text_get(_swigobj) (&_swigobj->m_text)
-static PyObject *_wrap_wxTreeItem_m_text_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxString * _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_text_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_text_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (wxString *)wxTreeItem_m_text_get(_arg0);
-{
- _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
-}
- return _resultobj;
-}
-
-#define wxTreeItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
-static PyObject *_wrap_wxTreeItem_m_image_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_image_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_image_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (int )wxTreeItem_m_image_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_selectedImage_get(_swigobj) ((int ) _swigobj->m_selectedImage)
-static PyObject *_wrap_wxTreeItem_m_selectedImage_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_selectedImage_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_selectedImage_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (int )wxTreeItem_m_selectedImage_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_children_get(_swigobj) ((int ) _swigobj->m_children)
-static PyObject *_wrap_wxTreeItem_m_children_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_children_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_children_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (int )wxTreeItem_m_children_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
-static PyObject *_wrap_wxTreeItem_m_data_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeItem_m_data_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItem_m_data_get. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeItem_m_data_get(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define new_wxTreeItem() (new wxTreeItem())
-static PyObject *_wrap_new_wxTreeItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeItem * _result;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,":new_wxTreeItem"))
- return NULL;
- _result = (wxTreeItem *)new_wxTreeItem();
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-#define delete_wxTreeItem(_swigobj) (delete _swigobj)
-static PyObject *_wrap_delete_wxTreeItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeItem * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:delete_wxTreeItem",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItem. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- delete_wxTreeItem(_arg0);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
- wxTreeEvent *src;
- wxCommandEvent *dest;
- src = (wxTreeEvent *) ptr;
- dest = (wxCommandEvent *) src;
- return (void *) dest;
-}
-
-static void *SwigwxTreeEventTowxEvent(void *ptr) {
- wxTreeEvent *src;
- wxEvent *dest;
- src = (wxTreeEvent *) ptr;
- dest = (wxEvent *) src;
- return (void *) dest;
-}
-
-#define wxTreeEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
-static PyObject *_wrap_wxTreeEvent_m_code_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxTreeEvent * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_code_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_code_get. Expected _wxTreeEvent_p.");
- return NULL;
- }
- }
- _result = (int )wxTreeEvent_m_code_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeEvent_m_item_get(_swigobj) (&_swigobj->m_item)
-static PyObject *_wrap_wxTreeEvent_m_item_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeItem * _result;
- wxTreeEvent * _arg0;
- char * _argc0 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_item_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_item_get. Expected _wxTreeEvent_p.");
- return NULL;
- }
- }
- _result = (wxTreeItem *)wxTreeEvent_m_item_get(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-#define wxTreeEvent_m_oldItem_get(_swigobj) ((long ) _swigobj->m_oldItem)
-static PyObject *_wrap_wxTreeEvent_m_oldItem_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeEvent * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_oldItem_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_oldItem_get. Expected _wxTreeEvent_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeEvent_m_oldItem_get(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
-static PyObject *_wrap_wxTreeEvent_m_pointDrag_get(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxPoint * _result;
- wxTreeEvent * _arg0;
- char * _argc0 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeEvent_m_pointDrag_get",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_m_pointDrag_get. Expected _wxTreeEvent_p.");
- return NULL;
- }
- }
- _result = (wxPoint *)wxTreeEvent_m_pointDrag_get(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-static void *SwigwxTreeCtrlTowxControl(void *ptr) {
- wxTreeCtrl *src;
- wxControl *dest;
- src = (wxTreeCtrl *) ptr;
- dest = (wxControl *) src;
- return (void *) dest;
-}
-
-static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
- wxTreeCtrl *src;
- wxWindow *dest;
- src = (wxTreeCtrl *) ptr;
- dest = (wxWindow *) src;
- return (void *) dest;
-}
-
-static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
- wxTreeCtrl *src;
- wxEvtHandler *dest;
- src = (wxTreeCtrl *) ptr;
- dest = (wxEvtHandler *) src;
- return (void *) dest;
-}
-
-#define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
-static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeCtrl * _result;
- wxWindow * _arg0;
- wxWindowID _arg1 = -1;
- wxPoint * _arg2 = &wxPyDefaultPosition;
- wxSize * _arg3 = &wxPyDefaultSize;
- long _arg4 = (wxTR_HAS_BUTTONS);
- wxValidator * _arg5 = &wxPyDefaultValidator;
- char * _arg6 = "wxTreeCtrl";
- char * _argc0 = 0;
- char * _argc2 = 0;
- char * _argc3 = 0;
- char * _argc5 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"s|isslss:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
- return NULL;
- }
- }
- if (_argc2) {
- if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
- return NULL;
- }
- }
- if (_argc3) {
- if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
- return NULL;
- }
- }
- if (_argc5) {
- if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
- return NULL;
- }
- }
- _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-#define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
-static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- bool _result;
- wxTreeCtrl * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (bool )wxTreeCtrl_DeleteAllItems(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_DeleteItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeCtrl * _arg0;
- long _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_DeleteItem",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteItem. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- wxTreeCtrl_DeleteItem(_arg0,_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
-static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxTreeCtrl * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (int )wxTreeCtrl_GetCount(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxImageList * _result;
- wxTreeCtrl * _arg0;
- int _arg1 = wxIMAGE_LIST_NORMAL;
- char * _argc0 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"s|i:wxTreeCtrl_GetImageList",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0,_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
-static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- int _result;
- wxTreeCtrl * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (int )wxTreeCtrl_GetIndent(_arg0);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_GetItemData",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeCtrl_GetItemData(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-static wxTreeItem * wxTreeCtrl_GetItem(wxTreeCtrl *self) {
- wxTreeItem* info = new wxTreeItem;
- self->GetItem(*info);
- return info;
- }
-static PyObject *_wrap_wxTreeCtrl_GetItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeItem * _result;
- wxTreeCtrl * _arg0;
- char * _argc0 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetItem",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItem. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (wxTreeItem *)wxTreeCtrl_GetItem(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxString * _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_GetItemText",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = new wxString (wxTreeCtrl_GetItemText(_arg0,_arg1));
-{
- _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
-}
-{
- delete _result;
-}
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_GetParent",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeCtrl_GetParent(_arg0,_arg1);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
-static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeCtrl_GetRootItem(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
-static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeCtrl_GetSelection(_arg0);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- wxPoint * _arg1;
- int * _arg2;
- int temp;
- char * _argc0 = 0;
- char * _argc1 = 0;
-
- self = self;
-{
- _arg2 = &temp;
-}
- if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_HitTest",&_argc0,&_argc1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2);
- _resultobj = Py_BuildValue("l",_result);
-{
- PyObject *o;
- o = PyInt_FromLong((long) (*_arg2));
- _resultobj = t_output_helper(_resultobj, o);
-}
- return _resultobj;
-}
-
-#define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
-static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- wxTreeItem * _arg2;
- long _arg3 = (wxTREE_INSERT_LAST);
- char * _argc0 = 0;
- char * _argc2 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sls|l:wxTreeCtrl_InsertItem",&_argc0,&_arg1,&_argc2,&_arg3))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- if (_argc2) {
- if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (long )wxTreeCtrl_InsertItem(_arg0,_arg1,*_arg2,_arg3);
- _resultobj = Py_BuildValue("l",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_InsertItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
-static PyObject *_wrap_wxTreeCtrl_InsertItemString(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- long _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- wxString * _arg2;
- int _arg3 = -1;
- int _arg4 = -1;
- long _arg5 = (wxTREE_INSERT_LAST);
- char * _argc0 = 0;
- PyObject * _obj2 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"slO|iil:wxTreeCtrl_InsertItemString",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4,&_arg5))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemString. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
-{
- if (!PyString_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
- return NULL;
- }
- _arg2 = new wxString(PyString_AsString(_obj2));
-}
- _result = (long )wxTreeCtrl_InsertItemString(_arg0,_arg1,*_arg2,_arg3,_arg4,_arg5);
- _resultobj = Py_BuildValue("l",_result);
-{
- if (_obj2)
- delete _arg2;
-}
- return _resultobj;
-}
-
-#define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- bool _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_ItemHasChildren",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- bool _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sl:wxTreeCtrl_SelectItem",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (bool )wxTreeCtrl_SelectItem(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeCtrl * _arg0;
- int _arg1;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- wxTreeCtrl_SetIndent(_arg0,_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-#define wxTreeCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeCtrl * _arg0;
- wxImageList * _arg1;
- int _arg2 = wxIMAGE_LIST_NORMAL;
- char * _argc0 = 0;
- char * _argc1 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetImageList",&_argc0,&_argc1,&_arg2))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
- return NULL;
- }
- }
- wxTreeCtrl_SetImageList(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-#define wxTreeCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
-static PyObject *_wrap_wxTreeCtrl_SetItem(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- bool _result;
- wxTreeCtrl * _arg0;
- wxTreeItem * _arg1;
- char * _argc0 = 0;
- char * _argc1 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetItem",&_argc0,&_argc1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItem. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- if (_argc1) {
- if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItem_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItem. Expected _wxTreeItem_p.");
- return NULL;
- }
- }
- _result = (bool )wxTreeCtrl_SetItem(_arg0,*_arg1);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-#define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
-static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeCtrl * _arg0;
- long _arg1;
- int _arg2;
- int _arg3;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"slii:wxTreeCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- wxTreeCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-#define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxTreeCtrl * _arg0;
- long _arg1;
- wxString * _arg2;
- char * _argc0 = 0;
- PyObject * _obj2 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"slO:wxTreeCtrl_SetItemText",&_argc0,&_arg1,&_obj2))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
-{
- if (!PyString_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
- return NULL;
- }
- _arg2 = new wxString(PyString_AsString(_obj2));
-}
- wxTreeCtrl_SetItemText(_arg0,_arg1,*_arg2);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
-{
- if (_obj2)
- delete _arg2;
-}
- return _resultobj;
-}
-
-#define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
-static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- bool _result;
- wxTreeCtrl * _arg0;
- long _arg1;
- long _arg2;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sll:wxTreeCtrl_SetItemData",&_argc0,&_arg1,&_arg2))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
- return NULL;
- }
- }
- _result = (bool )wxTreeCtrl_SetItemData(_arg0,_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
static PyMethodDef controls2cMethods[] = {
- { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 },
- { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 },
- { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 },
- { "wxTreeCtrl_SetItem", _wrap_wxTreeCtrl_SetItem, 1 },
- { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 },
- { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 },
- { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 },
- { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 },
- { "wxTreeCtrl_InsertItemString", _wrap_wxTreeCtrl_InsertItemString, 1 },
- { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 },
- { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 },
- { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
- { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
- { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
- { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 },
- { "wxTreeCtrl_GetItem", _wrap_wxTreeCtrl_GetItem, 1 },
- { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 },
- { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 },
- { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 },
- { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 },
- { "wxTreeCtrl_DeleteItem", _wrap_wxTreeCtrl_DeleteItem, 1 },
- { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 },
- { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 },
- { "wxTreeEvent_m_pointDrag_get", _wrap_wxTreeEvent_m_pointDrag_get, 1 },
- { "wxTreeEvent_m_oldItem_get", _wrap_wxTreeEvent_m_oldItem_get, 1 },
- { "wxTreeEvent_m_item_get", _wrap_wxTreeEvent_m_item_get, 1 },
- { "wxTreeEvent_m_code_get", _wrap_wxTreeEvent_m_code_get, 1 },
- { "delete_wxTreeItem", _wrap_delete_wxTreeItem, 1 },
- { "new_wxTreeItem", _wrap_new_wxTreeItem, 1 },
- { "wxTreeItem_m_data_get", _wrap_wxTreeItem_m_data_get, 1 },
- { "wxTreeItem_m_children_get", _wrap_wxTreeItem_m_children_get, 1 },
- { "wxTreeItem_m_selectedImage_get", _wrap_wxTreeItem_m_selectedImage_get, 1 },
- { "wxTreeItem_m_image_get", _wrap_wxTreeItem_m_image_get, 1 },
- { "wxTreeItem_m_text_get", _wrap_wxTreeItem_m_text_get, 1 },
- { "wxTreeItem_m_stateMask_get", _wrap_wxTreeItem_m_stateMask_get, 1 },
- { "wxTreeItem_m_state_get", _wrap_wxTreeItem_m_state_get, 1 },
- { "wxTreeItem_m_itemId_get", _wrap_wxTreeItem_m_itemId_get, 1 },
- { "wxTreeItem_m_mask_get", _wrap_wxTreeItem_m_mask_get, 1 },
{ "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 },
{ "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 },
{ "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 },
SWIG_globals = SWIG_newvarlink();
m = Py_InitModule("controls2c", controls2cMethods);
d = PyModule_GetDict(m);
- PyDict_SetItemString(d,"wxTREE_MASK_HANDLE", PyInt_FromLong((long) wxTREE_MASK_HANDLE));
- PyDict_SetItemString(d,"wxTREE_MASK_STATE", PyInt_FromLong((long) wxTREE_MASK_STATE));
- PyDict_SetItemString(d,"wxTREE_MASK_TEXT", PyInt_FromLong((long) wxTREE_MASK_TEXT));
- PyDict_SetItemString(d,"wxTREE_MASK_IMAGE", PyInt_FromLong((long) wxTREE_MASK_IMAGE));
- PyDict_SetItemString(d,"wxTREE_MASK_SELECTED_IMAGE", PyInt_FromLong((long) wxTREE_MASK_SELECTED_IMAGE));
- PyDict_SetItemString(d,"wxTREE_MASK_CHILDREN", PyInt_FromLong((long) wxTREE_MASK_CHILDREN));
- PyDict_SetItemString(d,"wxTREE_MASK_DATA", PyInt_FromLong((long) wxTREE_MASK_DATA));
- PyDict_SetItemString(d,"wxTREE_STATE_BOLD", PyInt_FromLong((long) wxTREE_STATE_BOLD));
- PyDict_SetItemString(d,"wxTREE_STATE_DROPHILITED", PyInt_FromLong((long) wxTREE_STATE_DROPHILITED));
- PyDict_SetItemString(d,"wxTREE_STATE_EXPANDED", PyInt_FromLong((long) wxTREE_STATE_EXPANDED));
- PyDict_SetItemString(d,"wxTREE_STATE_EXPANDEDONCE", PyInt_FromLong((long) wxTREE_STATE_EXPANDEDONCE));
- PyDict_SetItemString(d,"wxTREE_STATE_FOCUSED", PyInt_FromLong((long) wxTREE_STATE_FOCUSED));
- PyDict_SetItemString(d,"wxTREE_STATE_SELECTED", PyInt_FromLong((long) wxTREE_STATE_SELECTED));
- PyDict_SetItemString(d,"wxTREE_STATE_CUT", PyInt_FromLong((long) wxTREE_STATE_CUT));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE));
- PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW));
- PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON));
- PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT));
- PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT));
- PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM));
- PyDict_SetItemString(d,"wxTREE_NEXT_CARET", PyInt_FromLong((long) wxTREE_NEXT_CARET));
- PyDict_SetItemString(d,"wxTREE_NEXT_CHILD", PyInt_FromLong((long) wxTREE_NEXT_CHILD));
- PyDict_SetItemString(d,"wxTREE_NEXT_DROPHILITE", PyInt_FromLong((long) wxTREE_NEXT_DROPHILITE));
- PyDict_SetItemString(d,"wxTREE_NEXT_FIRSTVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_FIRSTVISIBLE));
- PyDict_SetItemString(d,"wxTREE_NEXT_NEXT", PyInt_FromLong((long) wxTREE_NEXT_NEXT));
- PyDict_SetItemString(d,"wxTREE_NEXT_NEXTVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_NEXTVISIBLE));
- PyDict_SetItemString(d,"wxTREE_NEXT_PARENT", PyInt_FromLong((long) wxTREE_NEXT_PARENT));
- PyDict_SetItemString(d,"wxTREE_NEXT_PREVIOUS", PyInt_FromLong((long) wxTREE_NEXT_PREVIOUS));
- PyDict_SetItemString(d,"wxTREE_NEXT_PREVIOUSVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_PREVIOUSVISIBLE));
- PyDict_SetItemString(d,"wxTREE_NEXT_ROOT", PyInt_FromLong((long) wxTREE_NEXT_ROOT));
- PyDict_SetItemString(d,"wxTREE_EXPAND_EXPAND", PyInt_FromLong((long) wxTREE_EXPAND_EXPAND));
- PyDict_SetItemString(d,"wxTREE_EXPAND_COLLAPSE", PyInt_FromLong((long) wxTREE_EXPAND_COLLAPSE));
- PyDict_SetItemString(d,"wxTREE_EXPAND_COLLAPSE_RESET", PyInt_FromLong((long) wxTREE_EXPAND_COLLAPSE_RESET));
- PyDict_SetItemString(d,"wxTREE_EXPAND_TOGGLE", PyInt_FromLong((long) wxTREE_EXPAND_TOGGLE));
- PyDict_SetItemString(d,"wxTREE_INSERT_LAST", PyInt_FromLong((long) wxTREE_INSERT_LAST));
- PyDict_SetItemString(d,"wxTREE_INSERT_FIRST", PyInt_FromLong((long) wxTREE_INSERT_FIRST));
- PyDict_SetItemString(d,"wxTREE_INSERT_SORT", PyInt_FromLong((long) wxTREE_INSERT_SORT));
/*
* These are the pointer type-equivalency mappings.
* (Used by the SWIG pointer type-checker).
*/
- SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
- SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
SWIG_RegisterMapping("_signed_long","_long",0);
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
- SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
- SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
- SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
SWIG_RegisterMapping("_uint","_unsigned_int",0);
SWIG_RegisterMapping("_uint","_int",0);
SWIG_RegisterMapping("_uint","_wxWindowID",0);
- SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
- SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
- SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
- SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
SWIG_RegisterMapping("_unsigned_long","_long",0);
SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
- SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
SWIG_RegisterMapping("_unsigned_short","_short",0);
- SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
- SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
- SWIG_RegisterMapping("_wxTreeItem","_class_wxTreeItem",0);
SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
SWIG_RegisterMapping("_unsigned_char","_byte",0);
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
- SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
- SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
- SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
- SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
- SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
- SWIG_RegisterMapping("_class_wxTreeItem","_wxTreeItem",0);
- SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
- SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
- SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
- SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
- SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
- SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
- SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
-class wxTreeItemPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self):
- if self.thisown == 1 :
- controls2c.delete_wxTreeItem(self.this)
- def __setattr__(self,name,value):
- if name == "m_mask" :
- controls2c.wxTreeItem_m_mask_set(self.this,value)
- return
- if name == "m_itemId" :
- controls2c.wxTreeItem_m_itemId_set(self.this,value)
- return
- if name == "m_state" :
- controls2c.wxTreeItem_m_state_set(self.this,value)
- return
- if name == "m_stateMask" :
- controls2c.wxTreeItem_m_stateMask_set(self.this,value)
- return
- if name == "m_text" :
- controls2c.wxTreeItem_m_text_set(self.this,value)
- return
- if name == "m_image" :
- controls2c.wxTreeItem_m_image_set(self.this,value)
- return
- if name == "m_selectedImage" :
- controls2c.wxTreeItem_m_selectedImage_set(self.this,value)
- return
- if name == "m_children" :
- controls2c.wxTreeItem_m_children_set(self.this,value)
- return
- if name == "m_data" :
- controls2c.wxTreeItem_m_data_set(self.this,value)
- return
- self.__dict__[name] = value
- def __getattr__(self,name):
- if name == "m_mask" :
- return controls2c.wxTreeItem_m_mask_get(self.this)
- if name == "m_itemId" :
- return controls2c.wxTreeItem_m_itemId_get(self.this)
- if name == "m_state" :
- return controls2c.wxTreeItem_m_state_get(self.this)
- if name == "m_stateMask" :
- return controls2c.wxTreeItem_m_stateMask_get(self.this)
- if name == "m_text" :
- return controls2c.wxTreeItem_m_text_get(self.this)
- if name == "m_image" :
- return controls2c.wxTreeItem_m_image_get(self.this)
- if name == "m_selectedImage" :
- return controls2c.wxTreeItem_m_selectedImage_get(self.this)
- if name == "m_children" :
- return controls2c.wxTreeItem_m_children_get(self.this)
- if name == "m_data" :
- return controls2c.wxTreeItem_m_data_get(self.this)
- raise AttributeError,name
- def __repr__(self):
- return "<C wxTreeItem instance>"
-class wxTreeItem(wxTreeItemPtr):
- def __init__(self) :
- self.this = controls2c.new_wxTreeItem()
- self.thisown = 1
-
-
-
-
-class wxTreeEventPtr(wxCommandEventPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __setattr__(self,name,value):
- if name == "m_code" :
- controls2c.wxTreeEvent_m_code_set(self.this,value)
- return
- if name == "m_item" :
- controls2c.wxTreeEvent_m_item_set(self.this,value.this)
- return
- if name == "m_oldItem" :
- controls2c.wxTreeEvent_m_oldItem_set(self.this,value)
- return
- if name == "m_pointDrag" :
- controls2c.wxTreeEvent_m_pointDrag_set(self.this,value.this)
- return
- self.__dict__[name] = value
- def __getattr__(self,name):
- if name == "m_code" :
- return controls2c.wxTreeEvent_m_code_get(self.this)
- if name == "m_item" :
- return wxTreeItemPtr(controls2c.wxTreeEvent_m_item_get(self.this))
- if name == "m_oldItem" :
- return controls2c.wxTreeEvent_m_oldItem_get(self.this)
- if name == "m_pointDrag" :
- return wxPointPtr(controls2c.wxTreeEvent_m_pointDrag_get(self.this))
- raise AttributeError,name
- def __repr__(self):
- return "<C wxTreeEvent instance>"
-class wxTreeEvent(wxTreeEventPtr):
- def __init__(self,this):
- self.this = this
-
-
-
-
-class wxTreeCtrlPtr(wxControlPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def DeleteAllItems(self):
- val = controls2c.wxTreeCtrl_DeleteAllItems(self.this)
- return val
- def DeleteItem(self,arg0):
- val = controls2c.wxTreeCtrl_DeleteItem(self.this,arg0)
- return val
- def GetCount(self):
- val = controls2c.wxTreeCtrl_GetCount(self.this)
- return val
- def GetImageList(self,*args):
- val = apply(controls2c.wxTreeCtrl_GetImageList,(self.this,)+args)
- return val
- def GetIndent(self):
- val = controls2c.wxTreeCtrl_GetIndent(self.this)
- return val
- def GetItemData(self,arg0):
- val = controls2c.wxTreeCtrl_GetItemData(self.this,arg0)
- return val
- def GetItem(self):
- val = controls2c.wxTreeCtrl_GetItem(self.this)
- val = wxTreeItemPtr(val)
- val.thisown = 1
- return val
- def GetItemText(self,arg0):
- val = controls2c.wxTreeCtrl_GetItemText(self.this,arg0)
- return val
- def GetParent(self,arg0):
- val = controls2c.wxTreeCtrl_GetParent(self.this,arg0)
- return val
- def GetRootItem(self):
- val = controls2c.wxTreeCtrl_GetRootItem(self.this)
- return val
- def GetSelection(self):
- val = controls2c.wxTreeCtrl_GetSelection(self.this)
- return val
- def HitTest(self,arg0):
- val = controls2c.wxTreeCtrl_HitTest(self.this,arg0.this)
- return val
- def InsertItem(self,arg0,arg1,*args):
- val = apply(controls2c.wxTreeCtrl_InsertItem,(self.this,arg0,arg1.this,)+args)
- return val
- def InsertItemString(self,arg0,arg1,*args):
- val = apply(controls2c.wxTreeCtrl_InsertItemString,(self.this,arg0,arg1,)+args)
- return val
- def ItemHasChildren(self,arg0):
- val = controls2c.wxTreeCtrl_ItemHasChildren(self.this,arg0)
- return val
- def SelectItem(self,arg0):
- val = controls2c.wxTreeCtrl_SelectItem(self.this,arg0)
- return val
- def SetIndent(self,arg0):
- val = controls2c.wxTreeCtrl_SetIndent(self.this,arg0)
- return val
- def SetImageList(self,arg0,*args):
- val = apply(controls2c.wxTreeCtrl_SetImageList,(self.this,arg0,)+args)
- return val
- def SetItem(self,arg0):
- val = controls2c.wxTreeCtrl_SetItem(self.this,arg0.this)
- return val
- def SetItemImage(self,arg0,arg1,arg2):
- val = controls2c.wxTreeCtrl_SetItemImage(self.this,arg0,arg1,arg2)
- return val
- def SetItemText(self,arg0,arg1):
- val = controls2c.wxTreeCtrl_SetItemText(self.this,arg0,arg1)
- return val
- def SetItemData(self,arg0,arg1):
- val = controls2c.wxTreeCtrl_SetItemData(self.this,arg0,arg1)
- return val
- def __repr__(self):
- return "<C wxTreeCtrl instance>"
-class wxTreeCtrl(wxTreeCtrlPtr):
- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[1] = argl[1].this
- except: pass
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- self.this = apply(controls2c.new_wxTreeCtrl,(arg0.this,)+args)
- self.thisown = 1
- wxp._StdWindowCallbacks(self)
-
-
-
-
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------
-wxTREE_MASK_HANDLE = controls2c.wxTREE_MASK_HANDLE
-wxTREE_MASK_STATE = controls2c.wxTREE_MASK_STATE
-wxTREE_MASK_TEXT = controls2c.wxTREE_MASK_TEXT
-wxTREE_MASK_IMAGE = controls2c.wxTREE_MASK_IMAGE
-wxTREE_MASK_SELECTED_IMAGE = controls2c.wxTREE_MASK_SELECTED_IMAGE
-wxTREE_MASK_CHILDREN = controls2c.wxTREE_MASK_CHILDREN
-wxTREE_MASK_DATA = controls2c.wxTREE_MASK_DATA
-wxTREE_STATE_BOLD = controls2c.wxTREE_STATE_BOLD
-wxTREE_STATE_DROPHILITED = controls2c.wxTREE_STATE_DROPHILITED
-wxTREE_STATE_EXPANDED = controls2c.wxTREE_STATE_EXPANDED
-wxTREE_STATE_EXPANDEDONCE = controls2c.wxTREE_STATE_EXPANDEDONCE
-wxTREE_STATE_FOCUSED = controls2c.wxTREE_STATE_FOCUSED
-wxTREE_STATE_SELECTED = controls2c.wxTREE_STATE_SELECTED
-wxTREE_STATE_CUT = controls2c.wxTREE_STATE_CUT
-wxTREE_HITTEST_ABOVE = controls2c.wxTREE_HITTEST_ABOVE
-wxTREE_HITTEST_BELOW = controls2c.wxTREE_HITTEST_BELOW
-wxTREE_HITTEST_NOWHERE = controls2c.wxTREE_HITTEST_NOWHERE
-wxTREE_HITTEST_ONITEMBUTTON = controls2c.wxTREE_HITTEST_ONITEMBUTTON
-wxTREE_HITTEST_ONITEMICON = controls2c.wxTREE_HITTEST_ONITEMICON
-wxTREE_HITTEST_ONITEMINDENT = controls2c.wxTREE_HITTEST_ONITEMINDENT
-wxTREE_HITTEST_ONITEMLABEL = controls2c.wxTREE_HITTEST_ONITEMLABEL
-wxTREE_HITTEST_ONITEMRIGHT = controls2c.wxTREE_HITTEST_ONITEMRIGHT
-wxTREE_HITTEST_ONITEMSTATEICON = controls2c.wxTREE_HITTEST_ONITEMSTATEICON
-wxTREE_HITTEST_TOLEFT = controls2c.wxTREE_HITTEST_TOLEFT
-wxTREE_HITTEST_TORIGHT = controls2c.wxTREE_HITTEST_TORIGHT
-wxTREE_HITTEST_ONITEM = controls2c.wxTREE_HITTEST_ONITEM
-wxTREE_NEXT_CARET = controls2c.wxTREE_NEXT_CARET
-wxTREE_NEXT_CHILD = controls2c.wxTREE_NEXT_CHILD
-wxTREE_NEXT_DROPHILITE = controls2c.wxTREE_NEXT_DROPHILITE
-wxTREE_NEXT_FIRSTVISIBLE = controls2c.wxTREE_NEXT_FIRSTVISIBLE
-wxTREE_NEXT_NEXT = controls2c.wxTREE_NEXT_NEXT
-wxTREE_NEXT_NEXTVISIBLE = controls2c.wxTREE_NEXT_NEXTVISIBLE
-wxTREE_NEXT_PARENT = controls2c.wxTREE_NEXT_PARENT
-wxTREE_NEXT_PREVIOUS = controls2c.wxTREE_NEXT_PREVIOUS
-wxTREE_NEXT_PREVIOUSVISIBLE = controls2c.wxTREE_NEXT_PREVIOUSVISIBLE
-wxTREE_NEXT_ROOT = controls2c.wxTREE_NEXT_ROOT
-wxTREE_EXPAND_EXPAND = controls2c.wxTREE_EXPAND_EXPAND
-wxTREE_EXPAND_COLLAPSE = controls2c.wxTREE_EXPAND_COLLAPSE
-wxTREE_EXPAND_COLLAPSE_RESET = controls2c.wxTREE_EXPAND_COLLAPSE_RESET
-wxTREE_EXPAND_TOGGLE = controls2c.wxTREE_EXPAND_TOGGLE
-wxTREE_INSERT_LAST = controls2c.wxTREE_INSERT_LAST
-wxTREE_INSERT_FIRST = controls2c.wxTREE_INSERT_FIRST
-wxTREE_INSERT_SORT = controls2c.wxTREE_INSERT_SORT