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
,long itemId
) {
1451 wxListItem
* info
= new wxListItem
;
1452 info
->m_itemId
= itemId
;
1453 self
->GetItem(*info
);
1456 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1457 PyObject
* _resultobj
;
1458 wxListItem
* _result
;
1465 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItem",&_argc0
,&_arg1
))
1468 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1473 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1475 _resultobj
= Py_BuildValue("s",_ptemp
);
1479 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1480 wxPoint
* pos
= new wxPoint
;
1481 self
->GetItemPosition(item
, *pos
);
1484 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1485 PyObject
* _resultobj
;
1493 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1501 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1508 wxRect
* rect
= new wxRect
;
1509 self
->GetItemRect(item
, *rect
, code
);
1512 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1513 PyObject
* _resultobj
;
1517 int _arg2
= (wxLIST_RECT_BOUNDS
);
1522 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1530 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1536 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1537 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1538 PyObject
* _resultobj
;
1546 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1549 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1554 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1555 _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1560 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1561 PyObject
* _resultobj
;
1567 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1575 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1576 _resultobj
= Py_BuildValue("i",_result
);
1580 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1581 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1582 PyObject
* _resultobj
;
1590 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1598 _arg1
= (bool ) tempbool1
;
1599 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1600 _resultobj
= Py_BuildValue("i",_result
);
1604 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1605 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1606 PyObject
* _resultobj
;
1613 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1621 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1623 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1631 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1632 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1633 PyObject
* _resultobj
;
1637 int _arg2
= (wxLIST_NEXT_ALL
);
1638 int _arg3
= (wxLIST_STATE_DONTCARE
);
1642 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1650 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1651 _resultobj
= Py_BuildValue("l",_result
);
1655 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1656 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1657 PyObject
* _resultobj
;
1663 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1671 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1672 _resultobj
= Py_BuildValue("i",_result
);
1676 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1677 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
) {
1678 PyObject
* _resultobj
;
1685 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTextColour",&_argc0
))
1688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
1693 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
1694 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1699 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1700 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1708 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetTextColour",&_argc0
,&_argc1
))
1711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
1717 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
1722 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
1724 _resultobj
= Py_None
;
1728 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1729 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1730 PyObject
* _resultobj
;
1736 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1744 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1745 _resultobj
= Py_BuildValue("l",_result
);
1749 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1750 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1751 PyObject
* _resultobj
;
1764 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1767 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1773 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1778 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1779 _resultobj
= Py_BuildValue("l",_result
);
1782 o
= PyInt_FromLong((long) (*_arg2
));
1783 _resultobj
= t_output_helper(_resultobj
, o
);
1788 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1789 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
1790 PyObject
* _resultobj
;
1799 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWith",&_argc0
,&_arg1
,&_argc2
))
1802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
1808 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
1813 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
1814 _resultobj
= Py_BuildValue("l",_result
);
1818 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1819 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1820 PyObject
* _resultobj
;
1825 int _arg3
= (wxLIST_FORMAT_LEFT
);
1828 PyObject
* _obj2
= 0;
1831 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1840 if (!PyString_Check(_obj2
)) {
1841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1844 _arg2
= new wxString(PyString_AsString(_obj2
));
1846 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
1847 _resultobj
= Py_BuildValue("l",_result
);
1855 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1856 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
1857 PyObject
* _resultobj
;
1865 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
1868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1874 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1879 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
1880 _resultobj
= Py_BuildValue("l",_result
);
1884 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1885 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
1886 PyObject
* _resultobj
;
1892 PyObject
* _obj2
= 0;
1895 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
1898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1904 if (!PyString_Check(_obj2
)) {
1905 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1908 _arg2
= new wxString(PyString_AsString(_obj2
));
1910 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
1911 _resultobj
= Py_BuildValue("l",_result
);
1919 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1920 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
1921 PyObject
* _resultobj
;
1929 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
1932 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1937 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
1938 _resultobj
= Py_BuildValue("l",_result
);
1942 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1943 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
1944 PyObject
* _resultobj
;
1951 PyObject
* _obj2
= 0;
1954 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
1957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1963 if (!PyString_Check(_obj2
)) {
1964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1967 _arg2
= new wxString(PyString_AsString(_obj2
));
1969 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1970 _resultobj
= Py_BuildValue("l",_result
);
1978 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1979 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
1980 PyObject
* _resultobj
;
1988 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
1991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1996 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
1997 _resultobj
= Py_BuildValue("i",_result
);
2001 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2002 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2003 PyObject
* _resultobj
;
2010 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
2013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2019 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2024 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2026 _resultobj
= Py_None
;
2030 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2031 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2032 PyObject
* _resultobj
;
2041 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
2044 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2050 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2055 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2056 _resultobj
= Py_BuildValue("i",_result
);
2060 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2061 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2062 PyObject
* _resultobj
;
2070 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2078 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2079 _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2084 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2085 PyObject
* _resultobj
;
2087 wxImageList
* _arg1
;
2093 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2096 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2102 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2107 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2109 _resultobj
= Py_None
;
2113 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2114 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2115 PyObject
* _resultobj
;
2123 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2132 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2137 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2138 _resultobj
= Py_BuildValue("i",_result
);
2142 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2143 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2144 PyObject
* _resultobj
;
2152 PyObject
* _obj3
= 0;
2155 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2164 if (!PyString_Check(_obj3
)) {
2165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2168 _arg3
= new wxString(PyString_AsString(_obj3
));
2170 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2171 _resultobj
= Py_BuildValue("l",_result
);
2179 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2180 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2189 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2197 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2198 _resultobj
= Py_BuildValue("i",_result
);
2202 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2203 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2204 PyObject
* _resultobj
;
2213 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2221 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2222 _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2227 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2228 PyObject
* _resultobj
;
2237 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2240 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2246 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2251 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2252 _resultobj
= Py_BuildValue("i",_result
);
2256 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2257 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2258 PyObject
* _resultobj
;
2267 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2275 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2276 _resultobj
= Py_BuildValue("i",_result
);
2280 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2281 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2282 PyObject
* _resultobj
;
2287 PyObject
* _obj2
= 0;
2290 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2299 if (!PyString_Check(_obj2
)) {
2300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2303 _arg2
= new wxString(PyString_AsString(_obj2
));
2305 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2307 _resultobj
= Py_None
;
2315 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2316 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2317 PyObject
* _resultobj
;
2325 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2333 _arg2
= (bool ) tempbool2
;
2334 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2336 _resultobj
= Py_None
;
2340 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2341 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2342 PyObject
* _resultobj
;
2348 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2356 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2358 _resultobj
= Py_None
;
2362 #define new_wxTreeItemId() (new wxTreeItemId())
2363 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2364 PyObject
* _resultobj
;
2365 wxTreeItemId
* _result
;
2369 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2371 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2373 _resultobj
= Py_BuildValue("s",_ptemp
);
2377 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2378 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2379 PyObject
* _resultobj
;
2380 wxTreeItemId
* _arg0
;
2384 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2387 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2392 delete_wxTreeItemId(_arg0
);
2394 _resultobj
= Py_None
;
2398 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2399 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2400 PyObject
* _resultobj
;
2402 wxTreeItemId
* _arg0
;
2406 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2409 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2414 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2415 _resultobj
= Py_BuildValue("i",_result
);
2419 #define new_wxTreeItemData() (new wxTreeItemData())
2420 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2421 PyObject
* _resultobj
;
2422 wxTreeItemData
* _result
;
2426 if(!PyArg_ParseTuple(args
,":new_wxTreeItemData"))
2428 _result
= (wxTreeItemData
*)new_wxTreeItemData();
2429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2430 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 #define delete_wxTreeItemData(_swigobj) (delete _swigobj)
2435 static PyObject
*_wrap_delete_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2436 PyObject
* _resultobj
;
2437 wxTreeItemData
* _arg0
;
2441 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemData",&_argc0
))
2444 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
2449 delete_wxTreeItemData(_arg0
);
2451 _resultobj
= Py_None
;
2455 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2456 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2457 PyObject
* _resultobj
;
2458 wxTreeItemId
* _result
;
2459 wxTreeItemData
* _arg0
;
2464 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2467 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
2472 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2473 _result
= (wxTreeItemId
*) &_result_ref
;
2474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2475 _resultobj
= Py_BuildValue("s",_ptemp
);
2479 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2480 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2481 PyObject
* _resultobj
;
2482 wxTreeItemData
* _arg0
;
2483 wxTreeItemId
* _arg1
;
2488 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemData_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
2497 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2502 wxTreeItemData_SetId(_arg0
,*_arg1
);
2504 _resultobj
= Py_None
;
2508 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2510 wxCommandEvent
*dest
;
2511 src
= (wxTreeEvent
*) ptr
;
2512 dest
= (wxCommandEvent
*) src
;
2513 return (void *) dest
;
2516 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2519 src
= (wxTreeEvent
*) ptr
;
2520 dest
= (wxEvent
*) src
;
2521 return (void *) dest
;
2524 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2525 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2526 PyObject
* _resultobj
;
2527 wxTreeItemId
* _result
;
2528 wxTreeEvent
* _arg0
;
2533 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2536 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2541 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2542 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2543 _resultobj
= Py_BuildValue("s",_ptemp
);
2547 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2548 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2549 PyObject
* _resultobj
;
2550 wxTreeItemId
* _result
;
2551 wxTreeEvent
* _arg0
;
2556 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2559 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2564 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2565 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2566 _resultobj
= Py_BuildValue("s",_ptemp
);
2570 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2571 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2572 PyObject
* _resultobj
;
2574 wxTreeEvent
* _arg0
;
2579 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2587 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2588 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2589 _resultobj
= Py_BuildValue("s",_ptemp
);
2593 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2594 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2595 PyObject
* _resultobj
;
2597 wxTreeEvent
* _arg0
;
2601 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2604 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2609 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2610 _resultobj
= Py_BuildValue("i",_result
);
2614 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2615 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2616 PyObject
* _resultobj
;
2617 wxTreeEvent
* _arg0
;
2621 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2629 wxTreeEvent_Veto(_arg0
);
2631 _resultobj
= Py_None
;
2635 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2638 src
= (wxTreeCtrl
*) ptr
;
2639 dest
= (wxControl
*) src
;
2640 return (void *) dest
;
2643 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2646 src
= (wxTreeCtrl
*) ptr
;
2647 dest
= (wxWindow
*) src
;
2648 return (void *) dest
;
2651 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2654 src
= (wxTreeCtrl
*) ptr
;
2655 dest
= (wxEvtHandler
*) src
;
2656 return (void *) dest
;
2659 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2660 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2661 PyObject
* _resultobj
;
2662 wxTreeCtrl
* _result
;
2664 wxWindowID _arg1
= -1;
2665 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2666 wxSize
* _arg3
= &wxPyDefaultSize
;
2667 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2668 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2669 char * _arg6
= "wxTreeCtrl";
2677 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
2680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2686 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2692 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2698 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2703 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
2705 _resultobj
= Py_BuildValue("s",_ptemp
);
2709 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2710 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
2711 PyObject
* _resultobj
;
2718 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
2721 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2726 _result
= new size_t (wxTreeCtrl_GetCount(_arg0
));
2727 SWIG_MakePtr(_ptemp
, (void *) _result
,"_size_t_p");
2728 _resultobj
= Py_BuildValue("s",_ptemp
);
2732 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2733 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
2734 PyObject
* _resultobj
;
2735 unsigned int _result
;
2740 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
2743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2748 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
2749 _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2754 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
2755 PyObject
* _resultobj
;
2761 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
2764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2769 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
2771 _resultobj
= Py_None
;
2775 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2776 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
2777 PyObject
* _resultobj
;
2778 wxImageList
* _result
;
2784 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
2787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2792 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
2793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2794 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2799 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
2800 PyObject
* _resultobj
;
2801 wxImageList
* _result
;
2807 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
2810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2815 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
2816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
2817 _resultobj
= Py_BuildValue("s",_ptemp
);
2821 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2822 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2823 PyObject
* _resultobj
;
2825 wxImageList
* _arg1
;
2830 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
2833 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2839 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2844 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
2846 _resultobj
= Py_None
;
2850 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2851 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
2852 PyObject
* _resultobj
;
2854 wxImageList
* _arg1
;
2859 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
2862 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2868 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2873 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
2875 _resultobj
= Py_None
;
2879 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2880 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2881 PyObject
* _resultobj
;
2884 wxTreeItemId
* _arg1
;
2889 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
2892 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2898 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2903 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
2905 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2913 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2914 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
2915 PyObject
* _resultobj
;
2918 wxTreeItemId
* _arg1
;
2923 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
2926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2932 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2937 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
2938 _resultobj
= Py_BuildValue("i",_result
);
2942 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2943 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
2944 PyObject
* _resultobj
;
2947 wxTreeItemId
* _arg1
;
2952 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
2955 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2961 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2966 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
2967 _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2972 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
2973 PyObject
* _resultobj
;
2974 wxTreeItemData
* _result
;
2976 wxTreeItemId
* _arg1
;
2982 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
2985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2991 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2996 _result
= (wxTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
2997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemData_p");
2998 _resultobj
= Py_BuildValue("s",_ptemp
);
3002 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3003 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3004 PyObject
* _resultobj
;
3006 wxTreeItemId
* _arg1
;
3010 PyObject
* _obj2
= 0;
3013 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3016 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3022 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3028 if (!PyString_Check(_obj2
)) {
3029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3032 _arg2
= new wxString(PyString_AsString(_obj2
));
3034 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3036 _resultobj
= Py_None
;
3044 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3045 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3046 PyObject
* _resultobj
;
3048 wxTreeItemId
* _arg1
;
3054 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3063 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3068 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3070 _resultobj
= Py_None
;
3074 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3075 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3076 PyObject
* _resultobj
;
3078 wxTreeItemId
* _arg1
;
3084 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3087 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3093 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3098 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3100 _resultobj
= Py_None
;
3104 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3105 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3106 PyObject
* _resultobj
;
3108 wxTreeItemId
* _arg1
;
3109 wxTreeItemData
* _arg2
;
3115 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3124 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3130 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemData_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
3135 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3137 _resultobj
= Py_None
;
3141 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3142 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3143 PyObject
* _resultobj
;
3145 wxTreeItemId
* _arg1
;
3152 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3161 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3166 _arg2
= (bool ) tempbool2
;
3167 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3169 _resultobj
= Py_None
;
3173 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3174 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3175 PyObject
* _resultobj
;
3178 wxTreeItemId
* _arg1
;
3183 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3192 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3197 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3198 _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3203 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3204 PyObject
* _resultobj
;
3207 wxTreeItemId
* _arg1
;
3212 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3221 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3226 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3227 _resultobj
= Py_BuildValue("i",_result
);
3231 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3232 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3233 PyObject
* _resultobj
;
3236 wxTreeItemId
* _arg1
;
3241 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3250 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3255 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3256 _resultobj
= Py_BuildValue("i",_result
);
3260 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3261 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3262 PyObject
* _resultobj
;
3265 wxTreeItemId
* _arg1
;
3270 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3279 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3284 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3285 _resultobj
= Py_BuildValue("i",_result
);
3289 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3290 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3291 PyObject
* _resultobj
;
3292 wxTreeItemId
* _result
;
3298 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3306 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3307 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3308 _resultobj
= Py_BuildValue("s",_ptemp
);
3312 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3313 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3314 PyObject
* _resultobj
;
3315 wxTreeItemId
* _result
;
3321 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3329 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3330 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3331 _resultobj
= Py_BuildValue("s",_ptemp
);
3335 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3336 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3337 PyObject
* _resultobj
;
3338 wxTreeItemId
* _result
;
3340 wxTreeItemId
* _arg1
;
3346 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3355 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3360 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3361 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3362 _resultobj
= Py_BuildValue("s",_ptemp
);
3366 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3367 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3368 PyObject
* _resultobj
;
3369 wxTreeItemId
* _result
;
3371 wxTreeItemId
* _arg1
;
3376 PyObject
* _obj2
= 0;
3380 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3389 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3395 temp
= (long) PyInt_AsLong(_obj2
);
3398 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3399 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3400 _resultobj
= Py_BuildValue("s",_ptemp
);
3403 o
= PyInt_FromLong((long) (*_arg2
));
3404 _resultobj
= t_output_helper(_resultobj
, o
);
3409 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3410 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
3411 PyObject
* _resultobj
;
3412 wxTreeItemId
* _result
;
3414 wxTreeItemId
* _arg1
;
3419 PyObject
* _obj2
= 0;
3423 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
3426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3432 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3438 temp
= (long) PyInt_AsLong(_obj2
);
3441 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
3442 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3443 _resultobj
= Py_BuildValue("s",_ptemp
);
3446 o
= PyInt_FromLong((long) (*_arg2
));
3447 _resultobj
= t_output_helper(_resultobj
, o
);
3452 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3453 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
3454 PyObject
* _resultobj
;
3455 wxTreeItemId
* _result
;
3457 wxTreeItemId
* _arg1
;
3463 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
3466 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3472 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3477 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
3478 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3479 _resultobj
= Py_BuildValue("s",_ptemp
);
3483 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
3484 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
3485 PyObject
* _resultobj
;
3486 wxTreeItemId
* _result
;
3488 wxTreeItemId
* _arg1
;
3494 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
3497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
3503 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
3508 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
3509 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3510 _resultobj
= Py_BuildValue("s",_ptemp
);
3514 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
3515 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
3516 PyObject
* _resultobj
;
3517 wxTreeItemId
* _result
;
3523 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
3526 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
3531 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
3532 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3533 _resultobj
= Py_BuildValue("s",_ptemp
);
3537 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3538 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
3539 PyObject
* _resultobj
;
3540 wxTreeItemId
* _result
;
3542 wxTreeItemId
* _arg1
;
3548 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
3551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3557 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3562 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
3563 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3564 _resultobj
= Py_BuildValue("s",_ptemp
);
3568 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3569 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
3570 PyObject
* _resultobj
;
3571 wxTreeItemId
* _result
;
3573 wxTreeItemId
* _arg1
;
3579 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
3582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3588 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3593 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
3594 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3595 _resultobj
= Py_BuildValue("s",_ptemp
);
3599 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3600 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
3601 PyObject
* _resultobj
;
3602 wxTreeItemId
* _result
;
3607 wxTreeItemData
* _arg4
= NULL
;
3609 PyObject
* _obj1
= 0;
3614 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
3617 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3623 if (!PyString_Check(_obj1
)) {
3624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3627 _arg1
= new wxString(PyString_AsString(_obj1
));
3630 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxTreeItemData_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3635 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
3636 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3637 _resultobj
= Py_BuildValue("s",_ptemp
);
3645 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3646 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
3647 PyObject
* _resultobj
;
3648 wxTreeItemId
* _result
;
3650 wxTreeItemId
* _arg1
;
3654 wxTreeItemData
* _arg5
= NULL
;
3657 PyObject
* _obj2
= 0;
3662 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3671 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3677 if (!PyString_Check(_obj2
)) {
3678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3681 _arg2
= new wxString(PyString_AsString(_obj2
));
3684 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3689 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3690 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3691 _resultobj
= Py_BuildValue("s",_ptemp
);
3699 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3700 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
3701 PyObject
* _resultobj
;
3702 wxTreeItemId
* _result
;
3704 wxTreeItemId
* _arg1
;
3705 wxTreeItemId
* _arg2
;
3709 wxTreeItemData
* _arg6
= NULL
;
3713 PyObject
* _obj3
= 0;
3718 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
3721 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3727 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3733 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3739 if (!PyString_Check(_obj3
)) {
3740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3743 _arg3
= new wxString(PyString_AsString(_obj3
));
3746 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3751 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
3752 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3753 _resultobj
= Py_BuildValue("s",_ptemp
);
3761 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3762 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
3763 PyObject
* _resultobj
;
3764 wxTreeItemId
* _result
;
3766 wxTreeItemId
* _arg1
;
3770 wxTreeItemData
* _arg5
= NULL
;
3773 PyObject
* _obj2
= 0;
3778 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
3781 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3787 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3793 if (!PyString_Check(_obj2
)) {
3794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3797 _arg2
= new wxString(PyString_AsString(_obj2
));
3800 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxTreeItemData_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3805 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
3806 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3807 _resultobj
= Py_BuildValue("s",_ptemp
);
3815 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3816 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
3817 PyObject
* _resultobj
;
3819 wxTreeItemId
* _arg1
;
3824 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
3827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3833 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3838 wxTreeCtrl_Delete(_arg0
,*_arg1
);
3840 _resultobj
= Py_None
;
3844 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
3845 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
3846 PyObject
* _resultobj
;
3848 wxTreeItemId
* _arg1
;
3853 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
3856 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
3862 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
3867 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
3869 _resultobj
= Py_None
;
3873 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3874 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
3875 PyObject
* _resultobj
;
3880 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
3883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3888 wxTreeCtrl_DeleteAllItems(_arg0
);
3890 _resultobj
= Py_None
;
3894 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3895 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
3896 PyObject
* _resultobj
;
3898 wxTreeItemId
* _arg1
;
3903 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
3906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3912 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3917 wxTreeCtrl_Expand(_arg0
,*_arg1
);
3919 _resultobj
= Py_None
;
3923 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3924 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
3925 PyObject
* _resultobj
;
3927 wxTreeItemId
* _arg1
;
3932 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
3935 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3941 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3946 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
3948 _resultobj
= Py_None
;
3952 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3953 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
3954 PyObject
* _resultobj
;
3956 wxTreeItemId
* _arg1
;
3961 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
3964 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3970 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3975 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
3977 _resultobj
= Py_None
;
3981 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3982 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
3983 PyObject
* _resultobj
;
3985 wxTreeItemId
* _arg1
;
3990 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
3993 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3999 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4004 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4006 _resultobj
= Py_None
;
4010 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4011 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4012 PyObject
* _resultobj
;
4017 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4025 wxTreeCtrl_Unselect(_arg0
);
4027 _resultobj
= Py_None
;
4031 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4032 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4033 PyObject
* _resultobj
;
4035 wxTreeItemId
* _arg1
;
4040 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4043 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4049 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4054 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4056 _resultobj
= Py_None
;
4060 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4061 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4062 PyObject
* _resultobj
;
4064 wxTreeItemId
* _arg1
;
4069 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4078 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4083 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4085 _resultobj
= Py_None
;
4089 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4090 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4091 PyObject
* _resultobj
;
4093 wxTreeItemId
* _arg1
;
4098 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4107 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4112 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4114 _resultobj
= Py_None
;
4118 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4119 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4120 PyObject
* _resultobj
;
4121 wxTextCtrl
* _result
;
4123 wxTreeItemId
* _arg1
;
4129 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4138 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4143 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4145 _resultobj
= Py_BuildValue("s",_ptemp
);
4149 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4150 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4151 PyObject
* _resultobj
;
4152 wxTextCtrl
* _result
;
4158 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4166 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4168 _resultobj
= Py_BuildValue("s",_ptemp
);
4172 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4173 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4174 PyObject
* _resultobj
;
4176 wxTreeItemId
* _arg1
;
4183 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4192 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4197 _arg2
= (bool ) tempbool2
;
4198 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4200 _resultobj
= Py_None
;
4204 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4205 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4206 PyObject
* _resultobj
;
4208 wxTreeItemId
* _arg1
;
4215 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4224 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4229 _arg2
= (bool ) tempbool2
;
4230 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4232 _resultobj
= Py_None
;
4236 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4237 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4238 PyObject
* _resultobj
;
4241 wxTreeItemId
* _arg1
;
4246 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4255 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4260 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4261 _resultobj
= Py_BuildValue("i",_result
);
4265 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4266 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4267 PyObject
* _resultobj
;
4268 wxTreeItemId
* _result
;
4276 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4279 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4285 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4290 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4291 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4292 _resultobj
= Py_BuildValue("s",_ptemp
);
4296 static PyMethodDef controls2cMethods
[] = {
4297 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4298 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4299 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4300 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
4301 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
4302 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4303 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4304 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4305 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4306 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4307 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4308 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4309 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4310 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4311 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4312 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4313 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4314 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4315 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4316 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4317 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4318 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4319 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4320 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4321 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4322 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4323 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4324 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4325 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4326 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4327 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4328 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4329 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4330 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4331 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
4332 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
4333 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
4334 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
4335 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
4336 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
4337 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
4338 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
4339 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
4340 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
4341 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
4342 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
4343 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
4344 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
4345 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
4346 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
4347 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
4348 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
4349 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
4350 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
4351 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
4352 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
4353 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
4354 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
4355 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
4356 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData
, 1 },
4357 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
4358 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
4359 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
4360 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
4361 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
4362 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
4363 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
4364 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
4365 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
4366 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
4367 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
4368 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
4369 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
4370 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
4371 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
4372 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
4373 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
4374 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
4375 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
4376 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
4377 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
4378 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
4379 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
4380 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
4381 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
4382 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
4383 { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour
, 1 },
4384 { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour
, 1 },
4385 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
4386 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
4387 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
4388 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
4389 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
4390 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
4391 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
4392 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
4393 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
4394 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
4395 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
4396 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
4397 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
4398 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
4399 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
4400 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
4401 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
4402 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
4403 { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl
, 1 },
4404 { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel
, 1 },
4405 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel
, 1 },
4406 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
4407 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
4408 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
4409 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
4410 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
4411 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
4412 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
4413 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
4414 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
4415 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
4416 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
4417 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
4418 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
4419 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
4420 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
4421 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
4422 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
4423 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
4424 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
4425 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
4426 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
4427 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
4428 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
4429 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
4430 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
4431 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
4432 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
4433 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
4434 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
4435 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
4436 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
4437 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
4438 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
4439 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
4440 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
4441 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
4442 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
4443 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
4444 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
4445 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
4446 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
4447 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
4448 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
4451 static PyObject
*SWIG_globals
;
4455 SWIGEXPORT(void,initcontrols2c
)() {
4457 SWIG_globals
= SWIG_newvarlink();
4458 m
= Py_InitModule("controls2c", controls2cMethods
);
4459 d
= PyModule_GetDict(m
);
4460 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
4461 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
4462 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
4463 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
4464 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
4465 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
4466 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
4467 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
4468 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
4469 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
4470 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
4471 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
4472 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
4473 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
4474 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
4475 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
4476 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
4477 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
4478 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
4479 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
4480 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
4481 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
4482 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
4483 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
4484 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
4485 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
4486 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
4487 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
4488 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
4489 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
4490 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
4491 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
4492 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
4493 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
4494 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
4495 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
4496 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
4497 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
4498 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
4499 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
4500 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
4501 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
4503 * These are the pointer type-equivalency mappings.
4504 * (Used by the SWIG pointer type-checker).
4506 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4507 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4508 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4509 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4510 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4511 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4512 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4513 SWIG_RegisterMapping("_signed_long","_long",0);
4514 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4515 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4516 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4517 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4518 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4519 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4520 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4521 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4522 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4523 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4524 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4525 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
4526 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4527 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4528 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4529 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4530 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4531 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4532 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4533 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4534 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4535 SWIG_RegisterMapping("_long","_wxDash",0);
4536 SWIG_RegisterMapping("_long","_unsigned_long",0);
4537 SWIG_RegisterMapping("_long","_signed_long",0);
4538 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4539 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4540 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4541 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4542 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4543 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4544 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
4545 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4546 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4547 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4548 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4549 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4550 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4551 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4552 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4553 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4554 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4555 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4556 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4557 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4558 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4559 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4560 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4561 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4562 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4563 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4564 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4565 SWIG_RegisterMapping("_uint","_int",0);
4566 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4567 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4568 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
4569 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
4570 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
4571 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4572 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4573 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4574 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4575 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4576 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4577 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4578 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4579 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4580 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4581 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4582 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4583 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
4584 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4585 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4586 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4587 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4588 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4589 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4590 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4591 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4592 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
4593 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4594 SWIG_RegisterMapping("_EBool","_signed_int",0);
4595 SWIG_RegisterMapping("_EBool","_int",0);
4596 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4597 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4598 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4599 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4600 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4601 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4602 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4603 SWIG_RegisterMapping("_unsigned_long","_long",0);
4604 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4605 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4606 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
4607 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4608 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4609 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4610 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4611 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4612 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4613 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4614 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4615 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4616 SWIG_RegisterMapping("_signed_int","_EBool",0);
4617 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4618 SWIG_RegisterMapping("_signed_int","_int",0);
4619 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4620 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4621 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4622 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4623 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4624 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4625 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4626 SWIG_RegisterMapping("_WXTYPE","_short",0);
4627 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4628 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4629 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4630 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4631 SWIG_RegisterMapping("_unsigned_short","_short",0);
4632 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4633 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4634 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4635 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4636 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4637 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4638 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4639 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4640 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4641 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4642 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4643 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4644 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4645 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4646 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4647 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4648 SWIG_RegisterMapping("_signed_short","_short",0);
4649 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4650 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4651 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4652 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4653 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4654 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4655 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4656 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4657 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
4658 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4659 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4660 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4661 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4662 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4663 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4664 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4665 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4666 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4667 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4668 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4669 SWIG_RegisterMapping("_unsigned_int","_int",0);
4670 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4671 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4672 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4673 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4674 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4675 SWIG_RegisterMapping("_short","_WXTYPE",0);
4676 SWIG_RegisterMapping("_short","_unsigned_short",0);
4677 SWIG_RegisterMapping("_short","_signed_short",0);
4678 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4679 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4680 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4681 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4682 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4683 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4684 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4685 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4686 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4687 SWIG_RegisterMapping("_wxWindowID","_int",0);
4688 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4689 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4690 SWIG_RegisterMapping("_int","_EBool",0);
4691 SWIG_RegisterMapping("_int","_uint",0);
4692 SWIG_RegisterMapping("_int","_wxWindowID",0);
4693 SWIG_RegisterMapping("_int","_unsigned_int",0);
4694 SWIG_RegisterMapping("_int","_signed_int",0);
4695 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4696 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4697 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4698 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4699 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4700 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4701 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4702 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4703 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4704 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4705 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4706 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4707 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4708 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4709 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4710 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4711 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4712 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
4713 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
4714 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
4715 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4716 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4717 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4718 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4719 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4720 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4721 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4722 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4723 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4724 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4725 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4726 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4727 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4728 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4729 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4730 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
4731 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
4732 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
4733 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4734 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4735 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4736 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4737 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4738 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4739 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4740 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4741 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4742 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4743 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4744 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
4745 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4746 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
4747 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4748 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4749 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4750 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4751 SWIG_RegisterMapping("_wxDash","_long",0);
4752 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4753 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4754 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4755 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4756 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4757 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4758 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
4759 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
4760 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
4761 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);