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>
59 #include <wx/tabctrl.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
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
);
116 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
122 extern wxValidator wxPyDefaultValidator
;
123 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
124 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
125 PyObject
* _resultobj
;
131 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
139 _result
= (long )wxListItem_m_mask_get(_arg0
);
140 _resultobj
= Py_BuildValue("l",_result
);
144 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
145 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
146 PyObject
* _resultobj
;
152 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
160 _result
= (long )wxListItem_m_itemId_get(_arg0
);
161 _resultobj
= Py_BuildValue("l",_result
);
165 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
166 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
167 PyObject
* _resultobj
;
173 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
181 _result
= (int )wxListItem_m_col_get(_arg0
);
182 _resultobj
= Py_BuildValue("i",_result
);
186 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
187 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
188 PyObject
* _resultobj
;
194 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
202 _result
= (long )wxListItem_m_state_get(_arg0
);
203 _resultobj
= Py_BuildValue("l",_result
);
207 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
208 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
209 PyObject
* _resultobj
;
215 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
223 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
224 _resultobj
= Py_BuildValue("l",_result
);
228 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
229 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
230 PyObject
* _resultobj
;
236 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
244 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
246 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
251 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
252 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
253 PyObject
* _resultobj
;
259 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
267 _result
= (int )wxListItem_m_image_get(_arg0
);
268 _resultobj
= Py_BuildValue("i",_result
);
272 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
273 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
274 PyObject
* _resultobj
;
280 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
288 _result
= (long )wxListItem_m_data_get(_arg0
);
289 _resultobj
= Py_BuildValue("l",_result
);
293 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
294 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
295 PyObject
* _resultobj
;
301 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
304 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
309 _result
= (int )wxListItem_m_format_get(_arg0
);
310 _resultobj
= Py_BuildValue("i",_result
);
314 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
315 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
316 PyObject
* _resultobj
;
322 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
330 _result
= (int )wxListItem_m_width_get(_arg0
);
331 _resultobj
= Py_BuildValue("i",_result
);
335 #define new_wxListItem() (new wxListItem())
336 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
337 PyObject
* _resultobj
;
338 wxListItem
* _result
;
342 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
344 _result
= (wxListItem
*)new_wxListItem();
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
350 #define delete_wxListItem(_swigobj) (delete _swigobj)
351 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
352 PyObject
* _resultobj
;
357 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
365 delete_wxListItem(_arg0
);
367 _resultobj
= Py_None
;
371 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
373 wxCommandEvent
*dest
;
374 src
= (wxListEvent
*) ptr
;
375 dest
= (wxCommandEvent
*) src
;
376 return (void *) dest
;
379 static void *SwigwxListEventTowxEvent(void *ptr
) {
382 src
= (wxListEvent
*) ptr
;
383 dest
= (wxEvent
*) src
;
384 return (void *) dest
;
387 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
388 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
389 PyObject
* _resultobj
;
395 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
403 _result
= (int )wxListEvent_m_code_get(_arg0
);
404 _resultobj
= Py_BuildValue("i",_result
);
408 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
409 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
410 PyObject
* _resultobj
;
416 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
424 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
425 _resultobj
= Py_BuildValue("l",_result
);
429 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
430 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
431 PyObject
* _resultobj
;
437 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
445 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
446 _resultobj
= Py_BuildValue("l",_result
);
450 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
451 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
452 PyObject
* _resultobj
;
458 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
466 _result
= (int )wxListEvent_m_col_get(_arg0
);
467 _resultobj
= Py_BuildValue("i",_result
);
471 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
472 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
473 PyObject
* _resultobj
;
479 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
487 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
488 _resultobj
= Py_BuildValue("i",_result
);
492 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
493 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
494 PyObject
* _resultobj
;
501 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
504 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
509 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
511 _resultobj
= Py_BuildValue("s",_ptemp
);
515 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
516 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
517 PyObject
* _resultobj
;
518 wxListItem
* _result
;
524 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
532 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
534 _resultobj
= Py_BuildValue("s",_ptemp
);
538 static void *SwigwxListCtrlTowxControl(void *ptr
) {
541 src
= (wxListCtrl
*) ptr
;
542 dest
= (wxControl
*) src
;
543 return (void *) dest
;
546 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
549 src
= (wxListCtrl
*) ptr
;
550 dest
= (wxWindow
*) src
;
551 return (void *) dest
;
554 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
557 src
= (wxListCtrl
*) ptr
;
558 dest
= (wxEvtHandler
*) src
;
559 return (void *) dest
;
562 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
563 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
564 PyObject
* _resultobj
;
565 wxListCtrl
* _result
;
568 wxPoint
* _arg2
= &wxPyDefaultPosition
;
569 wxSize
* _arg3
= &wxPyDefaultSize
;
570 long _arg4
= (wxLC_ICON
);
571 char * _arg5
= "listctrl";
578 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
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.");
598 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
600 _resultobj
= Py_BuildValue("s",_ptemp
);
604 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
605 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
606 PyObject
* _resultobj
;
609 int _arg1
= wxLIST_ALIGN_DEFAULT
;
613 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
621 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
622 _resultobj
= Py_BuildValue("i",_result
);
626 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
627 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
628 PyObject
* _resultobj
;
635 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
638 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
643 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
644 _resultobj
= Py_BuildValue("i",_result
);
648 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
649 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
650 PyObject
* _resultobj
;
656 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
664 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
665 _resultobj
= Py_BuildValue("i",_result
);
669 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
670 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
671 PyObject
* _resultobj
;
678 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
686 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
687 _resultobj
= Py_BuildValue("i",_result
);
691 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
692 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
693 PyObject
* _resultobj
;
700 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
708 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
709 _resultobj
= Py_BuildValue("i",_result
);
713 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
714 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
715 PyObject
* _resultobj
;
722 PyObject
* _obj2
= 0;
726 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
735 if (!PyString_Check(_obj2
)) {
736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
739 _arg2
= new wxString(PyString_AsString(_obj2
));
741 _arg3
= (bool ) tempbool3
;
742 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
743 _resultobj
= Py_BuildValue("l",_result
);
751 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
752 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
753 PyObject
* _resultobj
;
761 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
769 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
770 _resultobj
= Py_BuildValue("l",_result
);
774 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
775 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
776 PyObject
* _resultobj
;
786 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
795 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
800 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
801 _resultobj
= Py_BuildValue("l",_result
);
805 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
806 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
807 PyObject
* _resultobj
;
816 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
825 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
830 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
831 _resultobj
= Py_BuildValue("i",_result
);
835 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
836 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
837 PyObject
* _resultobj
;
844 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
852 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
853 _resultobj
= Py_BuildValue("i",_result
);
857 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
858 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
859 PyObject
* _resultobj
;
865 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
873 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
874 _resultobj
= Py_BuildValue("i",_result
);
878 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
879 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
880 PyObject
* _resultobj
;
881 wxImageList
* _result
;
888 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
891 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
896 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
898 _resultobj
= Py_BuildValue("s",_ptemp
);
902 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
903 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
904 PyObject
* _resultobj
;
911 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
914 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
919 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
920 _resultobj
= Py_BuildValue("l",_result
);
924 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
) {
925 wxListItem
* info
= new wxListItem
;
926 self
->GetItem(*info
);
929 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
930 PyObject
* _resultobj
;
931 wxListItem
* _result
;
937 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItem",&_argc0
))
940 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
945 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
);
946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
947 _resultobj
= Py_BuildValue("s",_ptemp
);
951 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
952 wxPoint
* pos
= new wxPoint
;
953 self
->GetItemPosition(item
, *pos
);
956 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
957 PyObject
* _resultobj
;
965 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
973 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
975 _resultobj
= Py_BuildValue("s",_ptemp
);
979 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
980 wxRect
* rect
= new wxRect
;
981 self
->GetItemRect(item
, *rect
, code
);
984 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
985 PyObject
* _resultobj
;
989 int _arg2
= wxLIST_RECT_BOUNDS
;
994 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
997 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1002 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1004 _resultobj
= Py_BuildValue("s",_ptemp
);
1008 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1009 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1010 PyObject
* _resultobj
;
1018 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1026 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1027 _resultobj
= Py_BuildValue("i",_result
);
1031 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1032 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1033 PyObject
* _resultobj
;
1039 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1047 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1048 _resultobj
= Py_BuildValue("i",_result
);
1052 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1053 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1054 PyObject
* _resultobj
;
1062 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1065 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1070 _arg1
= (bool ) tempbool1
;
1071 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1072 _resultobj
= Py_BuildValue("i",_result
);
1076 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1077 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1078 PyObject
* _resultobj
;
1085 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1093 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1095 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1103 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1104 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1105 PyObject
* _resultobj
;
1109 int _arg2
= wxLIST_NEXT_ALL
;
1110 int _arg3
= wxLIST_STATE_DONTCARE
;
1114 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1117 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1122 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1123 _resultobj
= Py_BuildValue("l",_result
);
1127 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1128 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1129 PyObject
* _resultobj
;
1135 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1138 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1143 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1144 _resultobj
= Py_BuildValue("i",_result
);
1148 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1149 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1150 PyObject
* _resultobj
;
1156 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1164 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1165 _resultobj
= Py_BuildValue("l",_result
);
1169 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1170 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1171 PyObject
* _resultobj
;
1184 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1193 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1198 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1199 _resultobj
= Py_BuildValue("l",_result
);
1202 o
= PyInt_FromLong((long) (*_arg2
));
1203 _resultobj
= t_output_helper(_resultobj
, o
);
1208 #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1209 static PyObject
*_wrap_wxListCtrl_InsertColumnWithInfo(PyObject
*self
, PyObject
*args
) {
1210 PyObject
* _resultobj
;
1219 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0
,&_arg1
,&_argc2
))
1222 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1228 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1233 _result
= (long )wxListCtrl_InsertColumnWithInfo(_arg0
,_arg1
,*_arg2
);
1234 _resultobj
= Py_BuildValue("l",_result
);
1238 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1239 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1240 PyObject
* _resultobj
;
1245 int _arg3
= wxLIST_FORMAT_LEFT
;
1248 PyObject
* _obj2
= 0;
1251 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1260 if (!PyString_Check(_obj2
)) {
1261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1264 _arg2
= new wxString(PyString_AsString(_obj2
));
1266 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1267 _resultobj
= Py_BuildValue("l",_result
);
1275 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1276 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
1277 PyObject
* _resultobj
;
1285 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
1288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1294 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1299 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
1300 _resultobj
= Py_BuildValue("l",_result
);
1304 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1305 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
1306 PyObject
* _resultobj
;
1312 PyObject
* _obj2
= 0;
1315 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
1318 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1324 if (!PyString_Check(_obj2
)) {
1325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1328 _arg2
= new wxString(PyString_AsString(_obj2
));
1330 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
1331 _resultobj
= Py_BuildValue("l",_result
);
1339 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1340 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
1341 PyObject
* _resultobj
;
1349 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
1352 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1357 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
1358 _resultobj
= Py_BuildValue("l",_result
);
1362 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1363 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
1364 PyObject
* _resultobj
;
1371 PyObject
* _obj2
= 0;
1374 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
1377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1383 if (!PyString_Check(_obj2
)) {
1384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1387 _arg2
= new wxString(PyString_AsString(_obj2
));
1389 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1390 _resultobj
= Py_BuildValue("l",_result
);
1398 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1399 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
1400 PyObject
* _resultobj
;
1408 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
1411 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1416 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
1417 _resultobj
= Py_BuildValue("i",_result
);
1421 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1422 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1423 PyObject
* _resultobj
;
1430 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
1433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
1439 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
1444 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
1446 _resultobj
= Py_None
;
1450 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
1451 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
1452 PyObject
* _resultobj
;
1461 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
1464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
1470 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
1475 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
1476 _resultobj
= Py_BuildValue("i",_result
);
1480 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1481 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
1482 PyObject
* _resultobj
;
1490 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
1493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
1498 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
1499 _resultobj
= Py_BuildValue("i",_result
);
1503 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
1504 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
1505 PyObject
* _resultobj
;
1507 wxImageList
* _arg1
;
1513 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
1516 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
1522 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
1527 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
1529 _resultobj
= Py_None
;
1533 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
1534 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
1535 PyObject
* _resultobj
;
1543 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
1546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
1552 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
1557 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
1558 _resultobj
= Py_BuildValue("i",_result
);
1562 #define wxListCtrl_SetItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1563 static PyObject
*_wrap_wxListCtrl_SetItemString(PyObject
*self
, PyObject
*args
) {
1564 PyObject
* _resultobj
;
1572 PyObject
* _obj3
= 0;
1575 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetItemString",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
1578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemString. Expected _wxListCtrl_p.");
1584 if (!PyString_Check(_obj3
)) {
1585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1588 _arg3
= new wxString(PyString_AsString(_obj3
));
1590 _result
= (long )wxListCtrl_SetItemString(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
1591 _resultobj
= Py_BuildValue("l",_result
);
1599 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
1600 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
1601 PyObject
* _resultobj
;
1609 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
1612 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
1617 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
1618 _resultobj
= Py_BuildValue("i",_result
);
1622 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
1623 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
1624 PyObject
* _resultobj
;
1633 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
1641 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
1642 _resultobj
= Py_BuildValue("i",_result
);
1646 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
1647 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
1648 PyObject
* _resultobj
;
1657 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
1660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
1666 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
1671 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
1672 _resultobj
= Py_BuildValue("i",_result
);
1676 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
1677 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
1678 PyObject
* _resultobj
;
1687 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
1695 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
1696 _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
1701 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
1702 PyObject
* _resultobj
;
1707 PyObject
* _obj2
= 0;
1710 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
1713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
1719 if (!PyString_Check(_obj2
)) {
1720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1723 _arg2
= new wxString(PyString_AsString(_obj2
));
1725 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
1727 _resultobj
= Py_None
;
1735 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
1736 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
1737 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
1753 _arg2
= (bool ) tempbool2
;
1754 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
1756 _resultobj
= Py_None
;
1760 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
1761 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
1762 PyObject
* _resultobj
;
1768 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
1771 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
1776 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
1778 _resultobj
= Py_None
;
1782 #define wxTreeItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1783 static PyObject
*_wrap_wxTreeItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
1784 PyObject
* _resultobj
;
1790 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_mask_get",&_argc0
))
1793 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_mask_get. Expected _wxTreeItem_p.");
1798 _result
= (long )wxTreeItem_m_mask_get(_arg0
);
1799 _resultobj
= Py_BuildValue("l",_result
);
1803 #define wxTreeItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1804 static PyObject
*_wrap_wxTreeItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
1805 PyObject
* _resultobj
;
1811 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_itemId_get",&_argc0
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_itemId_get. Expected _wxTreeItem_p.");
1819 _result
= (long )wxTreeItem_m_itemId_get(_arg0
);
1820 _resultobj
= Py_BuildValue("l",_result
);
1824 #define wxTreeItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1825 static PyObject
*_wrap_wxTreeItem_m_state_get(PyObject
*self
, PyObject
*args
) {
1826 PyObject
* _resultobj
;
1832 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_state_get",&_argc0
))
1835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_state_get. Expected _wxTreeItem_p.");
1840 _result
= (long )wxTreeItem_m_state_get(_arg0
);
1841 _resultobj
= Py_BuildValue("l",_result
);
1845 #define wxTreeItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1846 static PyObject
*_wrap_wxTreeItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
1847 PyObject
* _resultobj
;
1853 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_stateMask_get",&_argc0
))
1856 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_stateMask_get. Expected _wxTreeItem_p.");
1861 _result
= (long )wxTreeItem_m_stateMask_get(_arg0
);
1862 _resultobj
= Py_BuildValue("l",_result
);
1866 #define wxTreeItem_m_text_get(_swigobj) (&_swigobj->m_text)
1867 static PyObject
*_wrap_wxTreeItem_m_text_get(PyObject
*self
, PyObject
*args
) {
1868 PyObject
* _resultobj
;
1874 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_text_get",&_argc0
))
1877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_text_get. Expected _wxTreeItem_p.");
1882 _result
= (wxString
*)wxTreeItem_m_text_get(_arg0
);
1884 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1889 #define wxTreeItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1890 static PyObject
*_wrap_wxTreeItem_m_image_get(PyObject
*self
, PyObject
*args
) {
1891 PyObject
* _resultobj
;
1897 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_image_get",&_argc0
))
1900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_image_get. Expected _wxTreeItem_p.");
1905 _result
= (int )wxTreeItem_m_image_get(_arg0
);
1906 _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxTreeItem_m_selectedImage_get(_swigobj) ((int ) _swigobj->m_selectedImage)
1911 static PyObject
*_wrap_wxTreeItem_m_selectedImage_get(PyObject
*self
, PyObject
*args
) {
1912 PyObject
* _resultobj
;
1918 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_selectedImage_get",&_argc0
))
1921 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_selectedImage_get. Expected _wxTreeItem_p.");
1926 _result
= (int )wxTreeItem_m_selectedImage_get(_arg0
);
1927 _resultobj
= Py_BuildValue("i",_result
);
1931 #define wxTreeItem_m_children_get(_swigobj) ((int ) _swigobj->m_children)
1932 static PyObject
*_wrap_wxTreeItem_m_children_get(PyObject
*self
, PyObject
*args
) {
1933 PyObject
* _resultobj
;
1939 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_children_get",&_argc0
))
1942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_children_get. Expected _wxTreeItem_p.");
1947 _result
= (int )wxTreeItem_m_children_get(_arg0
);
1948 _resultobj
= Py_BuildValue("i",_result
);
1952 #define wxTreeItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1953 static PyObject
*_wrap_wxTreeItem_m_data_get(PyObject
*self
, PyObject
*args
) {
1954 PyObject
* _resultobj
;
1960 if(!PyArg_ParseTuple(args
,"s:wxTreeItem_m_data_get",&_argc0
))
1963 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItem_m_data_get. Expected _wxTreeItem_p.");
1968 _result
= (long )wxTreeItem_m_data_get(_arg0
);
1969 _resultobj
= Py_BuildValue("l",_result
);
1973 #define new_wxTreeItem() (new wxTreeItem())
1974 static PyObject
*_wrap_new_wxTreeItem(PyObject
*self
, PyObject
*args
) {
1975 PyObject
* _resultobj
;
1976 wxTreeItem
* _result
;
1980 if(!PyArg_ParseTuple(args
,":new_wxTreeItem"))
1982 _result
= (wxTreeItem
*)new_wxTreeItem();
1983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItem_p");
1984 _resultobj
= Py_BuildValue("s",_ptemp
);
1988 #define delete_wxTreeItem(_swigobj) (delete _swigobj)
1989 static PyObject
*_wrap_delete_wxTreeItem(PyObject
*self
, PyObject
*args
) {
1990 PyObject
* _resultobj
;
1995 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItem",&_argc0
))
1998 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItem_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItem. Expected _wxTreeItem_p.");
2003 delete_wxTreeItem(_arg0
);
2005 _resultobj
= Py_None
;
2009 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2011 wxCommandEvent
*dest
;
2012 src
= (wxTreeEvent
*) ptr
;
2013 dest
= (wxCommandEvent
*) src
;
2014 return (void *) dest
;
2017 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2020 src
= (wxTreeEvent
*) ptr
;
2021 dest
= (wxEvent
*) src
;
2022 return (void *) dest
;
2025 #define wxTreeEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2026 static PyObject
*_wrap_wxTreeEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
2027 PyObject
* _resultobj
;
2029 wxTreeEvent
* _arg0
;
2033 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_m_code_get",&_argc0
))
2036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_m_code_get. Expected _wxTreeEvent_p.");
2041 _result
= (int )wxTreeEvent_m_code_get(_arg0
);
2042 _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxTreeEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2047 static PyObject
*_wrap_wxTreeEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
2048 PyObject
* _resultobj
;
2049 wxTreeItem
* _result
;
2050 wxTreeEvent
* _arg0
;
2055 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_m_item_get",&_argc0
))
2058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_m_item_get. Expected _wxTreeEvent_p.");
2063 _result
= (wxTreeItem
*)wxTreeEvent_m_item_get(_arg0
);
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItem_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2069 #define wxTreeEvent_m_oldItem_get(_swigobj) ((long ) _swigobj->m_oldItem)
2070 static PyObject
*_wrap_wxTreeEvent_m_oldItem_get(PyObject
*self
, PyObject
*args
) {
2071 PyObject
* _resultobj
;
2073 wxTreeEvent
* _arg0
;
2077 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_m_oldItem_get",&_argc0
))
2080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_m_oldItem_get. Expected _wxTreeEvent_p.");
2085 _result
= (long )wxTreeEvent_m_oldItem_get(_arg0
);
2086 _resultobj
= Py_BuildValue("l",_result
);
2090 #define wxTreeEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2091 static PyObject
*_wrap_wxTreeEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
2092 PyObject
* _resultobj
;
2094 wxTreeEvent
* _arg0
;
2099 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_m_pointDrag_get",&_argc0
))
2102 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_m_pointDrag_get. Expected _wxTreeEvent_p.");
2107 _result
= (wxPoint
*)wxTreeEvent_m_pointDrag_get(_arg0
);
2108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2113 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2116 src
= (wxTreeCtrl
*) ptr
;
2117 dest
= (wxControl
*) src
;
2118 return (void *) dest
;
2121 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2124 src
= (wxTreeCtrl
*) ptr
;
2125 dest
= (wxWindow
*) src
;
2126 return (void *) dest
;
2129 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2132 src
= (wxTreeCtrl
*) ptr
;
2133 dest
= (wxEvtHandler
*) src
;
2134 return (void *) dest
;
2137 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2138 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2139 PyObject
* _resultobj
;
2140 wxTreeCtrl
* _result
;
2142 wxWindowID _arg1
= -1;
2143 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2144 wxSize
* _arg3
= &wxPyDefaultSize
;
2145 long _arg4
= (wxTR_HAS_BUTTONS
);
2146 char * _arg5
= "wxTreeCtrl";
2153 if(!PyArg_ParseTuple(args
,"s|issls:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
2156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2162 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2168 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2173 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
2175 _resultobj
= Py_BuildValue("s",_ptemp
);
2179 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2180 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2187 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
2190 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
2195 _result
= (bool )wxTreeCtrl_DeleteAllItems(_arg0
);
2196 _resultobj
= Py_BuildValue("i",_result
);
2200 #define wxTreeCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2201 static PyObject
*_wrap_wxTreeCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
2202 PyObject
* _resultobj
;
2208 if(!PyArg_ParseTuple(args
,"sl:wxTreeCtrl_DeleteItem",&_argc0
,&_arg1
))
2211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteItem. Expected _wxTreeCtrl_p.");
2216 wxTreeCtrl_DeleteItem(_arg0
,_arg1
);
2218 _resultobj
= Py_None
;
2222 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2223 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
2224 PyObject
* _resultobj
;
2230 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
2233 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2238 _result
= (int )wxTreeCtrl_GetCount(_arg0
);
2239 _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxTreeCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
2244 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
2245 PyObject
* _resultobj
;
2246 wxImageList
* _result
;
2248 int _arg1
= wxIMAGE_LIST_NORMAL
;
2253 if(!PyArg_ParseTuple(args
,"s|i:wxTreeCtrl_GetImageList",&_argc0
,&_arg1
))
2256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2261 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
,_arg1
);
2262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2263 _resultobj
= Py_BuildValue("s",_ptemp
);
2267 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2268 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
2269 PyObject
* _resultobj
;
2275 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
2278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2283 _result
= (int )wxTreeCtrl_GetIndent(_arg0
);
2284 _resultobj
= Py_BuildValue("i",_result
);
2288 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2289 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
2290 PyObject
* _resultobj
;
2297 if(!PyArg_ParseTuple(args
,"sl:wxTreeCtrl_GetItemData",&_argc0
,&_arg1
))
2300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2305 _result
= (long )wxTreeCtrl_GetItemData(_arg0
,_arg1
);
2306 _resultobj
= Py_BuildValue("l",_result
);
2310 static wxTreeItem
* wxTreeCtrl_GetItem(wxTreeCtrl
*self
) {
2311 wxTreeItem
* info
= new wxTreeItem
;
2312 self
->GetItem(*info
);
2315 static PyObject
*_wrap_wxTreeCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
2316 PyObject
* _resultobj
;
2317 wxTreeItem
* _result
;
2323 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetItem",&_argc0
))
2326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItem. Expected _wxTreeCtrl_p.");
2331 _result
= (wxTreeItem
*)wxTreeCtrl_GetItem(_arg0
);
2332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItem_p");
2333 _resultobj
= Py_BuildValue("s",_ptemp
);
2337 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2338 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2339 PyObject
* _resultobj
;
2346 if(!PyArg_ParseTuple(args
,"sl:wxTreeCtrl_GetItemText",&_argc0
,&_arg1
))
2349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2354 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,_arg1
));
2356 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2364 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
2365 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
2366 PyObject
* _resultobj
;
2373 if(!PyArg_ParseTuple(args
,"sl:wxTreeCtrl_GetParent",&_argc0
,&_arg1
))
2376 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
2381 _result
= (long )wxTreeCtrl_GetParent(_arg0
,_arg1
);
2382 _resultobj
= Py_BuildValue("l",_result
);
2386 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
2387 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
2388 PyObject
* _resultobj
;
2394 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
2397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
2402 _result
= (long )wxTreeCtrl_GetRootItem(_arg0
);
2403 _resultobj
= Py_BuildValue("l",_result
);
2407 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
2408 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
2409 PyObject
* _resultobj
;
2415 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
2418 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
2423 _result
= (long )wxTreeCtrl_GetSelection(_arg0
);
2424 _resultobj
= Py_BuildValue("l",_result
);
2428 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2429 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
2430 PyObject
* _resultobj
;
2443 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
2446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
2452 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
2457 _result
= (long )wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2458 _resultobj
= Py_BuildValue("l",_result
);
2461 o
= PyInt_FromLong((long) (*_arg2
));
2462 _resultobj
= t_output_helper(_resultobj
, o
);
2467 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2468 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
2469 PyObject
* _resultobj
;
2474 long _arg3
= (wxTREE_INSERT_LAST
);
2479 if(!PyArg_ParseTuple(args
,"sls|l:wxTreeCtrl_InsertItem",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
2482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
2488 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItem_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItem_p.");
2493 _result
= (long )wxTreeCtrl_InsertItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2494 _resultobj
= Py_BuildValue("l",_result
);
2498 #define wxTreeCtrl_InsertItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2499 static PyObject
*_wrap_wxTreeCtrl_InsertItemString(PyObject
*self
, PyObject
*args
) {
2500 PyObject
* _resultobj
;
2507 long _arg5
= (wxTREE_INSERT_LAST
);
2509 PyObject
* _obj2
= 0;
2512 if(!PyArg_ParseTuple(args
,"slO|iil:wxTreeCtrl_InsertItemString",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
2515 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemString. Expected _wxTreeCtrl_p.");
2521 if (!PyString_Check(_obj2
)) {
2522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2525 _arg2
= new wxString(PyString_AsString(_obj2
));
2527 _result
= (long )wxTreeCtrl_InsertItemString(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
);
2528 _resultobj
= Py_BuildValue("l",_result
);
2536 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
2537 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
2538 PyObject
* _resultobj
;
2545 if(!PyArg_ParseTuple(args
,"sl:wxTreeCtrl_ItemHasChildren",&_argc0
,&_arg1
))
2548 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
2553 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,_arg1
);
2554 _resultobj
= Py_BuildValue("i",_result
);
2558 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
2559 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
2560 PyObject
* _resultobj
;
2567 if(!PyArg_ParseTuple(args
,"sl:wxTreeCtrl_SelectItem",&_argc0
,&_arg1
))
2570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
2575 _result
= (bool )wxTreeCtrl_SelectItem(_arg0
,_arg1
);
2576 _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2581 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
2582 PyObject
* _resultobj
;
2588 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
2591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2596 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
2598 _resultobj
= Py_None
;
2602 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2603 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2604 PyObject
* _resultobj
;
2606 wxImageList
* _arg1
;
2607 int _arg2
= wxIMAGE_LIST_NORMAL
;
2612 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2615 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2621 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2626 wxTreeCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2628 _resultobj
= Py_None
;
2632 #define wxTreeCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2633 static PyObject
*_wrap_wxTreeCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2634 PyObject
* _resultobj
;
2642 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetItem",&_argc0
,&_argc1
))
2645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItem. Expected _wxTreeCtrl_p.");
2651 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItem_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItem. Expected _wxTreeItem_p.");
2656 _result
= (bool )wxTreeCtrl_SetItem(_arg0
,*_arg1
);
2657 _resultobj
= Py_BuildValue("i",_result
);
2661 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2662 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2663 PyObject
* _resultobj
;
2671 if(!PyArg_ParseTuple(args
,"slii:wxTreeCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2679 wxTreeCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2681 _resultobj
= Py_None
;
2685 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2686 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2687 PyObject
* _resultobj
;
2692 PyObject
* _obj2
= 0;
2695 if(!PyArg_ParseTuple(args
,"slO:wxTreeCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2704 if (!PyString_Check(_obj2
)) {
2705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2708 _arg2
= new wxString(PyString_AsString(_obj2
));
2710 wxTreeCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2712 _resultobj
= Py_None
;
2720 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2721 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2722 PyObject
* _resultobj
;
2730 if(!PyArg_ParseTuple(args
,"sll:wxTreeCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2733 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
2738 _result
= (bool )wxTreeCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2739 _resultobj
= Py_BuildValue("i",_result
);
2743 static PyMethodDef controls2cMethods
[] = {
2744 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
2745 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
2746 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
2747 { "wxTreeCtrl_SetItem", _wrap_wxTreeCtrl_SetItem
, 1 },
2748 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
2749 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
2750 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
2751 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
2752 { "wxTreeCtrl_InsertItemString", _wrap_wxTreeCtrl_InsertItemString
, 1 },
2753 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
2754 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
2755 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
2756 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
2757 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
2758 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
2759 { "wxTreeCtrl_GetItem", _wrap_wxTreeCtrl_GetItem
, 1 },
2760 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
2761 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
2762 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
2763 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
2764 { "wxTreeCtrl_DeleteItem", _wrap_wxTreeCtrl_DeleteItem
, 1 },
2765 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
2766 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
2767 { "wxTreeEvent_m_pointDrag_get", _wrap_wxTreeEvent_m_pointDrag_get
, 1 },
2768 { "wxTreeEvent_m_oldItem_get", _wrap_wxTreeEvent_m_oldItem_get
, 1 },
2769 { "wxTreeEvent_m_item_get", _wrap_wxTreeEvent_m_item_get
, 1 },
2770 { "wxTreeEvent_m_code_get", _wrap_wxTreeEvent_m_code_get
, 1 },
2771 { "delete_wxTreeItem", _wrap_delete_wxTreeItem
, 1 },
2772 { "new_wxTreeItem", _wrap_new_wxTreeItem
, 1 },
2773 { "wxTreeItem_m_data_get", _wrap_wxTreeItem_m_data_get
, 1 },
2774 { "wxTreeItem_m_children_get", _wrap_wxTreeItem_m_children_get
, 1 },
2775 { "wxTreeItem_m_selectedImage_get", _wrap_wxTreeItem_m_selectedImage_get
, 1 },
2776 { "wxTreeItem_m_image_get", _wrap_wxTreeItem_m_image_get
, 1 },
2777 { "wxTreeItem_m_text_get", _wrap_wxTreeItem_m_text_get
, 1 },
2778 { "wxTreeItem_m_stateMask_get", _wrap_wxTreeItem_m_stateMask_get
, 1 },
2779 { "wxTreeItem_m_state_get", _wrap_wxTreeItem_m_state_get
, 1 },
2780 { "wxTreeItem_m_itemId_get", _wrap_wxTreeItem_m_itemId_get
, 1 },
2781 { "wxTreeItem_m_mask_get", _wrap_wxTreeItem_m_mask_get
, 1 },
2782 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
2783 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
2784 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
2785 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
2786 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
2787 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
2788 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
2789 { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString
, 1 },
2790 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
2791 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
2792 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
2793 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
2794 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
2795 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
2796 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
2797 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
2798 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
2799 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
2800 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
2801 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo
, 1 },
2802 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
2803 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
2804 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
2805 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
2806 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
2807 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
2808 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
2809 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
2810 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
2811 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
2812 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
2813 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
2814 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
2815 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
2816 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
2817 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
2818 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
2819 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
2820 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
2821 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
2822 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
2823 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
2824 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
2825 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
2826 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
2827 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
2828 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
2829 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
2830 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
2831 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
2832 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
2833 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
2834 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
2835 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
2836 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
2837 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
2838 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
2839 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
2840 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
2841 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
2842 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
2843 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
2844 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
2845 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
2848 static PyObject
*SWIG_globals
;
2852 SWIGEXPORT(void,initcontrols2c
)() {
2854 SWIG_globals
= SWIG_newvarlink();
2855 m
= Py_InitModule("controls2c", controls2cMethods
);
2856 d
= PyModule_GetDict(m
);
2857 PyDict_SetItemString(d
,"wxTREE_MASK_HANDLE", PyInt_FromLong((long) wxTREE_MASK_HANDLE
));
2858 PyDict_SetItemString(d
,"wxTREE_MASK_STATE", PyInt_FromLong((long) wxTREE_MASK_STATE
));
2859 PyDict_SetItemString(d
,"wxTREE_MASK_TEXT", PyInt_FromLong((long) wxTREE_MASK_TEXT
));
2860 PyDict_SetItemString(d
,"wxTREE_MASK_IMAGE", PyInt_FromLong((long) wxTREE_MASK_IMAGE
));
2861 PyDict_SetItemString(d
,"wxTREE_MASK_SELECTED_IMAGE", PyInt_FromLong((long) wxTREE_MASK_SELECTED_IMAGE
));
2862 PyDict_SetItemString(d
,"wxTREE_MASK_CHILDREN", PyInt_FromLong((long) wxTREE_MASK_CHILDREN
));
2863 PyDict_SetItemString(d
,"wxTREE_MASK_DATA", PyInt_FromLong((long) wxTREE_MASK_DATA
));
2864 PyDict_SetItemString(d
,"wxTREE_STATE_BOLD", PyInt_FromLong((long) wxTREE_STATE_BOLD
));
2865 PyDict_SetItemString(d
,"wxTREE_STATE_DROPHILITED", PyInt_FromLong((long) wxTREE_STATE_DROPHILITED
));
2866 PyDict_SetItemString(d
,"wxTREE_STATE_EXPANDED", PyInt_FromLong((long) wxTREE_STATE_EXPANDED
));
2867 PyDict_SetItemString(d
,"wxTREE_STATE_EXPANDEDONCE", PyInt_FromLong((long) wxTREE_STATE_EXPANDEDONCE
));
2868 PyDict_SetItemString(d
,"wxTREE_STATE_FOCUSED", PyInt_FromLong((long) wxTREE_STATE_FOCUSED
));
2869 PyDict_SetItemString(d
,"wxTREE_STATE_SELECTED", PyInt_FromLong((long) wxTREE_STATE_SELECTED
));
2870 PyDict_SetItemString(d
,"wxTREE_STATE_CUT", PyInt_FromLong((long) wxTREE_STATE_CUT
));
2871 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
2872 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
2873 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
2874 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
2875 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
2876 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
2877 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
2878 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
2879 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
2880 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
2881 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
2882 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
2883 PyDict_SetItemString(d
,"wxTREE_NEXT_CARET", PyInt_FromLong((long) wxTREE_NEXT_CARET
));
2884 PyDict_SetItemString(d
,"wxTREE_NEXT_CHILD", PyInt_FromLong((long) wxTREE_NEXT_CHILD
));
2885 PyDict_SetItemString(d
,"wxTREE_NEXT_DROPHILITE", PyInt_FromLong((long) wxTREE_NEXT_DROPHILITE
));
2886 PyDict_SetItemString(d
,"wxTREE_NEXT_FIRSTVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_FIRSTVISIBLE
));
2887 PyDict_SetItemString(d
,"wxTREE_NEXT_NEXT", PyInt_FromLong((long) wxTREE_NEXT_NEXT
));
2888 PyDict_SetItemString(d
,"wxTREE_NEXT_NEXTVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_NEXTVISIBLE
));
2889 PyDict_SetItemString(d
,"wxTREE_NEXT_PARENT", PyInt_FromLong((long) wxTREE_NEXT_PARENT
));
2890 PyDict_SetItemString(d
,"wxTREE_NEXT_PREVIOUS", PyInt_FromLong((long) wxTREE_NEXT_PREVIOUS
));
2891 PyDict_SetItemString(d
,"wxTREE_NEXT_PREVIOUSVISIBLE", PyInt_FromLong((long) wxTREE_NEXT_PREVIOUSVISIBLE
));
2892 PyDict_SetItemString(d
,"wxTREE_NEXT_ROOT", PyInt_FromLong((long) wxTREE_NEXT_ROOT
));
2893 PyDict_SetItemString(d
,"wxTREE_EXPAND_EXPAND", PyInt_FromLong((long) wxTREE_EXPAND_EXPAND
));
2894 PyDict_SetItemString(d
,"wxTREE_EXPAND_COLLAPSE", PyInt_FromLong((long) wxTREE_EXPAND_COLLAPSE
));
2895 PyDict_SetItemString(d
,"wxTREE_EXPAND_COLLAPSE_RESET", PyInt_FromLong((long) wxTREE_EXPAND_COLLAPSE_RESET
));
2896 PyDict_SetItemString(d
,"wxTREE_EXPAND_TOGGLE", PyInt_FromLong((long) wxTREE_EXPAND_TOGGLE
));
2897 PyDict_SetItemString(d
,"wxTREE_INSERT_LAST", PyInt_FromLong((long) wxTREE_INSERT_LAST
));
2898 PyDict_SetItemString(d
,"wxTREE_INSERT_FIRST", PyInt_FromLong((long) wxTREE_INSERT_FIRST
));
2899 PyDict_SetItemString(d
,"wxTREE_INSERT_SORT", PyInt_FromLong((long) wxTREE_INSERT_SORT
));
2901 * These are the pointer type-equivalency mappings.
2902 * (Used by the SWIG pointer type-checker).
2904 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
2905 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
2906 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
2907 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
2908 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2909 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2910 SWIG_RegisterMapping("_signed_long","_long",0);
2911 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2912 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2913 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
2914 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
2915 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
2916 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
2917 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2918 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2919 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2920 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2921 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
2922 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2923 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
2924 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2925 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2926 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2927 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2928 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2929 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2930 SWIG_RegisterMapping("_long","_wxDash",0);
2931 SWIG_RegisterMapping("_long","_unsigned_long",0);
2932 SWIG_RegisterMapping("_long","_signed_long",0);
2933 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2934 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2935 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2936 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2937 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
2938 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2939 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2940 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2941 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2942 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
2943 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2944 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2945 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2946 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2947 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2948 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2949 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2950 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2951 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2952 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2953 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2954 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2955 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2956 SWIG_RegisterMapping("_uint","_int",0);
2957 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2958 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
2959 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
2960 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
2961 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
2962 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2963 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2964 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
2965 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
2966 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
2967 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
2968 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2969 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2970 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2971 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2972 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2973 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2974 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2975 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2976 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2977 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2978 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2979 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
2980 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2981 SWIG_RegisterMapping("_EBool","_signed_int",0);
2982 SWIG_RegisterMapping("_EBool","_int",0);
2983 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2984 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2985 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2986 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2987 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2988 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2989 SWIG_RegisterMapping("_unsigned_long","_long",0);
2990 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2991 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2992 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
2993 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2994 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2995 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2996 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2997 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2998 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2999 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
3000 SWIG_RegisterMapping("_signed_int","_EBool",0);
3001 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3002 SWIG_RegisterMapping("_signed_int","_int",0);
3003 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
3004 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3005 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
3006 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
3007 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
3008 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
3009 SWIG_RegisterMapping("_WXTYPE","_short",0);
3010 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3011 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3012 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
3013 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3014 SWIG_RegisterMapping("_unsigned_short","_short",0);
3015 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
3016 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
3017 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
3018 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
3019 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
3020 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
3021 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
3022 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
3023 SWIG_RegisterMapping("_wxTreeItem","_class_wxTreeItem",0);
3024 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
3025 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
3026 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
3027 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
3028 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3029 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3030 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
3031 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3032 SWIG_RegisterMapping("_signed_short","_short",0);
3033 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
3034 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
3035 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
3036 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
3037 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
3038 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
3039 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
3040 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3041 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
3042 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
3043 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
3044 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
3045 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
3046 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
3047 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
3048 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3049 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3050 SWIG_RegisterMapping("_unsigned_int","_int",0);
3051 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
3052 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
3053 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
3054 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
3055 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
3056 SWIG_RegisterMapping("_short","_WXTYPE",0);
3057 SWIG_RegisterMapping("_short","_unsigned_short",0);
3058 SWIG_RegisterMapping("_short","_signed_short",0);
3059 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
3060 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
3061 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
3062 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
3063 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
3064 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
3065 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
3066 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3067 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3068 SWIG_RegisterMapping("_wxWindowID","_int",0);
3069 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3070 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3071 SWIG_RegisterMapping("_int","_EBool",0);
3072 SWIG_RegisterMapping("_int","_uint",0);
3073 SWIG_RegisterMapping("_int","_wxWindowID",0);
3074 SWIG_RegisterMapping("_int","_unsigned_int",0);
3075 SWIG_RegisterMapping("_int","_signed_int",0);
3076 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
3077 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
3078 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
3079 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3080 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
3081 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
3082 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
3083 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
3084 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
3085 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
3086 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3087 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
3088 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
3089 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
3090 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
3091 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
3092 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
3093 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
3094 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
3095 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
3096 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
3097 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
3098 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
3099 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
3100 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
3101 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
3102 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
3103 SWIG_RegisterMapping("_class_wxTreeItem","_wxTreeItem",0);
3104 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
3105 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
3106 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
3107 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
3108 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
3109 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
3110 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
3111 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
3112 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
3113 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
3114 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
3115 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
3116 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
3117 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3118 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
3119 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3120 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
3121 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
3122 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
3123 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
3124 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
3125 SWIG_RegisterMapping("_wxDash","_long",0);
3126 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
3127 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
3128 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
3129 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
3130 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
3131 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
3132 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
3133 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
3134 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
3135 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);