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_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
2610 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
2611 PyObject
* _resultobj
;
2613 wxTreeItemId
* _arg1
;
2620 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
2623 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
2629 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
2634 _arg2
= (bool ) tempbool2
;
2635 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
2637 _resultobj
= Py_None
;
2641 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
2642 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
2643 PyObject
* _resultobj
;
2646 wxTreeItemId
* _arg1
;
2651 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
2654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
2660 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
2665 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
2666 _resultobj
= Py_BuildValue("i",_result
);
2670 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
2671 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
2672 PyObject
* _resultobj
;
2675 wxTreeItemId
* _arg1
;
2680 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
2683 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
2689 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
2694 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
2695 _resultobj
= Py_BuildValue("i",_result
);
2699 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
2700 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
2701 PyObject
* _resultobj
;
2704 wxTreeItemId
* _arg1
;
2709 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
2712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
2718 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
2723 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
2724 _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
2729 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2733 wxTreeItemId
* _arg1
;
2738 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
2741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
2747 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
2752 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
2753 _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
2758 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
2759 PyObject
* _resultobj
;
2760 wxTreeItemId
* _result
;
2766 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
2769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
2774 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
2775 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2780 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
2781 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
2782 PyObject
* _resultobj
;
2783 wxTreeItemId
* _result
;
2789 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
2792 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
2797 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
2798 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2803 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
2804 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
2805 PyObject
* _resultobj
;
2806 wxTreeItemId
* _result
;
2808 wxTreeItemId
* _arg1
;
2814 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
2817 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
2823 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
2828 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
2829 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2830 _resultobj
= Py_BuildValue("s",_ptemp
);
2834 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
2835 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
2836 PyObject
* _resultobj
;
2837 wxTreeItemId
* _result
;
2839 wxTreeItemId
* _arg1
;
2844 PyObject
* _obj2
= 0;
2848 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
2851 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
2857 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
2863 temp
= (long) PyInt_AsLong(_obj2
);
2866 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
2867 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2868 _resultobj
= Py_BuildValue("s",_ptemp
);
2871 o
= PyInt_FromLong((long) (*_arg2
));
2872 _resultobj
= t_output_helper(_resultobj
, o
);
2877 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
2878 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
2879 PyObject
* _resultobj
;
2880 wxTreeItemId
* _result
;
2882 wxTreeItemId
* _arg1
;
2887 PyObject
* _obj2
= 0;
2891 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
2894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
2900 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
2906 temp
= (long) PyInt_AsLong(_obj2
);
2909 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
2910 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2911 _resultobj
= Py_BuildValue("s",_ptemp
);
2914 o
= PyInt_FromLong((long) (*_arg2
));
2915 _resultobj
= t_output_helper(_resultobj
, o
);
2920 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
2921 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
2922 PyObject
* _resultobj
;
2923 wxTreeItemId
* _result
;
2925 wxTreeItemId
* _arg1
;
2931 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
2934 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
2940 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
2945 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
2946 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2947 _resultobj
= Py_BuildValue("s",_ptemp
);
2951 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
2952 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
2953 PyObject
* _resultobj
;
2954 wxTreeItemId
* _result
;
2956 wxTreeItemId
* _arg1
;
2962 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
2965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
2971 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
2976 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
2977 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2978 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
2983 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
2984 PyObject
* _resultobj
;
2985 wxTreeItemId
* _result
;
2991 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
2994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
2999 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
3000 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3001 _resultobj
= Py_BuildValue("s",_ptemp
);
3005 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3006 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
3007 PyObject
* _resultobj
;
3008 wxTreeItemId
* _result
;
3010 wxTreeItemId
* _arg1
;
3016 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
3019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3025 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3030 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
3031 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3032 _resultobj
= Py_BuildValue("s",_ptemp
);
3036 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3037 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
3038 PyObject
* _resultobj
;
3039 wxTreeItemId
* _result
;
3041 wxTreeItemId
* _arg1
;
3047 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
3050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3056 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3061 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
3062 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3063 _resultobj
= Py_BuildValue("s",_ptemp
);
3067 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3068 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
3069 PyObject
* _resultobj
;
3070 wxTreeItemId
* _result
;
3075 wxTreeItemData
* _arg4
= NULL
;
3077 PyObject
* _obj1
= 0;
3082 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
3085 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3091 if (!PyString_Check(_obj1
)) {
3092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3095 _arg1
= new wxString(PyString_AsString(_obj1
));
3098 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxTreeItemData_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3103 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
3104 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3105 _resultobj
= Py_BuildValue("s",_ptemp
);
3113 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3114 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
3115 PyObject
* _resultobj
;
3116 wxTreeItemId
* _result
;
3118 wxTreeItemId
* _arg1
;
3122 wxTreeItemData
* _arg5
= NULL
;
3125 PyObject
* _obj2
= 0;
3130 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3139 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3145 if (!PyString_Check(_obj2
)) {
3146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3149 _arg2
= new wxString(PyString_AsString(_obj2
));
3152 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3157 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3158 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3159 _resultobj
= Py_BuildValue("s",_ptemp
);
3167 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3168 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
3169 PyObject
* _resultobj
;
3170 wxTreeItemId
* _result
;
3172 wxTreeItemId
* _arg1
;
3173 wxTreeItemId
* _arg2
;
3177 wxTreeItemData
* _arg6
= NULL
;
3181 PyObject
* _obj3
= 0;
3186 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
3189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3195 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3201 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3207 if (!PyString_Check(_obj3
)) {
3208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3211 _arg3
= new wxString(PyString_AsString(_obj3
));
3214 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3219 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
3220 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3221 _resultobj
= Py_BuildValue("s",_ptemp
);
3229 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3230 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
3231 PyObject
* _resultobj
;
3232 wxTreeItemId
* _result
;
3234 wxTreeItemId
* _arg1
;
3238 wxTreeItemData
* _arg5
= NULL
;
3241 PyObject
* _obj2
= 0;
3246 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3255 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3261 if (!PyString_Check(_obj2
)) {
3262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3265 _arg2
= new wxString(PyString_AsString(_obj2
));
3268 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3273 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3274 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3275 _resultobj
= Py_BuildValue("s",_ptemp
);
3283 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3284 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
3285 PyObject
* _resultobj
;
3287 wxTreeItemId
* _arg1
;
3292 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
3295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3301 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3306 wxTreeCtrl_Delete(_arg0
,*_arg1
);
3308 _resultobj
= Py_None
;
3312 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
3313 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
3314 PyObject
* _resultobj
;
3316 wxTreeItemId
* _arg1
;
3321 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
3324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
3330 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
3335 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
3337 _resultobj
= Py_None
;
3341 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3342 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
3343 PyObject
* _resultobj
;
3348 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
3351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3356 wxTreeCtrl_DeleteAllItems(_arg0
);
3358 _resultobj
= Py_None
;
3362 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3363 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
3364 PyObject
* _resultobj
;
3366 wxTreeItemId
* _arg1
;
3371 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
3374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3380 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3385 wxTreeCtrl_Expand(_arg0
,*_arg1
);
3387 _resultobj
= Py_None
;
3391 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3392 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
3393 PyObject
* _resultobj
;
3395 wxTreeItemId
* _arg1
;
3400 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
3403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3409 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3414 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
3416 _resultobj
= Py_None
;
3420 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3421 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
3422 PyObject
* _resultobj
;
3424 wxTreeItemId
* _arg1
;
3429 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
3432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3438 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3443 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
3445 _resultobj
= Py_None
;
3449 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3450 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
3451 PyObject
* _resultobj
;
3453 wxTreeItemId
* _arg1
;
3458 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
3461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3467 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3472 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
3474 _resultobj
= Py_None
;
3478 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
3479 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
3480 PyObject
* _resultobj
;
3485 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
3488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
3493 wxTreeCtrl_Unselect(_arg0
);
3495 _resultobj
= Py_None
;
3499 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
3500 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
3501 PyObject
* _resultobj
;
3503 wxTreeItemId
* _arg1
;
3508 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
3511 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
3517 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
3522 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
3524 _resultobj
= Py_None
;
3528 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3529 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
3530 PyObject
* _resultobj
;
3532 wxTreeItemId
* _arg1
;
3537 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
3540 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
3546 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
3551 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
3553 _resultobj
= Py_None
;
3557 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
3558 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
3559 PyObject
* _resultobj
;
3561 wxTreeItemId
* _arg1
;
3566 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
3569 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
3575 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
3580 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
3582 _resultobj
= Py_None
;
3586 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3587 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
3588 PyObject
* _resultobj
;
3589 wxTextCtrl
* _result
;
3591 wxTreeItemId
* _arg1
;
3597 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
3600 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
3606 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
3611 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
3612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3613 _resultobj
= Py_BuildValue("s",_ptemp
);
3617 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3618 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
3619 PyObject
* _resultobj
;
3620 wxTextCtrl
* _result
;
3626 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
3629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
3634 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
3635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3636 _resultobj
= Py_BuildValue("s",_ptemp
);
3640 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
3641 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
3642 PyObject
* _resultobj
;
3644 wxTreeItemId
* _arg1
;
3651 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
3654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
3660 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
3665 _arg2
= (bool ) tempbool2
;
3666 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
3668 _resultobj
= Py_None
;
3672 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
3673 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
3674 PyObject
* _resultobj
;
3676 wxTreeItemId
* _arg1
;
3683 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
3686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
3692 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
3697 _arg2
= (bool ) tempbool2
;
3698 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
3700 _resultobj
= Py_None
;
3704 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
3705 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
3706 PyObject
* _resultobj
;
3709 wxTreeItemId
* _arg1
;
3714 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
3717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
3723 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
3728 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
3729 _resultobj
= Py_BuildValue("i",_result
);
3733 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
3734 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
3735 PyObject
* _resultobj
;
3736 wxTreeItemId
* _result
;
3744 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
3747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
3753 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
3758 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
3759 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3760 _resultobj
= Py_BuildValue("s",_ptemp
);
3764 static PyMethodDef controls2cMethods
[] = {
3765 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
3766 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
3767 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
3768 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
3769 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
3770 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
3771 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
3772 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
3773 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
3774 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
3775 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
3776 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
3777 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
3778 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
3779 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
3780 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
3781 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
3782 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
3783 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
3784 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
3785 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
3786 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
3787 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
3788 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
3789 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
3790 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
3791 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
3792 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
3793 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
3794 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
3795 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
3796 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
3797 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
3798 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
3799 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
3800 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
3801 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
3802 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
3803 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
3804 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
3805 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
3806 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
3807 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
3808 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
3809 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
3810 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
3811 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
3812 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
3813 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
3814 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
3815 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
3816 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
3817 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
3818 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
3819 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
3820 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
3821 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
3822 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
3823 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
3824 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData
, 1 },
3825 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
3826 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
3827 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
3828 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
3829 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
3830 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
3831 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
3832 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
3833 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
3834 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
3835 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
3836 { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString
, 1 },
3837 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
3838 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
3839 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
3840 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
3841 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
3842 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
3843 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
3844 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
3845 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
3846 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
3847 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
3848 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo
, 1 },
3849 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
3850 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
3851 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
3852 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
3853 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
3854 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
3855 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
3856 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
3857 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
3858 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
3859 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
3860 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
3861 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
3862 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
3863 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
3864 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
3865 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
3866 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
3867 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
3868 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
3869 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
3870 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
3871 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
3872 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
3873 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
3874 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
3875 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
3876 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
3877 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
3878 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
3879 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
3880 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
3881 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
3882 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
3883 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
3884 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
3885 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
3886 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
3887 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
3888 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
3889 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
3890 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
3891 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
3892 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
3893 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
3894 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
3897 static PyObject
*SWIG_globals
;
3901 SWIGEXPORT(void,initcontrols2c
)() {
3903 SWIG_globals
= SWIG_newvarlink();
3904 m
= Py_InitModule("controls2c", controls2cMethods
);
3905 d
= PyModule_GetDict(m
);
3907 * These are the pointer type-equivalency mappings.
3908 * (Used by the SWIG pointer type-checker).
3910 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3911 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3912 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3913 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
3914 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
3915 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
3916 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
3917 SWIG_RegisterMapping("_signed_long","_long",0);
3918 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
3919 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3920 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
3921 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3922 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3923 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3924 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3925 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
3926 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
3927 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3928 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
3929 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
3930 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
3931 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
3932 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
3933 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
3934 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3935 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
3936 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
3937 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
3938 SWIG_RegisterMapping("_long","_wxDash",0);
3939 SWIG_RegisterMapping("_long","_unsigned_long",0);
3940 SWIG_RegisterMapping("_long","_signed_long",0);
3941 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
3942 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
3943 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3944 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
3945 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
3946 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
3947 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
3948 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3949 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
3950 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
3951 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
3952 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
3953 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
3954 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
3955 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
3956 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
3957 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
3958 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
3959 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
3960 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
3961 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
3962 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
3963 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
3964 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
3965 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3966 SWIG_RegisterMapping("_uint","_int",0);
3967 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3968 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3969 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
3970 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
3971 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
3972 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
3973 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
3974 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3975 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
3976 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
3977 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
3978 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
3979 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
3980 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
3981 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3982 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
3983 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
3984 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
3985 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
3986 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3987 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
3988 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
3989 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
3990 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3991 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
3992 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
3993 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
3994 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
3995 SWIG_RegisterMapping("_EBool","_signed_int",0);
3996 SWIG_RegisterMapping("_EBool","_int",0);
3997 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3998 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3999 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4000 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4001 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4002 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4003 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4004 SWIG_RegisterMapping("_unsigned_long","_long",0);
4005 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4006 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4007 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
4008 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4009 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4010 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4011 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4012 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4013 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4014 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4015 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4016 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4017 SWIG_RegisterMapping("_signed_int","_EBool",0);
4018 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4019 SWIG_RegisterMapping("_signed_int","_int",0);
4020 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4021 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4022 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4023 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4024 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4025 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4026 SWIG_RegisterMapping("_WXTYPE","_short",0);
4027 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4028 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4029 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4030 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4031 SWIG_RegisterMapping("_unsigned_short","_short",0);
4032 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4033 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4034 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4035 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4036 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4037 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4038 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4039 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4040 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4041 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4042 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4043 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4044 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4045 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4046 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4047 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4048 SWIG_RegisterMapping("_signed_short","_short",0);
4049 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4050 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4051 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4052 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4053 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4054 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4055 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4056 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4057 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4058 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
4059 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4060 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4061 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4062 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4063 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4064 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4065 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4066 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4067 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4068 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4069 SWIG_RegisterMapping("_unsigned_int","_int",0);
4070 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4071 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4072 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4073 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4074 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4075 SWIG_RegisterMapping("_short","_WXTYPE",0);
4076 SWIG_RegisterMapping("_short","_unsigned_short",0);
4077 SWIG_RegisterMapping("_short","_signed_short",0);
4078 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4079 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4080 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4081 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4082 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4083 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4084 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4085 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4086 SWIG_RegisterMapping("_wxWindowID","_int",0);
4087 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4088 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4089 SWIG_RegisterMapping("_int","_EBool",0);
4090 SWIG_RegisterMapping("_int","_uint",0);
4091 SWIG_RegisterMapping("_int","_wxWindowID",0);
4092 SWIG_RegisterMapping("_int","_unsigned_int",0);
4093 SWIG_RegisterMapping("_int","_signed_int",0);
4094 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4095 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4096 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4097 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4098 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4099 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4100 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4101 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4102 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4103 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4104 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4105 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4106 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4107 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4108 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4109 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4110 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4111 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4112 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4113 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4114 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4115 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4116 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4117 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4118 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4119 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4120 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4121 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4122 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4123 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4124 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4125 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4126 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4127 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4128 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4129 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4130 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4131 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4132 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4133 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4134 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4135 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4136 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4137 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4138 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4139 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4140 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4141 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4142 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4143 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4144 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4145 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4146 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4147 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4148 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4149 SWIG_RegisterMapping("_wxDash","_long",0);
4150 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4151 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4152 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4153 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4154 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4155 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4156 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4157 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4158 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4159 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);