X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5c9047acf66ae7ee2aed4778832b6887095ce7a..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/wxPython/src/msw/controls2.cpp diff --git a/utils/wxPython/src/msw/controls2.cpp b/utils/wxPython/src/msw/controls2.cpp index 26fadf336d..f14682f288 100644 --- a/utils/wxPython/src/msw/controls2.cpp +++ b/utils/wxPython/src/msw/controls2.cpp @@ -56,9 +56,6 @@ extern PyObject *SWIG_newvarlink(void); #include "helpers.h" #include #include -#if 0 -#include -#endif static PyObject* l_output_helper(PyObject* target, PyObject* o) { PyObject* o2; @@ -107,20 +104,41 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) { } +extern byte* byte_LIST_helper(PyObject* source); extern int* int_LIST_helper(PyObject* source); extern long* long_LIST_helper(PyObject* source); extern char** string_LIST_helper(PyObject* source); extern wxPoint* wxPoint_LIST_helper(PyObject* source); extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); extern wxString* wxString_LIST_helper(PyObject* source); -#ifdef __WXMSW__ extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); -#endif static char* wxStringErrorMsg = "string type is required for parameter"; extern wxValidator wxPyDefaultValidator; +#define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListItem * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListItem_m_mask_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (long )wxListItem_m_mask_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask) static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -142,6 +160,28 @@ static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListItem * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListItem_m_itemId_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (long )wxListItem_m_itemId_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId) static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -163,6 +203,28 @@ static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + int _result; + wxListItem * _arg0; + int _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListItem_m_col_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (int )wxListItem_m_col_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col) static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -184,6 +246,28 @@ static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListItem * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListItem_m_state_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (long )wxListItem_m_state_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state) static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -205,6 +289,28 @@ static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListItem * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListItem_m_stateMask_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask) static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -226,6 +332,42 @@ static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args return _resultobj; } +#define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval) +static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxString * _result; + wxListItem * _arg0; + wxString * _arg1; + char * _argc0 = 0; + PyObject * _obj1 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sO:wxListItem_m_text_set",&_argc0,&_obj1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p."); + return NULL; + } + } +{ + if (!PyString_Check(_obj1)) { + PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); + return NULL; + } + _arg1 = new wxString(PyString_AsString(_obj1)); +} + _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1); +{ + _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); +} +{ + if (_obj1) + delete _arg1; +} + return _resultobj; +} + #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text) static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -249,6 +391,28 @@ static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + int _result; + wxListItem * _arg0; + int _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListItem_m_image_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (int )wxListItem_m_image_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image) static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -270,6 +434,28 @@ static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListItem * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListItem_m_data_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (long )wxListItem_m_data_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data) static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -291,6 +477,28 @@ static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + int _result; + wxListItem * _arg0; + int _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListItem_m_format_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (int )wxListItem_m_format_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format) static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -312,6 +520,28 @@ static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval) +static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + int _result; + wxListItem * _arg0; + int _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListItem_m_width_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (int )wxListItem_m_width_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width) static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -385,6 +615,28 @@ static void *SwigwxListEventTowxEvent(void *ptr) { return (void *) dest; } +#define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval) +static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + int _result; + wxListEvent * _arg0; + int _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListEvent_m_code_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p."); + return NULL; + } + } + _result = (int )wxListEvent_m_code_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code) static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -406,6 +658,28 @@ static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval) +static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListEvent * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListEvent_m_itemIndex_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p."); + return NULL; + } + } + _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex) static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -427,6 +701,28 @@ static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *arg return _resultobj; } +#define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval) +static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + long _result; + wxListEvent * _arg0; + long _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"sl:wxListEvent_m_oldItemIndex_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p."); + return NULL; + } + } + _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1); + _resultobj = Py_BuildValue("l",_result); + return _resultobj; +} + #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex) static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -448,6 +744,28 @@ static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject * return _resultobj; } +#define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) +static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + int _result; + wxListEvent * _arg0; + int _arg1; + char * _argc0 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListEvent_m_col_set",&_argc0,&_arg1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p."); + return NULL; + } + } + _result = (int )wxListEvent_m_col_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -469,6 +787,30 @@ static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval) +static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + bool _result; + wxListEvent * _arg0; + bool _arg1; + char * _argc0 = 0; + int tempbool1; + + self = self; + if(!PyArg_ParseTuple(args,"si:wxListEvent_m_cancelled_set",&_argc0,&tempbool1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p."); + return NULL; + } + } + _arg1 = (bool ) tempbool1; + _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled) static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -490,6 +832,37 @@ static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *arg return _resultobj; } +#define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval) +static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxPoint * _result; + wxListEvent * _arg0; + wxPoint * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + char _ptemp[128]; + + self = self; + if(!PyArg_ParseTuple(args,"ss:wxListEvent_m_pointDrag_set",&_argc0,&_argc1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p."); + return NULL; + } + } + _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1); + SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); + _resultobj = Py_BuildValue("s",_ptemp); + return _resultobj; +} + #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag) static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -507,8 +880,39 @@ static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *arg return NULL; } } - _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0); - SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); + _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0); + SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); + _resultobj = Py_BuildValue("s",_ptemp); + return _resultobj; +} + +#define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval) +static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxListItem * _result; + wxListEvent * _arg0; + wxListItem * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + char _ptemp[128]; + + self = self; + if(!PyArg_ParseTuple(args,"ss:wxListEvent_m_item_set",&_argc0,&_argc1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p."); + return NULL; + } + } + _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1); + SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); _resultobj = Py_BuildValue("s",_ptemp); return _resultobj; } @@ -615,7 +1019,7 @@ static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args) { PyObject * _resultobj; bool _result; wxListCtrl * _arg0; - int _arg1 = wxLIST_ALIGN_DEFAULT; + int _arg1 = (wxLIST_ALIGN_DEFAULT); char * _argc0 = 0; self = self; @@ -787,6 +1191,29 @@ static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args) { return _resultobj; } +#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) +static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxTextCtrl * _result; + wxListCtrl * _arg0; + char * _argc0 = 0; + char _ptemp[128]; + + self = self; + if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetEditControl",&_argc0)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p."); + return NULL; + } + } + _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0); + SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); + _resultobj = Py_BuildValue("s",_ptemp); + return _resultobj; +} + #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -974,29 +1401,6 @@ static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args return _resultobj; } -#define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) -static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args) { - PyObject * _resultobj; - wxTextCtrl * _result; - wxListCtrl * _arg0; - char * _argc0 = 0; - char _ptemp[128]; - - self = self; - if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetEditControl",&_argc0)) - return NULL; - if (_argc0) { - if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p."); - return NULL; - } - } - _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0); - SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); - _resultobj = Py_BuildValue("s",_ptemp); - return _resultobj; -} - #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0)) static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -1043,8 +1447,9 @@ static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args) { return _resultobj; } -static wxListItem * wxListCtrl_GetItem(wxListCtrl *self) { +static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId) { wxListItem* info = new wxListItem; + info->m_itemId = itemId; self->GetItem(*info); return info; } @@ -1052,11 +1457,12 @@ static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) { PyObject * _resultobj; wxListItem * _result; wxListCtrl * _arg0; + long _arg1; char * _argc0 = 0; char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItem",&_argc0)) + if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItem",&_argc0,&_arg1)) return NULL; if (_argc0) { if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { @@ -1064,7 +1470,7 @@ static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) { return NULL; } } - _result = (wxListItem *)wxListCtrl_GetItem(_arg0); + _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1); SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); _resultobj = Py_BuildValue("s",_ptemp); return _resultobj; @@ -1108,7 +1514,7 @@ static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args) { wxRect * _result; wxListCtrl * _arg0; long _arg1; - int _arg2 = wxLIST_RECT_BOUNDS; + int _arg2 = (wxLIST_RECT_BOUNDS); char * _argc0 = 0; char _ptemp[128]; @@ -1228,8 +1634,8 @@ static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args) { long _result; wxListCtrl * _arg0; long _arg1; - int _arg2 = wxLIST_NEXT_ALL; - int _arg3 = wxLIST_STATE_DONTCARE; + int _arg2 = (wxLIST_NEXT_ALL); + int _arg3 = (wxLIST_STATE_DONTCARE); char * _argc0 = 0; self = self; @@ -1290,6 +1696,35 @@ static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args) return _resultobj; } +#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) +static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxListCtrl * _arg0; + wxColour * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetTextColour",&_argc0,&_argc1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p."); + return NULL; + } + } + wxListCtrl_SetTextColour(_arg0,*_arg1); + Py_INCREF(Py_None); + _resultobj = Py_None; + return _resultobj; +} + #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem()) static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -1350,8 +1785,8 @@ static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args) { return _resultobj; } -#define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1)) -static PyObject *_wrap_wxListCtrl_InsertColumnWithInfo(PyObject *self, PyObject *args) { +#define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1)) +static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; wxListCtrl * _arg0; @@ -1361,21 +1796,21 @@ static PyObject *_wrap_wxListCtrl_InsertColumnWithInfo(PyObject *self, PyObject char * _argc2 = 0; self = self; - if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0,&_arg1,&_argc2)) + if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWith",&_argc0,&_arg1,&_argc2)) return NULL; if (_argc0) { if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p."); + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p."); return NULL; } } if (_argc2) { if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p."); + PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p."); return NULL; } } - _result = (long )wxListCtrl_InsertColumnWithInfo(_arg0,_arg1,*_arg2); + _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2); _resultobj = Py_BuildValue("l",_result); return _resultobj; } @@ -1387,7 +1822,7 @@ static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args) { wxListCtrl * _arg0; long _arg1; wxString * _arg2; - int _arg3 = wxLIST_FORMAT_LEFT; + int _arg3 = (wxLIST_FORMAT_LEFT); int _arg4 = -1; char * _argc0 = 0; PyObject * _obj2 = 0; @@ -1704,8 +2139,8 @@ static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args) { return _resultobj; } -#define wxListCtrl_SetItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) -static PyObject *_wrap_wxListCtrl_SetItemString(PyObject *self, PyObject *args) { +#define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) +static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args) { PyObject * _resultobj; long _result; wxListCtrl * _arg0; @@ -1717,11 +2152,11 @@ static PyObject *_wrap_wxListCtrl_SetItemString(PyObject *self, PyObject *args) PyObject * _obj3 = 0; self = self; - if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetItemString",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4)) + if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetStringItem",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4)) return NULL; if (_argc0) { if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemString. Expected _wxListCtrl_p."); + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p."); return NULL; } } @@ -1732,7 +2167,7 @@ static PyObject *_wrap_wxListCtrl_SetItemString(PyObject *self, PyObject *args) } _arg3 = new wxString(PyString_AsString(_obj3)); } - _result = (long )wxListCtrl_SetItemString(_arg0,_arg1,_arg2,*_arg3,_arg4); + _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4); _resultobj = Py_BuildValue("l",_result); { if (_obj3) @@ -1902,35 +2337,6 @@ static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args) return _resultobj; } -#define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) -static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args) { - PyObject * _resultobj; - wxListCtrl * _arg0; - wxColour * _arg1; - char * _argc0 = 0; - char * _argc1 = 0; - - self = self; - if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetTextColour",&_argc0,&_argc1)) - return NULL; - if (_argc0) { - if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p."); - return NULL; - } - } - if (_argc1) { - if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p."); - return NULL; - } - } - wxListCtrl_SetTextColour(_arg0,*_arg1); - Py_INCREF(Py_None); - _resultobj = Py_None; - return _resultobj; -} - #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0)) static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -2010,27 +2416,6 @@ static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args) { return _resultobj; } -static long wxTreeItemId_GetId(wxTreeItemId *self) { return (long)(*self); } -static PyObject *_wrap_wxTreeItemId_GetId(PyObject *self, PyObject *args) { - PyObject * _resultobj; - long _result; - wxTreeItemId * _arg0; - char * _argc0 = 0; - - self = self; - if(!PyArg_ParseTuple(args,"s:wxTreeItemId_GetId",&_argc0)) - return NULL; - if (_argc0) { - if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_GetId. Expected _wxTreeItemId_p."); - return NULL; - } - } - _result = (long )wxTreeItemId_GetId(_arg0); - _resultobj = Py_BuildValue("l",_result); - return _resultobj; -} - #define new_wxTreeItemData() (new wxTreeItemData()) static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -2067,8 +2452,8 @@ static PyObject *_wrap_delete_wxTreeItemData(PyObject *self, PyObject *args) { return _resultobj; } -#define wxTreeItemData_GetItemId(_swigobj) (_swigobj->GetItemId()) -static PyObject *_wrap_wxTreeItemData_GetItemId(PyObject *self, PyObject *args) { +#define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId()) +static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args) { PyObject * _resultobj; wxTreeItemId * _result; wxTreeItemData * _arg0; @@ -2076,21 +2461,50 @@ static PyObject *_wrap_wxTreeItemData_GetItemId(PyObject *self, PyObject *args) char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetItemId",&_argc0)) + if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetId",&_argc0)) return NULL; if (_argc0) { if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetItemId. Expected _wxTreeItemData_p."); + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p."); return NULL; } } - const wxTreeItemId & _result_ref = wxTreeItemData_GetItemId(_arg0); + const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0); _result = (wxTreeItemId *) &_result_ref; SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); _resultobj = Py_BuildValue("s",_ptemp); return _resultobj; } +#define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) +static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxTreeItemData * _arg0; + wxTreeItemId * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"ss:wxTreeItemData_SetId",&_argc0,&_argc1)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p."); + return NULL; + } + } + wxTreeItemData_SetId(_arg0,*_arg1); + Py_INCREF(Py_None); + _resultobj = Py_None; + return _resultobj; +} + static void *SwigwxTreeEventTowxCommandEvent(void *ptr) { wxTreeEvent *src; wxCommandEvent *dest; @@ -2724,6 +3138,38 @@ static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) { return _resultobj; } +#define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1)) +static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxTreeCtrl * _arg0; + wxTreeItemId * _arg1; + bool _arg2 = (1); + char * _argc0 = 0; + char * _argc1 = 0; + int tempbool2; + + self = self; + if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0,&_argc1,&tempbool2)) + return NULL; + if (_argc0) { + if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p."); + return NULL; + } + } + _arg2 = (bool ) tempbool2; + wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2); + Py_INCREF(Py_None); + _resultobj = Py_None; + return _resultobj; +} + #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0)) static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -3395,6 +3841,35 @@ static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args) { return _resultobj; } +#define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0)) +static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxTreeCtrl * _arg0; + wxTreeItemId * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_DeleteChildren",&_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_DeleteChildren. Expected _wxTreeCtrl_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p."); + return NULL; + } + } + wxTreeCtrl_DeleteChildren(_arg0,*_arg1); + Py_INCREF(Py_None); + _resultobj = Py_None; + return _resultobj; +} + #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -3726,37 +4201,102 @@ static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args) { return _resultobj; } -#define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0)) -static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args) { +#define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1)) +static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args) { PyObject * _resultobj; wxTreeCtrl * _arg0; wxTreeItemId * _arg1; + bool _arg2 = (1); char * _argc0 = 0; char * _argc1 = 0; + int tempbool2; self = self; - if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SortChildren",&_argc0,&_argc1)) + if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemBold",&_argc0,&_argc1,&tempbool2)) return NULL; if (_argc0) { if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p."); + PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p."); return NULL; } } if (_argc1) { if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p."); + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p."); return NULL; } } - wxTreeCtrl_SortChildren(_arg0,*_arg1); + _arg2 = (bool ) tempbool2; + wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2); Py_INCREF(Py_None); _resultobj = Py_None; return _resultobj; } +#define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0)) +static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args) { + PyObject * _resultobj; + bool _result; + wxTreeCtrl * _arg0; + wxTreeItemId * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + + self = self; + if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsBold",&_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_IsBold. Expected _wxTreeCtrl_p."); + return NULL; + } + } + if (_argc1) { + if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { + PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p."); + return NULL; + } + } + _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1); + _resultobj = Py_BuildValue("i",_result); + return _resultobj; +} + +#define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0)) +static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) { + PyObject * _resultobj; + wxTreeItemId * _result; + wxTreeCtrl * _arg0; + wxPoint * _arg1; + char * _argc0 = 0; + char * _argc1 = 0; + char _ptemp[128]; + + self = self; + 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 = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1)); + SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); + _resultobj = Py_BuildValue("s",_ptemp); + return _resultobj; +} + static PyMethodDef controls2cMethods[] = { - { "wxTreeCtrl_SortChildren", _wrap_wxTreeCtrl_SortChildren, 1 }, + { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 }, + { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold, 1 }, + { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold, 1 }, { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel, 1 }, { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl, 1 }, { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel, 1 }, @@ -3769,6 +4309,7 @@ static PyMethodDef controls2cMethods[] = { { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse, 1 }, { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand, 1 }, { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 }, + { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren, 1 }, { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete, 1 }, { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem, 1 }, { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 }, @@ -3788,6 +4329,7 @@ static PyMethodDef controls2cMethods[] = { { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded, 1 }, { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 }, { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible, 1 }, + { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren, 1 }, { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 }, { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage, 1 }, { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 }, @@ -3809,22 +4351,21 @@ static PyMethodDef controls2cMethods[] = { { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint, 1 }, { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem, 1 }, { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem, 1 }, - { "wxTreeItemData_GetItemId", _wrap_wxTreeItemData_GetItemId, 1 }, + { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId, 1 }, + { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId, 1 }, { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData, 1 }, { "new_wxTreeItemData", _wrap_new_wxTreeItemData, 1 }, - { "wxTreeItemId_GetId", _wrap_wxTreeItemId_GetId, 1 }, { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk, 1 }, { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId, 1 }, { "new_wxTreeItemId", _wrap_new_wxTreeItemId, 1 }, { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 }, - { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour, 1 }, { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 }, { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 }, { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 }, { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 }, { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 }, { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 }, - { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString, 1 }, + { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem, 1 }, { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 }, { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 }, { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 }, @@ -3836,9 +4377,10 @@ static PyMethodDef controls2cMethods[] = { { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 }, { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 }, { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 }, - { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo, 1 }, + { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith, 1 }, { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 }, { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 }, + { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour, 1 }, { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour, 1 }, { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 }, { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 }, @@ -3851,7 +4393,6 @@ static PyMethodDef controls2cMethods[] = { { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 }, { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 }, { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 }, - { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl, 1 }, { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 }, { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 }, { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 }, @@ -3859,6 +4400,7 @@ static PyMethodDef controls2cMethods[] = { { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 }, { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 }, { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 }, + { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl, 1 }, { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel, 1 }, { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel, 1 }, { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll, 1 }, @@ -3869,24 +4411,41 @@ static PyMethodDef controls2cMethods[] = { { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 }, { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 }, { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 }, + { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set, 1 }, { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 }, + { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set, 1 }, { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 }, + { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set, 1 }, { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 }, + { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set, 1 }, { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 }, + { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set, 1 }, { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 }, + { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set, 1 }, { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 }, + { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set, 1 }, { "delete_wxListItem", _wrap_delete_wxListItem, 1 }, { "new_wxListItem", _wrap_new_wxListItem, 1 }, { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 }, + { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set, 1 }, { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 }, + { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set, 1 }, { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 }, + { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set, 1 }, { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 }, + { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set, 1 }, { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 }, + { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set, 1 }, { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 }, + { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set, 1 }, { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 }, + { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set, 1 }, { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 }, + { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set, 1 }, { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 }, + { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set, 1 }, { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 }, + { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set, 1 }, { NULL, NULL } }; static PyObject *SWIG_globals; @@ -3898,6 +4457,48 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_globals = SWIG_newvarlink(); m = Py_InitModule("controls2c", controls2cMethods); d = PyModule_GetDict(m); + PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT)); + PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE)); + PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA)); + PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH)); + PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT)); + PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE)); + PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED)); + PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED)); + PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED)); + PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT)); + PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE)); + PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW)); + PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE)); + PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON)); + PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL)); + PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT)); + PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON)); + PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT)); + PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT)); + PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM)); + PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE)); + PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL)); + PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW)); + PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT)); + PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT)); + PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT)); + PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT)); + PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP)); + PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID)); + PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT)); + PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT)); + PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE)); + PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER)); + PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE)); + PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER)); + PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS)); + PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON)); + PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL)); + PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP)); + PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN)); + PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT)); + PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT)); /* * These are the pointer type-equivalency mappings. * (Used by the SWIG pointer type-checker). @@ -3911,6 +4512,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0); SWIG_RegisterMapping("_signed_long","_long",0); SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0); + SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler); SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler); @@ -3921,6 +4523,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0); + SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0); SWIG_RegisterMapping("_wxMask","_class_wxMask",0); SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); SWIG_RegisterMapping("_wxPen","_class_wxPen",0); @@ -3932,12 +4535,14 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_long","_wxDash",0); SWIG_RegisterMapping("_long","_unsigned_long",0); SWIG_RegisterMapping("_long","_signed_long",0); + SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0); SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0); SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0); SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0); SWIG_RegisterMapping("_wxDC","_class_wxDC",0); SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0); + SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0); SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0); SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); @@ -3947,6 +4552,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0); SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0); SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0); + SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0); SWIG_RegisterMapping("_class_wxMask","_wxMask",0); SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0); SWIG_RegisterMapping("_wxColour","_class_wxColour",0); @@ -3977,6 +4583,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0); SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); + SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0); SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0); SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); @@ -3987,6 +4594,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_EBool","_signed_int",0); SWIG_RegisterMapping("_EBool","_int",0); SWIG_RegisterMapping("_EBool","_wxWindowID",0); + SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0); SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0); SWIG_RegisterMapping("_wxFont","_class_wxFont",0); @@ -4040,6 +4648,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_signed_short","_short",0); SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); + SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0); SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0); SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); @@ -4071,6 +4680,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0); SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0); SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0); + SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0); SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0); SWIG_RegisterMapping("_wxWindowID","_EBool",0); SWIG_RegisterMapping("_wxWindowID","_uint",0); @@ -4084,8 +4694,10 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_int","_signed_int",0); SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0); SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0); + SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0); SWIG_RegisterMapping("_wxButton","_class_wxButton",0); SWIG_RegisterMapping("_wxSize","_class_wxSize",0); + SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0); SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0); @@ -4105,9 +4717,11 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); SWIG_RegisterMapping("_class_wxColour","_wxColour",0); SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); + SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0); SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0); SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0); + SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0); SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0); SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0); @@ -4138,6 +4752,7 @@ SWIGEXPORT(void,initcontrols2c)() { SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0); SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0); + SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0); SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow); SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);