2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 extern wxValidator wxPyDefaultValidator
;
120 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
121 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
) {
122 PyObject
* _resultobj
;
129 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_mask_set",&_argc0
,&_arg1
))
132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
137 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
138 _resultobj
= Py_BuildValue("l",_result
);
142 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
143 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
144 PyObject
* _resultobj
;
150 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
158 _result
= (long )wxListItem_m_mask_get(_arg0
);
159 _resultobj
= Py_BuildValue("l",_result
);
163 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
164 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
) {
165 PyObject
* _resultobj
;
172 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_itemId_set",&_argc0
,&_arg1
))
175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
180 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
181 _resultobj
= Py_BuildValue("l",_result
);
185 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
186 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
187 PyObject
* _resultobj
;
193 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
201 _result
= (long )wxListItem_m_itemId_get(_arg0
);
202 _resultobj
= Py_BuildValue("l",_result
);
206 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
207 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
) {
208 PyObject
* _resultobj
;
215 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_col_set",&_argc0
,&_arg1
))
218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
223 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
224 _resultobj
= Py_BuildValue("i",_result
);
228 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
229 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
230 PyObject
* _resultobj
;
236 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
244 _result
= (int )wxListItem_m_col_get(_arg0
);
245 _resultobj
= Py_BuildValue("i",_result
);
249 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
250 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
258 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_state_set",&_argc0
,&_arg1
))
261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
266 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
267 _resultobj
= Py_BuildValue("l",_result
);
271 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
272 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
273 PyObject
* _resultobj
;
279 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
287 _result
= (long )wxListItem_m_state_get(_arg0
);
288 _resultobj
= Py_BuildValue("l",_result
);
292 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
293 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
) {
294 PyObject
* _resultobj
;
301 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_stateMask_set",&_argc0
,&_arg1
))
304 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
309 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
310 _resultobj
= Py_BuildValue("l",_result
);
314 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
315 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
316 PyObject
* _resultobj
;
322 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
330 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
331 _resultobj
= Py_BuildValue("l",_result
);
335 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
336 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
) {
337 PyObject
* _resultobj
;
342 PyObject
* _obj1
= 0;
345 if(!PyArg_ParseTuple(args
,"sO:wxListItem_m_text_set",&_argc0
,&_obj1
))
348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
354 if (!PyString_Check(_obj1
)) {
355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
358 _arg1
= new wxString(PyString_AsString(_obj1
));
360 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
362 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
371 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
372 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
373 PyObject
* _resultobj
;
379 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
387 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
389 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
394 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
395 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
) {
396 PyObject
* _resultobj
;
403 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_image_set",&_argc0
,&_arg1
))
406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
411 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
412 _resultobj
= Py_BuildValue("i",_result
);
416 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
417 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
418 PyObject
* _resultobj
;
424 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
427 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
432 _result
= (int )wxListItem_m_image_get(_arg0
);
433 _resultobj
= Py_BuildValue("i",_result
);
437 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
438 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
) {
439 PyObject
* _resultobj
;
446 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_data_set",&_argc0
,&_arg1
))
449 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
454 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
455 _resultobj
= Py_BuildValue("l",_result
);
459 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
460 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
461 PyObject
* _resultobj
;
467 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
470 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
475 _result
= (long )wxListItem_m_data_get(_arg0
);
476 _resultobj
= Py_BuildValue("l",_result
);
480 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
481 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
) {
482 PyObject
* _resultobj
;
489 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_format_set",&_argc0
,&_arg1
))
492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
497 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
498 _resultobj
= Py_BuildValue("i",_result
);
502 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
503 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
504 PyObject
* _resultobj
;
510 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
518 _result
= (int )wxListItem_m_format_get(_arg0
);
519 _resultobj
= Py_BuildValue("i",_result
);
523 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
524 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
) {
525 PyObject
* _resultobj
;
532 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_width_set",&_argc0
,&_arg1
))
535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
540 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
541 _resultobj
= Py_BuildValue("i",_result
);
545 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
546 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
547 PyObject
* _resultobj
;
553 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
561 _result
= (int )wxListItem_m_width_get(_arg0
);
562 _resultobj
= Py_BuildValue("i",_result
);
566 #define new_wxListItem() (new wxListItem())
567 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
568 PyObject
* _resultobj
;
569 wxListItem
* _result
;
573 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
575 _result
= (wxListItem
*)new_wxListItem();
576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
577 _resultobj
= Py_BuildValue("s",_ptemp
);
581 #define delete_wxListItem(_swigobj) (delete _swigobj)
582 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
583 PyObject
* _resultobj
;
588 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
596 delete_wxListItem(_arg0
);
598 _resultobj
= Py_None
;
602 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
604 wxCommandEvent
*dest
;
605 src
= (wxListEvent
*) ptr
;
606 dest
= (wxCommandEvent
*) src
;
607 return (void *) dest
;
610 static void *SwigwxListEventTowxEvent(void *ptr
) {
613 src
= (wxListEvent
*) ptr
;
614 dest
= (wxEvent
*) src
;
615 return (void *) dest
;
618 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
619 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
) {
620 PyObject
* _resultobj
;
627 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_code_set",&_argc0
,&_arg1
))
630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
635 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
636 _resultobj
= Py_BuildValue("i",_result
);
640 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
641 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
642 PyObject
* _resultobj
;
648 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
651 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
656 _result
= (int )wxListEvent_m_code_get(_arg0
);
657 _resultobj
= Py_BuildValue("i",_result
);
661 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
662 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
) {
663 PyObject
* _resultobj
;
670 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_itemIndex_set",&_argc0
,&_arg1
))
673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
678 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
679 _resultobj
= Py_BuildValue("l",_result
);
683 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
684 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
685 PyObject
* _resultobj
;
691 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
699 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
700 _resultobj
= Py_BuildValue("l",_result
);
704 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
705 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
) {
706 PyObject
* _resultobj
;
713 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_oldItemIndex_set",&_argc0
,&_arg1
))
716 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
721 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
722 _resultobj
= Py_BuildValue("l",_result
);
726 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
727 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
728 PyObject
* _resultobj
;
734 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
737 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
742 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
743 _resultobj
= Py_BuildValue("l",_result
);
747 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
748 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
749 PyObject
* _resultobj
;
756 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_col_set",&_argc0
,&_arg1
))
759 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
764 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
765 _resultobj
= Py_BuildValue("i",_result
);
769 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
770 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
771 PyObject
* _resultobj
;
777 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
785 _result
= (int )wxListEvent_m_col_get(_arg0
);
786 _resultobj
= Py_BuildValue("i",_result
);
790 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
791 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
) {
792 PyObject
* _resultobj
;
800 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_cancelled_set",&_argc0
,&tempbool1
))
803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
808 _arg1
= (bool ) tempbool1
;
809 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
810 _resultobj
= Py_BuildValue("i",_result
);
814 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
815 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
816 PyObject
* _resultobj
;
822 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
830 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
831 _resultobj
= Py_BuildValue("i",_result
);
835 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
836 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
) {
837 PyObject
* _resultobj
;
846 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_pointDrag_set",&_argc0
,&_argc1
))
849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
855 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
860 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
862 _resultobj
= Py_BuildValue("s",_ptemp
);
866 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
867 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
868 PyObject
* _resultobj
;
875 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
883 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
885 _resultobj
= Py_BuildValue("s",_ptemp
);
889 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
890 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
) {
891 PyObject
* _resultobj
;
892 wxListItem
* _result
;
900 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_item_set",&_argc0
,&_argc1
))
903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
909 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
914 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
916 _resultobj
= Py_BuildValue("s",_ptemp
);
920 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
921 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
922 PyObject
* _resultobj
;
923 wxListItem
* _result
;
929 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
937 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
939 _resultobj
= Py_BuildValue("s",_ptemp
);
943 static void *SwigwxListCtrlTowxControl(void *ptr
) {
946 src
= (wxListCtrl
*) ptr
;
947 dest
= (wxControl
*) src
;
948 return (void *) dest
;
951 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
954 src
= (wxListCtrl
*) ptr
;
955 dest
= (wxWindow
*) src
;
956 return (void *) dest
;
959 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
962 src
= (wxListCtrl
*) ptr
;
963 dest
= (wxEvtHandler
*) src
;
964 return (void *) dest
;
967 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
968 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
969 PyObject
* _resultobj
;
970 wxListCtrl
* _result
;
973 wxPoint
* _arg2
= &wxPyDefaultPosition
;
974 wxSize
* _arg3
= &wxPyDefaultSize
;
975 long _arg4
= (wxLC_ICON
);
976 wxValidator
* _arg5
= &wxPyDefaultValidator
;
977 char * _arg6
= "listCtrl";
985 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
994 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1000 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1006 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1011 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1013 _resultobj
= Py_BuildValue("s",_ptemp
);
1017 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1018 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1022 int _arg1
= (wxLIST_ALIGN_DEFAULT
);
1026 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
1029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1034 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1035 _resultobj
= Py_BuildValue("i",_result
);
1039 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1040 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
1041 PyObject
* _resultobj
;
1048 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
1051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1056 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1057 _resultobj
= Py_BuildValue("i",_result
);
1061 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1062 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
1063 PyObject
* _resultobj
;
1069 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
1072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1077 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1078 _resultobj
= Py_BuildValue("i",_result
);
1082 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1083 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
1084 PyObject
* _resultobj
;
1091 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
1094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1099 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1100 _resultobj
= Py_BuildValue("i",_result
);
1104 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1105 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
1106 PyObject
* _resultobj
;
1112 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
1115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1120 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1121 _resultobj
= Py_BuildValue("i",_result
);
1125 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1126 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
1127 PyObject
* _resultobj
;
1132 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
1135 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1140 wxListCtrl_ClearAll(_arg0
);
1142 _resultobj
= Py_None
;
1146 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1147 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
1148 PyObject
* _resultobj
;
1149 wxTextCtrl
* _result
;
1156 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EditLabel",&_argc0
,&_arg1
))
1159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1164 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1166 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1171 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
1172 PyObject
* _resultobj
;
1180 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_EndEditLabel",&_argc0
,&tempbool1
))
1183 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1188 _arg1
= (bool ) tempbool1
;
1189 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1190 _resultobj
= Py_BuildValue("i",_result
);
1194 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1195 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
1196 PyObject
* _resultobj
;
1197 wxTextCtrl
* _result
;
1203 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetEditControl",&_argc0
))
1206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1211 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1213 _resultobj
= Py_BuildValue("s",_ptemp
);
1217 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1218 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1219 PyObject
* _resultobj
;
1226 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
1229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1234 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1235 _resultobj
= Py_BuildValue("i",_result
);
1239 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1240 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1241 PyObject
* _resultobj
;
1248 PyObject
* _obj2
= 0;
1252 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
1255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1261 if (!PyString_Check(_obj2
)) {
1262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1265 _arg2
= new wxString(PyString_AsString(_obj2
));
1267 _arg3
= (bool ) tempbool3
;
1268 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1269 _resultobj
= Py_BuildValue("l",_result
);
1277 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1278 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1279 PyObject
* _resultobj
;
1287 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
1290 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1295 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1296 _resultobj
= Py_BuildValue("l",_result
);
1300 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1301 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1302 PyObject
* _resultobj
;
1312 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
1315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1321 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1326 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1327 _resultobj
= Py_BuildValue("l",_result
);
1331 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1332 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1333 PyObject
* _resultobj
;
1342 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
1345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1351 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1356 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1357 _resultobj
= Py_BuildValue("i",_result
);
1361 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1362 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1363 PyObject
* _resultobj
;
1370 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
1373 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1378 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1379 _resultobj
= Py_BuildValue("i",_result
);
1383 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1384 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1385 PyObject
* _resultobj
;
1391 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
1394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1399 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1400 _resultobj
= Py_BuildValue("i",_result
);
1404 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1405 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1406 PyObject
* _resultobj
;
1407 wxImageList
* _result
;
1414 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1422 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1424 _resultobj
= Py_BuildValue("s",_ptemp
);
1428 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1429 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1430 PyObject
* _resultobj
;
1437 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1445 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1446 _resultobj
= Py_BuildValue("l",_result
);
1450 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
) {
1451 wxListItem
* info
= new wxListItem
;
1452 self
->GetItem(*info
);
1455 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1456 PyObject
* _resultobj
;
1457 wxListItem
* _result
;
1463 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItem",&_argc0
))
1466 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1471 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
);
1472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1477 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1478 wxPoint
* pos
= new wxPoint
;
1479 self
->GetItemPosition(item
, *pos
);
1482 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1483 PyObject
* _resultobj
;
1491 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1499 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1506 wxRect
* rect
= new wxRect
;
1507 self
->GetItemRect(item
, *rect
, code
);
1510 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1511 PyObject
* _resultobj
;
1515 int _arg2
= (wxLIST_RECT_BOUNDS
);
1520 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1528 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1530 _resultobj
= Py_BuildValue("s",_ptemp
);
1534 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1535 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1536 PyObject
* _resultobj
;
1544 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1552 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1553 _resultobj
= Py_BuildValue("i",_result
);
1557 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1558 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1559 PyObject
* _resultobj
;
1565 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1573 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1574 _resultobj
= Py_BuildValue("i",_result
);
1578 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1579 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1580 PyObject
* _resultobj
;
1588 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1596 _arg1
= (bool ) tempbool1
;
1597 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1598 _resultobj
= Py_BuildValue("i",_result
);
1602 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1603 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1604 PyObject
* _resultobj
;
1611 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1614 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1619 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1621 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1629 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1630 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1631 PyObject
* _resultobj
;
1635 int _arg2
= (wxLIST_NEXT_ALL
);
1636 int _arg3
= (wxLIST_STATE_DONTCARE
);
1640 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1648 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1649 _resultobj
= Py_BuildValue("l",_result
);
1653 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1654 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1655 PyObject
* _resultobj
;
1661 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1669 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1670 _resultobj
= Py_BuildValue("i",_result
);
1674 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1675 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
) {
1676 PyObject
* _resultobj
;
1683 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTextColour",&_argc0
))
1686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
1691 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
1692 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1693 _resultobj
= Py_BuildValue("s",_ptemp
);
1697 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1698 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
) {
1699 PyObject
* _resultobj
;
1706 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetTextColour",&_argc0
,&_argc1
))
1709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
1715 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
1720 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
1722 _resultobj
= Py_None
;
1726 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1727 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1728 PyObject
* _resultobj
;
1734 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1737 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1742 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1743 _resultobj
= Py_BuildValue("l",_result
);
1747 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1748 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1749 PyObject
* _resultobj
;
1762 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1765 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1771 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1776 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1777 _resultobj
= Py_BuildValue("l",_result
);
1780 o
= PyInt_FromLong((long) (*_arg2
));
1781 _resultobj
= t_output_helper(_resultobj
, o
);
1786 #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1787 static PyObject
*_wrap_wxListCtrl_InsertColumnWithInfo(PyObject
*self
, PyObject
*args
) {
1788 PyObject
* _resultobj
;
1797 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0
,&_arg1
,&_argc2
))
1800 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1806 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1811 _result
= (long )wxListCtrl_InsertColumnWithInfo(_arg0
,_arg1
,*_arg2
);
1812 _resultobj
= Py_BuildValue("l",_result
);
1816 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1817 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1818 PyObject
* _resultobj
;
1823 int _arg3
= (wxLIST_FORMAT_LEFT
);
1826 PyObject
* _obj2
= 0;
1829 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1838 if (!PyString_Check(_obj2
)) {
1839 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1842 _arg2
= new wxString(PyString_AsString(_obj2
));
1844 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1845 _resultobj
= Py_BuildValue("l",_result
);
1853 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1854 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
1855 PyObject
* _resultobj
;
1863 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
1866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1872 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1877 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
1878 _resultobj
= Py_BuildValue("l",_result
);
1882 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1883 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
1884 PyObject
* _resultobj
;
1890 PyObject
* _obj2
= 0;
1893 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
1896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1902 if (!PyString_Check(_obj2
)) {
1903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1906 _arg2
= new wxString(PyString_AsString(_obj2
));
1908 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
1909 _resultobj
= Py_BuildValue("l",_result
);
1917 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1918 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
1919 PyObject
* _resultobj
;
1927 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
1930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1935 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
1936 _resultobj
= Py_BuildValue("l",_result
);
1940 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1941 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
1942 PyObject
* _resultobj
;
1949 PyObject
* _obj2
= 0;
1952 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
1955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1961 if (!PyString_Check(_obj2
)) {
1962 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1965 _arg2
= new wxString(PyString_AsString(_obj2
));
1967 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1968 _resultobj
= Py_BuildValue("l",_result
);
1976 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1977 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
1978 PyObject
* _resultobj
;
1986 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
1989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1994 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
1995 _resultobj
= Py_BuildValue("i",_result
);
1999 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2000 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2001 PyObject
* _resultobj
;
2008 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
2011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2017 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2022 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2024 _resultobj
= Py_None
;
2028 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2029 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2030 PyObject
* _resultobj
;
2039 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
2042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2048 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2053 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2054 _resultobj
= Py_BuildValue("i",_result
);
2058 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2059 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2060 PyObject
* _resultobj
;
2068 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2076 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2077 _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2082 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2083 PyObject
* _resultobj
;
2085 wxImageList
* _arg1
;
2091 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2100 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2105 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2107 _resultobj
= Py_None
;
2111 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2112 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2113 PyObject
* _resultobj
;
2121 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2130 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2135 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2136 _resultobj
= Py_BuildValue("i",_result
);
2140 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2141 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2142 PyObject
* _resultobj
;
2150 PyObject
* _obj3
= 0;
2153 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2162 if (!PyString_Check(_obj3
)) {
2163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2166 _arg3
= new wxString(PyString_AsString(_obj3
));
2168 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2169 _resultobj
= Py_BuildValue("l",_result
);
2177 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2178 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2179 PyObject
* _resultobj
;
2187 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2190 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2195 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2196 _resultobj
= Py_BuildValue("i",_result
);
2200 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2201 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2202 PyObject
* _resultobj
;
2211 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2219 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2220 _resultobj
= Py_BuildValue("i",_result
);
2224 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2225 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2226 PyObject
* _resultobj
;
2235 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2244 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2249 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2250 _resultobj
= Py_BuildValue("i",_result
);
2254 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2255 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2256 PyObject
* _resultobj
;
2265 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2273 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2274 _resultobj
= Py_BuildValue("i",_result
);
2278 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2279 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2280 PyObject
* _resultobj
;
2285 PyObject
* _obj2
= 0;
2288 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2291 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2297 if (!PyString_Check(_obj2
)) {
2298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2301 _arg2
= new wxString(PyString_AsString(_obj2
));
2303 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2305 _resultobj
= Py_None
;
2313 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2314 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2315 PyObject
* _resultobj
;
2323 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2331 _arg2
= (bool ) tempbool2
;
2332 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2334 _resultobj
= Py_None
;
2338 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2339 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2340 PyObject
* _resultobj
;
2346 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2354 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2356 _resultobj
= Py_None
;
2360 #define new_wxTreeItemId() (new wxTreeItemId())
2361 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2362 PyObject
* _resultobj
;
2363 wxTreeItemId
* _result
;
2367 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2369 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2371 _resultobj
= Py_BuildValue("s",_ptemp
);
2375 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2376 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2377 PyObject
* _resultobj
;
2378 wxTreeItemId
* _arg0
;
2382 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2390 delete_wxTreeItemId(_arg0
);
2392 _resultobj
= Py_None
;
2396 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2397 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2398 PyObject
* _resultobj
;
2400 wxTreeItemId
* _arg0
;
2404 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2412 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2413 _resultobj
= Py_BuildValue("i",_result
);
2417 #define new_wxTreeItemData() (new wxTreeItemData())
2418 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2419 PyObject
* _resultobj
;
2420 wxTreeItemData
* _result
;
2424 if(!PyArg_ParseTuple(args
,":new_wxTreeItemData"))
2426 _result
= (wxTreeItemData
*)new_wxTreeItemData();
2427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2428 _resultobj
= Py_BuildValue("s",_ptemp
);
2432 #define delete_wxTreeItemData(_swigobj) (delete _swigobj)
2433 static PyObject
*_wrap_delete_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2434 PyObject
* _resultobj
;
2435 wxTreeItemData
* _arg0
;
2439 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemData",&_argc0
))
2442 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
2447 delete_wxTreeItemData(_arg0
);
2449 _resultobj
= Py_None
;
2453 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2454 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2455 PyObject
* _resultobj
;
2456 wxTreeItemId
* _result
;
2457 wxTreeItemData
* _arg0
;
2462 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2465 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
2470 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2471 _result
= (wxTreeItemId
*) &_result_ref
;
2472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2473 _resultobj
= Py_BuildValue("s",_ptemp
);
2477 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2478 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2479 PyObject
* _resultobj
;
2480 wxTreeItemData
* _arg0
;
2481 wxTreeItemId
* _arg1
;
2486 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2489 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
2495 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2500 wxTreeItemData_SetId(_arg0
,*_arg1
);
2502 _resultobj
= Py_None
;
2506 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2508 wxCommandEvent
*dest
;
2509 src
= (wxTreeEvent
*) ptr
;
2510 dest
= (wxCommandEvent
*) src
;
2511 return (void *) dest
;
2514 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2517 src
= (wxTreeEvent
*) ptr
;
2518 dest
= (wxEvent
*) src
;
2519 return (void *) dest
;
2522 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2523 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2524 PyObject
* _resultobj
;
2525 wxTreeItemId
* _result
;
2526 wxTreeEvent
* _arg0
;
2531 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2534 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2539 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2540 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2541 _resultobj
= Py_BuildValue("s",_ptemp
);
2545 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2546 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2547 PyObject
* _resultobj
;
2548 wxTreeItemId
* _result
;
2549 wxTreeEvent
* _arg0
;
2554 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2562 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2563 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2564 _resultobj
= Py_BuildValue("s",_ptemp
);
2568 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2569 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2570 PyObject
* _resultobj
;
2572 wxTreeEvent
* _arg0
;
2577 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2585 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2586 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2587 _resultobj
= Py_BuildValue("s",_ptemp
);
2591 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2592 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2593 PyObject
* _resultobj
;
2595 wxTreeEvent
* _arg0
;
2599 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2607 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2608 _resultobj
= Py_BuildValue("i",_result
);
2612 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2613 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2614 PyObject
* _resultobj
;
2615 wxTreeEvent
* _arg0
;
2619 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2627 wxTreeEvent_Veto(_arg0
);
2629 _resultobj
= Py_None
;
2633 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2636 src
= (wxTreeCtrl
*) ptr
;
2637 dest
= (wxControl
*) src
;
2638 return (void *) dest
;
2641 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2644 src
= (wxTreeCtrl
*) ptr
;
2645 dest
= (wxWindow
*) src
;
2646 return (void *) dest
;
2649 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2652 src
= (wxTreeCtrl
*) ptr
;
2653 dest
= (wxEvtHandler
*) src
;
2654 return (void *) dest
;
2657 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2658 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2659 PyObject
* _resultobj
;
2660 wxTreeCtrl
* _result
;
2662 wxWindowID _arg1
= -1;
2663 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2664 wxSize
* _arg3
= &wxPyDefaultSize
;
2665 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2666 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2667 char * _arg6
= "wxTreeCtrl";
2675 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
2678 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2684 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2690 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2696 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2701 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
2703 _resultobj
= Py_BuildValue("s",_ptemp
);
2707 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2708 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
2709 PyObject
* _resultobj
;
2716 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
2719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2724 _result
= new size_t (wxTreeCtrl_GetCount(_arg0
));
2725 SWIG_MakePtr(_ptemp
, (void *) _result
,"_size_t_p");
2726 _resultobj
= Py_BuildValue("s",_ptemp
);
2730 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2731 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
2732 PyObject
* _resultobj
;
2733 unsigned int _result
;
2738 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
2741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2746 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
2747 _resultobj
= Py_BuildValue("i",_result
);
2751 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2752 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
2753 PyObject
* _resultobj
;
2759 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
2762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2767 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
2769 _resultobj
= Py_None
;
2773 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2774 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
2775 PyObject
* _resultobj
;
2776 wxImageList
* _result
;
2782 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
2785 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2790 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
2791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2792 _resultobj
= Py_BuildValue("s",_ptemp
);
2796 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2797 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
2798 PyObject
* _resultobj
;
2799 wxImageList
* _result
;
2805 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
2808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2813 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
2814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2815 _resultobj
= Py_BuildValue("s",_ptemp
);
2819 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2820 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2821 PyObject
* _resultobj
;
2823 wxImageList
* _arg1
;
2828 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
2831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2837 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2842 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
2844 _resultobj
= Py_None
;
2848 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2849 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
2850 PyObject
* _resultobj
;
2852 wxImageList
* _arg1
;
2857 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
2860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2866 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2871 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
2873 _resultobj
= Py_None
;
2877 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2878 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2879 PyObject
* _resultobj
;
2882 wxTreeItemId
* _arg1
;
2887 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
2890 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2896 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2901 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
2903 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2911 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2912 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
2913 PyObject
* _resultobj
;
2916 wxTreeItemId
* _arg1
;
2921 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
2924 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2930 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2935 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
2936 _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2941 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2942 PyObject
* _resultobj
;
2945 wxTreeItemId
* _arg1
;
2950 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
2953 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2959 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2964 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
2965 _resultobj
= Py_BuildValue("i",_result
);
2969 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2970 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
2971 PyObject
* _resultobj
;
2972 wxTreeItemData
* _result
;
2974 wxTreeItemId
* _arg1
;
2980 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
2983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2989 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2994 _result
= (wxTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
2995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2996 _resultobj
= Py_BuildValue("s",_ptemp
);
3000 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3001 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3002 PyObject
* _resultobj
;
3004 wxTreeItemId
* _arg1
;
3008 PyObject
* _obj2
= 0;
3011 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3020 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3026 if (!PyString_Check(_obj2
)) {
3027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3030 _arg2
= new wxString(PyString_AsString(_obj2
));
3032 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3034 _resultobj
= Py_None
;
3042 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3043 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3044 PyObject
* _resultobj
;
3046 wxTreeItemId
* _arg1
;
3052 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3061 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3066 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3068 _resultobj
= Py_None
;
3072 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3073 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3074 PyObject
* _resultobj
;
3076 wxTreeItemId
* _arg1
;
3082 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3085 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3091 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3096 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3098 _resultobj
= Py_None
;
3102 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3103 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3104 PyObject
* _resultobj
;
3106 wxTreeItemId
* _arg1
;
3107 wxTreeItemData
* _arg2
;
3113 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3122 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3128 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemData_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
3133 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3135 _resultobj
= Py_None
;
3139 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3140 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3141 PyObject
* _resultobj
;
3143 wxTreeItemId
* _arg1
;
3150 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3159 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3164 _arg2
= (bool ) tempbool2
;
3165 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3167 _resultobj
= Py_None
;
3171 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3172 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3173 PyObject
* _resultobj
;
3176 wxTreeItemId
* _arg1
;
3181 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3190 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3195 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3196 _resultobj
= Py_BuildValue("i",_result
);
3200 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3201 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3202 PyObject
* _resultobj
;
3205 wxTreeItemId
* _arg1
;
3210 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3219 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3224 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3225 _resultobj
= Py_BuildValue("i",_result
);
3229 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3230 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3231 PyObject
* _resultobj
;
3234 wxTreeItemId
* _arg1
;
3239 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3242 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3248 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3253 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3254 _resultobj
= Py_BuildValue("i",_result
);
3258 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3259 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3260 PyObject
* _resultobj
;
3263 wxTreeItemId
* _arg1
;
3268 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3277 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3282 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3283 _resultobj
= Py_BuildValue("i",_result
);
3287 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3288 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3289 PyObject
* _resultobj
;
3290 wxTreeItemId
* _result
;
3296 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3304 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3305 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3306 _resultobj
= Py_BuildValue("s",_ptemp
);
3310 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3311 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3312 PyObject
* _resultobj
;
3313 wxTreeItemId
* _result
;
3319 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3327 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3328 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3329 _resultobj
= Py_BuildValue("s",_ptemp
);
3333 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3334 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3335 PyObject
* _resultobj
;
3336 wxTreeItemId
* _result
;
3338 wxTreeItemId
* _arg1
;
3344 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3353 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3358 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3359 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3360 _resultobj
= Py_BuildValue("s",_ptemp
);
3364 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3365 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3366 PyObject
* _resultobj
;
3367 wxTreeItemId
* _result
;
3369 wxTreeItemId
* _arg1
;
3374 PyObject
* _obj2
= 0;
3378 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3381 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3387 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3393 temp
= (long) PyInt_AsLong(_obj2
);
3396 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3397 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3398 _resultobj
= Py_BuildValue("s",_ptemp
);
3401 o
= PyInt_FromLong((long) (*_arg2
));
3402 _resultobj
= t_output_helper(_resultobj
, o
);
3407 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3408 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
3409 PyObject
* _resultobj
;
3410 wxTreeItemId
* _result
;
3412 wxTreeItemId
* _arg1
;
3417 PyObject
* _obj2
= 0;
3421 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
3424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3430 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3436 temp
= (long) PyInt_AsLong(_obj2
);
3439 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
3440 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3444 o
= PyInt_FromLong((long) (*_arg2
));
3445 _resultobj
= t_output_helper(_resultobj
, o
);
3450 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3451 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
3452 PyObject
* _resultobj
;
3453 wxTreeItemId
* _result
;
3455 wxTreeItemId
* _arg1
;
3461 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
3464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3470 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3475 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
3476 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3477 _resultobj
= Py_BuildValue("s",_ptemp
);
3481 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
3482 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
3483 PyObject
* _resultobj
;
3484 wxTreeItemId
* _result
;
3486 wxTreeItemId
* _arg1
;
3492 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
3495 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
3501 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
3506 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
3507 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3508 _resultobj
= Py_BuildValue("s",_ptemp
);
3512 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
3513 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
3514 PyObject
* _resultobj
;
3515 wxTreeItemId
* _result
;
3521 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
3524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
3529 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
3530 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3535 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3536 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
3537 PyObject
* _resultobj
;
3538 wxTreeItemId
* _result
;
3540 wxTreeItemId
* _arg1
;
3546 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
3549 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3555 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3560 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
3561 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3562 _resultobj
= Py_BuildValue("s",_ptemp
);
3566 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3567 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
3568 PyObject
* _resultobj
;
3569 wxTreeItemId
* _result
;
3571 wxTreeItemId
* _arg1
;
3577 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
3580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3586 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3591 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
3592 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3593 _resultobj
= Py_BuildValue("s",_ptemp
);
3597 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3598 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
3599 PyObject
* _resultobj
;
3600 wxTreeItemId
* _result
;
3605 wxTreeItemData
* _arg4
= NULL
;
3607 PyObject
* _obj1
= 0;
3612 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
3615 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3621 if (!PyString_Check(_obj1
)) {
3622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3625 _arg1
= new wxString(PyString_AsString(_obj1
));
3628 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxTreeItemData_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3633 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
3634 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3635 _resultobj
= Py_BuildValue("s",_ptemp
);
3643 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3644 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
3645 PyObject
* _resultobj
;
3646 wxTreeItemId
* _result
;
3648 wxTreeItemId
* _arg1
;
3652 wxTreeItemData
* _arg5
= NULL
;
3655 PyObject
* _obj2
= 0;
3660 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3663 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3669 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3675 if (!PyString_Check(_obj2
)) {
3676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3679 _arg2
= new wxString(PyString_AsString(_obj2
));
3682 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3687 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3688 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3697 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3698 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
3699 PyObject
* _resultobj
;
3700 wxTreeItemId
* _result
;
3702 wxTreeItemId
* _arg1
;
3703 wxTreeItemId
* _arg2
;
3707 wxTreeItemData
* _arg6
= NULL
;
3711 PyObject
* _obj3
= 0;
3716 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
3719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3725 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3731 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3737 if (!PyString_Check(_obj3
)) {
3738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3741 _arg3
= new wxString(PyString_AsString(_obj3
));
3744 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3749 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
3750 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3751 _resultobj
= Py_BuildValue("s",_ptemp
);
3759 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3760 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
3761 PyObject
* _resultobj
;
3762 wxTreeItemId
* _result
;
3764 wxTreeItemId
* _arg1
;
3768 wxTreeItemData
* _arg5
= NULL
;
3771 PyObject
* _obj2
= 0;
3776 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3779 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3785 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3791 if (!PyString_Check(_obj2
)) {
3792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3795 _arg2
= new wxString(PyString_AsString(_obj2
));
3798 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3803 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3804 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3805 _resultobj
= Py_BuildValue("s",_ptemp
);
3813 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3814 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
3815 PyObject
* _resultobj
;
3817 wxTreeItemId
* _arg1
;
3822 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
3825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3831 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3836 wxTreeCtrl_Delete(_arg0
,*_arg1
);
3838 _resultobj
= Py_None
;
3842 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
3843 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
3844 PyObject
* _resultobj
;
3846 wxTreeItemId
* _arg1
;
3851 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
3854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
3860 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
3865 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
3867 _resultobj
= Py_None
;
3871 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3872 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
3873 PyObject
* _resultobj
;
3878 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
3881 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3886 wxTreeCtrl_DeleteAllItems(_arg0
);
3888 _resultobj
= Py_None
;
3892 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3893 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
3894 PyObject
* _resultobj
;
3896 wxTreeItemId
* _arg1
;
3901 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
3904 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3910 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3915 wxTreeCtrl_Expand(_arg0
,*_arg1
);
3917 _resultobj
= Py_None
;
3921 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3922 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
3923 PyObject
* _resultobj
;
3925 wxTreeItemId
* _arg1
;
3930 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
3933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3939 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3944 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
3946 _resultobj
= Py_None
;
3950 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3951 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
3952 PyObject
* _resultobj
;
3954 wxTreeItemId
* _arg1
;
3959 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
3962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3968 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3973 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
3975 _resultobj
= Py_None
;
3979 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3980 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
3981 PyObject
* _resultobj
;
3983 wxTreeItemId
* _arg1
;
3988 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
3991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3997 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4002 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4004 _resultobj
= Py_None
;
4008 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4009 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4010 PyObject
* _resultobj
;
4015 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4018 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4023 wxTreeCtrl_Unselect(_arg0
);
4025 _resultobj
= Py_None
;
4029 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4030 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4031 PyObject
* _resultobj
;
4033 wxTreeItemId
* _arg1
;
4038 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4041 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4047 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4052 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4054 _resultobj
= Py_None
;
4058 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4059 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4060 PyObject
* _resultobj
;
4062 wxTreeItemId
* _arg1
;
4067 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4076 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4081 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4083 _resultobj
= Py_None
;
4087 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4088 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4089 PyObject
* _resultobj
;
4091 wxTreeItemId
* _arg1
;
4096 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4105 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4110 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4112 _resultobj
= Py_None
;
4116 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4117 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4118 PyObject
* _resultobj
;
4119 wxTextCtrl
* _result
;
4121 wxTreeItemId
* _arg1
;
4127 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4136 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4141 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4143 _resultobj
= Py_BuildValue("s",_ptemp
);
4147 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4148 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4149 PyObject
* _resultobj
;
4150 wxTextCtrl
* _result
;
4156 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4164 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4166 _resultobj
= Py_BuildValue("s",_ptemp
);
4170 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4171 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4172 PyObject
* _resultobj
;
4174 wxTreeItemId
* _arg1
;
4181 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4190 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4195 _arg2
= (bool ) tempbool2
;
4196 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4198 _resultobj
= Py_None
;
4202 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4203 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4204 PyObject
* _resultobj
;
4206 wxTreeItemId
* _arg1
;
4213 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4222 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4227 _arg2
= (bool ) tempbool2
;
4228 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4230 _resultobj
= Py_None
;
4234 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4235 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4236 PyObject
* _resultobj
;
4239 wxTreeItemId
* _arg1
;
4244 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4247 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4253 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4258 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4259 _resultobj
= Py_BuildValue("i",_result
);
4263 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4264 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4265 PyObject
* _resultobj
;
4266 wxTreeItemId
* _result
;
4274 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4283 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4288 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4289 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4290 _resultobj
= Py_BuildValue("s",_ptemp
);
4294 static PyMethodDef controls2cMethods
[] = {
4295 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4296 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4297 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4298 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
4299 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
4300 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4301 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4302 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4303 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4304 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4305 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4306 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4307 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4308 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4309 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4310 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4311 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4312 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4313 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4314 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4315 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4316 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4317 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4318 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4319 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4320 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4321 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4322 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4323 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4324 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4325 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4326 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4327 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4328 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4329 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
4330 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
4331 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
4332 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
4333 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
4334 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
4335 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
4336 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
4337 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
4338 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
4339 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
4340 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
4341 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
4342 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
4343 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
4344 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
4345 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
4346 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
4347 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
4348 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
4349 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
4350 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
4351 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
4352 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
4353 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
4354 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData
, 1 },
4355 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
4356 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
4357 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
4358 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
4359 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
4360 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
4361 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
4362 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
4363 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
4364 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
4365 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
4366 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
4367 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
4368 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
4369 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
4370 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
4371 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
4372 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
4373 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
4374 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
4375 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
4376 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
4377 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
4378 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo
, 1 },
4379 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
4380 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
4381 { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour
, 1 },
4382 { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour
, 1 },
4383 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
4384 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
4385 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
4386 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
4387 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
4388 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
4389 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
4390 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
4391 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
4392 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
4393 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
4394 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
4395 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
4396 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
4397 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
4398 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
4399 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
4400 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
4401 { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl
, 1 },
4402 { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel
, 1 },
4403 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel
, 1 },
4404 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
4405 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
4406 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
4407 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
4408 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
4409 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
4410 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
4411 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
4412 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
4413 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
4414 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
4415 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
4416 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
4417 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
4418 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
4419 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
4420 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
4421 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
4422 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
4423 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
4424 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
4425 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
4426 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
4427 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
4428 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
4429 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
4430 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
4431 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
4432 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
4433 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
4434 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
4435 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
4436 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
4437 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
4438 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
4439 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
4440 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
4441 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
4442 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
4443 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
4444 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
4445 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
4446 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
4449 static PyObject
*SWIG_globals
;
4453 SWIGEXPORT(void,initcontrols2c
)() {
4455 SWIG_globals
= SWIG_newvarlink();
4456 m
= Py_InitModule("controls2c", controls2cMethods
);
4457 d
= PyModule_GetDict(m
);
4458 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
4459 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
4460 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
4461 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
4462 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
4463 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
4464 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
4465 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
4466 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
4467 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
4468 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
4469 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
4470 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
4471 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
4472 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
4473 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
4474 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
4475 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
4476 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
4477 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
4478 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
4479 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
4480 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
4481 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
4482 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
4483 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
4484 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
4485 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
4486 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
4487 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
4488 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
4489 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
4490 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
4491 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
4492 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
4493 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
4494 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
4495 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
4496 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
4497 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
4498 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
4499 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
4501 * These are the pointer type-equivalency mappings.
4502 * (Used by the SWIG pointer type-checker).
4504 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4505 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4506 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4507 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4508 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4509 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4510 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4511 SWIG_RegisterMapping("_signed_long","_long",0);
4512 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4513 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4514 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4515 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4516 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4517 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4518 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4519 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4520 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4521 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4522 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4523 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
4524 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4525 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4526 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4527 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4528 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4529 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4530 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4531 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4532 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4533 SWIG_RegisterMapping("_long","_wxDash",0);
4534 SWIG_RegisterMapping("_long","_unsigned_long",0);
4535 SWIG_RegisterMapping("_long","_signed_long",0);
4536 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4537 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4538 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4539 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4540 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4541 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4542 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
4543 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4544 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4545 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4546 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4547 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4548 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4549 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4550 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4551 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4552 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4553 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4554 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4555 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4556 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4557 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4558 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4559 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4560 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4561 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4562 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4563 SWIG_RegisterMapping("_uint","_int",0);
4564 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4565 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4566 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4567 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4568 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4569 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4570 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4571 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4572 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4573 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4574 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4575 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4576 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4577 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4578 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4579 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4580 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4581 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
4582 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4583 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4584 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4585 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4586 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4587 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4588 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4589 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4590 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
4591 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4592 SWIG_RegisterMapping("_EBool","_signed_int",0);
4593 SWIG_RegisterMapping("_EBool","_int",0);
4594 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4595 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4596 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4597 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4598 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4599 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4600 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4601 SWIG_RegisterMapping("_unsigned_long","_long",0);
4602 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4603 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4604 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
4605 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4606 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4607 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4608 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4609 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4610 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4611 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4612 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4613 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4614 SWIG_RegisterMapping("_signed_int","_EBool",0);
4615 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4616 SWIG_RegisterMapping("_signed_int","_int",0);
4617 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4618 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4619 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4620 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4621 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4622 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4623 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4624 SWIG_RegisterMapping("_WXTYPE","_short",0);
4625 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4626 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4627 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4628 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4629 SWIG_RegisterMapping("_unsigned_short","_short",0);
4630 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4631 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4632 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4633 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4634 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4635 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4636 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4637 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4638 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4639 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4640 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4641 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4642 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4643 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4644 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4645 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4646 SWIG_RegisterMapping("_signed_short","_short",0);
4647 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4648 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4649 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4650 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4651 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4652 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4653 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4654 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4655 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
4656 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4657 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4658 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4659 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4660 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4661 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4662 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4663 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4664 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4665 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4666 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4667 SWIG_RegisterMapping("_unsigned_int","_int",0);
4668 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4669 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4670 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4671 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4672 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4673 SWIG_RegisterMapping("_short","_WXTYPE",0);
4674 SWIG_RegisterMapping("_short","_unsigned_short",0);
4675 SWIG_RegisterMapping("_short","_signed_short",0);
4676 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4677 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4678 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4679 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4680 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4681 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4682 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4683 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4684 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4685 SWIG_RegisterMapping("_wxWindowID","_int",0);
4686 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4687 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4688 SWIG_RegisterMapping("_int","_EBool",0);
4689 SWIG_RegisterMapping("_int","_uint",0);
4690 SWIG_RegisterMapping("_int","_wxWindowID",0);
4691 SWIG_RegisterMapping("_int","_unsigned_int",0);
4692 SWIG_RegisterMapping("_int","_signed_int",0);
4693 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4694 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4695 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4696 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4697 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4698 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4699 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4700 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4701 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4702 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4703 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4704 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4705 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4706 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4707 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4708 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4709 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4710 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4711 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4712 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4713 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4714 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4715 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4716 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4717 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4718 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4719 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4720 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4721 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4722 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4723 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4724 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4725 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4726 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4727 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4728 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4729 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4730 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4731 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4732 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4733 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4734 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4735 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4736 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4737 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4738 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4739 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4740 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4741 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4742 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4743 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4744 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4745 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4746 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4747 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4748 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4749 SWIG_RegisterMapping("_wxDash","_long",0);
4750 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4751 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4752 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4753 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4754 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4755 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4756 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4757 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4758 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4759 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);