2 * FILE : gtk/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
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 extern wxValidator wxPyDefaultValidator
;
121 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
122 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
123 PyObject
* _resultobj
;
129 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
137 _result
= (long )wxListItem_m_mask_get(_arg0
);
138 _resultobj
= Py_BuildValue("l",_result
);
142 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
143 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
144 PyObject
* _resultobj
;
150 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
158 _result
= (long )wxListItem_m_itemId_get(_arg0
);
159 _resultobj
= Py_BuildValue("l",_result
);
163 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
164 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
165 PyObject
* _resultobj
;
171 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
179 _result
= (int )wxListItem_m_col_get(_arg0
);
180 _resultobj
= Py_BuildValue("i",_result
);
184 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
185 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
186 PyObject
* _resultobj
;
192 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
200 _result
= (long )wxListItem_m_state_get(_arg0
);
201 _resultobj
= Py_BuildValue("l",_result
);
205 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
206 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
207 PyObject
* _resultobj
;
213 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
221 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
222 _resultobj
= Py_BuildValue("l",_result
);
226 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
227 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
228 PyObject
* _resultobj
;
234 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
242 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
244 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
249 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
250 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
257 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
265 _result
= (int )wxListItem_m_image_get(_arg0
);
266 _resultobj
= Py_BuildValue("i",_result
);
270 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
271 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
272 PyObject
* _resultobj
;
278 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
286 _result
= (long )wxListItem_m_data_get(_arg0
);
287 _resultobj
= Py_BuildValue("l",_result
);
291 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
292 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
293 PyObject
* _resultobj
;
299 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
307 _result
= (int )wxListItem_m_format_get(_arg0
);
308 _resultobj
= Py_BuildValue("i",_result
);
312 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
313 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
314 PyObject
* _resultobj
;
320 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
328 _result
= (int )wxListItem_m_width_get(_arg0
);
329 _resultobj
= Py_BuildValue("i",_result
);
333 #define new_wxListItem() (new wxListItem())
334 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
335 PyObject
* _resultobj
;
336 wxListItem
* _result
;
340 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
342 _result
= (wxListItem
*)new_wxListItem();
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
348 #define delete_wxListItem(_swigobj) (delete _swigobj)
349 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
350 PyObject
* _resultobj
;
355 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
363 delete_wxListItem(_arg0
);
365 _resultobj
= Py_None
;
369 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
371 wxCommandEvent
*dest
;
372 src
= (wxListEvent
*) ptr
;
373 dest
= (wxCommandEvent
*) src
;
374 return (void *) dest
;
377 static void *SwigwxListEventTowxEvent(void *ptr
) {
380 src
= (wxListEvent
*) ptr
;
381 dest
= (wxEvent
*) src
;
382 return (void *) dest
;
385 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
386 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
387 PyObject
* _resultobj
;
393 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
401 _result
= (int )wxListEvent_m_code_get(_arg0
);
402 _resultobj
= Py_BuildValue("i",_result
);
406 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
407 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
408 PyObject
* _resultobj
;
414 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
422 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
423 _resultobj
= Py_BuildValue("l",_result
);
427 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
428 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
429 PyObject
* _resultobj
;
435 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
443 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
444 _resultobj
= Py_BuildValue("l",_result
);
448 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
449 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
450 PyObject
* _resultobj
;
456 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
464 _result
= (int )wxListEvent_m_col_get(_arg0
);
465 _resultobj
= Py_BuildValue("i",_result
);
469 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
470 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
471 PyObject
* _resultobj
;
477 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
485 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
486 _resultobj
= Py_BuildValue("i",_result
);
490 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
491 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
492 PyObject
* _resultobj
;
499 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
507 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
513 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
514 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
515 PyObject
* _resultobj
;
516 wxListItem
* _result
;
522 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
530 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
532 _resultobj
= Py_BuildValue("s",_ptemp
);
536 static void *SwigwxListCtrlTowxControl(void *ptr
) {
539 src
= (wxListCtrl
*) ptr
;
540 dest
= (wxControl
*) src
;
541 return (void *) dest
;
544 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
547 src
= (wxListCtrl
*) ptr
;
548 dest
= (wxWindow
*) src
;
549 return (void *) dest
;
552 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
555 src
= (wxListCtrl
*) ptr
;
556 dest
= (wxEvtHandler
*) src
;
557 return (void *) dest
;
560 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
561 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
562 PyObject
* _resultobj
;
563 wxListCtrl
* _result
;
566 wxPoint
* _arg2
= &wxPyDefaultPosition
;
567 wxSize
* _arg3
= &wxPyDefaultSize
;
568 long _arg4
= (wxLC_ICON
);
569 wxValidator
* _arg5
= &wxPyDefaultValidator
;
570 char * _arg6
= "listCtrl";
578 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
581 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
587 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
593 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
599 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
604 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
606 _resultobj
= Py_BuildValue("s",_ptemp
);
610 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
611 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
612 PyObject
* _resultobj
;
615 int _arg1
= wxLIST_ALIGN_DEFAULT
;
619 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
627 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
628 _resultobj
= Py_BuildValue("i",_result
);
632 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
633 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
634 PyObject
* _resultobj
;
641 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
644 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
649 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
650 _resultobj
= Py_BuildValue("i",_result
);
654 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
655 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
656 PyObject
* _resultobj
;
662 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
670 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
671 _resultobj
= Py_BuildValue("i",_result
);
675 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
676 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
677 PyObject
* _resultobj
;
684 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
692 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
693 _resultobj
= Py_BuildValue("i",_result
);
697 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
698 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
699 PyObject
* _resultobj
;
705 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
708 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
713 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
714 _resultobj
= Py_BuildValue("i",_result
);
718 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
719 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
720 PyObject
* _resultobj
;
725 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
733 wxListCtrl_ClearAll(_arg0
);
735 _resultobj
= Py_None
;
739 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
740 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
741 PyObject
* _resultobj
;
748 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
756 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
757 _resultobj
= Py_BuildValue("i",_result
);
761 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
762 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
763 PyObject
* _resultobj
;
770 PyObject
* _obj2
= 0;
774 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
783 if (!PyString_Check(_obj2
)) {
784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
787 _arg2
= new wxString(PyString_AsString(_obj2
));
789 _arg3
= (bool ) tempbool3
;
790 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
791 _resultobj
= Py_BuildValue("l",_result
);
799 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
800 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
801 PyObject
* _resultobj
;
809 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
817 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
818 _resultobj
= Py_BuildValue("l",_result
);
822 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
823 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
824 PyObject
* _resultobj
;
834 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
843 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
848 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
849 _resultobj
= Py_BuildValue("l",_result
);
853 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
854 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
855 PyObject
* _resultobj
;
864 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
873 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
878 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
879 _resultobj
= Py_BuildValue("i",_result
);
883 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
884 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
885 PyObject
* _resultobj
;
892 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
900 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
901 _resultobj
= Py_BuildValue("i",_result
);
905 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
906 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
907 PyObject
* _resultobj
;
913 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
916 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
921 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
922 _resultobj
= Py_BuildValue("i",_result
);
926 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
927 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
928 PyObject
* _resultobj
;
929 wxImageList
* _result
;
936 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
939 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
944 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
946 _resultobj
= Py_BuildValue("s",_ptemp
);
950 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
951 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
952 PyObject
* _resultobj
;
959 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
967 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
968 _resultobj
= Py_BuildValue("l",_result
);
972 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
) {
973 wxListItem
* info
= new wxListItem
;
974 self
->GetItem(*info
);
977 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
979 wxListItem
* _result
;
985 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItem",&_argc0
))
988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
993 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
);
994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
995 _resultobj
= Py_BuildValue("s",_ptemp
);
999 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1000 wxPoint
* pos
= new wxPoint
;
1001 self
->GetItemPosition(item
, *pos
);
1004 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1005 PyObject
* _resultobj
;
1013 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1016 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1021 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1023 _resultobj
= Py_BuildValue("s",_ptemp
);
1027 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1028 wxRect
* rect
= new wxRect
;
1029 self
->GetItemRect(item
, *rect
, code
);
1032 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1033 PyObject
* _resultobj
;
1037 int _arg2
= wxLIST_RECT_BOUNDS
;
1042 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1045 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1050 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1052 _resultobj
= Py_BuildValue("s",_ptemp
);
1056 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1057 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1058 PyObject
* _resultobj
;
1066 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1069 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1074 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1075 _resultobj
= Py_BuildValue("i",_result
);
1079 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1080 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1081 PyObject
* _resultobj
;
1087 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1095 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1096 _resultobj
= Py_BuildValue("i",_result
);
1100 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1101 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1102 PyObject
* _resultobj
;
1110 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1118 _arg1
= (bool ) tempbool1
;
1119 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1120 _resultobj
= Py_BuildValue("i",_result
);
1124 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1125 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1126 PyObject
* _resultobj
;
1133 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1141 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1143 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1151 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1152 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1153 PyObject
* _resultobj
;
1157 int _arg2
= wxLIST_NEXT_ALL
;
1158 int _arg3
= wxLIST_STATE_DONTCARE
;
1162 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1165 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1170 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1171 _resultobj
= Py_BuildValue("l",_result
);
1175 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1176 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1177 PyObject
* _resultobj
;
1183 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1191 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1192 _resultobj
= Py_BuildValue("i",_result
);
1196 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1197 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1198 PyObject
* _resultobj
;
1204 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1212 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1213 _resultobj
= Py_BuildValue("l",_result
);
1217 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1218 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1219 PyObject
* _resultobj
;
1232 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1241 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1246 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1247 _resultobj
= Py_BuildValue("l",_result
);
1250 o
= PyInt_FromLong((long) (*_arg2
));
1251 _resultobj
= t_output_helper(_resultobj
, o
);
1256 #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1257 static PyObject
*_wrap_wxListCtrl_InsertColumnWithInfo(PyObject
*self
, PyObject
*args
) {
1258 PyObject
* _resultobj
;
1267 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0
,&_arg1
,&_argc2
))
1270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1276 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1281 _result
= (long )wxListCtrl_InsertColumnWithInfo(_arg0
,_arg1
,*_arg2
);
1282 _resultobj
= Py_BuildValue("l",_result
);
1286 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1287 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1288 PyObject
* _resultobj
;
1293 int _arg3
= wxLIST_FORMAT_LEFT
;
1296 PyObject
* _obj2
= 0;
1299 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1308 if (!PyString_Check(_obj2
)) {
1309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1312 _arg2
= new wxString(PyString_AsString(_obj2
));
1314 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1315 _resultobj
= Py_BuildValue("l",_result
);
1323 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1324 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
1325 PyObject
* _resultobj
;
1333 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
1336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1342 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1347 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
1348 _resultobj
= Py_BuildValue("l",_result
);
1352 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1353 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
1354 PyObject
* _resultobj
;
1360 PyObject
* _obj2
= 0;
1363 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
1366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1372 if (!PyString_Check(_obj2
)) {
1373 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1376 _arg2
= new wxString(PyString_AsString(_obj2
));
1378 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
1379 _resultobj
= Py_BuildValue("l",_result
);
1387 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1388 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
1389 PyObject
* _resultobj
;
1397 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
1400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1405 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
1406 _resultobj
= Py_BuildValue("l",_result
);
1410 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1411 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
1412 PyObject
* _resultobj
;
1419 PyObject
* _obj2
= 0;
1422 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
1425 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1431 if (!PyString_Check(_obj2
)) {
1432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1435 _arg2
= new wxString(PyString_AsString(_obj2
));
1437 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1438 _resultobj
= Py_BuildValue("l",_result
);
1446 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1447 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1456 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
1459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1464 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
1465 _resultobj
= Py_BuildValue("i",_result
);
1469 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1470 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1471 PyObject
* _resultobj
;
1478 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
1481 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
1487 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
1492 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
1494 _resultobj
= Py_None
;
1498 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
1499 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
1500 PyObject
* _resultobj
;
1509 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
1512 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
1518 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
1523 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
1524 _resultobj
= Py_BuildValue("i",_result
);
1528 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1529 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
1530 PyObject
* _resultobj
;
1538 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
1541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
1546 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
1547 _resultobj
= Py_BuildValue("i",_result
);
1551 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
1552 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
1553 PyObject
* _resultobj
;
1555 wxImageList
* _arg1
;
1561 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
1564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
1570 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
1575 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
1577 _resultobj
= Py_None
;
1581 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
1582 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
1583 PyObject
* _resultobj
;
1591 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
1594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
1600 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
1605 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
1606 _resultobj
= Py_BuildValue("i",_result
);
1610 #define wxListCtrl_SetItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1611 static PyObject
*_wrap_wxListCtrl_SetItemString(PyObject
*self
, PyObject
*args
) {
1612 PyObject
* _resultobj
;
1620 PyObject
* _obj3
= 0;
1623 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetItemString",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
1626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemString. Expected _wxListCtrl_p.");
1632 if (!PyString_Check(_obj3
)) {
1633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1636 _arg3
= new wxString(PyString_AsString(_obj3
));
1638 _result
= (long )wxListCtrl_SetItemString(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
1639 _resultobj
= Py_BuildValue("l",_result
);
1647 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
1648 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
1649 PyObject
* _resultobj
;
1657 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
1660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
1665 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
1666 _resultobj
= Py_BuildValue("i",_result
);
1670 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
1671 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
1672 PyObject
* _resultobj
;
1681 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
1689 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
1690 _resultobj
= Py_BuildValue("i",_result
);
1694 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
1695 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
1696 PyObject
* _resultobj
;
1705 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
1708 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
1714 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
1719 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
1720 _resultobj
= Py_BuildValue("i",_result
);
1724 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
1725 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
1726 PyObject
* _resultobj
;
1735 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1738 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
1743 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
1744 _resultobj
= Py_BuildValue("i",_result
);
1748 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
1749 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
1750 PyObject
* _resultobj
;
1755 PyObject
* _obj2
= 0;
1758 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
1761 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
1767 if (!PyString_Check(_obj2
)) {
1768 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1771 _arg2
= new wxString(PyString_AsString(_obj2
));
1773 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
1775 _resultobj
= Py_None
;
1783 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
1784 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
1785 PyObject
* _resultobj
;
1793 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
1796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
1801 _arg2
= (bool ) tempbool2
;
1802 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
1804 _resultobj
= Py_None
;
1808 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
1809 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1810 PyObject
* _resultobj
;
1816 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
1819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
1824 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
1826 _resultobj
= Py_None
;
1830 #define new_wxTreeItemId() (new wxTreeItemId())
1831 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
1832 PyObject
* _resultobj
;
1833 wxTreeItemId
* _result
;
1837 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
1839 _result
= (wxTreeItemId
*)new_wxTreeItemId();
1840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
1841 _resultobj
= Py_BuildValue("s",_ptemp
);
1845 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
1846 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
1847 PyObject
* _resultobj
;
1848 wxTreeItemId
* _arg0
;
1852 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
1855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
1860 delete_wxTreeItemId(_arg0
);
1862 _resultobj
= Py_None
;
1866 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
1867 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
1868 PyObject
* _resultobj
;
1870 wxTreeItemId
* _arg0
;
1874 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
1877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
1882 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
1883 _resultobj
= Py_BuildValue("i",_result
);
1887 #define new_wxTreeItemData() (new wxTreeItemData())
1888 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
1889 PyObject
* _resultobj
;
1890 wxTreeItemData
* _result
;
1894 if(!PyArg_ParseTuple(args
,":new_wxTreeItemData"))
1896 _result
= (wxTreeItemData
*)new_wxTreeItemData();
1897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
1898 _resultobj
= Py_BuildValue("s",_ptemp
);
1902 #define delete_wxTreeItemData(_swigobj) (delete _swigobj)
1903 static PyObject
*_wrap_delete_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
1904 PyObject
* _resultobj
;
1905 wxTreeItemData
* _arg0
;
1909 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemData",&_argc0
))
1912 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
1917 delete_wxTreeItemData(_arg0
);
1919 _resultobj
= Py_None
;
1923 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
1924 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
1925 PyObject
* _resultobj
;
1926 wxTreeItemId
* _result
;
1927 wxTreeItemData
* _arg0
;
1932 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
1935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
1940 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
1941 _result
= (wxTreeItemId
*) &_result_ref
;
1942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
1943 _resultobj
= Py_BuildValue("s",_ptemp
);
1947 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
1948 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
1949 PyObject
* _resultobj
;
1950 wxTreeItemData
* _arg0
;
1951 wxTreeItemId
* _arg1
;
1956 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
1959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
1965 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
1970 wxTreeItemData_SetId(_arg0
,*_arg1
);
1972 _resultobj
= Py_None
;
1976 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
1978 wxCommandEvent
*dest
;
1979 src
= (wxTreeEvent
*) ptr
;
1980 dest
= (wxCommandEvent
*) src
;
1981 return (void *) dest
;
1984 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
1987 src
= (wxTreeEvent
*) ptr
;
1988 dest
= (wxEvent
*) src
;
1989 return (void *) dest
;
1992 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
1993 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
1994 PyObject
* _resultobj
;
1995 wxTreeItemId
* _result
;
1996 wxTreeEvent
* _arg0
;
2001 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2009 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2010 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2011 _resultobj
= Py_BuildValue("s",_ptemp
);
2015 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2016 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2017 PyObject
* _resultobj
;
2018 wxTreeItemId
* _result
;
2019 wxTreeEvent
* _arg0
;
2024 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2032 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2033 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2034 _resultobj
= Py_BuildValue("s",_ptemp
);
2038 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2039 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2040 PyObject
* _resultobj
;
2042 wxTreeEvent
* _arg0
;
2047 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2055 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2056 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2057 _resultobj
= Py_BuildValue("s",_ptemp
);
2061 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2062 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2063 PyObject
* _resultobj
;
2065 wxTreeEvent
* _arg0
;
2069 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2077 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2078 _resultobj
= Py_BuildValue("i",_result
);
2082 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2083 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2084 PyObject
* _resultobj
;
2085 wxTreeEvent
* _arg0
;
2089 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2092 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2097 wxTreeEvent_Veto(_arg0
);
2099 _resultobj
= Py_None
;
2103 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2106 src
= (wxTreeCtrl
*) ptr
;
2107 dest
= (wxControl
*) src
;
2108 return (void *) dest
;
2111 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2114 src
= (wxTreeCtrl
*) ptr
;
2115 dest
= (wxWindow
*) src
;
2116 return (void *) dest
;
2119 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2122 src
= (wxTreeCtrl
*) ptr
;
2123 dest
= (wxEvtHandler
*) src
;
2124 return (void *) dest
;
2127 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2128 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2129 PyObject
* _resultobj
;
2130 wxTreeCtrl
* _result
;
2132 wxWindowID _arg1
= -1;
2133 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2134 wxSize
* _arg3
= &wxPyDefaultSize
;
2135 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2136 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2137 char * _arg6
= "wxTreeCtrl";
2145 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
2148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2154 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2160 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2166 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2171 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
2173 _resultobj
= Py_BuildValue("s",_ptemp
);
2177 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2178 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
2179 PyObject
* _resultobj
;
2186 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
2189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2194 _result
= new size_t (wxTreeCtrl_GetCount(_arg0
));
2195 SWIG_MakePtr(_ptemp
, (void *) _result
,"_size_t_p");
2196 _resultobj
= Py_BuildValue("s",_ptemp
);
2200 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2201 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
2202 PyObject
* _resultobj
;
2203 unsigned int _result
;
2208 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
2211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2216 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
2217 _resultobj
= Py_BuildValue("i",_result
);
2221 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2222 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
2223 PyObject
* _resultobj
;
2229 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
2232 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2237 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
2239 _resultobj
= Py_None
;
2243 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2244 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
2245 PyObject
* _resultobj
;
2246 wxImageList
* _result
;
2252 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
2255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2260 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
2261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2262 _resultobj
= Py_BuildValue("s",_ptemp
);
2266 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2267 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
2268 PyObject
* _resultobj
;
2269 wxImageList
* _result
;
2275 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
2278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2283 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
2284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2285 _resultobj
= Py_BuildValue("s",_ptemp
);
2289 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2290 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2291 PyObject
* _resultobj
;
2293 wxImageList
* _arg1
;
2298 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
2301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2307 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2312 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
2314 _resultobj
= Py_None
;
2318 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2319 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
2320 PyObject
* _resultobj
;
2322 wxImageList
* _arg1
;
2327 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
2330 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2336 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2341 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
2343 _resultobj
= Py_None
;
2347 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2348 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2349 PyObject
* _resultobj
;
2352 wxTreeItemId
* _arg1
;
2357 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
2360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2366 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2371 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
2373 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2381 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2382 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
2383 PyObject
* _resultobj
;
2386 wxTreeItemId
* _arg1
;
2391 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
2394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2400 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2405 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
2406 _resultobj
= Py_BuildValue("i",_result
);
2410 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2411 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2412 PyObject
* _resultobj
;
2415 wxTreeItemId
* _arg1
;
2420 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
2423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2429 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2434 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
2435 _resultobj
= Py_BuildValue("i",_result
);
2439 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2440 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
2441 PyObject
* _resultobj
;
2442 wxTreeItemData
* _result
;
2444 wxTreeItemId
* _arg1
;
2450 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
2453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2459 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2464 _result
= (wxTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
2465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2466 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2471 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2472 PyObject
* _resultobj
;
2474 wxTreeItemId
* _arg1
;
2478 PyObject
* _obj2
= 0;
2481 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
2484 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2490 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
2496 if (!PyString_Check(_obj2
)) {
2497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2500 _arg2
= new wxString(PyString_AsString(_obj2
));
2502 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
2504 _resultobj
= Py_None
;
2512 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
2513 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2514 PyObject
* _resultobj
;
2516 wxTreeItemId
* _arg1
;
2522 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
2525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2531 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
2536 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
2538 _resultobj
= Py_None
;
2542 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
2543 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2544 PyObject
* _resultobj
;
2546 wxTreeItemId
* _arg1
;
2552 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
2555 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
2561 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
2566 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
2568 _resultobj
= Py_None
;
2572 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2573 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2574 PyObject
* _resultobj
;
2576 wxTreeItemId
* _arg1
;
2577 wxTreeItemData
* _arg2
;
2583 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
2586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
2592 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
2598 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemData_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
2603 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
2605 _resultobj
= Py_None
;
2609 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
2610 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
2611 PyObject
* _resultobj
;
2614 wxTreeItemId
* _arg1
;
2619 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
2622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
2628 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
2633 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
2634 _resultobj
= Py_BuildValue("i",_result
);
2638 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
2639 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
2640 PyObject
* _resultobj
;
2643 wxTreeItemId
* _arg1
;
2648 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
2651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
2657 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
2662 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
2663 _resultobj
= Py_BuildValue("i",_result
);
2667 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
2668 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
2669 PyObject
* _resultobj
;
2672 wxTreeItemId
* _arg1
;
2677 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
2680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
2686 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
2691 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
2692 _resultobj
= Py_BuildValue("i",_result
);
2696 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
2697 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
2698 PyObject
* _resultobj
;
2701 wxTreeItemId
* _arg1
;
2706 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
2709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
2715 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
2720 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
2721 _resultobj
= Py_BuildValue("i",_result
);
2725 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
2726 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
2727 PyObject
* _resultobj
;
2728 wxTreeItemId
* _result
;
2734 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
2737 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
2742 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
2743 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2744 _resultobj
= Py_BuildValue("s",_ptemp
);
2748 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
2749 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
2750 PyObject
* _resultobj
;
2751 wxTreeItemId
* _result
;
2757 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
2760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
2765 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
2766 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2767 _resultobj
= Py_BuildValue("s",_ptemp
);
2771 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
2772 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
2773 PyObject
* _resultobj
;
2774 wxTreeItemId
* _result
;
2776 wxTreeItemId
* _arg1
;
2782 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
2785 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
2791 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
2796 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
2797 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
2803 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
2804 PyObject
* _resultobj
;
2805 wxTreeItemId
* _result
;
2807 wxTreeItemId
* _arg1
;
2812 PyObject
* _obj2
= 0;
2816 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
2819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
2825 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
2831 temp
= (long) PyInt_AsLong(_obj2
);
2834 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
2835 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2836 _resultobj
= Py_BuildValue("s",_ptemp
);
2839 o
= PyInt_FromLong((long) (*_arg2
));
2840 _resultobj
= t_output_helper(_resultobj
, o
);
2845 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
2846 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
2847 PyObject
* _resultobj
;
2848 wxTreeItemId
* _result
;
2850 wxTreeItemId
* _arg1
;
2855 PyObject
* _obj2
= 0;
2859 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
2862 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
2868 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
2874 temp
= (long) PyInt_AsLong(_obj2
);
2877 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
2878 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2879 _resultobj
= Py_BuildValue("s",_ptemp
);
2882 o
= PyInt_FromLong((long) (*_arg2
));
2883 _resultobj
= t_output_helper(_resultobj
, o
);
2888 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
2889 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
2890 PyObject
* _resultobj
;
2891 wxTreeItemId
* _result
;
2893 wxTreeItemId
* _arg1
;
2899 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
2902 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
2908 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
2913 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
2914 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2915 _resultobj
= Py_BuildValue("s",_ptemp
);
2919 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
2920 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
2921 PyObject
* _resultobj
;
2922 wxTreeItemId
* _result
;
2924 wxTreeItemId
* _arg1
;
2930 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
2933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
2939 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
2944 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
2945 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2946 _resultobj
= Py_BuildValue("s",_ptemp
);
2950 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
2951 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
2952 PyObject
* _resultobj
;
2953 wxTreeItemId
* _result
;
2959 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
2962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
2967 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
2968 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2969 _resultobj
= Py_BuildValue("s",_ptemp
);
2973 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
2974 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
2975 PyObject
* _resultobj
;
2976 wxTreeItemId
* _result
;
2978 wxTreeItemId
* _arg1
;
2984 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
2987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
2993 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
2998 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
2999 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3000 _resultobj
= Py_BuildValue("s",_ptemp
);
3004 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3005 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
3006 PyObject
* _resultobj
;
3007 wxTreeItemId
* _result
;
3009 wxTreeItemId
* _arg1
;
3015 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
3018 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3024 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3029 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
3030 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3031 _resultobj
= Py_BuildValue("s",_ptemp
);
3035 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3036 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
3037 PyObject
* _resultobj
;
3038 wxTreeItemId
* _result
;
3043 wxTreeItemData
* _arg4
= NULL
;
3045 PyObject
* _obj1
= 0;
3050 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
3053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3059 if (!PyString_Check(_obj1
)) {
3060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3063 _arg1
= new wxString(PyString_AsString(_obj1
));
3066 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxTreeItemData_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3071 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
3072 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3073 _resultobj
= Py_BuildValue("s",_ptemp
);
3081 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3082 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
3083 PyObject
* _resultobj
;
3084 wxTreeItemId
* _result
;
3086 wxTreeItemId
* _arg1
;
3090 wxTreeItemData
* _arg5
= NULL
;
3093 PyObject
* _obj2
= 0;
3098 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3107 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3113 if (!PyString_Check(_obj2
)) {
3114 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3117 _arg2
= new wxString(PyString_AsString(_obj2
));
3120 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3125 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3126 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3127 _resultobj
= Py_BuildValue("s",_ptemp
);
3135 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3136 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
3137 PyObject
* _resultobj
;
3138 wxTreeItemId
* _result
;
3140 wxTreeItemId
* _arg1
;
3141 wxTreeItemId
* _arg2
;
3145 wxTreeItemData
* _arg6
= NULL
;
3149 PyObject
* _obj3
= 0;
3154 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
3157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3163 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3169 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3175 if (!PyString_Check(_obj3
)) {
3176 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3179 _arg3
= new wxString(PyString_AsString(_obj3
));
3182 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3187 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
3188 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3189 _resultobj
= Py_BuildValue("s",_ptemp
);
3197 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3198 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
3199 PyObject
* _resultobj
;
3200 wxTreeItemId
* _result
;
3202 wxTreeItemId
* _arg1
;
3206 wxTreeItemData
* _arg5
= NULL
;
3209 PyObject
* _obj2
= 0;
3214 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3223 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3229 if (!PyString_Check(_obj2
)) {
3230 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3233 _arg2
= new wxString(PyString_AsString(_obj2
));
3236 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3241 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3242 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3243 _resultobj
= Py_BuildValue("s",_ptemp
);
3251 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3252 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
3253 PyObject
* _resultobj
;
3255 wxTreeItemId
* _arg1
;
3260 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
3263 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3269 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3274 wxTreeCtrl_Delete(_arg0
,*_arg1
);
3276 _resultobj
= Py_None
;
3280 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3281 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
3282 PyObject
* _resultobj
;
3287 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
3290 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3295 wxTreeCtrl_DeleteAllItems(_arg0
);
3297 _resultobj
= Py_None
;
3301 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3302 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
3303 PyObject
* _resultobj
;
3305 wxTreeItemId
* _arg1
;
3310 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
3313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3319 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3324 wxTreeCtrl_Expand(_arg0
,*_arg1
);
3326 _resultobj
= Py_None
;
3330 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3331 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
3332 PyObject
* _resultobj
;
3334 wxTreeItemId
* _arg1
;
3339 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
3342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3348 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3353 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
3355 _resultobj
= Py_None
;
3359 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3360 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
3361 PyObject
* _resultobj
;
3363 wxTreeItemId
* _arg1
;
3368 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
3371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3377 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3382 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
3384 _resultobj
= Py_None
;
3388 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3389 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
3390 PyObject
* _resultobj
;
3392 wxTreeItemId
* _arg1
;
3397 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
3400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3406 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3411 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
3413 _resultobj
= Py_None
;
3417 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
3418 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
3419 PyObject
* _resultobj
;
3424 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
3427 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
3432 wxTreeCtrl_Unselect(_arg0
);
3434 _resultobj
= Py_None
;
3438 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
3439 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
3440 PyObject
* _resultobj
;
3442 wxTreeItemId
* _arg1
;
3447 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
3450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
3456 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
3461 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
3463 _resultobj
= Py_None
;
3467 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3468 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
3469 PyObject
* _resultobj
;
3471 wxTreeItemId
* _arg1
;
3476 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
3479 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
3485 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
3490 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
3492 _resultobj
= Py_None
;
3496 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
3497 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
3498 PyObject
* _resultobj
;
3500 wxTreeItemId
* _arg1
;
3505 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
3508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
3514 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
3519 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
3521 _resultobj
= Py_None
;
3525 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3526 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
3527 PyObject
* _resultobj
;
3528 wxTextCtrl
* _result
;
3530 wxTreeItemId
* _arg1
;
3536 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
3539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
3545 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
3550 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
3551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3552 _resultobj
= Py_BuildValue("s",_ptemp
);
3556 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3557 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
3558 PyObject
* _resultobj
;
3559 wxTextCtrl
* _result
;
3565 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
3568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
3573 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
3574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3575 _resultobj
= Py_BuildValue("s",_ptemp
);
3579 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
3580 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
3581 PyObject
* _resultobj
;
3583 wxTreeItemId
* _arg1
;
3590 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
3593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
3599 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
3604 _arg2
= (bool ) tempbool2
;
3605 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
3607 _resultobj
= Py_None
;
3611 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
3612 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
3613 PyObject
* _resultobj
;
3615 wxTreeItemId
* _arg1
;
3622 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
3625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
3631 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
3636 _arg2
= (bool ) tempbool2
;
3637 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
3639 _resultobj
= Py_None
;
3643 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
3644 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
3645 PyObject
* _resultobj
;
3648 wxTreeItemId
* _arg1
;
3653 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
3656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
3662 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
3667 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
3668 _resultobj
= Py_BuildValue("i",_result
);
3672 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
3673 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
3674 PyObject
* _resultobj
;
3675 wxTreeItemId
* _result
;
3683 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
3686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
3692 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
3697 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
3698 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3699 _resultobj
= Py_BuildValue("s",_ptemp
);
3703 static PyMethodDef controls2cMethods
[] = {
3704 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
3705 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
3706 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
3707 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
3708 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
3709 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
3710 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
3711 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
3712 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
3713 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
3714 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
3715 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
3716 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
3717 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
3718 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
3719 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
3720 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
3721 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
3722 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
3723 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
3724 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
3725 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
3726 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
3727 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
3728 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
3729 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
3730 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
3731 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
3732 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
3733 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
3734 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
3735 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
3736 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
3737 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
3738 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
3739 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
3740 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
3741 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
3742 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
3743 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
3744 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
3745 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
3746 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
3747 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
3748 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
3749 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
3750 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
3751 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
3752 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
3753 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
3754 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
3755 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
3756 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
3757 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
3758 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
3759 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
3760 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
3761 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData
, 1 },
3762 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
3763 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
3764 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
3765 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
3766 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
3767 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
3768 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
3769 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
3770 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
3771 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
3772 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
3773 { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString
, 1 },
3774 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
3775 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
3776 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
3777 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
3778 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
3779 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
3780 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
3781 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
3782 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
3783 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
3784 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
3785 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo
, 1 },
3786 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
3787 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
3788 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
3789 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
3790 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
3791 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
3792 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
3793 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
3794 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
3795 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
3796 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
3797 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
3798 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
3799 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
3800 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
3801 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
3802 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
3803 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
3804 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
3805 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
3806 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
3807 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
3808 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
3809 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
3810 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
3811 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
3812 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
3813 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
3814 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
3815 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
3816 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
3817 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
3818 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
3819 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
3820 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
3821 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
3822 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
3823 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
3824 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
3825 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
3826 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
3827 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
3828 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
3829 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
3830 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
3831 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
3834 static PyObject
*SWIG_globals
;
3838 SWIGEXPORT(void,initcontrols2c
)() {
3840 SWIG_globals
= SWIG_newvarlink();
3841 m
= Py_InitModule("controls2c", controls2cMethods
);
3842 d
= PyModule_GetDict(m
);
3844 * These are the pointer type-equivalency mappings.
3845 * (Used by the SWIG pointer type-checker).
3847 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3848 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3849 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3850 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
3851 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
3852 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3853 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3854 SWIG_RegisterMapping("_signed_long","_long",0);
3855 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3856 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3857 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3858 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3859 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3860 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3861 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3862 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3863 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3864 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3865 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3866 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
3867 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3868 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3869 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3870 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3871 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3872 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3873 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3874 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3875 SWIG_RegisterMapping("_long","_wxDash",0);
3876 SWIG_RegisterMapping("_long","_unsigned_long",0);
3877 SWIG_RegisterMapping("_long","_signed_long",0);
3878 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3879 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
3880 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3881 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
3882 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3883 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
3884 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
3885 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3886 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3887 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3888 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3889 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3890 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3891 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3892 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
3893 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
3894 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3895 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3896 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3897 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3898 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3899 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3900 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3901 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3902 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3903 SWIG_RegisterMapping("_uint","_int",0);
3904 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3905 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3906 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3907 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
3908 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
3909 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3910 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
3911 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3912 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
3913 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
3914 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
3915 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
3916 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3917 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3918 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3919 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
3920 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
3921 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
3922 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
3923 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3924 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
3925 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
3926 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
3927 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3928 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3929 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
3930 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
3931 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3932 SWIG_RegisterMapping("_EBool","_signed_int",0);
3933 SWIG_RegisterMapping("_EBool","_int",0);
3934 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3935 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3936 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
3937 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
3938 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
3939 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
3940 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
3941 SWIG_RegisterMapping("_unsigned_long","_long",0);
3942 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3943 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
3944 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
3945 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3946 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
3947 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
3948 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
3949 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3950 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
3951 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
3952 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
3953 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3954 SWIG_RegisterMapping("_signed_int","_EBool",0);
3955 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3956 SWIG_RegisterMapping("_signed_int","_int",0);
3957 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3958 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3959 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3960 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3961 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3962 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3963 SWIG_RegisterMapping("_WXTYPE","_short",0);
3964 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3965 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3966 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3967 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3968 SWIG_RegisterMapping("_unsigned_short","_short",0);
3969 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
3970 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
3971 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
3972 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
3973 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3974 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3975 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3976 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3977 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3978 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3979 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3980 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
3981 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3982 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3983 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3984 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3985 SWIG_RegisterMapping("_signed_short","_short",0);
3986 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3987 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3988 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
3989 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3990 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3991 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3992 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3993 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3994 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3995 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
3996 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3997 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3998 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
3999 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4000 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4001 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4002 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4003 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4004 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4005 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4006 SWIG_RegisterMapping("_unsigned_int","_int",0);
4007 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4008 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4009 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4010 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4011 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4012 SWIG_RegisterMapping("_short","_WXTYPE",0);
4013 SWIG_RegisterMapping("_short","_unsigned_short",0);
4014 SWIG_RegisterMapping("_short","_signed_short",0);
4015 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4016 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4017 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4018 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4019 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4020 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4021 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4022 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4023 SWIG_RegisterMapping("_wxWindowID","_int",0);
4024 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4025 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4026 SWIG_RegisterMapping("_int","_EBool",0);
4027 SWIG_RegisterMapping("_int","_uint",0);
4028 SWIG_RegisterMapping("_int","_wxWindowID",0);
4029 SWIG_RegisterMapping("_int","_unsigned_int",0);
4030 SWIG_RegisterMapping("_int","_signed_int",0);
4031 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4032 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4033 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4034 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4035 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4036 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4037 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4038 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4039 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4040 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4041 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4042 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4043 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4044 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4045 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4046 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4047 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4048 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4049 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4050 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4051 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4052 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4053 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4054 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4055 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4056 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4057 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4058 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4059 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4060 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4061 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4062 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4063 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4064 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4065 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4066 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4067 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4068 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4069 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4070 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4071 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4072 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4073 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4074 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4075 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4076 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4077 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4078 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4079 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4080 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4081 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4082 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4083 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4084 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4085 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4086 SWIG_RegisterMapping("_wxDash","_long",0);
4087 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4088 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4089 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4090 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4091 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4092 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4093 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4094 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4095 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4096 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);