2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 extern wxValidator wxPyDefaultValidator
;
120 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
121 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
122 PyObject
* _resultobj
;
128 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
136 _result
= (long )wxListItem_m_mask_get(_arg0
);
137 _resultobj
= Py_BuildValue("l",_result
);
141 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
142 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
143 PyObject
* _resultobj
;
149 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
157 _result
= (long )wxListItem_m_itemId_get(_arg0
);
158 _resultobj
= Py_BuildValue("l",_result
);
162 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
163 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
164 PyObject
* _resultobj
;
170 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
178 _result
= (int )wxListItem_m_col_get(_arg0
);
179 _resultobj
= Py_BuildValue("i",_result
);
183 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
184 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
185 PyObject
* _resultobj
;
191 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
199 _result
= (long )wxListItem_m_state_get(_arg0
);
200 _resultobj
= Py_BuildValue("l",_result
);
204 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
205 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
212 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
220 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
221 _resultobj
= Py_BuildValue("l",_result
);
225 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
226 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
227 PyObject
* _resultobj
;
233 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
241 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
243 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
248 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
249 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
250 PyObject
* _resultobj
;
256 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
264 _result
= (int )wxListItem_m_image_get(_arg0
);
265 _resultobj
= Py_BuildValue("i",_result
);
269 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
270 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
271 PyObject
* _resultobj
;
277 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
285 _result
= (long )wxListItem_m_data_get(_arg0
);
286 _resultobj
= Py_BuildValue("l",_result
);
290 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
291 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
292 PyObject
* _resultobj
;
298 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
306 _result
= (int )wxListItem_m_format_get(_arg0
);
307 _resultobj
= Py_BuildValue("i",_result
);
311 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
312 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
313 PyObject
* _resultobj
;
319 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
327 _result
= (int )wxListItem_m_width_get(_arg0
);
328 _resultobj
= Py_BuildValue("i",_result
);
332 #define new_wxListItem() (new wxListItem())
333 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
334 PyObject
* _resultobj
;
335 wxListItem
* _result
;
339 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
341 _result
= (wxListItem
*)new_wxListItem();
342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
343 _resultobj
= Py_BuildValue("s",_ptemp
);
347 #define delete_wxListItem(_swigobj) (delete _swigobj)
348 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
349 PyObject
* _resultobj
;
354 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
357 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
362 delete_wxListItem(_arg0
);
364 _resultobj
= Py_None
;
368 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
370 wxCommandEvent
*dest
;
371 src
= (wxListEvent
*) ptr
;
372 dest
= (wxCommandEvent
*) src
;
373 return (void *) dest
;
376 static void *SwigwxListEventTowxEvent(void *ptr
) {
379 src
= (wxListEvent
*) ptr
;
380 dest
= (wxEvent
*) src
;
381 return (void *) dest
;
384 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
385 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
386 PyObject
* _resultobj
;
392 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
400 _result
= (int )wxListEvent_m_code_get(_arg0
);
401 _resultobj
= Py_BuildValue("i",_result
);
405 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
406 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
407 PyObject
* _resultobj
;
413 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
416 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
421 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
422 _resultobj
= Py_BuildValue("l",_result
);
426 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
427 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
434 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
437 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
442 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
443 _resultobj
= Py_BuildValue("l",_result
);
447 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
448 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
449 PyObject
* _resultobj
;
455 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
463 _result
= (int )wxListEvent_m_col_get(_arg0
);
464 _resultobj
= Py_BuildValue("i",_result
);
468 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
469 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
470 PyObject
* _resultobj
;
476 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
479 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
484 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
485 _resultobj
= Py_BuildValue("i",_result
);
489 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
490 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
491 PyObject
* _resultobj
;
498 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
506 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
508 _resultobj
= Py_BuildValue("s",_ptemp
);
512 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
513 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
514 PyObject
* _resultobj
;
515 wxListItem
* _result
;
521 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
529 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
531 _resultobj
= Py_BuildValue("s",_ptemp
);
535 static void *SwigwxListCtrlTowxControl(void *ptr
) {
538 src
= (wxListCtrl
*) ptr
;
539 dest
= (wxControl
*) src
;
540 return (void *) dest
;
543 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
546 src
= (wxListCtrl
*) ptr
;
547 dest
= (wxWindow
*) src
;
548 return (void *) dest
;
551 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
554 src
= (wxListCtrl
*) ptr
;
555 dest
= (wxEvtHandler
*) src
;
556 return (void *) dest
;
559 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
560 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
561 PyObject
* _resultobj
;
562 wxListCtrl
* _result
;
565 wxPoint
* _arg2
= &wxPyDefaultPosition
;
566 wxSize
* _arg3
= &wxPyDefaultSize
;
567 long _arg4
= (wxLC_ICON
);
568 wxValidator
* _arg5
= &wxPyDefaultValidator
;
569 char * _arg6
= "listCtrl";
577 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
586 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
592 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
598 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
603 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
605 _resultobj
= Py_BuildValue("s",_ptemp
);
609 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
610 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
611 PyObject
* _resultobj
;
614 int _arg1
= wxLIST_ALIGN_DEFAULT
;
618 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
626 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
627 _resultobj
= Py_BuildValue("i",_result
);
631 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
632 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
633 PyObject
* _resultobj
;
640 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
648 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
649 _resultobj
= Py_BuildValue("i",_result
);
653 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
654 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
655 PyObject
* _resultobj
;
661 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
669 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
670 _resultobj
= Py_BuildValue("i",_result
);
674 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
675 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
676 PyObject
* _resultobj
;
683 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
691 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
692 _resultobj
= Py_BuildValue("i",_result
);
696 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
697 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
698 PyObject
* _resultobj
;
704 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
707 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
712 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
713 _resultobj
= Py_BuildValue("i",_result
);
717 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
718 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
719 PyObject
* _resultobj
;
724 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
727 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
732 wxListCtrl_ClearAll(_arg0
);
734 _resultobj
= Py_None
;
738 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
739 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
740 PyObject
* _resultobj
;
741 wxTextCtrl
* _result
;
748 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EditLabel",&_argc0
,&_arg1
))
751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
756 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
758 _resultobj
= Py_BuildValue("s",_ptemp
);
762 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
763 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
764 PyObject
* _resultobj
;
772 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_EndEditLabel",&_argc0
,&tempbool1
))
775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
780 _arg1
= (bool ) tempbool1
;
781 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
782 _resultobj
= Py_BuildValue("i",_result
);
786 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
787 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
788 PyObject
* _resultobj
;
795 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
798 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
803 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
804 _resultobj
= Py_BuildValue("i",_result
);
808 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
809 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
810 PyObject
* _resultobj
;
817 PyObject
* _obj2
= 0;
821 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
824 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
830 if (!PyString_Check(_obj2
)) {
831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
834 _arg2
= new wxString(PyString_AsString(_obj2
));
836 _arg3
= (bool ) tempbool3
;
837 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
838 _resultobj
= Py_BuildValue("l",_result
);
846 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
847 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
848 PyObject
* _resultobj
;
856 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
859 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
864 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
865 _resultobj
= Py_BuildValue("l",_result
);
869 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
870 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
871 PyObject
* _resultobj
;
881 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
884 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
890 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
895 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
896 _resultobj
= Py_BuildValue("l",_result
);
900 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
901 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
902 PyObject
* _resultobj
;
911 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
914 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
920 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
925 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
926 _resultobj
= Py_BuildValue("i",_result
);
930 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
931 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
932 PyObject
* _resultobj
;
939 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
947 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
948 _resultobj
= Py_BuildValue("i",_result
);
952 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
953 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
954 PyObject
* _resultobj
;
960 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
968 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
969 _resultobj
= Py_BuildValue("i",_result
);
973 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
974 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
975 PyObject
* _resultobj
;
976 wxTextCtrl
* _result
;
982 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetEditControl",&_argc0
))
985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
990 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
992 _resultobj
= Py_BuildValue("s",_ptemp
);
996 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
997 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
998 PyObject
* _resultobj
;
999 wxImageList
* _result
;
1006 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1014 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1016 _resultobj
= Py_BuildValue("s",_ptemp
);
1020 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1021 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1022 PyObject
* _resultobj
;
1029 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1037 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1038 _resultobj
= Py_BuildValue("l",_result
);
1042 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
) {
1043 wxListItem
* info
= new wxListItem
;
1044 self
->GetItem(*info
);
1047 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1048 PyObject
* _resultobj
;
1049 wxListItem
* _result
;
1055 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItem",&_argc0
))
1058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1063 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
);
1064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1065 _resultobj
= Py_BuildValue("s",_ptemp
);
1069 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1070 wxPoint
* pos
= new wxPoint
;
1071 self
->GetItemPosition(item
, *pos
);
1074 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1075 PyObject
* _resultobj
;
1083 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1091 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1097 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1098 wxRect
* rect
= new wxRect
;
1099 self
->GetItemRect(item
, *rect
, code
);
1102 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1103 PyObject
* _resultobj
;
1107 int _arg2
= wxLIST_RECT_BOUNDS
;
1112 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1120 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1122 _resultobj
= Py_BuildValue("s",_ptemp
);
1126 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1127 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1128 PyObject
* _resultobj
;
1136 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1144 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1145 _resultobj
= Py_BuildValue("i",_result
);
1149 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1150 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1151 PyObject
* _resultobj
;
1157 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1160 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1165 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1166 _resultobj
= Py_BuildValue("i",_result
);
1170 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1171 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1172 PyObject
* _resultobj
;
1180 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1183 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1188 _arg1
= (bool ) tempbool1
;
1189 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1190 _resultobj
= Py_BuildValue("i",_result
);
1194 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1195 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1196 PyObject
* _resultobj
;
1203 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1211 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1213 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1221 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1222 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1223 PyObject
* _resultobj
;
1227 int _arg2
= wxLIST_NEXT_ALL
;
1228 int _arg3
= wxLIST_STATE_DONTCARE
;
1232 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1240 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1241 _resultobj
= Py_BuildValue("l",_result
);
1245 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1246 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1247 PyObject
* _resultobj
;
1253 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1261 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1262 _resultobj
= Py_BuildValue("i",_result
);
1266 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1267 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
) {
1268 PyObject
* _resultobj
;
1275 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTextColour",&_argc0
))
1278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
1283 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
1284 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1285 _resultobj
= Py_BuildValue("s",_ptemp
);
1289 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1290 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1291 PyObject
* _resultobj
;
1297 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1305 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1306 _resultobj
= Py_BuildValue("l",_result
);
1310 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1311 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1312 PyObject
* _resultobj
;
1325 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1334 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1339 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1340 _resultobj
= Py_BuildValue("l",_result
);
1343 o
= PyInt_FromLong((long) (*_arg2
));
1344 _resultobj
= t_output_helper(_resultobj
, o
);
1349 #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1350 static PyObject
*_wrap_wxListCtrl_InsertColumnWithInfo(PyObject
*self
, PyObject
*args
) {
1351 PyObject
* _resultobj
;
1360 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0
,&_arg1
,&_argc2
))
1363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1369 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1374 _result
= (long )wxListCtrl_InsertColumnWithInfo(_arg0
,_arg1
,*_arg2
);
1375 _resultobj
= Py_BuildValue("l",_result
);
1379 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1380 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1381 PyObject
* _resultobj
;
1386 int _arg3
= wxLIST_FORMAT_LEFT
;
1389 PyObject
* _obj2
= 0;
1392 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1401 if (!PyString_Check(_obj2
)) {
1402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1405 _arg2
= new wxString(PyString_AsString(_obj2
));
1407 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1408 _resultobj
= Py_BuildValue("l",_result
);
1416 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1417 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
1418 PyObject
* _resultobj
;
1426 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
1429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1435 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1440 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
1441 _resultobj
= Py_BuildValue("l",_result
);
1445 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1446 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
1447 PyObject
* _resultobj
;
1453 PyObject
* _obj2
= 0;
1456 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
1459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1465 if (!PyString_Check(_obj2
)) {
1466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1469 _arg2
= new wxString(PyString_AsString(_obj2
));
1471 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
1472 _resultobj
= Py_BuildValue("l",_result
);
1480 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1481 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
1482 PyObject
* _resultobj
;
1490 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
1493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1498 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
1499 _resultobj
= Py_BuildValue("l",_result
);
1503 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1504 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
1505 PyObject
* _resultobj
;
1512 PyObject
* _obj2
= 0;
1515 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
1518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1524 if (!PyString_Check(_obj2
)) {
1525 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1528 _arg2
= new wxString(PyString_AsString(_obj2
));
1530 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1531 _resultobj
= Py_BuildValue("l",_result
);
1539 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1540 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
1541 PyObject
* _resultobj
;
1549 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
1552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1557 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
1558 _resultobj
= Py_BuildValue("i",_result
);
1562 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1563 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1564 PyObject
* _resultobj
;
1571 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
1574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
1580 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
1585 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
1587 _resultobj
= Py_None
;
1591 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
1592 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
1593 PyObject
* _resultobj
;
1602 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
1605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
1611 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
1616 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
1617 _resultobj
= Py_BuildValue("i",_result
);
1621 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1622 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
1623 PyObject
* _resultobj
;
1631 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
1634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
1639 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
1640 _resultobj
= Py_BuildValue("i",_result
);
1644 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
1645 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
1646 PyObject
* _resultobj
;
1648 wxImageList
* _arg1
;
1654 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
1657 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
1663 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
1668 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
1670 _resultobj
= Py_None
;
1674 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
1675 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
1676 PyObject
* _resultobj
;
1684 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
1687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
1693 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
1698 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
1699 _resultobj
= Py_BuildValue("i",_result
);
1703 #define wxListCtrl_SetItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1704 static PyObject
*_wrap_wxListCtrl_SetItemString(PyObject
*self
, PyObject
*args
) {
1705 PyObject
* _resultobj
;
1713 PyObject
* _obj3
= 0;
1716 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetItemString",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
1719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemString. Expected _wxListCtrl_p.");
1725 if (!PyString_Check(_obj3
)) {
1726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1729 _arg3
= new wxString(PyString_AsString(_obj3
));
1731 _result
= (long )wxListCtrl_SetItemString(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
1732 _resultobj
= Py_BuildValue("l",_result
);
1740 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
1741 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
1742 PyObject
* _resultobj
;
1750 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
1753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
1758 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
1759 _resultobj
= Py_BuildValue("i",_result
);
1763 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
1764 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1774 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
1782 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
1783 _resultobj
= Py_BuildValue("i",_result
);
1787 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
1788 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
1789 PyObject
* _resultobj
;
1798 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
1801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
1807 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
1812 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
1813 _resultobj
= Py_BuildValue("i",_result
);
1817 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
1818 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
1819 PyObject
* _resultobj
;
1828 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
1836 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
1837 _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
1842 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
1843 PyObject
* _resultobj
;
1848 PyObject
* _obj2
= 0;
1851 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
1854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
1860 if (!PyString_Check(_obj2
)) {
1861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1864 _arg2
= new wxString(PyString_AsString(_obj2
));
1866 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
1868 _resultobj
= Py_None
;
1876 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
1877 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
1878 PyObject
* _resultobj
;
1886 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
1889 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
1894 _arg2
= (bool ) tempbool2
;
1895 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
1897 _resultobj
= Py_None
;
1901 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1902 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
) {
1903 PyObject
* _resultobj
;
1910 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetTextColour",&_argc0
,&_argc1
))
1913 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
1919 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
1924 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
1926 _resultobj
= Py_None
;
1930 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
1931 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1932 PyObject
* _resultobj
;
1938 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
1941 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
1946 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
1948 _resultobj
= Py_None
;
1952 #define new_wxTreeItemId() (new wxTreeItemId())
1953 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
1954 PyObject
* _resultobj
;
1955 wxTreeItemId
* _result
;
1959 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
1961 _result
= (wxTreeItemId
*)new_wxTreeItemId();
1962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
1963 _resultobj
= Py_BuildValue("s",_ptemp
);
1967 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
1968 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
1969 PyObject
* _resultobj
;
1970 wxTreeItemId
* _arg0
;
1974 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
1977 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
1982 delete_wxTreeItemId(_arg0
);
1984 _resultobj
= Py_None
;
1988 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
1989 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
1990 PyObject
* _resultobj
;
1992 wxTreeItemId
* _arg0
;
1996 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
1999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2004 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2005 _resultobj
= Py_BuildValue("i",_result
);
2009 #define new_wxTreeItemData() (new wxTreeItemData())
2010 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2011 PyObject
* _resultobj
;
2012 wxTreeItemData
* _result
;
2016 if(!PyArg_ParseTuple(args
,":new_wxTreeItemData"))
2018 _result
= (wxTreeItemData
*)new_wxTreeItemData();
2019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2020 _resultobj
= Py_BuildValue("s",_ptemp
);
2024 #define delete_wxTreeItemData(_swigobj) (delete _swigobj)
2025 static PyObject
*_wrap_delete_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2026 PyObject
* _resultobj
;
2027 wxTreeItemData
* _arg0
;
2031 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemData",&_argc0
))
2034 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
2039 delete_wxTreeItemData(_arg0
);
2041 _resultobj
= Py_None
;
2045 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2046 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2047 PyObject
* _resultobj
;
2048 wxTreeItemId
* _result
;
2049 wxTreeItemData
* _arg0
;
2054 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
2062 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2063 _result
= (wxTreeItemId
*) &_result_ref
;
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2069 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2070 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2071 PyObject
* _resultobj
;
2072 wxTreeItemData
* _arg0
;
2073 wxTreeItemId
* _arg1
;
2078 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
2087 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2092 wxTreeItemData_SetId(_arg0
,*_arg1
);
2094 _resultobj
= Py_None
;
2098 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2100 wxCommandEvent
*dest
;
2101 src
= (wxTreeEvent
*) ptr
;
2102 dest
= (wxCommandEvent
*) src
;
2103 return (void *) dest
;
2106 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2109 src
= (wxTreeEvent
*) ptr
;
2110 dest
= (wxEvent
*) src
;
2111 return (void *) dest
;
2114 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2115 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2116 PyObject
* _resultobj
;
2117 wxTreeItemId
* _result
;
2118 wxTreeEvent
* _arg0
;
2123 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2131 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2132 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2133 _resultobj
= Py_BuildValue("s",_ptemp
);
2137 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2138 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2139 PyObject
* _resultobj
;
2140 wxTreeItemId
* _result
;
2141 wxTreeEvent
* _arg0
;
2146 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2149 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2154 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2155 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2156 _resultobj
= Py_BuildValue("s",_ptemp
);
2160 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2161 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2162 PyObject
* _resultobj
;
2164 wxTreeEvent
* _arg0
;
2169 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2177 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2178 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2179 _resultobj
= Py_BuildValue("s",_ptemp
);
2183 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2184 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2185 PyObject
* _resultobj
;
2187 wxTreeEvent
* _arg0
;
2191 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2199 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2200 _resultobj
= Py_BuildValue("i",_result
);
2204 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2205 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2206 PyObject
* _resultobj
;
2207 wxTreeEvent
* _arg0
;
2211 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2219 wxTreeEvent_Veto(_arg0
);
2221 _resultobj
= Py_None
;
2225 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2228 src
= (wxTreeCtrl
*) ptr
;
2229 dest
= (wxControl
*) src
;
2230 return (void *) dest
;
2233 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2236 src
= (wxTreeCtrl
*) ptr
;
2237 dest
= (wxWindow
*) src
;
2238 return (void *) dest
;
2241 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2244 src
= (wxTreeCtrl
*) ptr
;
2245 dest
= (wxEvtHandler
*) src
;
2246 return (void *) dest
;
2249 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2250 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2251 PyObject
* _resultobj
;
2252 wxTreeCtrl
* _result
;
2254 wxWindowID _arg1
= -1;
2255 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2256 wxSize
* _arg3
= &wxPyDefaultSize
;
2257 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2258 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2259 char * _arg6
= "wxTreeCtrl";
2267 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
2270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2276 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2282 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2288 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2293 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
2295 _resultobj
= Py_BuildValue("s",_ptemp
);
2299 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2300 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
2301 PyObject
* _resultobj
;
2308 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
2311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2316 _result
= new size_t (wxTreeCtrl_GetCount(_arg0
));
2317 SWIG_MakePtr(_ptemp
, (void *) _result
,"_size_t_p");
2318 _resultobj
= Py_BuildValue("s",_ptemp
);
2322 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2323 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
2324 PyObject
* _resultobj
;
2325 unsigned int _result
;
2330 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
2333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2338 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
2339 _resultobj
= Py_BuildValue("i",_result
);
2343 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2344 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
2345 PyObject
* _resultobj
;
2351 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
2354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2359 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
2361 _resultobj
= Py_None
;
2365 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2366 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
2367 PyObject
* _resultobj
;
2368 wxImageList
* _result
;
2374 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2382 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
2383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2389 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
2390 PyObject
* _resultobj
;
2391 wxImageList
* _result
;
2397 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
2400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2405 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
2406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2407 _resultobj
= Py_BuildValue("s",_ptemp
);
2411 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2412 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2413 PyObject
* _resultobj
;
2415 wxImageList
* _arg1
;
2420 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
2423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2429 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2434 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
2436 _resultobj
= Py_None
;
2440 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2441 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
2442 PyObject
* _resultobj
;
2444 wxImageList
* _arg1
;
2449 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
2452 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2458 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2463 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
2465 _resultobj
= Py_None
;
2469 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2470 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2471 PyObject
* _resultobj
;
2474 wxTreeItemId
* _arg1
;
2479 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
2482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2488 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2493 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
2495 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2503 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2504 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
2505 PyObject
* _resultobj
;
2508 wxTreeItemId
* _arg1
;
2513 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
2516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2522 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2527 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
2528 _resultobj
= Py_BuildValue("i",_result
);
2532 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2533 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2534 PyObject
* _resultobj
;
2537 wxTreeItemId
* _arg1
;
2542 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
2545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2551 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2556 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
2557 _resultobj
= Py_BuildValue("i",_result
);
2561 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2562 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
2563 PyObject
* _resultobj
;
2564 wxTreeItemData
* _result
;
2566 wxTreeItemId
* _arg1
;
2572 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
2575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2581 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2586 _result
= (wxTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
2587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2588 _resultobj
= Py_BuildValue("s",_ptemp
);
2592 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2593 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2594 PyObject
* _resultobj
;
2596 wxTreeItemId
* _arg1
;
2600 PyObject
* _obj2
= 0;
2603 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
2606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2612 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
2618 if (!PyString_Check(_obj2
)) {
2619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2622 _arg2
= new wxString(PyString_AsString(_obj2
));
2624 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
2626 _resultobj
= Py_None
;
2634 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
2635 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2636 PyObject
* _resultobj
;
2638 wxTreeItemId
* _arg1
;
2644 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
2647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2653 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
2658 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
2660 _resultobj
= Py_None
;
2664 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
2665 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2666 PyObject
* _resultobj
;
2668 wxTreeItemId
* _arg1
;
2674 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
2677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
2683 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
2688 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
2690 _resultobj
= Py_None
;
2694 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2695 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2696 PyObject
* _resultobj
;
2698 wxTreeItemId
* _arg1
;
2699 wxTreeItemData
* _arg2
;
2705 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
2708 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
2714 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
2720 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemData_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
2725 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
2727 _resultobj
= Py_None
;
2731 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
2732 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
2733 PyObject
* _resultobj
;
2736 wxTreeItemId
* _arg1
;
2741 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
2744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
2750 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
2755 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
2756 _resultobj
= Py_BuildValue("i",_result
);
2760 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
2761 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
2762 PyObject
* _resultobj
;
2765 wxTreeItemId
* _arg1
;
2770 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
2773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
2779 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
2784 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
2785 _resultobj
= Py_BuildValue("i",_result
);
2789 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
2790 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
2791 PyObject
* _resultobj
;
2794 wxTreeItemId
* _arg1
;
2799 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
2802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
2808 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
2813 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
2814 _resultobj
= Py_BuildValue("i",_result
);
2818 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
2819 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
2820 PyObject
* _resultobj
;
2823 wxTreeItemId
* _arg1
;
2828 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
2831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
2837 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
2842 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
2843 _resultobj
= Py_BuildValue("i",_result
);
2847 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
2848 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
2849 PyObject
* _resultobj
;
2850 wxTreeItemId
* _result
;
2856 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
2859 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
2864 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
2865 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2866 _resultobj
= Py_BuildValue("s",_ptemp
);
2870 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
2871 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
2872 PyObject
* _resultobj
;
2873 wxTreeItemId
* _result
;
2879 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
2882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
2887 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
2888 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2889 _resultobj
= Py_BuildValue("s",_ptemp
);
2893 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
2894 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2896 wxTreeItemId
* _result
;
2898 wxTreeItemId
* _arg1
;
2904 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
2907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
2913 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
2918 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
2919 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2920 _resultobj
= Py_BuildValue("s",_ptemp
);
2924 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
2925 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
2926 PyObject
* _resultobj
;
2927 wxTreeItemId
* _result
;
2929 wxTreeItemId
* _arg1
;
2934 PyObject
* _obj2
= 0;
2938 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
2941 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
2947 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
2953 temp
= (long) PyInt_AsLong(_obj2
);
2956 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
2957 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2958 _resultobj
= Py_BuildValue("s",_ptemp
);
2961 o
= PyInt_FromLong((long) (*_arg2
));
2962 _resultobj
= t_output_helper(_resultobj
, o
);
2967 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
2968 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
2969 PyObject
* _resultobj
;
2970 wxTreeItemId
* _result
;
2972 wxTreeItemId
* _arg1
;
2977 PyObject
* _obj2
= 0;
2981 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
2984 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
2990 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
2996 temp
= (long) PyInt_AsLong(_obj2
);
2999 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
3000 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3001 _resultobj
= Py_BuildValue("s",_ptemp
);
3004 o
= PyInt_FromLong((long) (*_arg2
));
3005 _resultobj
= t_output_helper(_resultobj
, o
);
3010 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3011 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
3012 PyObject
* _resultobj
;
3013 wxTreeItemId
* _result
;
3015 wxTreeItemId
* _arg1
;
3021 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
3024 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3030 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3035 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
3036 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3037 _resultobj
= Py_BuildValue("s",_ptemp
);
3041 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
3042 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
3043 PyObject
* _resultobj
;
3044 wxTreeItemId
* _result
;
3046 wxTreeItemId
* _arg1
;
3052 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
3055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
3061 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
3066 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
3067 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3068 _resultobj
= Py_BuildValue("s",_ptemp
);
3072 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
3073 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
3074 PyObject
* _resultobj
;
3075 wxTreeItemId
* _result
;
3081 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
3084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
3089 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
3090 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3091 _resultobj
= Py_BuildValue("s",_ptemp
);
3095 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3096 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
3097 PyObject
* _resultobj
;
3098 wxTreeItemId
* _result
;
3100 wxTreeItemId
* _arg1
;
3106 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
3109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3115 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3120 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
3121 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3122 _resultobj
= Py_BuildValue("s",_ptemp
);
3126 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3127 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
3128 PyObject
* _resultobj
;
3129 wxTreeItemId
* _result
;
3131 wxTreeItemId
* _arg1
;
3137 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
3140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3146 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3151 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
3152 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3153 _resultobj
= Py_BuildValue("s",_ptemp
);
3157 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3158 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
3159 PyObject
* _resultobj
;
3160 wxTreeItemId
* _result
;
3165 wxTreeItemData
* _arg4
= NULL
;
3167 PyObject
* _obj1
= 0;
3172 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
3175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3181 if (!PyString_Check(_obj1
)) {
3182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3185 _arg1
= new wxString(PyString_AsString(_obj1
));
3188 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxTreeItemData_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3193 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
3194 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3195 _resultobj
= Py_BuildValue("s",_ptemp
);
3203 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3204 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
3205 PyObject
* _resultobj
;
3206 wxTreeItemId
* _result
;
3208 wxTreeItemId
* _arg1
;
3212 wxTreeItemData
* _arg5
= NULL
;
3215 PyObject
* _obj2
= 0;
3220 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3223 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3229 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3235 if (!PyString_Check(_obj2
)) {
3236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3239 _arg2
= new wxString(PyString_AsString(_obj2
));
3242 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3247 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3248 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3249 _resultobj
= Py_BuildValue("s",_ptemp
);
3257 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3258 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
3259 PyObject
* _resultobj
;
3260 wxTreeItemId
* _result
;
3262 wxTreeItemId
* _arg1
;
3263 wxTreeItemId
* _arg2
;
3267 wxTreeItemData
* _arg6
= NULL
;
3271 PyObject
* _obj3
= 0;
3276 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
3279 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3285 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3291 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3297 if (!PyString_Check(_obj3
)) {
3298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3301 _arg3
= new wxString(PyString_AsString(_obj3
));
3304 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3309 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
3310 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3311 _resultobj
= Py_BuildValue("s",_ptemp
);
3319 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3320 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
3321 PyObject
* _resultobj
;
3322 wxTreeItemId
* _result
;
3324 wxTreeItemId
* _arg1
;
3328 wxTreeItemData
* _arg5
= NULL
;
3331 PyObject
* _obj2
= 0;
3336 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3345 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3351 if (!PyString_Check(_obj2
)) {
3352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3355 _arg2
= new wxString(PyString_AsString(_obj2
));
3358 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3363 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3364 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3365 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3374 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
3375 PyObject
* _resultobj
;
3377 wxTreeItemId
* _arg1
;
3382 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
3385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3391 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3396 wxTreeCtrl_Delete(_arg0
,*_arg1
);
3398 _resultobj
= Py_None
;
3402 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3403 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
3404 PyObject
* _resultobj
;
3409 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
3412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3417 wxTreeCtrl_DeleteAllItems(_arg0
);
3419 _resultobj
= Py_None
;
3423 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3424 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
3425 PyObject
* _resultobj
;
3427 wxTreeItemId
* _arg1
;
3432 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
3435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3441 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3446 wxTreeCtrl_Expand(_arg0
,*_arg1
);
3448 _resultobj
= Py_None
;
3452 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3453 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
3454 PyObject
* _resultobj
;
3456 wxTreeItemId
* _arg1
;
3461 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
3464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3470 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3475 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
3477 _resultobj
= Py_None
;
3481 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3482 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
3483 PyObject
* _resultobj
;
3485 wxTreeItemId
* _arg1
;
3490 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
3493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3499 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3504 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
3506 _resultobj
= Py_None
;
3510 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3511 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
3512 PyObject
* _resultobj
;
3514 wxTreeItemId
* _arg1
;
3519 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
3522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3528 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3533 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
3535 _resultobj
= Py_None
;
3539 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
3540 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
3541 PyObject
* _resultobj
;
3546 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
3549 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
3554 wxTreeCtrl_Unselect(_arg0
);
3556 _resultobj
= Py_None
;
3560 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
3561 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
3562 PyObject
* _resultobj
;
3564 wxTreeItemId
* _arg1
;
3569 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
3572 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
3578 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
3583 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
3585 _resultobj
= Py_None
;
3589 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3590 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
3591 PyObject
* _resultobj
;
3593 wxTreeItemId
* _arg1
;
3598 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
3601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
3607 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
3612 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
3614 _resultobj
= Py_None
;
3618 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
3619 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
3620 PyObject
* _resultobj
;
3622 wxTreeItemId
* _arg1
;
3627 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
3630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
3636 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
3641 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
3643 _resultobj
= Py_None
;
3647 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3648 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
3649 PyObject
* _resultobj
;
3650 wxTextCtrl
* _result
;
3652 wxTreeItemId
* _arg1
;
3658 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
3661 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
3667 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
3672 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
3673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3674 _resultobj
= Py_BuildValue("s",_ptemp
);
3678 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3679 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
3680 PyObject
* _resultobj
;
3681 wxTextCtrl
* _result
;
3687 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
3690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
3695 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
3696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3697 _resultobj
= Py_BuildValue("s",_ptemp
);
3701 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
3702 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
3703 PyObject
* _resultobj
;
3705 wxTreeItemId
* _arg1
;
3712 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
3715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
3721 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
3726 _arg2
= (bool ) tempbool2
;
3727 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
3729 _resultobj
= Py_None
;
3733 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
3734 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
3735 PyObject
* _resultobj
;
3737 wxTreeItemId
* _arg1
;
3744 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
3747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
3753 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
3758 _arg2
= (bool ) tempbool2
;
3759 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
3761 _resultobj
= Py_None
;
3765 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
3766 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
3767 PyObject
* _resultobj
;
3770 wxTreeItemId
* _arg1
;
3775 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
3778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
3784 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
3789 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
3790 _resultobj
= Py_BuildValue("i",_result
);
3794 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
3795 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
3796 PyObject
* _resultobj
;
3797 wxTreeItemId
* _result
;
3805 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
3808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
3814 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
3819 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
3820 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3821 _resultobj
= Py_BuildValue("s",_ptemp
);
3825 static PyMethodDef controls2cMethods
[] = {
3826 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
3827 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
3828 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
3829 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
3830 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
3831 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
3832 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
3833 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
3834 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
3835 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
3836 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
3837 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
3838 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
3839 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
3840 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
3841 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
3842 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
3843 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
3844 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
3845 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
3846 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
3847 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
3848 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
3849 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
3850 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
3851 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
3852 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
3853 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
3854 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
3855 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
3856 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
3857 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
3858 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
3859 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
3860 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
3861 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
3862 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
3863 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
3864 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
3865 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
3866 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
3867 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
3868 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
3869 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
3870 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
3871 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
3872 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
3873 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
3874 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
3875 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
3876 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
3877 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
3878 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
3879 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
3880 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
3881 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
3882 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
3883 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData
, 1 },
3884 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
3885 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
3886 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
3887 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
3888 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
3889 { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour
, 1 },
3890 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
3891 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
3892 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
3893 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
3894 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
3895 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
3896 { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString
, 1 },
3897 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
3898 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
3899 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
3900 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
3901 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
3902 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
3903 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
3904 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
3905 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
3906 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
3907 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
3908 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo
, 1 },
3909 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
3910 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
3911 { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour
, 1 },
3912 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
3913 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
3914 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
3915 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
3916 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
3917 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
3918 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
3919 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
3920 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
3921 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
3922 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
3923 { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl
, 1 },
3924 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
3925 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
3926 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
3927 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
3928 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
3929 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
3930 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
3931 { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel
, 1 },
3932 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel
, 1 },
3933 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
3934 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
3935 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
3936 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
3937 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
3938 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
3939 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
3940 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
3941 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
3942 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
3943 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
3944 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
3945 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
3946 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
3947 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
3948 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
3949 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
3950 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
3951 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
3952 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
3953 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
3954 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
3955 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
3956 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
3957 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
3958 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
3961 static PyObject
*SWIG_globals
;
3965 SWIGEXPORT(void,initcontrols2c
)() {
3967 SWIG_globals
= SWIG_newvarlink();
3968 m
= Py_InitModule("controls2c", controls2cMethods
);
3969 d
= PyModule_GetDict(m
);
3971 * These are the pointer type-equivalency mappings.
3972 * (Used by the SWIG pointer type-checker).
3974 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3975 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3976 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3977 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
3978 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
3979 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3980 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3981 SWIG_RegisterMapping("_signed_long","_long",0);
3982 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3983 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3984 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3985 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3986 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3987 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3988 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3989 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3990 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3991 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3992 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3993 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
3994 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3995 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3996 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3997 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3998 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3999 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4000 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4001 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4002 SWIG_RegisterMapping("_long","_wxDash",0);
4003 SWIG_RegisterMapping("_long","_unsigned_long",0);
4004 SWIG_RegisterMapping("_long","_signed_long",0);
4005 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4006 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4007 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4008 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4009 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4010 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
4011 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4012 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4013 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4014 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4015 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4016 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4017 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4018 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4019 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4020 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4021 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4022 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4023 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4024 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4025 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4026 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4027 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4028 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4029 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4030 SWIG_RegisterMapping("_uint","_int",0);
4031 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4032 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4033 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4034 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4035 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4036 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4037 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4038 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4039 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4040 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4041 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4042 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4043 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4044 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4045 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4046 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4047 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4048 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
4049 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4050 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4051 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4052 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4053 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4054 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4055 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4056 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4057 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
4058 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4059 SWIG_RegisterMapping("_EBool","_signed_int",0);
4060 SWIG_RegisterMapping("_EBool","_int",0);
4061 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4062 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4063 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4064 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4065 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4066 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4067 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4068 SWIG_RegisterMapping("_unsigned_long","_long",0);
4069 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4070 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4071 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
4072 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4073 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4074 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4075 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4076 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4077 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4078 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4079 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4080 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4081 SWIG_RegisterMapping("_signed_int","_EBool",0);
4082 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4083 SWIG_RegisterMapping("_signed_int","_int",0);
4084 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4085 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4086 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4087 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4088 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4089 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4090 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4091 SWIG_RegisterMapping("_WXTYPE","_short",0);
4092 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4093 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4094 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4095 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4096 SWIG_RegisterMapping("_unsigned_short","_short",0);
4097 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4098 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4099 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4100 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4101 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4102 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4103 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4104 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4105 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4106 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4107 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4108 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4109 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4110 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4111 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4112 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4113 SWIG_RegisterMapping("_signed_short","_short",0);
4114 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4115 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4116 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4117 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4118 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4119 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4120 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4121 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4122 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
4123 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4124 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4125 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4126 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4127 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4128 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4129 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4130 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4131 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4132 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4133 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4134 SWIG_RegisterMapping("_unsigned_int","_int",0);
4135 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4136 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4137 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4138 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4139 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4140 SWIG_RegisterMapping("_short","_WXTYPE",0);
4141 SWIG_RegisterMapping("_short","_unsigned_short",0);
4142 SWIG_RegisterMapping("_short","_signed_short",0);
4143 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4144 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4145 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4146 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4147 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4148 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4149 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4150 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4151 SWIG_RegisterMapping("_wxWindowID","_int",0);
4152 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4153 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4154 SWIG_RegisterMapping("_int","_EBool",0);
4155 SWIG_RegisterMapping("_int","_uint",0);
4156 SWIG_RegisterMapping("_int","_wxWindowID",0);
4157 SWIG_RegisterMapping("_int","_unsigned_int",0);
4158 SWIG_RegisterMapping("_int","_signed_int",0);
4159 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4160 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4161 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4162 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4163 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4164 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4165 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4166 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4167 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4168 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4169 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4170 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4171 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4172 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4173 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4174 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4175 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4176 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4177 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4178 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4179 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4180 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4181 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4182 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4183 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4184 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4185 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4186 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4187 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4188 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4189 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4190 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4191 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4192 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4193 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4194 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4195 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4196 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4197 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4198 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4199 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4200 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4201 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4202 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4203 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4204 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4205 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4206 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4207 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4208 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4209 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4210 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4211 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4212 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4213 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4214 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4215 SWIG_RegisterMapping("_wxDash","_long",0);
4216 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4217 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4218 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4219 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4220 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4221 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4222 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4223 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4224 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4225 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);