2 * FILE : gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 extern wxValidator wxPyDefaultValidator
;
122 class wxPyTreeItemData
: public wxTreeItemData
{
124 wxPyTreeItemData(PyObject
* obj
= NULL
) {
131 ~wxPyTreeItemData() {
135 PyObject
* GetData() {
140 void SetData(PyObject
* obj
) {
148 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
149 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
) {
150 PyObject
* _resultobj
;
157 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_mask_set",&_argc0
,&_arg1
))
160 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
166 wxPy_BEGIN_ALLOW_THREADS
;
167 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
169 wxPy_END_ALLOW_THREADS
;
170 } _resultobj
= Py_BuildValue("l",_result
);
174 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
175 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
176 PyObject
* _resultobj
;
182 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
191 wxPy_BEGIN_ALLOW_THREADS
;
192 _result
= (long )wxListItem_m_mask_get(_arg0
);
194 wxPy_END_ALLOW_THREADS
;
195 } _resultobj
= Py_BuildValue("l",_result
);
199 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
200 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
) {
201 PyObject
* _resultobj
;
208 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_itemId_set",&_argc0
,&_arg1
))
211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
217 wxPy_BEGIN_ALLOW_THREADS
;
218 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
220 wxPy_END_ALLOW_THREADS
;
221 } _resultobj
= Py_BuildValue("l",_result
);
225 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
226 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
227 PyObject
* _resultobj
;
233 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
242 wxPy_BEGIN_ALLOW_THREADS
;
243 _result
= (long )wxListItem_m_itemId_get(_arg0
);
245 wxPy_END_ALLOW_THREADS
;
246 } _resultobj
= Py_BuildValue("l",_result
);
250 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
251 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
) {
252 PyObject
* _resultobj
;
259 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_col_set",&_argc0
,&_arg1
))
262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
271 wxPy_END_ALLOW_THREADS
;
272 } _resultobj
= Py_BuildValue("i",_result
);
276 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
277 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
278 PyObject
* _resultobj
;
284 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
287 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
293 wxPy_BEGIN_ALLOW_THREADS
;
294 _result
= (int )wxListItem_m_col_get(_arg0
);
296 wxPy_END_ALLOW_THREADS
;
297 } _resultobj
= Py_BuildValue("i",_result
);
301 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
302 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
) {
303 PyObject
* _resultobj
;
310 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_state_set",&_argc0
,&_arg1
))
313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
319 wxPy_BEGIN_ALLOW_THREADS
;
320 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
322 wxPy_END_ALLOW_THREADS
;
323 } _resultobj
= Py_BuildValue("l",_result
);
327 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
328 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
329 PyObject
* _resultobj
;
335 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
344 wxPy_BEGIN_ALLOW_THREADS
;
345 _result
= (long )wxListItem_m_state_get(_arg0
);
347 wxPy_END_ALLOW_THREADS
;
348 } _resultobj
= Py_BuildValue("l",_result
);
352 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
353 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
) {
354 PyObject
* _resultobj
;
361 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_stateMask_set",&_argc0
,&_arg1
))
364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
370 wxPy_BEGIN_ALLOW_THREADS
;
371 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
373 wxPy_END_ALLOW_THREADS
;
374 } _resultobj
= Py_BuildValue("l",_result
);
378 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
379 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
380 PyObject
* _resultobj
;
386 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
395 wxPy_BEGIN_ALLOW_THREADS
;
396 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
398 wxPy_END_ALLOW_THREADS
;
399 } _resultobj
= Py_BuildValue("l",_result
);
403 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
404 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
) {
405 PyObject
* _resultobj
;
410 PyObject
* _obj1
= 0;
413 if(!PyArg_ParseTuple(args
,"sO:wxListItem_m_text_set",&_argc0
,&_obj1
))
416 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
422 if (!PyString_Check(_obj1
)) {
423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
426 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
432 wxPy_END_ALLOW_THREADS
;
434 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
443 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
444 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
445 PyObject
* _resultobj
;
451 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
460 wxPy_BEGIN_ALLOW_THREADS
;
461 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
463 wxPy_END_ALLOW_THREADS
;
465 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
470 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
471 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
) {
472 PyObject
* _resultobj
;
479 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_image_set",&_argc0
,&_arg1
))
482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
488 wxPy_BEGIN_ALLOW_THREADS
;
489 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
491 wxPy_END_ALLOW_THREADS
;
492 } _resultobj
= Py_BuildValue("i",_result
);
496 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
497 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
498 PyObject
* _resultobj
;
504 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= (int )wxListItem_m_image_get(_arg0
);
516 wxPy_END_ALLOW_THREADS
;
517 } _resultobj
= Py_BuildValue("i",_result
);
521 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
522 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
) {
523 PyObject
* _resultobj
;
530 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_data_set",&_argc0
,&_arg1
))
533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
539 wxPy_BEGIN_ALLOW_THREADS
;
540 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
542 wxPy_END_ALLOW_THREADS
;
543 } _resultobj
= Py_BuildValue("l",_result
);
547 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
548 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
549 PyObject
* _resultobj
;
555 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
558 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 _result
= (long )wxListItem_m_data_get(_arg0
);
567 wxPy_END_ALLOW_THREADS
;
568 } _resultobj
= Py_BuildValue("l",_result
);
572 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
573 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
) {
574 PyObject
* _resultobj
;
581 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_format_set",&_argc0
,&_arg1
))
584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
590 wxPy_BEGIN_ALLOW_THREADS
;
591 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
593 wxPy_END_ALLOW_THREADS
;
594 } _resultobj
= Py_BuildValue("i",_result
);
598 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
599 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
600 PyObject
* _resultobj
;
606 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
609 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
615 wxPy_BEGIN_ALLOW_THREADS
;
616 _result
= (int )wxListItem_m_format_get(_arg0
);
618 wxPy_END_ALLOW_THREADS
;
619 } _resultobj
= Py_BuildValue("i",_result
);
623 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
624 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
) {
625 PyObject
* _resultobj
;
632 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_width_set",&_argc0
,&_arg1
))
635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
644 wxPy_END_ALLOW_THREADS
;
645 } _resultobj
= Py_BuildValue("i",_result
);
649 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
650 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
651 PyObject
* _resultobj
;
657 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
666 wxPy_BEGIN_ALLOW_THREADS
;
667 _result
= (int )wxListItem_m_width_get(_arg0
);
669 wxPy_END_ALLOW_THREADS
;
670 } _resultobj
= Py_BuildValue("i",_result
);
674 #define new_wxListItem() (new wxListItem())
675 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
676 PyObject
* _resultobj
;
677 wxListItem
* _result
;
681 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
684 wxPy_BEGIN_ALLOW_THREADS
;
685 _result
= (wxListItem
*)new_wxListItem();
687 wxPy_END_ALLOW_THREADS
;
688 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
689 _resultobj
= Py_BuildValue("s",_ptemp
);
693 #define delete_wxListItem(_swigobj) (delete _swigobj)
694 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
695 PyObject
* _resultobj
;
700 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
709 wxPy_BEGIN_ALLOW_THREADS
;
710 delete_wxListItem(_arg0
);
712 wxPy_END_ALLOW_THREADS
;
713 } Py_INCREF(Py_None
);
714 _resultobj
= Py_None
;
718 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
720 wxCommandEvent
*dest
;
721 src
= (wxListEvent
*) ptr
;
722 dest
= (wxCommandEvent
*) src
;
723 return (void *) dest
;
726 static void *SwigwxListEventTowxEvent(void *ptr
) {
729 src
= (wxListEvent
*) ptr
;
730 dest
= (wxEvent
*) src
;
731 return (void *) dest
;
734 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
735 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
) {
736 PyObject
* _resultobj
;
743 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_code_set",&_argc0
,&_arg1
))
746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
755 wxPy_END_ALLOW_THREADS
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
761 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
762 PyObject
* _resultobj
;
768 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
771 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
777 wxPy_BEGIN_ALLOW_THREADS
;
778 _result
= (int )wxListEvent_m_code_get(_arg0
);
780 wxPy_END_ALLOW_THREADS
;
781 } _resultobj
= Py_BuildValue("i",_result
);
785 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
786 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
) {
787 PyObject
* _resultobj
;
794 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_itemIndex_set",&_argc0
,&_arg1
))
797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
803 wxPy_BEGIN_ALLOW_THREADS
;
804 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
806 wxPy_END_ALLOW_THREADS
;
807 } _resultobj
= Py_BuildValue("l",_result
);
811 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
812 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
813 PyObject
* _resultobj
;
819 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("l",_result
);
836 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
837 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
) {
838 PyObject
* _resultobj
;
845 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_oldItemIndex_set",&_argc0
,&_arg1
))
848 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
857 wxPy_END_ALLOW_THREADS
;
858 } _resultobj
= Py_BuildValue("l",_result
);
862 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
863 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
864 PyObject
* _resultobj
;
870 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
873 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
879 wxPy_BEGIN_ALLOW_THREADS
;
880 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
882 wxPy_END_ALLOW_THREADS
;
883 } _resultobj
= Py_BuildValue("l",_result
);
887 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
888 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
889 PyObject
* _resultobj
;
896 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_col_set",&_argc0
,&_arg1
))
899 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
905 wxPy_BEGIN_ALLOW_THREADS
;
906 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
908 wxPy_END_ALLOW_THREADS
;
909 } _resultobj
= Py_BuildValue("i",_result
);
913 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
914 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
915 PyObject
* _resultobj
;
921 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
924 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
930 wxPy_BEGIN_ALLOW_THREADS
;
931 _result
= (int )wxListEvent_m_col_get(_arg0
);
933 wxPy_END_ALLOW_THREADS
;
934 } _resultobj
= Py_BuildValue("i",_result
);
938 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
939 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
) {
940 PyObject
* _resultobj
;
948 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_cancelled_set",&_argc0
,&tempbool1
))
951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
956 _arg1
= (bool ) tempbool1
;
958 wxPy_BEGIN_ALLOW_THREADS
;
959 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
961 wxPy_END_ALLOW_THREADS
;
962 } _resultobj
= Py_BuildValue("i",_result
);
966 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
967 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
968 PyObject
* _resultobj
;
974 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
977 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
986 wxPy_END_ALLOW_THREADS
;
987 } _resultobj
= Py_BuildValue("i",_result
);
991 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
992 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
) {
993 PyObject
* _resultobj
;
1002 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_pointDrag_set",&_argc0
,&_argc1
))
1005 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1011 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1017 wxPy_BEGIN_ALLOW_THREADS
;
1018 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1020 wxPy_END_ALLOW_THREADS
;
1021 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1022 _resultobj
= Py_BuildValue("s",_ptemp
);
1026 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1027 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
1028 PyObject
* _resultobj
;
1030 wxListEvent
* _arg0
;
1035 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
1038 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1049 _resultobj
= Py_BuildValue("s",_ptemp
);
1053 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1054 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
) {
1055 PyObject
* _resultobj
;
1056 wxListItem
* _result
;
1057 wxListEvent
* _arg0
;
1064 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_item_set",&_argc0
,&_argc1
))
1067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1073 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1082 wxPy_END_ALLOW_THREADS
;
1083 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1084 _resultobj
= Py_BuildValue("s",_ptemp
);
1088 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1089 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
1090 PyObject
* _resultobj
;
1091 wxListItem
* _result
;
1092 wxListEvent
* _arg0
;
1097 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
1100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1109 wxPy_END_ALLOW_THREADS
;
1110 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1111 _resultobj
= Py_BuildValue("s",_ptemp
);
1115 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1118 src
= (wxListCtrl
*) ptr
;
1119 dest
= (wxControl
*) src
;
1120 return (void *) dest
;
1123 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1126 src
= (wxListCtrl
*) ptr
;
1127 dest
= (wxWindow
*) src
;
1128 return (void *) dest
;
1131 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1134 src
= (wxListCtrl
*) ptr
;
1135 dest
= (wxEvtHandler
*) src
;
1136 return (void *) dest
;
1139 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1140 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1142 wxListCtrl
* _result
;
1145 wxPoint
* _arg2
= &wxPyDefaultPosition
;
1146 wxSize
* _arg3
= &wxPyDefaultSize
;
1147 long _arg4
= (wxLC_ICON
);
1148 wxValidator
* _arg5
= &wxPyDefaultValidator
;
1149 char * _arg6
= "listCtrl";
1157 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
1160 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1166 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1172 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1178 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1187 wxPy_END_ALLOW_THREADS
;
1188 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1194 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
1195 PyObject
* _resultobj
;
1198 int _arg1
= (wxLIST_ALIGN_DEFAULT
);
1202 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
1205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } _resultobj
= Py_BuildValue("i",_result
);
1219 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1220 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
1221 PyObject
* _resultobj
;
1228 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
1231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1237 wxPy_BEGIN_ALLOW_THREADS
;
1238 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1240 wxPy_END_ALLOW_THREADS
;
1241 } _resultobj
= Py_BuildValue("i",_result
);
1245 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1246 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
1247 PyObject
* _resultobj
;
1253 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
1256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1265 wxPy_END_ALLOW_THREADS
;
1266 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1271 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
1272 PyObject
* _resultobj
;
1279 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
1282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } _resultobj
= Py_BuildValue("i",_result
);
1296 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1297 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
1298 PyObject
* _resultobj
;
1304 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
1307 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1316 wxPy_END_ALLOW_THREADS
;
1317 } _resultobj
= Py_BuildValue("i",_result
);
1321 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1322 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
1323 PyObject
* _resultobj
;
1328 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
1331 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 wxListCtrl_ClearAll(_arg0
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } Py_INCREF(Py_None
);
1342 _resultobj
= Py_None
;
1346 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1347 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1348 PyObject
* _resultobj
;
1355 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
1358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1368 } _resultobj
= Py_BuildValue("i",_result
);
1372 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1373 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1374 PyObject
* _resultobj
;
1381 PyObject
* _obj2
= 0;
1385 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
1388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1394 if (!PyString_Check(_obj2
)) {
1395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1398 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1400 _arg3
= (bool ) tempbool3
;
1402 wxPy_BEGIN_ALLOW_THREADS
;
1403 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1405 wxPy_END_ALLOW_THREADS
;
1406 } _resultobj
= Py_BuildValue("l",_result
);
1414 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1415 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1416 PyObject
* _resultobj
;
1424 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
1427 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1436 wxPy_END_ALLOW_THREADS
;
1437 } _resultobj
= Py_BuildValue("l",_result
);
1441 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1442 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1443 PyObject
* _resultobj
;
1453 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
1456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1462 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("l",_result
);
1476 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1477 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1478 PyObject
* _resultobj
;
1487 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
1490 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1496 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1511 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1519 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
1522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1531 wxPy_END_ALLOW_THREADS
;
1532 } _resultobj
= Py_BuildValue("i",_result
);
1536 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1537 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1538 PyObject
* _resultobj
;
1544 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
1547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1556 wxPy_END_ALLOW_THREADS
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1561 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1562 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1563 PyObject
* _resultobj
;
1564 wxImageList
* _result
;
1571 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1585 _resultobj
= Py_BuildValue("s",_ptemp
);
1589 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1590 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1591 PyObject
* _resultobj
;
1598 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1610 wxPy_END_ALLOW_THREADS
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1616 wxListItem
* info
= new wxListItem
;
1617 info
->m_itemId
= itemId
;
1618 self
->GetItem(*info
);
1621 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1622 PyObject
* _resultobj
;
1623 wxListItem
* _result
;
1630 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItem",&_argc0
,&_arg1
))
1633 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1639 wxPy_BEGIN_ALLOW_THREADS
;
1640 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1642 wxPy_END_ALLOW_THREADS
;
1643 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1644 _resultobj
= Py_BuildValue("s",_ptemp
);
1648 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1649 wxPoint
* pos
= new wxPoint
;
1650 self
->GetItemPosition(item
, *pos
);
1653 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1654 PyObject
* _resultobj
;
1662 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1674 wxPy_END_ALLOW_THREADS
;
1675 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1676 _resultobj
= Py_BuildValue("s",_ptemp
);
1680 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1681 wxRect
* rect
= new wxRect
;
1682 self
->GetItemRect(item
, *rect
, code
);
1685 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1686 PyObject
* _resultobj
;
1690 int _arg2
= (wxLIST_RECT_BOUNDS
);
1695 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1709 _resultobj
= Py_BuildValue("s",_ptemp
);
1713 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1714 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1715 PyObject
* _resultobj
;
1723 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1726 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1735 wxPy_END_ALLOW_THREADS
;
1736 } _resultobj
= Py_BuildValue("i",_result
);
1740 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1741 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1742 PyObject
* _resultobj
;
1748 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1766 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1767 PyObject
* _resultobj
;
1775 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1783 _arg1
= (bool ) tempbool1
;
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1788 wxPy_END_ALLOW_THREADS
;
1789 } _resultobj
= Py_BuildValue("i",_result
);
1793 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1794 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1795 PyObject
* _resultobj
;
1802 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1805 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1814 wxPy_END_ALLOW_THREADS
;
1816 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1824 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1825 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1826 PyObject
* _resultobj
;
1830 int _arg2
= (wxLIST_NEXT_ALL
);
1831 int _arg3
= (wxLIST_STATE_DONTCARE
);
1835 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1838 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } _resultobj
= Py_BuildValue("l",_result
);
1852 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1853 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1854 PyObject
* _resultobj
;
1860 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1878 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1879 PyObject
* _resultobj
;
1885 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1897 wxPy_END_ALLOW_THREADS
;
1898 } _resultobj
= Py_BuildValue("l",_result
);
1902 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1903 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1904 PyObject
* _resultobj
;
1917 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1926 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } _resultobj
= Py_BuildValue("l",_result
);
1939 o
= PyInt_FromLong((long) (*_arg2
));
1940 _resultobj
= t_output_helper(_resultobj
, o
);
1945 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1946 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
1947 PyObject
* _resultobj
;
1956 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWith",&_argc0
,&_arg1
,&_argc2
))
1959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
1965 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } _resultobj
= Py_BuildValue("l",_result
);
1979 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1980 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1981 PyObject
* _resultobj
;
1986 int _arg3
= (wxLIST_FORMAT_LEFT
);
1989 PyObject
* _obj2
= 0;
1992 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
1995 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2001 if (!PyString_Check(_obj2
)) {
2002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2005 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } _resultobj
= Py_BuildValue("l",_result
);
2020 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2021 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
2022 PyObject
* _resultobj
;
2030 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
2033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2039 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } _resultobj
= Py_BuildValue("l",_result
);
2053 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2054 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
2055 PyObject
* _resultobj
;
2061 PyObject
* _obj2
= 0;
2064 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
2067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2073 if (!PyString_Check(_obj2
)) {
2074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2077 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } _resultobj
= Py_BuildValue("l",_result
);
2092 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2093 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
2094 PyObject
* _resultobj
;
2102 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
2105 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } _resultobj
= Py_BuildValue("l",_result
);
2119 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2120 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
2121 PyObject
* _resultobj
;
2128 PyObject
* _obj2
= 0;
2131 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2140 if (!PyString_Check(_obj2
)) {
2141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2144 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } _resultobj
= Py_BuildValue("l",_result
);
2159 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2160 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
2161 PyObject
* _resultobj
;
2169 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
2172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2178 wxPy_BEGIN_ALLOW_THREADS
;
2179 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2181 wxPy_END_ALLOW_THREADS
;
2182 } _resultobj
= Py_BuildValue("i",_result
);
2186 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2187 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2188 PyObject
* _resultobj
;
2195 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
2198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2204 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2220 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2221 PyObject
* _resultobj
;
2230 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
2233 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2239 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2248 wxPy_END_ALLOW_THREADS
;
2249 } _resultobj
= Py_BuildValue("i",_result
);
2253 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2254 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2255 PyObject
* _resultobj
;
2263 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2275 wxPy_END_ALLOW_THREADS
;
2276 } _resultobj
= Py_BuildValue("i",_result
);
2280 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2281 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2282 PyObject
* _resultobj
;
2284 wxImageList
* _arg1
;
2290 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2299 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2314 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2315 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2316 PyObject
* _resultobj
;
2324 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2327 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2333 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } _resultobj
= Py_BuildValue("i",_result
);
2347 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2348 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2349 PyObject
* _resultobj
;
2357 PyObject
* _obj3
= 0;
2360 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2369 if (!PyString_Check(_obj3
)) {
2370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2373 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2379 wxPy_END_ALLOW_THREADS
;
2380 } _resultobj
= Py_BuildValue("l",_result
);
2388 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2389 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2390 PyObject
* _resultobj
;
2398 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2410 wxPy_END_ALLOW_THREADS
;
2411 } _resultobj
= Py_BuildValue("i",_result
);
2415 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2416 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2417 PyObject
* _resultobj
;
2426 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } _resultobj
= Py_BuildValue("i",_result
);
2443 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2444 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2445 PyObject
* _resultobj
;
2454 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2457 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2463 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } _resultobj
= Py_BuildValue("i",_result
);
2477 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2478 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2479 PyObject
* _resultobj
;
2488 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2500 wxPy_END_ALLOW_THREADS
;
2501 } _resultobj
= Py_BuildValue("i",_result
);
2505 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2506 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2507 PyObject
* _resultobj
;
2512 PyObject
* _obj2
= 0;
2515 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2524 if (!PyString_Check(_obj2
)) {
2525 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2528 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2534 wxPy_END_ALLOW_THREADS
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2544 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2545 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2546 PyObject
* _resultobj
;
2554 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2562 _arg2
= (bool ) tempbool2
;
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2567 wxPy_END_ALLOW_THREADS
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2574 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2575 PyObject
* _resultobj
;
2581 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 #define new_wxTreeItemId() (new wxTreeItemId())
2600 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2601 PyObject
* _resultobj
;
2602 wxTreeItemId
* _result
;
2606 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2612 wxPy_END_ALLOW_THREADS
;
2613 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2614 _resultobj
= Py_BuildValue("s",_ptemp
);
2618 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2619 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2620 PyObject
* _resultobj
;
2621 wxTreeItemId
* _arg0
;
2625 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2628 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 delete_wxTreeItemId(_arg0
);
2637 wxPy_END_ALLOW_THREADS
;
2638 } Py_INCREF(Py_None
);
2639 _resultobj
= Py_None
;
2643 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2644 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2645 PyObject
* _resultobj
;
2647 wxTreeItemId
* _arg0
;
2651 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2663 wxPy_END_ALLOW_THREADS
;
2664 } _resultobj
= Py_BuildValue("i",_result
);
2668 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2669 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2670 PyObject
* _resultobj
;
2671 wxPyTreeItemData
* _result
;
2672 PyObject
* _arg0
= NULL
;
2673 PyObject
* _obj0
= 0;
2677 if(!PyArg_ParseTuple(args
,"|O:new_wxTreeItemData",&_obj0
))
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2687 wxPy_END_ALLOW_THREADS
;
2688 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2689 _resultobj
= Py_BuildValue("s",_ptemp
);
2693 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2694 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
) {
2695 PyObject
* _resultobj
;
2697 wxPyTreeItemData
* _arg0
;
2701 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetData",&_argc0
))
2704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2713 wxPy_END_ALLOW_THREADS
;
2715 _resultobj
= _result
;
2720 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2721 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
) {
2722 PyObject
* _resultobj
;
2723 wxPyTreeItemData
* _arg0
;
2726 PyObject
* _obj1
= 0;
2729 if(!PyArg_ParseTuple(args
,"sO:wxTreeItemData_SetData",&_argc0
,&_obj1
))
2732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 wxTreeItemData_SetData(_arg0
,_arg1
);
2744 wxPy_END_ALLOW_THREADS
;
2745 } Py_INCREF(Py_None
);
2746 _resultobj
= Py_None
;
2750 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2751 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2752 PyObject
* _resultobj
;
2753 wxTreeItemId
* _result
;
2754 wxPyTreeItemData
* _arg0
;
2759 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2762 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
2768 wxPy_BEGIN_ALLOW_THREADS
;
2769 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2770 _result
= (wxTreeItemId
*) &_result_ref
;
2772 wxPy_END_ALLOW_THREADS
;
2773 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2774 _resultobj
= Py_BuildValue("s",_ptemp
);
2778 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2779 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2780 PyObject
* _resultobj
;
2781 wxPyTreeItemData
* _arg0
;
2782 wxTreeItemId
* _arg1
;
2787 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
2796 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2802 wxPy_BEGIN_ALLOW_THREADS
;
2803 wxTreeItemData_SetId(_arg0
,*_arg1
);
2805 wxPy_END_ALLOW_THREADS
;
2806 } Py_INCREF(Py_None
);
2807 _resultobj
= Py_None
;
2811 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2813 wxCommandEvent
*dest
;
2814 src
= (wxTreeEvent
*) ptr
;
2815 dest
= (wxCommandEvent
*) src
;
2816 return (void *) dest
;
2819 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2822 src
= (wxTreeEvent
*) ptr
;
2823 dest
= (wxEvent
*) src
;
2824 return (void *) dest
;
2827 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2828 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2829 PyObject
* _resultobj
;
2830 wxTreeItemId
* _result
;
2831 wxTreeEvent
* _arg0
;
2836 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2845 wxPy_BEGIN_ALLOW_THREADS
;
2846 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2848 wxPy_END_ALLOW_THREADS
;
2849 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2850 _resultobj
= Py_BuildValue("s",_ptemp
);
2854 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2855 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2856 PyObject
* _resultobj
;
2857 wxTreeItemId
* _result
;
2858 wxTreeEvent
* _arg0
;
2863 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2872 wxPy_BEGIN_ALLOW_THREADS
;
2873 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2875 wxPy_END_ALLOW_THREADS
;
2876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2877 _resultobj
= Py_BuildValue("s",_ptemp
);
2881 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2882 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2883 PyObject
* _resultobj
;
2885 wxTreeEvent
* _arg0
;
2890 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2893 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2902 wxPy_END_ALLOW_THREADS
;
2903 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2904 _resultobj
= Py_BuildValue("s",_ptemp
);
2908 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2909 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2910 PyObject
* _resultobj
;
2912 wxTreeEvent
* _arg0
;
2916 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2925 wxPy_BEGIN_ALLOW_THREADS
;
2926 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2928 wxPy_END_ALLOW_THREADS
;
2929 } _resultobj
= Py_BuildValue("i",_result
);
2933 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2934 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2935 PyObject
* _resultobj
;
2936 wxTreeEvent
* _arg0
;
2940 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 wxTreeEvent_Veto(_arg0
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2958 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2961 src
= (wxTreeCtrl
*) ptr
;
2962 dest
= (wxControl
*) src
;
2963 return (void *) dest
;
2966 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2969 src
= (wxTreeCtrl
*) ptr
;
2970 dest
= (wxWindow
*) src
;
2971 return (void *) dest
;
2974 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2977 src
= (wxTreeCtrl
*) ptr
;
2978 dest
= (wxEvtHandler
*) src
;
2979 return (void *) dest
;
2982 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2983 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2984 PyObject
* _resultobj
;
2985 wxTreeCtrl
* _result
;
2987 wxWindowID _arg1
= -1;
2988 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2989 wxSize
* _arg3
= &wxPyDefaultSize
;
2990 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2991 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2992 char * _arg6
= "wxTreeCtrl";
3000 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
3003 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3009 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3015 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3021 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3032 _resultobj
= Py_BuildValue("s",_ptemp
);
3036 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3037 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
3038 PyObject
* _resultobj
;
3045 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
3048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3054 wxPy_BEGIN_ALLOW_THREADS
;
3055 _result
= new size_t (wxTreeCtrl_GetCount(_arg0
));
3057 wxPy_END_ALLOW_THREADS
;
3058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_size_t_p");
3059 _resultobj
= Py_BuildValue("s",_ptemp
);
3063 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3064 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
3065 PyObject
* _resultobj
;
3066 unsigned int _result
;
3071 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
3074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3080 wxPy_BEGIN_ALLOW_THREADS
;
3081 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3083 wxPy_END_ALLOW_THREADS
;
3084 } _resultobj
= Py_BuildValue("i",_result
);
3088 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3089 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
3090 PyObject
* _resultobj
;
3096 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
3099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3108 wxPy_END_ALLOW_THREADS
;
3109 } Py_INCREF(Py_None
);
3110 _resultobj
= Py_None
;
3114 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3115 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
3116 PyObject
* _resultobj
;
3117 wxImageList
* _result
;
3123 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
3126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3135 wxPy_END_ALLOW_THREADS
;
3136 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3137 _resultobj
= Py_BuildValue("s",_ptemp
);
3141 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3142 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
3143 PyObject
* _resultobj
;
3144 wxImageList
* _result
;
3150 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
3153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3159 wxPy_BEGIN_ALLOW_THREADS
;
3160 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3162 wxPy_END_ALLOW_THREADS
;
3163 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3164 _resultobj
= Py_BuildValue("s",_ptemp
);
3168 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3169 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
3170 PyObject
* _resultobj
;
3172 wxImageList
* _arg1
;
3177 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
3180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3186 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3195 wxPy_END_ALLOW_THREADS
;
3196 } Py_INCREF(Py_None
);
3197 _resultobj
= Py_None
;
3201 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3202 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
3203 PyObject
* _resultobj
;
3205 wxImageList
* _arg1
;
3210 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
3213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3219 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3228 wxPy_END_ALLOW_THREADS
;
3229 } Py_INCREF(Py_None
);
3230 _resultobj
= Py_None
;
3234 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3235 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
3236 PyObject
* _resultobj
;
3239 wxTreeItemId
* _arg1
;
3244 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
3247 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3253 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3262 wxPy_END_ALLOW_THREADS
;
3264 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3272 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3273 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
3274 PyObject
* _resultobj
;
3277 wxTreeItemId
* _arg1
;
3282 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
3285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3291 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3297 wxPy_BEGIN_ALLOW_THREADS
;
3298 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3300 wxPy_END_ALLOW_THREADS
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3306 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3307 PyObject
* _resultobj
;
3310 wxTreeItemId
* _arg1
;
3315 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
3318 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3324 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3330 wxPy_BEGIN_ALLOW_THREADS
;
3331 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3333 wxPy_END_ALLOW_THREADS
;
3334 } _resultobj
= Py_BuildValue("i",_result
);
3338 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3339 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3340 PyObject
* _resultobj
;
3342 wxTreeItemId
* _arg1
;
3346 PyObject
* _obj2
= 0;
3349 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3352 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3358 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3364 if (!PyString_Check(_obj2
)) {
3365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3368 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3384 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3385 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3386 PyObject
* _resultobj
;
3388 wxTreeItemId
* _arg1
;
3394 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3403 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3409 wxPy_BEGIN_ALLOW_THREADS
;
3410 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3412 wxPy_END_ALLOW_THREADS
;
3413 } Py_INCREF(Py_None
);
3414 _resultobj
= Py_None
;
3418 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3419 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3420 PyObject
* _resultobj
;
3422 wxTreeItemId
* _arg1
;
3428 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3437 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3446 wxPy_END_ALLOW_THREADS
;
3447 } Py_INCREF(Py_None
);
3448 _resultobj
= Py_None
;
3452 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3453 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3454 PyObject
* _resultobj
;
3456 wxTreeItemId
* _arg1
;
3463 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3466 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3472 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3477 _arg2
= (bool ) tempbool2
;
3479 wxPy_BEGIN_ALLOW_THREADS
;
3480 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3482 wxPy_END_ALLOW_THREADS
;
3483 } Py_INCREF(Py_None
);
3484 _resultobj
= Py_None
;
3488 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3489 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3491 data
= new wxPyTreeItemData();
3492 self
->SetItemData(item
, data
);
3496 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
3497 PyObject
* _resultobj
;
3498 wxPyTreeItemData
* _result
;
3500 wxTreeItemId
* _arg1
;
3506 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
3509 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3515 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3521 wxPy_BEGIN_ALLOW_THREADS
;
3522 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3524 wxPy_END_ALLOW_THREADS
;
3525 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3526 _resultobj
= Py_BuildValue("s",_ptemp
);
3530 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3531 self
->SetItemData(item
, data
);
3533 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3534 PyObject
* _resultobj
;
3536 wxTreeItemId
* _arg1
;
3537 wxPyTreeItemData
* _arg2
;
3543 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3552 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3558 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3574 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3576 data
= new wxPyTreeItemData();
3577 self
->SetItemData(item
, data
);
3579 return data
->GetData();
3581 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
) {
3582 PyObject
* _resultobj
;
3585 wxTreeItemId
* _arg1
;
3590 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPyData",&_argc0
,&_argc1
))
3593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3599 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3608 wxPy_END_ALLOW_THREADS
;
3610 _resultobj
= _result
;
3615 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3616 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3618 data
= new wxPyTreeItemData(obj
);
3619 self
->SetItemData(item
, data
);
3623 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
) {
3624 PyObject
* _resultobj
;
3626 wxTreeItemId
* _arg1
;
3630 PyObject
* _obj2
= 0;
3633 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetPyData",&_argc0
,&_argc1
,&_obj2
))
3636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
3642 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
3651 wxPy_BEGIN_ALLOW_THREADS
;
3652 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
3654 wxPy_END_ALLOW_THREADS
;
3655 } Py_INCREF(Py_None
);
3656 _resultobj
= Py_None
;
3660 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3661 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3662 PyObject
* _resultobj
;
3665 wxTreeItemId
* _arg1
;
3670 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3679 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3688 wxPy_END_ALLOW_THREADS
;
3689 } _resultobj
= Py_BuildValue("i",_result
);
3693 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3694 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3695 PyObject
* _resultobj
;
3698 wxTreeItemId
* _arg1
;
3703 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3706 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3712 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } _resultobj
= Py_BuildValue("i",_result
);
3726 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3727 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3728 PyObject
* _resultobj
;
3731 wxTreeItemId
* _arg1
;
3736 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3745 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } _resultobj
= Py_BuildValue("i",_result
);
3759 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3760 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3761 PyObject
* _resultobj
;
3764 wxTreeItemId
* _arg1
;
3769 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3772 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3778 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } _resultobj
= Py_BuildValue("i",_result
);
3792 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3793 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3794 PyObject
* _resultobj
;
3795 wxTreeItemId
* _result
;
3801 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3813 wxPy_END_ALLOW_THREADS
;
3814 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3815 _resultobj
= Py_BuildValue("s",_ptemp
);
3819 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3820 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3821 PyObject
* _resultobj
;
3822 wxTreeItemId
* _result
;
3828 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3840 wxPy_END_ALLOW_THREADS
;
3841 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3842 _resultobj
= Py_BuildValue("s",_ptemp
);
3846 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3847 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3848 PyObject
* _resultobj
;
3849 wxTreeItemId
* _result
;
3851 wxTreeItemId
* _arg1
;
3857 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3866 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3875 wxPy_END_ALLOW_THREADS
;
3876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3877 _resultobj
= Py_BuildValue("s",_ptemp
);
3881 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3882 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3883 PyObject
* _resultobj
;
3884 wxTreeItemId
* _result
;
3886 wxTreeItemId
* _arg1
;
3891 PyObject
* _obj2
= 0;
3895 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3904 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3910 temp
= (long) PyInt_AsLong(_obj2
);
3914 wxPy_BEGIN_ALLOW_THREADS
;
3915 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3917 wxPy_END_ALLOW_THREADS
;
3918 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3919 _resultobj
= Py_BuildValue("s",_ptemp
);
3922 o
= PyInt_FromLong((long) (*_arg2
));
3923 _resultobj
= t_output_helper(_resultobj
, o
);
3928 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3929 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
3930 PyObject
* _resultobj
;
3931 wxTreeItemId
* _result
;
3933 wxTreeItemId
* _arg1
;
3938 PyObject
* _obj2
= 0;
3942 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
3945 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3951 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3957 temp
= (long) PyInt_AsLong(_obj2
);
3961 wxPy_BEGIN_ALLOW_THREADS
;
3962 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
3964 wxPy_END_ALLOW_THREADS
;
3965 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3966 _resultobj
= Py_BuildValue("s",_ptemp
);
3969 o
= PyInt_FromLong((long) (*_arg2
));
3970 _resultobj
= t_output_helper(_resultobj
, o
);
3975 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3976 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
3977 PyObject
* _resultobj
;
3978 wxTreeItemId
* _result
;
3980 wxTreeItemId
* _arg1
;
3986 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
3989 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3995 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4004 wxPy_END_ALLOW_THREADS
;
4005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4006 _resultobj
= Py_BuildValue("s",_ptemp
);
4010 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4011 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
4012 PyObject
* _resultobj
;
4013 wxTreeItemId
* _result
;
4015 wxTreeItemId
* _arg1
;
4021 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
4024 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4030 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4039 wxPy_END_ALLOW_THREADS
;
4040 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4041 _resultobj
= Py_BuildValue("s",_ptemp
);
4045 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4046 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
4047 PyObject
* _resultobj
;
4048 wxTreeItemId
* _result
;
4054 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
4057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4066 wxPy_END_ALLOW_THREADS
;
4067 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4068 _resultobj
= Py_BuildValue("s",_ptemp
);
4072 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4073 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
4074 PyObject
* _resultobj
;
4075 wxTreeItemId
* _result
;
4077 wxTreeItemId
* _arg1
;
4083 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
4086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4092 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4098 wxPy_BEGIN_ALLOW_THREADS
;
4099 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4101 wxPy_END_ALLOW_THREADS
;
4102 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4103 _resultobj
= Py_BuildValue("s",_ptemp
);
4107 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4108 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
4109 PyObject
* _resultobj
;
4110 wxTreeItemId
* _result
;
4112 wxTreeItemId
* _arg1
;
4118 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
4121 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4127 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4133 wxPy_BEGIN_ALLOW_THREADS
;
4134 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4136 wxPy_END_ALLOW_THREADS
;
4137 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4138 _resultobj
= Py_BuildValue("s",_ptemp
);
4142 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4143 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
4144 PyObject
* _resultobj
;
4145 wxTreeItemId
* _result
;
4150 wxPyTreeItemData
* _arg4
= NULL
;
4152 PyObject
* _obj1
= 0;
4157 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
4160 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4166 if (!PyString_Check(_obj1
)) {
4167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4170 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4173 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4182 wxPy_END_ALLOW_THREADS
;
4183 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4184 _resultobj
= Py_BuildValue("s",_ptemp
);
4192 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4193 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
4194 PyObject
* _resultobj
;
4195 wxTreeItemId
* _result
;
4197 wxTreeItemId
* _arg1
;
4201 wxPyTreeItemData
* _arg5
= NULL
;
4204 PyObject
* _obj2
= 0;
4209 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4218 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4224 if (!PyString_Check(_obj2
)) {
4225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4228 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4231 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4240 wxPy_END_ALLOW_THREADS
;
4241 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4242 _resultobj
= Py_BuildValue("s",_ptemp
);
4250 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4251 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
4252 PyObject
* _resultobj
;
4253 wxTreeItemId
* _result
;
4255 wxTreeItemId
* _arg1
;
4256 wxTreeItemId
* _arg2
;
4260 wxPyTreeItemData
* _arg6
= NULL
;
4264 PyObject
* _obj3
= 0;
4269 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
4272 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4278 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4284 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4290 if (!PyString_Check(_obj3
)) {
4291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4294 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4297 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4306 wxPy_END_ALLOW_THREADS
;
4307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4308 _resultobj
= Py_BuildValue("s",_ptemp
);
4316 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4317 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
4318 PyObject
* _resultobj
;
4319 wxTreeItemId
* _result
;
4321 wxTreeItemId
* _arg1
;
4325 wxPyTreeItemData
* _arg5
= NULL
;
4328 PyObject
* _obj2
= 0;
4333 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4342 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4348 if (!PyString_Check(_obj2
)) {
4349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4352 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4355 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4364 wxPy_END_ALLOW_THREADS
;
4365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4366 _resultobj
= Py_BuildValue("s",_ptemp
);
4374 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4375 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
4376 PyObject
* _resultobj
;
4378 wxTreeItemId
* _arg1
;
4383 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
4386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4392 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4398 wxPy_BEGIN_ALLOW_THREADS
;
4399 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4401 wxPy_END_ALLOW_THREADS
;
4402 } Py_INCREF(Py_None
);
4403 _resultobj
= Py_None
;
4407 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4408 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
4409 PyObject
* _resultobj
;
4411 wxTreeItemId
* _arg1
;
4416 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
4419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4425 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4431 wxPy_BEGIN_ALLOW_THREADS
;
4432 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4434 wxPy_END_ALLOW_THREADS
;
4435 } Py_INCREF(Py_None
);
4436 _resultobj
= Py_None
;
4440 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4441 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
4442 PyObject
* _resultobj
;
4447 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
4450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxTreeCtrl_DeleteAllItems(_arg0
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4465 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4466 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
4467 PyObject
* _resultobj
;
4469 wxTreeItemId
* _arg1
;
4474 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
4477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4483 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } Py_INCREF(Py_None
);
4494 _resultobj
= Py_None
;
4498 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4499 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
4500 PyObject
* _resultobj
;
4502 wxTreeItemId
* _arg1
;
4507 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
4510 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
4516 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
4532 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
4533 PyObject
* _resultobj
;
4535 wxTreeItemId
* _arg1
;
4540 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
4543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
4549 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4565 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
4566 PyObject
* _resultobj
;
4568 wxTreeItemId
* _arg1
;
4573 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
4576 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
4582 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4591 wxPy_END_ALLOW_THREADS
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4597 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4598 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4599 PyObject
* _resultobj
;
4604 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 wxTreeCtrl_Unselect(_arg0
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4623 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4624 PyObject
* _resultobj
;
4626 wxTreeItemId
* _arg1
;
4631 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4640 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4646 wxPy_BEGIN_ALLOW_THREADS
;
4647 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4649 wxPy_END_ALLOW_THREADS
;
4650 } Py_INCREF(Py_None
);
4651 _resultobj
= Py_None
;
4655 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4656 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4657 PyObject
* _resultobj
;
4659 wxTreeItemId
* _arg1
;
4664 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4673 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4682 wxPy_END_ALLOW_THREADS
;
4683 } Py_INCREF(Py_None
);
4684 _resultobj
= Py_None
;
4688 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4689 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4690 PyObject
* _resultobj
;
4692 wxTreeItemId
* _arg1
;
4697 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4700 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4706 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4715 wxPy_END_ALLOW_THREADS
;
4716 } Py_INCREF(Py_None
);
4717 _resultobj
= Py_None
;
4721 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4722 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4723 PyObject
* _resultobj
;
4724 wxTextCtrl
* _result
;
4726 wxTreeItemId
* _arg1
;
4732 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4735 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4741 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4747 wxPy_BEGIN_ALLOW_THREADS
;
4748 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4750 wxPy_END_ALLOW_THREADS
;
4751 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4752 _resultobj
= Py_BuildValue("s",_ptemp
);
4756 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4757 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4758 PyObject
* _resultobj
;
4759 wxTextCtrl
* _result
;
4765 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4777 wxPy_END_ALLOW_THREADS
;
4778 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4779 _resultobj
= Py_BuildValue("s",_ptemp
);
4783 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4784 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4785 PyObject
* _resultobj
;
4787 wxTreeItemId
* _arg1
;
4794 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4803 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4808 _arg2
= (bool ) tempbool2
;
4810 wxPy_BEGIN_ALLOW_THREADS
;
4811 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4813 wxPy_END_ALLOW_THREADS
;
4814 } Py_INCREF(Py_None
);
4815 _resultobj
= Py_None
;
4819 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4820 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4821 PyObject
* _resultobj
;
4823 wxTreeItemId
* _arg1
;
4830 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4833 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4839 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4844 _arg2
= (bool ) tempbool2
;
4846 wxPy_BEGIN_ALLOW_THREADS
;
4847 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4849 wxPy_END_ALLOW_THREADS
;
4850 } Py_INCREF(Py_None
);
4851 _resultobj
= Py_None
;
4855 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4856 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4857 PyObject
* _resultobj
;
4860 wxTreeItemId
* _arg1
;
4865 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4874 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4880 wxPy_BEGIN_ALLOW_THREADS
;
4881 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4883 wxPy_END_ALLOW_THREADS
;
4884 } _resultobj
= Py_BuildValue("i",_result
);
4888 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4889 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4890 PyObject
* _resultobj
;
4891 wxTreeItemId
* _result
;
4899 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4902 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4908 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4914 wxPy_BEGIN_ALLOW_THREADS
;
4915 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4917 wxPy_END_ALLOW_THREADS
;
4918 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4919 _resultobj
= Py_BuildValue("s",_ptemp
);
4923 static PyMethodDef controls2cMethods
[] = {
4924 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4925 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4926 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4927 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
4928 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
4929 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4930 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4931 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4932 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4933 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4934 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4935 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4936 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4937 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4938 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4939 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4940 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4941 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4942 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4943 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4944 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4945 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4946 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4947 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4948 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4949 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4950 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4951 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4952 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4953 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4954 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4955 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4956 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4957 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4958 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
4959 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData
, 1 },
4960 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData
, 1 },
4961 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
4962 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
4963 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
4964 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
4965 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
4966 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
4967 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
4968 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
4969 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
4970 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
4971 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
4972 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
4973 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
4974 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
4975 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
4976 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
4977 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
4978 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
4979 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
4980 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
4981 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
4982 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
4983 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
4984 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
4985 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData
, 1 },
4986 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData
, 1 },
4987 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
4988 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
4989 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
4990 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
4991 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
4992 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
4993 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
4994 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
4995 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
4996 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
4997 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
4998 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
4999 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
5000 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
5001 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
5002 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
5003 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
5004 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
5005 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
5006 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
5007 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
5008 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
5009 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
5010 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
5011 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
5012 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
5013 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
5014 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
5015 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
5016 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
5017 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
5018 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
5019 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
5020 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
5021 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
5022 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
5023 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
5024 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
5025 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
5026 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
5027 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
5028 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
5029 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
5030 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
5031 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
5032 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
5033 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
5034 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
5035 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
5036 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
5037 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
5038 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
5039 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
5040 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
5041 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
5042 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
5043 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
5044 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
5045 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
5046 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
5047 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
5048 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
5049 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
5050 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
5051 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
5052 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
5053 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
5054 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
5055 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
5056 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
5057 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
5058 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
5059 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
5060 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
5061 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
5062 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
5063 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
5064 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
5065 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
5066 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
5067 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
5068 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
5069 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
5070 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
5071 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
5072 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
5073 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
5076 static PyObject
*SWIG_globals
;
5080 SWIGEXPORT(void,initcontrols2c
)() {
5082 SWIG_globals
= SWIG_newvarlink();
5083 m
= Py_InitModule("controls2c", controls2cMethods
);
5084 d
= PyModule_GetDict(m
);
5085 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5086 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5087 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5088 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5089 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5090 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5091 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5092 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5093 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5094 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5095 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5096 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5097 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5098 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5099 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5100 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5101 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5102 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5103 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5104 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5105 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5106 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5107 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5108 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5109 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5110 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5111 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5112 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5113 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5114 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5115 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5116 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5117 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5118 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5119 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5120 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5121 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5122 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5123 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5124 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5125 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5126 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5128 * These are the pointer type-equivalency mappings.
5129 * (Used by the SWIG pointer type-checker).
5131 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5132 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5133 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5134 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5135 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5136 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
5137 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
5138 SWIG_RegisterMapping("_signed_long","_long",0);
5139 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
5140 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5141 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5142 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
5143 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5144 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5145 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5146 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5147 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5148 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
5149 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5150 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5151 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
5152 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5153 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5154 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5155 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5156 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
5157 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5158 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
5159 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
5160 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
5161 SWIG_RegisterMapping("_long","_wxDash",0);
5162 SWIG_RegisterMapping("_long","_unsigned_long",0);
5163 SWIG_RegisterMapping("_long","_signed_long",0);
5164 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5165 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
5166 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
5167 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5168 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
5169 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5170 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
5171 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
5172 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5173 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5174 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
5175 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
5176 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5177 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5178 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
5179 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
5180 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
5181 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
5182 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5183 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5184 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
5185 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5186 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5187 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
5188 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
5189 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5190 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
5191 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5192 SWIG_RegisterMapping("_uint","_int",0);
5193 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5194 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5195 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5196 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5197 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5198 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
5199 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
5200 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5201 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5202 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5203 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5204 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5205 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
5206 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
5207 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5208 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
5209 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
5210 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5211 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5212 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5213 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
5214 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
5215 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5216 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
5217 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
5218 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
5219 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
5220 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
5221 SWIG_RegisterMapping("_EBool","_signed_int",0);
5222 SWIG_RegisterMapping("_EBool","_int",0);
5223 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5224 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5225 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
5226 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
5227 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5228 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
5229 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5230 SWIG_RegisterMapping("_unsigned_long","_long",0);
5231 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5232 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5233 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
5234 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5235 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
5236 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
5237 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
5238 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5239 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5240 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
5241 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
5242 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
5243 SWIG_RegisterMapping("_signed_int","_EBool",0);
5244 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5245 SWIG_RegisterMapping("_signed_int","_int",0);
5246 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
5247 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5248 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5249 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
5250 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
5251 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5252 SWIG_RegisterMapping("_WXTYPE","_short",0);
5253 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5254 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5255 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5256 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5257 SWIG_RegisterMapping("_unsigned_short","_short",0);
5258 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5259 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5260 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5261 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5262 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5263 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
5264 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5265 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
5266 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
5267 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5268 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
5269 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
5270 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5271 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5272 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
5273 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5274 SWIG_RegisterMapping("_signed_short","_short",0);
5275 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5276 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5277 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5278 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
5279 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
5280 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5281 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5282 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5283 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5284 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
5285 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5286 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5287 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5288 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5289 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5290 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5291 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
5292 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
5293 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5294 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5295 SWIG_RegisterMapping("_unsigned_int","_int",0);
5296 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5297 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5298 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5299 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
5300 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5301 SWIG_RegisterMapping("_short","_WXTYPE",0);
5302 SWIG_RegisterMapping("_short","_unsigned_short",0);
5303 SWIG_RegisterMapping("_short","_signed_short",0);
5304 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5305 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5306 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5307 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5308 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5309 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5310 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5311 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5312 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5313 SWIG_RegisterMapping("_wxWindowID","_int",0);
5314 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5315 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5316 SWIG_RegisterMapping("_int","_EBool",0);
5317 SWIG_RegisterMapping("_int","_uint",0);
5318 SWIG_RegisterMapping("_int","_wxWindowID",0);
5319 SWIG_RegisterMapping("_int","_unsigned_int",0);
5320 SWIG_RegisterMapping("_int","_signed_int",0);
5321 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5322 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
5323 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5324 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5325 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5326 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5327 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
5328 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5329 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5330 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5331 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5332 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5333 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
5334 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
5335 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5336 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5337 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5338 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5339 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5340 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5341 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5342 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5343 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5344 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5345 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5346 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5347 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5348 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5349 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5350 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5351 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5352 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5353 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5354 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5355 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5356 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5357 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5358 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5359 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5360 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5361 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5362 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
5363 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5364 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5365 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5366 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5367 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
5368 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5369 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5370 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5371 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5372 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5373 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5374 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5375 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5376 SWIG_RegisterMapping("_wxDash","_long",0);
5377 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5378 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5379 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5380 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5381 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5382 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5383 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5384 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5385 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5386 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);