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
;
3044 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
3047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3062 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
3063 PyObject
* _resultobj
;
3064 unsigned int _result
;
3069 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
3072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3081 wxPy_END_ALLOW_THREADS
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3086 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3087 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
3088 PyObject
* _resultobj
;
3094 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
3097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3103 wxPy_BEGIN_ALLOW_THREADS
;
3104 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3106 wxPy_END_ALLOW_THREADS
;
3107 } Py_INCREF(Py_None
);
3108 _resultobj
= Py_None
;
3112 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3113 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
3114 PyObject
* _resultobj
;
3115 wxImageList
* _result
;
3121 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
3124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3133 wxPy_END_ALLOW_THREADS
;
3134 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3135 _resultobj
= Py_BuildValue("s",_ptemp
);
3139 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3140 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
3141 PyObject
* _resultobj
;
3142 wxImageList
* _result
;
3148 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
3151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3160 wxPy_END_ALLOW_THREADS
;
3161 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3162 _resultobj
= Py_BuildValue("s",_ptemp
);
3166 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3167 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
3168 PyObject
* _resultobj
;
3170 wxImageList
* _arg1
;
3175 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
3178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3184 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3190 wxPy_BEGIN_ALLOW_THREADS
;
3191 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3193 wxPy_END_ALLOW_THREADS
;
3194 } Py_INCREF(Py_None
);
3195 _resultobj
= Py_None
;
3199 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3200 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
3201 PyObject
* _resultobj
;
3203 wxImageList
* _arg1
;
3208 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
3211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3217 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3233 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
3234 PyObject
* _resultobj
;
3237 wxTreeItemId
* _arg1
;
3242 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
3245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3251 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3257 wxPy_BEGIN_ALLOW_THREADS
;
3258 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3260 wxPy_END_ALLOW_THREADS
;
3262 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3270 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3271 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
3272 PyObject
* _resultobj
;
3275 wxTreeItemId
* _arg1
;
3280 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
3283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3289 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3295 wxPy_BEGIN_ALLOW_THREADS
;
3296 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3298 wxPy_END_ALLOW_THREADS
;
3299 } _resultobj
= Py_BuildValue("i",_result
);
3303 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3304 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3305 PyObject
* _resultobj
;
3308 wxTreeItemId
* _arg1
;
3313 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
3316 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3322 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3331 wxPy_END_ALLOW_THREADS
;
3332 } _resultobj
= Py_BuildValue("i",_result
);
3336 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3337 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3338 PyObject
* _resultobj
;
3340 wxTreeItemId
* _arg1
;
3344 PyObject
* _obj2
= 0;
3347 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3356 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3362 if (!PyString_Check(_obj2
)) {
3363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3366 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3372 wxPy_END_ALLOW_THREADS
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3382 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3383 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3384 PyObject
* _resultobj
;
3386 wxTreeItemId
* _arg1
;
3392 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3401 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3407 wxPy_BEGIN_ALLOW_THREADS
;
3408 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3410 wxPy_END_ALLOW_THREADS
;
3411 } Py_INCREF(Py_None
);
3412 _resultobj
= Py_None
;
3416 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3417 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3418 PyObject
* _resultobj
;
3420 wxTreeItemId
* _arg1
;
3426 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3435 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3444 wxPy_END_ALLOW_THREADS
;
3445 } Py_INCREF(Py_None
);
3446 _resultobj
= Py_None
;
3450 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3452 PyObject
* _resultobj
;
3454 wxTreeItemId
* _arg1
;
3461 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3470 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3475 _arg2
= (bool ) tempbool2
;
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3480 wxPy_END_ALLOW_THREADS
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3487 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3489 data
= new wxPyTreeItemData();
3490 self
->SetItemData(item
, data
);
3494 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
3495 PyObject
* _resultobj
;
3496 wxPyTreeItemData
* _result
;
3498 wxTreeItemId
* _arg1
;
3504 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
3507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3513 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3522 wxPy_END_ALLOW_THREADS
;
3523 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3528 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3529 self
->SetItemData(item
, data
);
3531 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3532 PyObject
* _resultobj
;
3534 wxTreeItemId
* _arg1
;
3535 wxPyTreeItemData
* _arg2
;
3541 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3550 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3556 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } Py_INCREF(Py_None
);
3567 _resultobj
= Py_None
;
3571 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3572 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3574 data
= new wxPyTreeItemData();
3575 self
->SetItemData(item
, data
);
3577 return data
->GetData();
3579 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
) {
3580 PyObject
* _resultobj
;
3583 wxTreeItemId
* _arg1
;
3588 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPyData",&_argc0
,&_argc1
))
3591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3597 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3603 wxPy_BEGIN_ALLOW_THREADS
;
3604 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3606 wxPy_END_ALLOW_THREADS
;
3608 _resultobj
= _result
;
3613 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3614 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3616 data
= new wxPyTreeItemData(obj
);
3617 self
->SetItemData(item
, data
);
3621 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
) {
3622 PyObject
* _resultobj
;
3624 wxTreeItemId
* _arg1
;
3628 PyObject
* _obj2
= 0;
3631 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetPyData",&_argc0
,&_argc1
,&_obj2
))
3634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
3640 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
3652 wxPy_END_ALLOW_THREADS
;
3653 } Py_INCREF(Py_None
);
3654 _resultobj
= Py_None
;
3658 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3659 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3660 PyObject
* _resultobj
;
3663 wxTreeItemId
* _arg1
;
3668 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3677 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3686 wxPy_END_ALLOW_THREADS
;
3687 } _resultobj
= Py_BuildValue("i",_result
);
3691 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3692 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3693 PyObject
* _resultobj
;
3696 wxTreeItemId
* _arg1
;
3701 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3710 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 } _resultobj
= Py_BuildValue("i",_result
);
3724 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3725 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3726 PyObject
* _resultobj
;
3729 wxTreeItemId
* _arg1
;
3734 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3737 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3743 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3752 wxPy_END_ALLOW_THREADS
;
3753 } _resultobj
= Py_BuildValue("i",_result
);
3757 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3758 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3759 PyObject
* _resultobj
;
3762 wxTreeItemId
* _arg1
;
3767 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3776 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3785 wxPy_END_ALLOW_THREADS
;
3786 } _resultobj
= Py_BuildValue("i",_result
);
3790 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3791 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3792 PyObject
* _resultobj
;
3793 wxTreeItemId
* _result
;
3799 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3811 wxPy_END_ALLOW_THREADS
;
3812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3813 _resultobj
= Py_BuildValue("s",_ptemp
);
3817 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3818 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3819 PyObject
* _resultobj
;
3820 wxTreeItemId
* _result
;
3826 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3829 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3835 wxPy_BEGIN_ALLOW_THREADS
;
3836 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3838 wxPy_END_ALLOW_THREADS
;
3839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3840 _resultobj
= Py_BuildValue("s",_ptemp
);
3844 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3845 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3846 PyObject
* _resultobj
;
3847 wxTreeItemId
* _result
;
3849 wxTreeItemId
* _arg1
;
3855 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3864 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3873 wxPy_END_ALLOW_THREADS
;
3874 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3875 _resultobj
= Py_BuildValue("s",_ptemp
);
3879 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3880 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3881 PyObject
* _resultobj
;
3882 wxTreeItemId
* _result
;
3884 wxTreeItemId
* _arg1
;
3889 PyObject
* _obj2
= 0;
3893 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3902 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3908 temp
= (long) PyInt_AsLong(_obj2
);
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3915 wxPy_END_ALLOW_THREADS
;
3916 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3917 _resultobj
= Py_BuildValue("s",_ptemp
);
3920 o
= PyInt_FromLong((long) (*_arg2
));
3921 _resultobj
= t_output_helper(_resultobj
, o
);
3926 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3927 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
3928 PyObject
* _resultobj
;
3929 wxTreeItemId
* _result
;
3931 wxTreeItemId
* _arg1
;
3936 PyObject
* _obj2
= 0;
3940 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
3943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3949 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3955 temp
= (long) PyInt_AsLong(_obj2
);
3959 wxPy_BEGIN_ALLOW_THREADS
;
3960 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
3962 wxPy_END_ALLOW_THREADS
;
3963 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3964 _resultobj
= Py_BuildValue("s",_ptemp
);
3967 o
= PyInt_FromLong((long) (*_arg2
));
3968 _resultobj
= t_output_helper(_resultobj
, o
);
3973 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3974 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
3975 PyObject
* _resultobj
;
3976 wxTreeItemId
* _result
;
3978 wxTreeItemId
* _arg1
;
3984 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
3987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3993 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4002 wxPy_END_ALLOW_THREADS
;
4003 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4004 _resultobj
= Py_BuildValue("s",_ptemp
);
4008 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4009 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
4010 PyObject
* _resultobj
;
4011 wxTreeItemId
* _result
;
4013 wxTreeItemId
* _arg1
;
4019 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
4022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4028 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4034 wxPy_BEGIN_ALLOW_THREADS
;
4035 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4037 wxPy_END_ALLOW_THREADS
;
4038 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4039 _resultobj
= Py_BuildValue("s",_ptemp
);
4043 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4044 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
4045 PyObject
* _resultobj
;
4046 wxTreeItemId
* _result
;
4052 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
4055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4061 wxPy_BEGIN_ALLOW_THREADS
;
4062 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4064 wxPy_END_ALLOW_THREADS
;
4065 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4066 _resultobj
= Py_BuildValue("s",_ptemp
);
4070 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4071 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
4072 PyObject
* _resultobj
;
4073 wxTreeItemId
* _result
;
4075 wxTreeItemId
* _arg1
;
4081 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
4084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4090 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4096 wxPy_BEGIN_ALLOW_THREADS
;
4097 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4099 wxPy_END_ALLOW_THREADS
;
4100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4101 _resultobj
= Py_BuildValue("s",_ptemp
);
4105 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4106 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
4107 PyObject
* _resultobj
;
4108 wxTreeItemId
* _result
;
4110 wxTreeItemId
* _arg1
;
4116 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
4119 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4125 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4134 wxPy_END_ALLOW_THREADS
;
4135 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4136 _resultobj
= Py_BuildValue("s",_ptemp
);
4140 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4141 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
4142 PyObject
* _resultobj
;
4143 wxTreeItemId
* _result
;
4148 wxPyTreeItemData
* _arg4
= NULL
;
4150 PyObject
* _obj1
= 0;
4155 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
4158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4164 if (!PyString_Check(_obj1
)) {
4165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4168 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4171 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4180 wxPy_END_ALLOW_THREADS
;
4181 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4182 _resultobj
= Py_BuildValue("s",_ptemp
);
4190 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4191 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
4192 PyObject
* _resultobj
;
4193 wxTreeItemId
* _result
;
4195 wxTreeItemId
* _arg1
;
4199 wxPyTreeItemData
* _arg5
= NULL
;
4202 PyObject
* _obj2
= 0;
4207 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4216 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4222 if (!PyString_Check(_obj2
)) {
4223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4226 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4229 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4235 wxPy_BEGIN_ALLOW_THREADS
;
4236 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4238 wxPy_END_ALLOW_THREADS
;
4239 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4240 _resultobj
= Py_BuildValue("s",_ptemp
);
4248 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4249 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
4250 PyObject
* _resultobj
;
4251 wxTreeItemId
* _result
;
4253 wxTreeItemId
* _arg1
;
4254 wxTreeItemId
* _arg2
;
4258 wxPyTreeItemData
* _arg6
= NULL
;
4262 PyObject
* _obj3
= 0;
4267 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
4270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4276 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4282 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4288 if (!PyString_Check(_obj3
)) {
4289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4292 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4295 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4304 wxPy_END_ALLOW_THREADS
;
4305 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4306 _resultobj
= Py_BuildValue("s",_ptemp
);
4314 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4315 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
4316 PyObject
* _resultobj
;
4317 wxTreeItemId
* _result
;
4319 wxTreeItemId
* _arg1
;
4323 wxPyTreeItemData
* _arg5
= NULL
;
4326 PyObject
* _obj2
= 0;
4331 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4340 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4346 if (!PyString_Check(_obj2
)) {
4347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4350 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4353 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4362 wxPy_END_ALLOW_THREADS
;
4363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4364 _resultobj
= Py_BuildValue("s",_ptemp
);
4372 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4373 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
4374 PyObject
* _resultobj
;
4376 wxTreeItemId
* _arg1
;
4381 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
4384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4390 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4396 wxPy_BEGIN_ALLOW_THREADS
;
4397 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4399 wxPy_END_ALLOW_THREADS
;
4400 } Py_INCREF(Py_None
);
4401 _resultobj
= Py_None
;
4405 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4406 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
4407 PyObject
* _resultobj
;
4409 wxTreeItemId
* _arg1
;
4414 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
4417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4423 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4432 wxPy_END_ALLOW_THREADS
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4438 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4439 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
4440 PyObject
* _resultobj
;
4445 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
4448 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 wxTreeCtrl_DeleteAllItems(_arg0
);
4457 wxPy_END_ALLOW_THREADS
;
4458 } Py_INCREF(Py_None
);
4459 _resultobj
= Py_None
;
4463 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4464 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
4465 PyObject
* _resultobj
;
4467 wxTreeItemId
* _arg1
;
4472 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
4475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4481 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4487 wxPy_BEGIN_ALLOW_THREADS
;
4488 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4490 wxPy_END_ALLOW_THREADS
;
4491 } Py_INCREF(Py_None
);
4492 _resultobj
= Py_None
;
4496 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4497 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
4498 PyObject
* _resultobj
;
4500 wxTreeItemId
* _arg1
;
4505 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
4508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
4514 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
4520 wxPy_BEGIN_ALLOW_THREADS
;
4521 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
4523 wxPy_END_ALLOW_THREADS
;
4524 } Py_INCREF(Py_None
);
4525 _resultobj
= Py_None
;
4529 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
4530 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
4531 PyObject
* _resultobj
;
4533 wxTreeItemId
* _arg1
;
4538 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
4541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
4547 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4563 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
4564 PyObject
* _resultobj
;
4566 wxTreeItemId
* _arg1
;
4571 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
4574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
4580 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4586 wxPy_BEGIN_ALLOW_THREADS
;
4587 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4589 wxPy_END_ALLOW_THREADS
;
4590 } Py_INCREF(Py_None
);
4591 _resultobj
= Py_None
;
4595 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4596 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4597 PyObject
* _resultobj
;
4602 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 wxTreeCtrl_Unselect(_arg0
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } Py_INCREF(Py_None
);
4616 _resultobj
= Py_None
;
4620 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4621 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4622 PyObject
* _resultobj
;
4624 wxTreeItemId
* _arg1
;
4629 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4638 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4644 wxPy_BEGIN_ALLOW_THREADS
;
4645 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4647 wxPy_END_ALLOW_THREADS
;
4648 } Py_INCREF(Py_None
);
4649 _resultobj
= Py_None
;
4653 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4654 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4655 PyObject
* _resultobj
;
4657 wxTreeItemId
* _arg1
;
4662 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4671 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4680 wxPy_END_ALLOW_THREADS
;
4681 } Py_INCREF(Py_None
);
4682 _resultobj
= Py_None
;
4686 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4687 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4688 PyObject
* _resultobj
;
4690 wxTreeItemId
* _arg1
;
4695 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4704 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4713 wxPy_END_ALLOW_THREADS
;
4714 } Py_INCREF(Py_None
);
4715 _resultobj
= Py_None
;
4719 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4720 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4721 PyObject
* _resultobj
;
4722 wxTextCtrl
* _result
;
4724 wxTreeItemId
* _arg1
;
4730 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4733 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4739 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4745 wxPy_BEGIN_ALLOW_THREADS
;
4746 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4748 wxPy_END_ALLOW_THREADS
;
4749 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4750 _resultobj
= Py_BuildValue("s",_ptemp
);
4754 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4755 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4756 PyObject
* _resultobj
;
4757 wxTextCtrl
* _result
;
4763 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4775 wxPy_END_ALLOW_THREADS
;
4776 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4777 _resultobj
= Py_BuildValue("s",_ptemp
);
4781 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4782 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4783 PyObject
* _resultobj
;
4785 wxTreeItemId
* _arg1
;
4792 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4801 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4806 _arg2
= (bool ) tempbool2
;
4808 wxPy_BEGIN_ALLOW_THREADS
;
4809 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4811 wxPy_END_ALLOW_THREADS
;
4812 } Py_INCREF(Py_None
);
4813 _resultobj
= Py_None
;
4817 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4818 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4819 PyObject
* _resultobj
;
4821 wxTreeItemId
* _arg1
;
4828 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4837 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4842 _arg2
= (bool ) tempbool2
;
4844 wxPy_BEGIN_ALLOW_THREADS
;
4845 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4847 wxPy_END_ALLOW_THREADS
;
4848 } Py_INCREF(Py_None
);
4849 _resultobj
= Py_None
;
4853 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4854 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4855 PyObject
* _resultobj
;
4858 wxTreeItemId
* _arg1
;
4863 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4872 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4881 wxPy_END_ALLOW_THREADS
;
4882 } _resultobj
= Py_BuildValue("i",_result
);
4886 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4887 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4888 PyObject
* _resultobj
;
4889 wxTreeItemId
* _result
;
4897 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4906 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4912 wxPy_BEGIN_ALLOW_THREADS
;
4913 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4915 wxPy_END_ALLOW_THREADS
;
4916 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4917 _resultobj
= Py_BuildValue("s",_ptemp
);
4921 static PyMethodDef controls2cMethods
[] = {
4922 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4923 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4924 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4925 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
4926 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
4927 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4928 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4929 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4930 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4931 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4932 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4933 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4934 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4935 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4936 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4937 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4938 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4939 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4940 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4941 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4942 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4943 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4944 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4945 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4946 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4947 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4948 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4949 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4950 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4951 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4952 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4953 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4954 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4955 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4956 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
4957 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData
, 1 },
4958 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData
, 1 },
4959 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
4960 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
4961 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
4962 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
4963 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
4964 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
4965 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
4966 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
4967 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
4968 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
4969 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
4970 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
4971 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
4972 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
4973 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
4974 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
4975 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
4976 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
4977 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
4978 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
4979 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
4980 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
4981 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
4982 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
4983 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData
, 1 },
4984 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData
, 1 },
4985 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
4986 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
4987 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
4988 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
4989 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
4990 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
4991 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
4992 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
4993 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
4994 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
4995 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
4996 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
4997 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
4998 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
4999 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
5000 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
5001 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
5002 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
5003 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
5004 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
5005 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
5006 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
5007 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
5008 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
5009 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
5010 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
5011 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
5012 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
5013 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
5014 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
5015 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
5016 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
5017 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
5018 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
5019 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
5020 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
5021 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
5022 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
5023 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
5024 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
5025 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
5026 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
5027 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
5028 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
5029 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
5030 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
5031 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
5032 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
5033 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
5034 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
5035 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
5036 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
5037 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
5038 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
5039 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
5040 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
5041 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
5042 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
5043 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
5044 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
5045 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
5046 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
5047 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
5048 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
5049 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
5050 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
5051 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
5052 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
5053 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
5054 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
5055 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
5056 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
5057 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
5058 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
5059 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
5060 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
5061 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
5062 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
5063 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
5064 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
5065 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
5066 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
5067 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
5068 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
5069 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
5070 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
5071 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
5074 static PyObject
*SWIG_globals
;
5078 SWIGEXPORT(void,initcontrols2c
)() {
5080 SWIG_globals
= SWIG_newvarlink();
5081 m
= Py_InitModule("controls2c", controls2cMethods
);
5082 d
= PyModule_GetDict(m
);
5083 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5084 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5085 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5086 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5087 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5088 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5089 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5090 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5091 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5092 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5093 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5094 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5095 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5096 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5097 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5098 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5099 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5100 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5101 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5102 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5103 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5104 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5105 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5106 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5107 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5108 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5109 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5110 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5111 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5112 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5113 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5114 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5115 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5116 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5117 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5118 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5119 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5120 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5121 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5122 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5123 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5124 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5126 * These are the pointer type-equivalency mappings.
5127 * (Used by the SWIG pointer type-checker).
5129 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5130 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5131 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5132 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5133 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5134 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
5135 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
5136 SWIG_RegisterMapping("_signed_long","_long",0);
5137 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
5138 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5139 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5140 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
5141 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5142 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5143 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5144 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5145 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5146 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
5147 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5148 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5149 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
5150 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5151 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5152 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5153 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5154 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
5155 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5156 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
5157 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
5158 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
5159 SWIG_RegisterMapping("_long","_wxDash",0);
5160 SWIG_RegisterMapping("_long","_unsigned_long",0);
5161 SWIG_RegisterMapping("_long","_signed_long",0);
5162 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5163 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
5164 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
5165 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5166 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
5167 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5168 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
5169 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
5170 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5171 SWIG_RegisterMapping("_size_t","_int",0);
5172 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5173 SWIG_RegisterMapping("_size_t","_uint",0);
5174 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5175 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5176 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
5177 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
5178 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5179 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5180 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
5181 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
5182 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
5183 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
5184 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5185 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5186 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
5187 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5188 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5189 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
5190 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
5191 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5192 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
5193 SWIG_RegisterMapping("_uint","_size_t",0);
5194 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5195 SWIG_RegisterMapping("_uint","_int",0);
5196 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5197 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5198 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5199 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5200 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5201 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
5202 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
5203 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5204 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5205 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5206 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5207 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5208 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
5209 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
5210 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5211 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
5212 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
5213 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5214 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5215 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5216 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
5217 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
5218 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5219 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
5220 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
5221 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
5222 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
5223 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
5224 SWIG_RegisterMapping("_EBool","_signed_int",0);
5225 SWIG_RegisterMapping("_EBool","_int",0);
5226 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5227 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5228 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
5229 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
5230 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5231 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
5232 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5233 SWIG_RegisterMapping("_unsigned_long","_long",0);
5234 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5235 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5236 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
5237 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5238 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
5239 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
5240 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
5241 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5242 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5243 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
5244 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
5245 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
5246 SWIG_RegisterMapping("_signed_int","_EBool",0);
5247 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5248 SWIG_RegisterMapping("_signed_int","_int",0);
5249 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
5250 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5251 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5252 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
5253 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
5254 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5255 SWIG_RegisterMapping("_WXTYPE","_short",0);
5256 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5257 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5258 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5259 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5260 SWIG_RegisterMapping("_unsigned_short","_short",0);
5261 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5262 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5263 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5264 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5265 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5266 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
5267 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5268 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
5269 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
5270 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5271 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
5272 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
5273 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5274 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5275 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
5276 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5277 SWIG_RegisterMapping("_signed_short","_short",0);
5278 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5279 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5280 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5281 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
5282 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
5283 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5284 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5285 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5286 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5287 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
5288 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5289 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5290 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5291 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5292 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5293 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5294 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
5295 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
5296 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5297 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5298 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5299 SWIG_RegisterMapping("_unsigned_int","_int",0);
5300 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5301 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5302 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5303 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
5304 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5305 SWIG_RegisterMapping("_short","_WXTYPE",0);
5306 SWIG_RegisterMapping("_short","_unsigned_short",0);
5307 SWIG_RegisterMapping("_short","_signed_short",0);
5308 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5309 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5310 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5311 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5312 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5313 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5314 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5315 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5316 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5317 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5318 SWIG_RegisterMapping("_wxWindowID","_int",0);
5319 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5320 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5321 SWIG_RegisterMapping("_int","_size_t",0);
5322 SWIG_RegisterMapping("_int","_EBool",0);
5323 SWIG_RegisterMapping("_int","_uint",0);
5324 SWIG_RegisterMapping("_int","_wxWindowID",0);
5325 SWIG_RegisterMapping("_int","_unsigned_int",0);
5326 SWIG_RegisterMapping("_int","_signed_int",0);
5327 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5328 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
5329 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5330 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5331 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5332 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5333 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
5334 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5335 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5336 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5337 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5338 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5339 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
5340 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
5341 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5342 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5343 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5344 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5345 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5346 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5347 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5348 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5349 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5350 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5351 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5352 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5353 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5354 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5355 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5356 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5357 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5358 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5359 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5360 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5361 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5362 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5363 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5364 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5365 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5366 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5367 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5368 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
5369 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5370 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5371 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5372 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5373 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
5374 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5375 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5376 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5377 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5378 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5379 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5380 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5381 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5382 SWIG_RegisterMapping("_wxDash","_long",0);
5383 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5384 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5385 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5386 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5387 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5388 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5389 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5390 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5391 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5392 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);