2 * FILE : gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 extern wxValidator wxPyDefaultValidator
;
121 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
122 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
) {
123 PyObject
* _resultobj
;
130 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_mask_set",&_argc0
,&_arg1
))
133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
138 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
139 _resultobj
= Py_BuildValue("l",_result
);
143 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
144 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
145 PyObject
* _resultobj
;
151 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
154 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
159 _result
= (long )wxListItem_m_mask_get(_arg0
);
160 _resultobj
= Py_BuildValue("l",_result
);
164 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
165 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
) {
166 PyObject
* _resultobj
;
173 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_itemId_set",&_argc0
,&_arg1
))
176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
181 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
182 _resultobj
= Py_BuildValue("l",_result
);
186 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
187 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
188 PyObject
* _resultobj
;
194 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
202 _result
= (long )wxListItem_m_itemId_get(_arg0
);
203 _resultobj
= Py_BuildValue("l",_result
);
207 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
208 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
) {
209 PyObject
* _resultobj
;
216 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_col_set",&_argc0
,&_arg1
))
219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
224 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
225 _resultobj
= Py_BuildValue("i",_result
);
229 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
230 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
231 PyObject
* _resultobj
;
237 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
240 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
245 _result
= (int )wxListItem_m_col_get(_arg0
);
246 _resultobj
= Py_BuildValue("i",_result
);
250 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
251 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
) {
252 PyObject
* _resultobj
;
259 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_state_set",&_argc0
,&_arg1
))
262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
267 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
268 _resultobj
= Py_BuildValue("l",_result
);
272 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
273 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
274 PyObject
* _resultobj
;
280 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
288 _result
= (long )wxListItem_m_state_get(_arg0
);
289 _resultobj
= Py_BuildValue("l",_result
);
293 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
294 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
) {
295 PyObject
* _resultobj
;
302 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_stateMask_set",&_argc0
,&_arg1
))
305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
310 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
311 _resultobj
= Py_BuildValue("l",_result
);
315 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
316 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
317 PyObject
* _resultobj
;
323 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
331 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
332 _resultobj
= Py_BuildValue("l",_result
);
336 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
337 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
) {
338 PyObject
* _resultobj
;
343 PyObject
* _obj1
= 0;
346 if(!PyArg_ParseTuple(args
,"sO:wxListItem_m_text_set",&_argc0
,&_obj1
))
349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
355 if (!PyString_Check(_obj1
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg1
= new wxString(PyString_AsString(_obj1
));
361 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
363 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
372 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
373 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
374 PyObject
* _resultobj
;
380 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
388 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
390 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
395 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
396 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
) {
397 PyObject
* _resultobj
;
404 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_image_set",&_argc0
,&_arg1
))
407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
412 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
413 _resultobj
= Py_BuildValue("i",_result
);
417 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
418 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
419 PyObject
* _resultobj
;
425 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
428 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
433 _result
= (int )wxListItem_m_image_get(_arg0
);
434 _resultobj
= Py_BuildValue("i",_result
);
438 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
439 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
) {
440 PyObject
* _resultobj
;
447 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_data_set",&_argc0
,&_arg1
))
450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
455 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
456 _resultobj
= Py_BuildValue("l",_result
);
460 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
461 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
462 PyObject
* _resultobj
;
468 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
476 _result
= (long )wxListItem_m_data_get(_arg0
);
477 _resultobj
= Py_BuildValue("l",_result
);
481 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
482 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
) {
483 PyObject
* _resultobj
;
490 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_format_set",&_argc0
,&_arg1
))
493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
498 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
499 _resultobj
= Py_BuildValue("i",_result
);
503 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
504 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
505 PyObject
* _resultobj
;
511 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
519 _result
= (int )wxListItem_m_format_get(_arg0
);
520 _resultobj
= Py_BuildValue("i",_result
);
524 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
525 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
) {
526 PyObject
* _resultobj
;
533 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_width_set",&_argc0
,&_arg1
))
536 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
541 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
542 _resultobj
= Py_BuildValue("i",_result
);
546 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
547 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
548 PyObject
* _resultobj
;
554 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
562 _result
= (int )wxListItem_m_width_get(_arg0
);
563 _resultobj
= Py_BuildValue("i",_result
);
567 #define new_wxListItem() (new wxListItem())
568 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
569 PyObject
* _resultobj
;
570 wxListItem
* _result
;
574 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
576 _result
= (wxListItem
*)new_wxListItem();
577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
578 _resultobj
= Py_BuildValue("s",_ptemp
);
582 #define delete_wxListItem(_swigobj) (delete _swigobj)
583 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
584 PyObject
* _resultobj
;
589 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
592 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
597 delete_wxListItem(_arg0
);
599 _resultobj
= Py_None
;
603 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
605 wxCommandEvent
*dest
;
606 src
= (wxListEvent
*) ptr
;
607 dest
= (wxCommandEvent
*) src
;
608 return (void *) dest
;
611 static void *SwigwxListEventTowxEvent(void *ptr
) {
614 src
= (wxListEvent
*) ptr
;
615 dest
= (wxEvent
*) src
;
616 return (void *) dest
;
619 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
620 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
) {
621 PyObject
* _resultobj
;
628 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_code_set",&_argc0
,&_arg1
))
631 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
636 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
637 _resultobj
= Py_BuildValue("i",_result
);
641 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
642 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
643 PyObject
* _resultobj
;
649 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
652 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
657 _result
= (int )wxListEvent_m_code_get(_arg0
);
658 _resultobj
= Py_BuildValue("i",_result
);
662 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
663 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
) {
664 PyObject
* _resultobj
;
671 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_itemIndex_set",&_argc0
,&_arg1
))
674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
679 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
680 _resultobj
= Py_BuildValue("l",_result
);
684 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
685 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
686 PyObject
* _resultobj
;
692 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
700 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
701 _resultobj
= Py_BuildValue("l",_result
);
705 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
706 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
) {
707 PyObject
* _resultobj
;
714 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_oldItemIndex_set",&_argc0
,&_arg1
))
717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
722 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
723 _resultobj
= Py_BuildValue("l",_result
);
727 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
728 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
729 PyObject
* _resultobj
;
735 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
738 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
743 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
744 _resultobj
= Py_BuildValue("l",_result
);
748 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
749 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
750 PyObject
* _resultobj
;
757 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_col_set",&_argc0
,&_arg1
))
760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
765 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
766 _resultobj
= Py_BuildValue("i",_result
);
770 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
771 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
772 PyObject
* _resultobj
;
778 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
781 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
786 _result
= (int )wxListEvent_m_col_get(_arg0
);
787 _resultobj
= Py_BuildValue("i",_result
);
791 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
792 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
) {
793 PyObject
* _resultobj
;
801 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_cancelled_set",&_argc0
,&tempbool1
))
804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
809 _arg1
= (bool ) tempbool1
;
810 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
811 _resultobj
= Py_BuildValue("i",_result
);
815 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
816 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
817 PyObject
* _resultobj
;
823 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
826 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
831 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
832 _resultobj
= Py_BuildValue("i",_result
);
836 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
837 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
) {
838 PyObject
* _resultobj
;
847 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_pointDrag_set",&_argc0
,&_argc1
))
850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
856 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
861 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
863 _resultobj
= Py_BuildValue("s",_ptemp
);
867 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
868 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
869 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
884 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
886 _resultobj
= Py_BuildValue("s",_ptemp
);
890 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
891 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
) {
892 PyObject
* _resultobj
;
893 wxListItem
* _result
;
901 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_item_set",&_argc0
,&_argc1
))
904 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
910 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
915 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
917 _resultobj
= Py_BuildValue("s",_ptemp
);
921 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
922 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
923 PyObject
* _resultobj
;
924 wxListItem
* _result
;
930 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
938 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
940 _resultobj
= Py_BuildValue("s",_ptemp
);
944 static void *SwigwxListCtrlTowxControl(void *ptr
) {
947 src
= (wxListCtrl
*) ptr
;
948 dest
= (wxControl
*) src
;
949 return (void *) dest
;
952 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
955 src
= (wxListCtrl
*) ptr
;
956 dest
= (wxWindow
*) src
;
957 return (void *) dest
;
960 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
963 src
= (wxListCtrl
*) ptr
;
964 dest
= (wxEvtHandler
*) src
;
965 return (void *) dest
;
968 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
969 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
970 PyObject
* _resultobj
;
971 wxListCtrl
* _result
;
974 wxPoint
* _arg2
= &wxPyDefaultPosition
;
975 wxSize
* _arg3
= &wxPyDefaultSize
;
976 long _arg4
= (wxLC_ICON
);
977 wxValidator
* _arg5
= &wxPyDefaultValidator
;
978 char * _arg6
= "listCtrl";
986 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
995 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1001 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1007 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1012 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1014 _resultobj
= Py_BuildValue("s",_ptemp
);
1018 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1019 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
1020 PyObject
* _resultobj
;
1023 int _arg1
= (wxLIST_ALIGN_DEFAULT
);
1027 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
1030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1035 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1036 _resultobj
= Py_BuildValue("i",_result
);
1040 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1041 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
1042 PyObject
* _resultobj
;
1049 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
1052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1057 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1058 _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1063 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1070 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
1073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1078 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1079 _resultobj
= Py_BuildValue("i",_result
);
1083 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1084 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
1085 PyObject
* _resultobj
;
1092 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
1095 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1100 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1101 _resultobj
= Py_BuildValue("i",_result
);
1105 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1106 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
1107 PyObject
* _resultobj
;
1113 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
1116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1121 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1122 _resultobj
= Py_BuildValue("i",_result
);
1126 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1127 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
1128 PyObject
* _resultobj
;
1133 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
1136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1141 wxListCtrl_ClearAll(_arg0
);
1143 _resultobj
= Py_None
;
1147 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1148 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1149 PyObject
* _resultobj
;
1156 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
1159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1164 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1165 _resultobj
= Py_BuildValue("i",_result
);
1169 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1170 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1171 PyObject
* _resultobj
;
1178 PyObject
* _obj2
= 0;
1182 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
1185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1191 if (!PyString_Check(_obj2
)) {
1192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1195 _arg2
= new wxString(PyString_AsString(_obj2
));
1197 _arg3
= (bool ) tempbool3
;
1198 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1199 _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1208 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1209 PyObject
* _resultobj
;
1217 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
1220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1225 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1226 _resultobj
= Py_BuildValue("l",_result
);
1230 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1231 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1232 PyObject
* _resultobj
;
1242 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
1245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1251 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1256 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1257 _resultobj
= Py_BuildValue("l",_result
);
1261 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1262 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1263 PyObject
* _resultobj
;
1272 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
1275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1281 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1286 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1287 _resultobj
= Py_BuildValue("i",_result
);
1291 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1292 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1293 PyObject
* _resultobj
;
1300 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
1303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1308 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1309 _resultobj
= Py_BuildValue("i",_result
);
1313 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1314 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1315 PyObject
* _resultobj
;
1321 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
1324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1329 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1330 _resultobj
= Py_BuildValue("i",_result
);
1334 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1335 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1336 PyObject
* _resultobj
;
1337 wxImageList
* _result
;
1344 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1352 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1359 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1360 PyObject
* _resultobj
;
1367 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1375 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1376 _resultobj
= Py_BuildValue("l",_result
);
1380 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1381 wxListItem
* info
= new wxListItem
;
1382 info
->m_itemId
= itemId
;
1383 self
->GetItem(*info
);
1386 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1387 PyObject
* _resultobj
;
1388 wxListItem
* _result
;
1395 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItem",&_argc0
,&_arg1
))
1398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1403 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1405 _resultobj
= Py_BuildValue("s",_ptemp
);
1409 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1410 wxPoint
* pos
= new wxPoint
;
1411 self
->GetItemPosition(item
, *pos
);
1414 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1415 PyObject
* _resultobj
;
1423 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1431 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1433 _resultobj
= Py_BuildValue("s",_ptemp
);
1437 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1438 wxRect
* rect
= new wxRect
;
1439 self
->GetItemRect(item
, *rect
, code
);
1442 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1443 PyObject
* _resultobj
;
1447 int _arg2
= (wxLIST_RECT_BOUNDS
);
1452 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1460 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1462 _resultobj
= Py_BuildValue("s",_ptemp
);
1466 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1467 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1468 PyObject
* _resultobj
;
1476 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1479 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1484 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1485 _resultobj
= Py_BuildValue("i",_result
);
1489 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1490 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1491 PyObject
* _resultobj
;
1497 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1505 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1506 _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1511 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1520 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1528 _arg1
= (bool ) tempbool1
;
1529 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1530 _resultobj
= Py_BuildValue("i",_result
);
1534 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1535 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1536 PyObject
* _resultobj
;
1543 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1551 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1553 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1561 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1562 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1563 PyObject
* _resultobj
;
1567 int _arg2
= (wxLIST_NEXT_ALL
);
1568 int _arg3
= (wxLIST_STATE_DONTCARE
);
1572 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1575 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1580 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1581 _resultobj
= Py_BuildValue("l",_result
);
1585 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1586 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1601 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1602 _resultobj
= Py_BuildValue("i",_result
);
1606 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1607 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1608 PyObject
* _resultobj
;
1614 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1622 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1623 _resultobj
= Py_BuildValue("l",_result
);
1627 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1628 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1629 PyObject
* _resultobj
;
1642 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1651 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1656 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1657 _resultobj
= Py_BuildValue("l",_result
);
1660 o
= PyInt_FromLong((long) (*_arg2
));
1661 _resultobj
= t_output_helper(_resultobj
, o
);
1666 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1667 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
1668 PyObject
* _resultobj
;
1677 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWith",&_argc0
,&_arg1
,&_argc2
))
1680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
1686 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
1691 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
1692 _resultobj
= Py_BuildValue("l",_result
);
1696 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1697 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1698 PyObject
* _resultobj
;
1703 int _arg3
= (wxLIST_FORMAT_LEFT
);
1706 PyObject
* _obj2
= 0;
1709 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1718 if (!PyString_Check(_obj2
)) {
1719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1722 _arg2
= new wxString(PyString_AsString(_obj2
));
1724 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1725 _resultobj
= Py_BuildValue("l",_result
);
1733 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1734 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
1735 PyObject
* _resultobj
;
1743 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
1746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1752 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1757 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
1758 _resultobj
= Py_BuildValue("l",_result
);
1762 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1763 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
1764 PyObject
* _resultobj
;
1770 PyObject
* _obj2
= 0;
1773 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
1776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1782 if (!PyString_Check(_obj2
)) {
1783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1786 _arg2
= new wxString(PyString_AsString(_obj2
));
1788 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
1789 _resultobj
= Py_BuildValue("l",_result
);
1797 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1798 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
1799 PyObject
* _resultobj
;
1807 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
1810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1815 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
1816 _resultobj
= Py_BuildValue("l",_result
);
1820 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1821 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
1822 PyObject
* _resultobj
;
1829 PyObject
* _obj2
= 0;
1832 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
1835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1841 if (!PyString_Check(_obj2
)) {
1842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1845 _arg2
= new wxString(PyString_AsString(_obj2
));
1847 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1848 _resultobj
= Py_BuildValue("l",_result
);
1856 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1857 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1866 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
1869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1874 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
1875 _resultobj
= Py_BuildValue("i",_result
);
1879 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1880 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
1881 PyObject
* _resultobj
;
1888 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
1891 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
1897 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
1902 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
1904 _resultobj
= Py_None
;
1908 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
1909 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
1910 PyObject
* _resultobj
;
1919 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
1922 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
1928 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
1933 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
1934 _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
1939 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
1940 PyObject
* _resultobj
;
1948 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
1951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
1956 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
1957 _resultobj
= Py_BuildValue("i",_result
);
1961 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
1962 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
1963 PyObject
* _resultobj
;
1965 wxImageList
* _arg1
;
1971 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
1974 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
1980 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
1985 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
1987 _resultobj
= Py_None
;
1991 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
1992 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
1993 PyObject
* _resultobj
;
2001 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2010 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2015 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2016 _resultobj
= Py_BuildValue("i",_result
);
2020 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2021 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2022 PyObject
* _resultobj
;
2030 PyObject
* _obj3
= 0;
2033 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2042 if (!PyString_Check(_obj3
)) {
2043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2046 _arg3
= new wxString(PyString_AsString(_obj3
));
2048 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2049 _resultobj
= Py_BuildValue("l",_result
);
2057 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2058 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2059 PyObject
* _resultobj
;
2067 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2075 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2076 _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2081 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2082 PyObject
* _resultobj
;
2091 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2099 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2100 _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2105 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2106 PyObject
* _resultobj
;
2115 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2124 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2129 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2130 _resultobj
= Py_BuildValue("i",_result
);
2134 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2135 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2136 PyObject
* _resultobj
;
2145 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2153 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2154 _resultobj
= Py_BuildValue("i",_result
);
2158 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2160 PyObject
* _resultobj
;
2165 PyObject
* _obj2
= 0;
2168 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2177 if (!PyString_Check(_obj2
)) {
2178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2181 _arg2
= new wxString(PyString_AsString(_obj2
));
2183 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2185 _resultobj
= Py_None
;
2193 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2194 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2195 PyObject
* _resultobj
;
2203 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2211 _arg2
= (bool ) tempbool2
;
2212 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2214 _resultobj
= Py_None
;
2218 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2219 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2220 PyObject
* _resultobj
;
2226 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2234 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2236 _resultobj
= Py_None
;
2240 #define new_wxTreeItemId() (new wxTreeItemId())
2241 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2242 PyObject
* _resultobj
;
2243 wxTreeItemId
* _result
;
2247 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2249 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2251 _resultobj
= Py_BuildValue("s",_ptemp
);
2255 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2256 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2257 PyObject
* _resultobj
;
2258 wxTreeItemId
* _arg0
;
2262 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2270 delete_wxTreeItemId(_arg0
);
2272 _resultobj
= Py_None
;
2276 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2277 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2278 PyObject
* _resultobj
;
2280 wxTreeItemId
* _arg0
;
2284 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2287 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2292 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2293 _resultobj
= Py_BuildValue("i",_result
);
2297 #define new_wxTreeItemData() (new wxTreeItemData())
2298 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2299 PyObject
* _resultobj
;
2300 wxTreeItemData
* _result
;
2304 if(!PyArg_ParseTuple(args
,":new_wxTreeItemData"))
2306 _result
= (wxTreeItemData
*)new_wxTreeItemData();
2307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2308 _resultobj
= Py_BuildValue("s",_ptemp
);
2312 #define delete_wxTreeItemData(_swigobj) (delete _swigobj)
2313 static PyObject
*_wrap_delete_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2314 PyObject
* _resultobj
;
2315 wxTreeItemData
* _arg0
;
2319 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemData",&_argc0
))
2322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
2327 delete_wxTreeItemData(_arg0
);
2329 _resultobj
= Py_None
;
2333 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2334 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2335 PyObject
* _resultobj
;
2336 wxTreeItemId
* _result
;
2337 wxTreeItemData
* _arg0
;
2342 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
2350 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2351 _result
= (wxTreeItemId
*) &_result_ref
;
2352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2353 _resultobj
= Py_BuildValue("s",_ptemp
);
2357 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2358 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2359 PyObject
* _resultobj
;
2360 wxTreeItemData
* _arg0
;
2361 wxTreeItemId
* _arg1
;
2366 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
2375 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2380 wxTreeItemData_SetId(_arg0
,*_arg1
);
2382 _resultobj
= Py_None
;
2386 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2388 wxCommandEvent
*dest
;
2389 src
= (wxTreeEvent
*) ptr
;
2390 dest
= (wxCommandEvent
*) src
;
2391 return (void *) dest
;
2394 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2397 src
= (wxTreeEvent
*) ptr
;
2398 dest
= (wxEvent
*) src
;
2399 return (void *) dest
;
2402 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2403 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2404 PyObject
* _resultobj
;
2405 wxTreeItemId
* _result
;
2406 wxTreeEvent
* _arg0
;
2411 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2419 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2420 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2426 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2427 PyObject
* _resultobj
;
2428 wxTreeItemId
* _result
;
2429 wxTreeEvent
* _arg0
;
2434 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2437 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2442 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2443 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2444 _resultobj
= Py_BuildValue("s",_ptemp
);
2448 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2449 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2450 PyObject
* _resultobj
;
2452 wxTreeEvent
* _arg0
;
2457 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2465 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2466 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2471 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2472 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2473 PyObject
* _resultobj
;
2475 wxTreeEvent
* _arg0
;
2479 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2487 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2488 _resultobj
= Py_BuildValue("i",_result
);
2492 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2493 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2494 PyObject
* _resultobj
;
2495 wxTreeEvent
* _arg0
;
2499 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2507 wxTreeEvent_Veto(_arg0
);
2509 _resultobj
= Py_None
;
2513 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2516 src
= (wxTreeCtrl
*) ptr
;
2517 dest
= (wxControl
*) src
;
2518 return (void *) dest
;
2521 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2524 src
= (wxTreeCtrl
*) ptr
;
2525 dest
= (wxWindow
*) src
;
2526 return (void *) dest
;
2529 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2532 src
= (wxTreeCtrl
*) ptr
;
2533 dest
= (wxEvtHandler
*) src
;
2534 return (void *) dest
;
2537 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2538 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2539 PyObject
* _resultobj
;
2540 wxTreeCtrl
* _result
;
2542 wxWindowID _arg1
= -1;
2543 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2544 wxSize
* _arg3
= &wxPyDefaultSize
;
2545 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2546 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2547 char * _arg6
= "wxTreeCtrl";
2555 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
2558 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2564 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2570 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2576 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2581 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
2583 _resultobj
= Py_BuildValue("s",_ptemp
);
2587 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2588 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
2589 PyObject
* _resultobj
;
2596 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
2599 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2604 _result
= new size_t (wxTreeCtrl_GetCount(_arg0
));
2605 SWIG_MakePtr(_ptemp
, (void *) _result
,"_size_t_p");
2606 _resultobj
= Py_BuildValue("s",_ptemp
);
2610 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2611 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
2612 PyObject
* _resultobj
;
2613 unsigned int _result
;
2618 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
2621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2626 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
2627 _resultobj
= Py_BuildValue("i",_result
);
2631 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2632 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
2633 PyObject
* _resultobj
;
2639 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
2642 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2647 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
2649 _resultobj
= Py_None
;
2653 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2654 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
2655 PyObject
* _resultobj
;
2656 wxImageList
* _result
;
2662 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
2665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2670 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
2671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2672 _resultobj
= Py_BuildValue("s",_ptemp
);
2676 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2677 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
2678 PyObject
* _resultobj
;
2679 wxImageList
* _result
;
2685 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
2688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2693 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
2694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2695 _resultobj
= Py_BuildValue("s",_ptemp
);
2699 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2700 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2701 PyObject
* _resultobj
;
2703 wxImageList
* _arg1
;
2708 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
2711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2717 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2722 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
2724 _resultobj
= Py_None
;
2728 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2729 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2732 wxImageList
* _arg1
;
2737 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
2740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2746 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2751 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
2753 _resultobj
= Py_None
;
2757 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2758 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2759 PyObject
* _resultobj
;
2762 wxTreeItemId
* _arg1
;
2767 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
2770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2776 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2781 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
2783 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2791 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2792 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
2793 PyObject
* _resultobj
;
2796 wxTreeItemId
* _arg1
;
2801 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
2804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2810 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2815 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
2816 _resultobj
= Py_BuildValue("i",_result
);
2820 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2821 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2822 PyObject
* _resultobj
;
2825 wxTreeItemId
* _arg1
;
2830 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
2833 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2839 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2844 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
2845 _resultobj
= Py_BuildValue("i",_result
);
2849 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2850 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
2851 PyObject
* _resultobj
;
2852 wxTreeItemData
* _result
;
2854 wxTreeItemId
* _arg1
;
2860 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
2863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2869 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2874 _result
= (wxTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
2875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2876 _resultobj
= Py_BuildValue("s",_ptemp
);
2880 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2881 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2882 PyObject
* _resultobj
;
2884 wxTreeItemId
* _arg1
;
2888 PyObject
* _obj2
= 0;
2891 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
2894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
2900 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
2906 if (!PyString_Check(_obj2
)) {
2907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2910 _arg2
= new wxString(PyString_AsString(_obj2
));
2912 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
2914 _resultobj
= Py_None
;
2922 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
2923 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2924 PyObject
* _resultobj
;
2926 wxTreeItemId
* _arg1
;
2932 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
2935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
2941 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
2946 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
2948 _resultobj
= Py_None
;
2952 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
2953 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2954 PyObject
* _resultobj
;
2956 wxTreeItemId
* _arg1
;
2962 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
2965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
2971 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
2976 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
2978 _resultobj
= Py_None
;
2982 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2983 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2984 PyObject
* _resultobj
;
2986 wxTreeItemId
* _arg1
;
2987 wxTreeItemData
* _arg2
;
2993 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
2996 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3002 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3008 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemData_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
3013 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3015 _resultobj
= Py_None
;
3019 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3020 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3021 PyObject
* _resultobj
;
3023 wxTreeItemId
* _arg1
;
3030 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3039 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3044 _arg2
= (bool ) tempbool2
;
3045 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3047 _resultobj
= Py_None
;
3051 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3052 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3053 PyObject
* _resultobj
;
3056 wxTreeItemId
* _arg1
;
3061 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3070 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3075 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3076 _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3081 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3082 PyObject
* _resultobj
;
3085 wxTreeItemId
* _arg1
;
3090 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3099 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3104 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3105 _resultobj
= Py_BuildValue("i",_result
);
3109 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3110 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3111 PyObject
* _resultobj
;
3114 wxTreeItemId
* _arg1
;
3119 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3128 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3133 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3134 _resultobj
= Py_BuildValue("i",_result
);
3138 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3139 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3140 PyObject
* _resultobj
;
3143 wxTreeItemId
* _arg1
;
3148 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3157 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3162 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3163 _resultobj
= Py_BuildValue("i",_result
);
3167 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3168 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3169 PyObject
* _resultobj
;
3170 wxTreeItemId
* _result
;
3176 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3184 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3185 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3186 _resultobj
= Py_BuildValue("s",_ptemp
);
3190 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3191 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3192 PyObject
* _resultobj
;
3193 wxTreeItemId
* _result
;
3199 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3202 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3207 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3208 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3213 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3214 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3215 PyObject
* _resultobj
;
3216 wxTreeItemId
* _result
;
3218 wxTreeItemId
* _arg1
;
3224 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3233 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3238 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3239 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3240 _resultobj
= Py_BuildValue("s",_ptemp
);
3244 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3245 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3246 PyObject
* _resultobj
;
3247 wxTreeItemId
* _result
;
3249 wxTreeItemId
* _arg1
;
3254 PyObject
* _obj2
= 0;
3258 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3267 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3273 temp
= (long) PyInt_AsLong(_obj2
);
3276 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3277 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3278 _resultobj
= Py_BuildValue("s",_ptemp
);
3281 o
= PyInt_FromLong((long) (*_arg2
));
3282 _resultobj
= t_output_helper(_resultobj
, o
);
3287 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
3289 PyObject
* _resultobj
;
3290 wxTreeItemId
* _result
;
3292 wxTreeItemId
* _arg1
;
3297 PyObject
* _obj2
= 0;
3301 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
3304 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3310 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3316 temp
= (long) PyInt_AsLong(_obj2
);
3319 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
3320 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3321 _resultobj
= Py_BuildValue("s",_ptemp
);
3324 o
= PyInt_FromLong((long) (*_arg2
));
3325 _resultobj
= t_output_helper(_resultobj
, o
);
3330 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3331 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
3332 PyObject
* _resultobj
;
3333 wxTreeItemId
* _result
;
3335 wxTreeItemId
* _arg1
;
3341 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
3344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3350 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3355 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
3356 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3357 _resultobj
= Py_BuildValue("s",_ptemp
);
3361 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
3362 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
3363 PyObject
* _resultobj
;
3364 wxTreeItemId
* _result
;
3366 wxTreeItemId
* _arg1
;
3372 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
3375 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
3381 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
3386 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
3387 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3388 _resultobj
= Py_BuildValue("s",_ptemp
);
3392 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
3393 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
3394 PyObject
* _resultobj
;
3395 wxTreeItemId
* _result
;
3401 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
3404 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
3409 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
3410 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3411 _resultobj
= Py_BuildValue("s",_ptemp
);
3415 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3416 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
3417 PyObject
* _resultobj
;
3418 wxTreeItemId
* _result
;
3420 wxTreeItemId
* _arg1
;
3426 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
3429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3435 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3440 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
3441 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3442 _resultobj
= Py_BuildValue("s",_ptemp
);
3446 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3447 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
3448 PyObject
* _resultobj
;
3449 wxTreeItemId
* _result
;
3451 wxTreeItemId
* _arg1
;
3457 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
3460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3466 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3471 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
3472 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3473 _resultobj
= Py_BuildValue("s",_ptemp
);
3477 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3478 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
3479 PyObject
* _resultobj
;
3480 wxTreeItemId
* _result
;
3485 wxTreeItemData
* _arg4
= NULL
;
3487 PyObject
* _obj1
= 0;
3492 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
3495 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3501 if (!PyString_Check(_obj1
)) {
3502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3505 _arg1
= new wxString(PyString_AsString(_obj1
));
3508 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxTreeItemData_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3513 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
3514 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3515 _resultobj
= Py_BuildValue("s",_ptemp
);
3523 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3524 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
3525 PyObject
* _resultobj
;
3526 wxTreeItemId
* _result
;
3528 wxTreeItemId
* _arg1
;
3532 wxTreeItemData
* _arg5
= NULL
;
3535 PyObject
* _obj2
= 0;
3540 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3549 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3555 if (!PyString_Check(_obj2
)) {
3556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3559 _arg2
= new wxString(PyString_AsString(_obj2
));
3562 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3567 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3568 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3578 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
3579 PyObject
* _resultobj
;
3580 wxTreeItemId
* _result
;
3582 wxTreeItemId
* _arg1
;
3583 wxTreeItemId
* _arg2
;
3587 wxTreeItemData
* _arg6
= NULL
;
3591 PyObject
* _obj3
= 0;
3596 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
3599 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3605 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3611 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3617 if (!PyString_Check(_obj3
)) {
3618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3621 _arg3
= new wxString(PyString_AsString(_obj3
));
3624 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3629 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
3630 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3631 _resultobj
= Py_BuildValue("s",_ptemp
);
3639 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3640 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
3641 PyObject
* _resultobj
;
3642 wxTreeItemId
* _result
;
3644 wxTreeItemId
* _arg1
;
3648 wxTreeItemData
* _arg5
= NULL
;
3651 PyObject
* _obj2
= 0;
3656 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3665 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3671 if (!PyString_Check(_obj2
)) {
3672 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3675 _arg2
= new wxString(PyString_AsString(_obj2
));
3678 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3683 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3684 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3685 _resultobj
= Py_BuildValue("s",_ptemp
);
3693 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3694 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
3695 PyObject
* _resultobj
;
3697 wxTreeItemId
* _arg1
;
3702 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
3705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3711 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3716 wxTreeCtrl_Delete(_arg0
,*_arg1
);
3718 _resultobj
= Py_None
;
3722 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
3723 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
3724 PyObject
* _resultobj
;
3726 wxTreeItemId
* _arg1
;
3731 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
3734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
3740 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
3745 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
3747 _resultobj
= Py_None
;
3751 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3752 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
3753 PyObject
* _resultobj
;
3758 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
3761 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3766 wxTreeCtrl_DeleteAllItems(_arg0
);
3768 _resultobj
= Py_None
;
3772 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3773 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
3774 PyObject
* _resultobj
;
3776 wxTreeItemId
* _arg1
;
3781 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
3784 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3790 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3795 wxTreeCtrl_Expand(_arg0
,*_arg1
);
3797 _resultobj
= Py_None
;
3801 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3802 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
3803 PyObject
* _resultobj
;
3805 wxTreeItemId
* _arg1
;
3810 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
3813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3819 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3824 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
3826 _resultobj
= Py_None
;
3830 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3831 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
3832 PyObject
* _resultobj
;
3834 wxTreeItemId
* _arg1
;
3839 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
3842 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3848 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3853 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
3855 _resultobj
= Py_None
;
3859 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3860 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
3861 PyObject
* _resultobj
;
3863 wxTreeItemId
* _arg1
;
3868 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
3871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3877 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3882 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
3884 _resultobj
= Py_None
;
3888 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
3889 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
3890 PyObject
* _resultobj
;
3895 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
3898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
3903 wxTreeCtrl_Unselect(_arg0
);
3905 _resultobj
= Py_None
;
3909 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
3910 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
3911 PyObject
* _resultobj
;
3913 wxTreeItemId
* _arg1
;
3918 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
3921 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
3927 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
3932 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
3934 _resultobj
= Py_None
;
3938 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3939 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
3940 PyObject
* _resultobj
;
3942 wxTreeItemId
* _arg1
;
3947 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
3950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
3956 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
3961 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
3963 _resultobj
= Py_None
;
3967 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
3968 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
3969 PyObject
* _resultobj
;
3971 wxTreeItemId
* _arg1
;
3976 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
3979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
3985 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
3990 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
3992 _resultobj
= Py_None
;
3996 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3997 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
3998 PyObject
* _resultobj
;
3999 wxTextCtrl
* _result
;
4001 wxTreeItemId
* _arg1
;
4007 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4016 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4021 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4023 _resultobj
= Py_BuildValue("s",_ptemp
);
4027 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4028 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4029 PyObject
* _resultobj
;
4030 wxTextCtrl
* _result
;
4036 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4044 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4046 _resultobj
= Py_BuildValue("s",_ptemp
);
4050 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4051 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4052 PyObject
* _resultobj
;
4054 wxTreeItemId
* _arg1
;
4061 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4070 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4075 _arg2
= (bool ) tempbool2
;
4076 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4078 _resultobj
= Py_None
;
4082 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4083 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4084 PyObject
* _resultobj
;
4086 wxTreeItemId
* _arg1
;
4093 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4096 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4102 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4107 _arg2
= (bool ) tempbool2
;
4108 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4110 _resultobj
= Py_None
;
4114 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4115 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4116 PyObject
* _resultobj
;
4119 wxTreeItemId
* _arg1
;
4124 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4133 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4138 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4139 _resultobj
= Py_BuildValue("i",_result
);
4143 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4144 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4145 PyObject
* _resultobj
;
4146 wxTreeItemId
* _result
;
4154 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4163 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4168 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4169 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4170 _resultobj
= Py_BuildValue("s",_ptemp
);
4174 static PyMethodDef controls2cMethods
[] = {
4175 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4176 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4177 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4178 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
4179 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
4180 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4181 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4182 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4183 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4184 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4185 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4186 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4187 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4188 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4189 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4190 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4191 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4192 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4193 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4194 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4195 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4196 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4197 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4198 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4199 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4200 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4201 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4202 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4203 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4204 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4205 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4206 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4207 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4208 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4209 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
4210 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
4211 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
4212 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
4213 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
4214 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
4215 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
4216 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
4217 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
4218 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
4219 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
4220 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
4221 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
4222 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
4223 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
4224 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
4225 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
4226 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
4227 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
4228 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
4229 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
4230 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
4231 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
4232 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
4233 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
4234 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData
, 1 },
4235 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
4236 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
4237 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
4238 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
4239 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
4240 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
4241 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
4242 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
4243 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
4244 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
4245 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
4246 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
4247 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
4248 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
4249 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
4250 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
4251 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
4252 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
4253 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
4254 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
4255 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
4256 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
4257 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
4258 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
4259 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
4260 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
4261 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
4262 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
4263 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
4264 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
4265 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
4266 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
4267 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
4268 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
4269 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
4270 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
4271 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
4272 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
4273 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
4274 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
4275 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
4276 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
4277 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
4278 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
4279 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
4280 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
4281 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
4282 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
4283 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
4284 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
4285 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
4286 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
4287 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
4288 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
4289 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
4290 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
4291 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
4292 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
4293 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
4294 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
4295 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
4296 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
4297 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
4298 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
4299 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
4300 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
4301 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
4302 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
4303 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
4304 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
4305 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
4306 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
4307 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
4308 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
4309 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
4310 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
4311 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
4312 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
4313 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
4314 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
4315 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
4316 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
4317 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
4318 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
4319 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
4320 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
4321 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
4324 static PyObject
*SWIG_globals
;
4328 SWIGEXPORT(void,initcontrols2c
)() {
4330 SWIG_globals
= SWIG_newvarlink();
4331 m
= Py_InitModule("controls2c", controls2cMethods
);
4332 d
= PyModule_GetDict(m
);
4333 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
4334 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
4335 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
4336 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
4337 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
4338 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
4339 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
4340 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
4341 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
4342 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
4343 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
4344 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
4345 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
4346 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
4347 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
4348 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
4349 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
4350 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
4351 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
4352 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
4353 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
4354 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
4355 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
4356 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
4357 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
4358 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
4359 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
4360 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
4361 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
4362 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
4363 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
4364 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
4365 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
4366 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
4367 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
4368 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
4369 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
4370 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
4371 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
4372 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
4373 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
4374 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
4376 * These are the pointer type-equivalency mappings.
4377 * (Used by the SWIG pointer type-checker).
4379 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4380 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4381 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4382 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4383 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4384 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4385 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4386 SWIG_RegisterMapping("_signed_long","_long",0);
4387 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4388 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4389 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4390 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4391 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4392 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4393 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4394 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4395 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4396 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4397 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4398 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
4399 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4400 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4401 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4402 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4403 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4404 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4405 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4406 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4407 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4408 SWIG_RegisterMapping("_long","_wxDash",0);
4409 SWIG_RegisterMapping("_long","_unsigned_long",0);
4410 SWIG_RegisterMapping("_long","_signed_long",0);
4411 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4412 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4413 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4414 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4415 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4416 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4417 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
4418 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4419 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4420 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4421 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4422 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4423 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4424 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4425 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4426 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4427 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4428 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4429 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4430 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4431 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4432 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4433 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4434 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4435 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4436 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4437 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4438 SWIG_RegisterMapping("_uint","_int",0);
4439 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4440 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4441 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4442 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4443 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4444 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4445 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4446 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4447 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4448 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4449 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4450 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4451 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4452 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4453 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4454 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4455 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4456 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
4457 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4458 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4459 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4460 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4461 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4462 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4463 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4464 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4465 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
4466 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4467 SWIG_RegisterMapping("_EBool","_signed_int",0);
4468 SWIG_RegisterMapping("_EBool","_int",0);
4469 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4470 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4471 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4472 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4473 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4474 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4475 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4476 SWIG_RegisterMapping("_unsigned_long","_long",0);
4477 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4478 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4479 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
4480 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4481 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4482 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4483 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4484 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4485 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4486 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4487 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4488 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4489 SWIG_RegisterMapping("_signed_int","_EBool",0);
4490 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4491 SWIG_RegisterMapping("_signed_int","_int",0);
4492 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4493 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4494 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4495 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4496 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4497 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4498 SWIG_RegisterMapping("_WXTYPE","_short",0);
4499 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4500 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4501 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4502 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4503 SWIG_RegisterMapping("_unsigned_short","_short",0);
4504 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4505 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4506 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4507 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4508 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4509 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4510 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4511 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4512 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4513 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4514 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4515 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4516 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4517 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4518 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4519 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4520 SWIG_RegisterMapping("_signed_short","_short",0);
4521 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4522 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4523 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4524 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4525 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4526 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4527 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4528 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4529 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4530 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
4531 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4532 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4533 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4534 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4535 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4536 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4537 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4538 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4539 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4540 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4541 SWIG_RegisterMapping("_unsigned_int","_int",0);
4542 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4543 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4544 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4545 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4546 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4547 SWIG_RegisterMapping("_short","_WXTYPE",0);
4548 SWIG_RegisterMapping("_short","_unsigned_short",0);
4549 SWIG_RegisterMapping("_short","_signed_short",0);
4550 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4551 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4552 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4553 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4554 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4555 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4556 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4557 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4558 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4559 SWIG_RegisterMapping("_wxWindowID","_int",0);
4560 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4561 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4562 SWIG_RegisterMapping("_int","_EBool",0);
4563 SWIG_RegisterMapping("_int","_uint",0);
4564 SWIG_RegisterMapping("_int","_wxWindowID",0);
4565 SWIG_RegisterMapping("_int","_unsigned_int",0);
4566 SWIG_RegisterMapping("_int","_signed_int",0);
4567 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4568 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4569 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4570 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4571 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4572 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4573 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4574 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4575 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4576 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4577 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4578 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4579 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4580 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4581 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4582 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4583 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4584 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4585 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4586 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4587 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4588 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4589 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4590 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4591 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4592 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4593 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4594 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4595 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4596 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4597 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4598 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4599 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4600 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4601 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4602 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4603 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4604 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4605 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4606 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4607 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4608 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4609 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4610 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4611 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4612 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4613 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4614 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4615 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4616 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4617 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4618 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4619 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4620 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4621 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4622 SWIG_RegisterMapping("_wxDash","_long",0);
4623 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4624 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4625 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4626 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4627 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4628 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4629 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4630 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4631 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4632 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);