2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 extern wxValidator wxPyDefaultValidator
;
121 class wxPyTreeItemData
: public wxTreeItemData
{
123 wxPyTreeItemData(PyObject
* obj
= NULL
) {
130 ~wxPyTreeItemData() {
131 #ifdef WXP_WITH_THREAD
132 PyEval_RestoreThread(wxPyEventThreadState
);
135 #ifdef WXP_WITH_THREAD
140 PyObject
* GetData() {
145 void SetData(PyObject
* obj
) {
153 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
154 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
) {
155 PyObject
* _resultobj
;
162 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_mask_set",&_argc0
,&_arg1
))
165 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
171 wxPy_BEGIN_ALLOW_THREADS
;
172 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
174 wxPy_END_ALLOW_THREADS
;
175 } _resultobj
= Py_BuildValue("l",_result
);
179 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
180 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
181 PyObject
* _resultobj
;
187 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
190 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
196 wxPy_BEGIN_ALLOW_THREADS
;
197 _result
= (long )wxListItem_m_mask_get(_arg0
);
199 wxPy_END_ALLOW_THREADS
;
200 } _resultobj
= Py_BuildValue("l",_result
);
204 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
205 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
213 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_itemId_set",&_argc0
,&_arg1
))
216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
222 wxPy_BEGIN_ALLOW_THREADS
;
223 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
225 wxPy_END_ALLOW_THREADS
;
226 } _resultobj
= Py_BuildValue("l",_result
);
230 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
231 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
232 PyObject
* _resultobj
;
238 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (long )wxListItem_m_itemId_get(_arg0
);
250 wxPy_END_ALLOW_THREADS
;
251 } _resultobj
= Py_BuildValue("l",_result
);
255 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
256 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
) {
257 PyObject
* _resultobj
;
264 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_col_set",&_argc0
,&_arg1
))
267 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
273 wxPy_BEGIN_ALLOW_THREADS
;
274 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
276 wxPy_END_ALLOW_THREADS
;
277 } _resultobj
= Py_BuildValue("i",_result
);
281 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
282 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
283 PyObject
* _resultobj
;
289 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
292 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= (int )wxListItem_m_col_get(_arg0
);
301 wxPy_END_ALLOW_THREADS
;
302 } _resultobj
= Py_BuildValue("i",_result
);
306 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
307 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
) {
308 PyObject
* _resultobj
;
315 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_state_set",&_argc0
,&_arg1
))
318 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
324 wxPy_BEGIN_ALLOW_THREADS
;
325 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
327 wxPy_END_ALLOW_THREADS
;
328 } _resultobj
= Py_BuildValue("l",_result
);
332 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
333 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
334 PyObject
* _resultobj
;
340 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
343 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
349 wxPy_BEGIN_ALLOW_THREADS
;
350 _result
= (long )wxListItem_m_state_get(_arg0
);
352 wxPy_END_ALLOW_THREADS
;
353 } _resultobj
= Py_BuildValue("l",_result
);
357 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
358 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
) {
359 PyObject
* _resultobj
;
366 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_stateMask_set",&_argc0
,&_arg1
))
369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
378 wxPy_END_ALLOW_THREADS
;
379 } _resultobj
= Py_BuildValue("l",_result
);
383 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
384 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
385 PyObject
* _resultobj
;
391 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
400 wxPy_BEGIN_ALLOW_THREADS
;
401 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
403 wxPy_END_ALLOW_THREADS
;
404 } _resultobj
= Py_BuildValue("l",_result
);
408 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
409 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
) {
410 PyObject
* _resultobj
;
415 PyObject
* _obj1
= 0;
418 if(!PyArg_ParseTuple(args
,"sO:wxListItem_m_text_set",&_argc0
,&_obj1
))
421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
427 if (!PyString_Check(_obj1
)) {
428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
431 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
434 wxPy_BEGIN_ALLOW_THREADS
;
435 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
437 wxPy_END_ALLOW_THREADS
;
439 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
448 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
449 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
450 PyObject
* _resultobj
;
456 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
465 wxPy_BEGIN_ALLOW_THREADS
;
466 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
468 wxPy_END_ALLOW_THREADS
;
470 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
475 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
476 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
) {
477 PyObject
* _resultobj
;
484 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_image_set",&_argc0
,&_arg1
))
487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
496 wxPy_END_ALLOW_THREADS
;
497 } _resultobj
= Py_BuildValue("i",_result
);
501 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
502 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
503 PyObject
* _resultobj
;
509 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
512 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
518 wxPy_BEGIN_ALLOW_THREADS
;
519 _result
= (int )wxListItem_m_image_get(_arg0
);
521 wxPy_END_ALLOW_THREADS
;
522 } _resultobj
= Py_BuildValue("i",_result
);
526 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
527 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
) {
528 PyObject
* _resultobj
;
535 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_data_set",&_argc0
,&_arg1
))
538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
544 wxPy_BEGIN_ALLOW_THREADS
;
545 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
547 wxPy_END_ALLOW_THREADS
;
548 } _resultobj
= Py_BuildValue("l",_result
);
552 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
553 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
554 PyObject
* _resultobj
;
560 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 _result
= (long )wxListItem_m_data_get(_arg0
);
572 wxPy_END_ALLOW_THREADS
;
573 } _resultobj
= Py_BuildValue("l",_result
);
577 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
578 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
) {
579 PyObject
* _resultobj
;
586 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_format_set",&_argc0
,&_arg1
))
589 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
595 wxPy_BEGIN_ALLOW_THREADS
;
596 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
598 wxPy_END_ALLOW_THREADS
;
599 } _resultobj
= Py_BuildValue("i",_result
);
603 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
604 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
605 PyObject
* _resultobj
;
611 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
614 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
620 wxPy_BEGIN_ALLOW_THREADS
;
621 _result
= (int )wxListItem_m_format_get(_arg0
);
623 wxPy_END_ALLOW_THREADS
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
629 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
) {
630 PyObject
* _resultobj
;
637 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_width_set",&_argc0
,&_arg1
))
640 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
649 wxPy_END_ALLOW_THREADS
;
650 } _resultobj
= Py_BuildValue("i",_result
);
654 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
655 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
656 PyObject
* _resultobj
;
662 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
671 wxPy_BEGIN_ALLOW_THREADS
;
672 _result
= (int )wxListItem_m_width_get(_arg0
);
674 wxPy_END_ALLOW_THREADS
;
675 } _resultobj
= Py_BuildValue("i",_result
);
679 #define new_wxListItem() (new wxListItem())
680 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
681 PyObject
* _resultobj
;
682 wxListItem
* _result
;
686 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
689 wxPy_BEGIN_ALLOW_THREADS
;
690 _result
= (wxListItem
*)new_wxListItem();
692 wxPy_END_ALLOW_THREADS
;
693 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
694 _resultobj
= Py_BuildValue("s",_ptemp
);
698 #define delete_wxListItem(_swigobj) (delete _swigobj)
699 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
700 PyObject
* _resultobj
;
705 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
708 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
714 wxPy_BEGIN_ALLOW_THREADS
;
715 delete_wxListItem(_arg0
);
717 wxPy_END_ALLOW_THREADS
;
718 } Py_INCREF(Py_None
);
719 _resultobj
= Py_None
;
723 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
725 wxCommandEvent
*dest
;
726 src
= (wxListEvent
*) ptr
;
727 dest
= (wxCommandEvent
*) src
;
728 return (void *) dest
;
731 static void *SwigwxListEventTowxEvent(void *ptr
) {
734 src
= (wxListEvent
*) ptr
;
735 dest
= (wxEvent
*) src
;
736 return (void *) dest
;
739 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
740 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
) {
741 PyObject
* _resultobj
;
748 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_code_set",&_argc0
,&_arg1
))
751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
757 wxPy_BEGIN_ALLOW_THREADS
;
758 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
760 wxPy_END_ALLOW_THREADS
;
761 } _resultobj
= Py_BuildValue("i",_result
);
765 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
766 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
767 PyObject
* _resultobj
;
773 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 _result
= (int )wxListEvent_m_code_get(_arg0
);
785 wxPy_END_ALLOW_THREADS
;
786 } _resultobj
= Py_BuildValue("i",_result
);
790 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
791 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
) {
792 PyObject
* _resultobj
;
799 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_itemIndex_set",&_argc0
,&_arg1
))
802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
808 wxPy_BEGIN_ALLOW_THREADS
;
809 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
811 wxPy_END_ALLOW_THREADS
;
812 } _resultobj
= Py_BuildValue("l",_result
);
816 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
817 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
818 PyObject
* _resultobj
;
824 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
833 wxPy_BEGIN_ALLOW_THREADS
;
834 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
836 wxPy_END_ALLOW_THREADS
;
837 } _resultobj
= Py_BuildValue("l",_result
);
841 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
842 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
) {
843 PyObject
* _resultobj
;
850 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_oldItemIndex_set",&_argc0
,&_arg1
))
853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
862 wxPy_END_ALLOW_THREADS
;
863 } _resultobj
= Py_BuildValue("l",_result
);
867 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
868 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
869 PyObject
* _resultobj
;
875 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
884 wxPy_BEGIN_ALLOW_THREADS
;
885 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
887 wxPy_END_ALLOW_THREADS
;
888 } _resultobj
= Py_BuildValue("l",_result
);
892 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
893 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
894 PyObject
* _resultobj
;
901 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_col_set",&_argc0
,&_arg1
))
904 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
910 wxPy_BEGIN_ALLOW_THREADS
;
911 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
913 wxPy_END_ALLOW_THREADS
;
914 } _resultobj
= Py_BuildValue("i",_result
);
918 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
919 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
920 PyObject
* _resultobj
;
926 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
929 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
935 wxPy_BEGIN_ALLOW_THREADS
;
936 _result
= (int )wxListEvent_m_col_get(_arg0
);
938 wxPy_END_ALLOW_THREADS
;
939 } _resultobj
= Py_BuildValue("i",_result
);
943 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
944 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
) {
945 PyObject
* _resultobj
;
953 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_cancelled_set",&_argc0
,&tempbool1
))
956 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
961 _arg1
= (bool ) tempbool1
;
963 wxPy_BEGIN_ALLOW_THREADS
;
964 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
966 wxPy_END_ALLOW_THREADS
;
967 } _resultobj
= Py_BuildValue("i",_result
);
971 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
972 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
973 PyObject
* _resultobj
;
979 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
988 wxPy_BEGIN_ALLOW_THREADS
;
989 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
991 wxPy_END_ALLOW_THREADS
;
992 } _resultobj
= Py_BuildValue("i",_result
);
996 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
997 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
) {
998 PyObject
* _resultobj
;
1000 wxListEvent
* _arg0
;
1007 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_pointDrag_set",&_argc0
,&_argc1
))
1010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1016 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1025 wxPy_END_ALLOW_THREADS
;
1026 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1027 _resultobj
= Py_BuildValue("s",_ptemp
);
1031 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1032 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
1033 PyObject
* _resultobj
;
1035 wxListEvent
* _arg0
;
1040 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
1043 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1049 wxPy_BEGIN_ALLOW_THREADS
;
1050 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1052 wxPy_END_ALLOW_THREADS
;
1053 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1054 _resultobj
= Py_BuildValue("s",_ptemp
);
1058 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1059 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
) {
1060 PyObject
* _resultobj
;
1061 wxListItem
* _result
;
1062 wxListEvent
* _arg0
;
1069 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_item_set",&_argc0
,&_argc1
))
1072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1078 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1087 wxPy_END_ALLOW_THREADS
;
1088 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1089 _resultobj
= Py_BuildValue("s",_ptemp
);
1093 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1094 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
1095 PyObject
* _resultobj
;
1096 wxListItem
* _result
;
1097 wxListEvent
* _arg0
;
1102 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
1105 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1114 wxPy_END_ALLOW_THREADS
;
1115 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1116 _resultobj
= Py_BuildValue("s",_ptemp
);
1120 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1123 src
= (wxListCtrl
*) ptr
;
1124 dest
= (wxControl
*) src
;
1125 return (void *) dest
;
1128 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1131 src
= (wxListCtrl
*) ptr
;
1132 dest
= (wxWindow
*) src
;
1133 return (void *) dest
;
1136 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1139 src
= (wxListCtrl
*) ptr
;
1140 dest
= (wxEvtHandler
*) src
;
1141 return (void *) dest
;
1144 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1145 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
1146 PyObject
* _resultobj
;
1147 wxListCtrl
* _result
;
1150 wxPoint
* _arg2
= &wxPyDefaultPosition
;
1151 wxSize
* _arg3
= &wxPyDefaultSize
;
1152 long _arg4
= (wxLC_ICON
);
1153 wxValidator
* _arg5
= &wxPyDefaultValidator
;
1154 char * _arg6
= "listCtrl";
1162 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
1165 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1171 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1177 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1183 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1189 wxPy_BEGIN_ALLOW_THREADS
;
1190 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1192 wxPy_END_ALLOW_THREADS
;
1193 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1194 _resultobj
= Py_BuildValue("s",_ptemp
);
1198 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1199 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
1200 PyObject
* _resultobj
;
1203 int _arg1
= (wxLIST_ALIGN_DEFAULT
);
1207 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
1210 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1219 wxPy_END_ALLOW_THREADS
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1225 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
1226 PyObject
* _resultobj
;
1233 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
1236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } _resultobj
= Py_BuildValue("i",_result
);
1250 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1251 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
1252 PyObject
* _resultobj
;
1258 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
1261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1270 wxPy_END_ALLOW_THREADS
;
1271 } _resultobj
= Py_BuildValue("i",_result
);
1275 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1276 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
1277 PyObject
* _resultobj
;
1284 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
1287 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1296 wxPy_END_ALLOW_THREADS
;
1297 } _resultobj
= Py_BuildValue("i",_result
);
1301 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1302 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
1303 PyObject
* _resultobj
;
1309 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
1312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1327 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
1328 PyObject
* _resultobj
;
1333 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
1336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 wxListCtrl_ClearAll(_arg0
);
1345 wxPy_END_ALLOW_THREADS
;
1346 } Py_INCREF(Py_None
);
1347 _resultobj
= Py_None
;
1351 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1352 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1354 wxTextCtrl
* _result
;
1361 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EditLabel",&_argc0
,&_arg1
))
1364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1373 wxPy_END_ALLOW_THREADS
;
1374 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1375 _resultobj
= Py_BuildValue("s",_ptemp
);
1379 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1380 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
1381 PyObject
* _resultobj
;
1389 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_EndEditLabel",&_argc0
,&tempbool1
))
1392 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1397 _arg1
= (bool ) tempbool1
;
1399 wxPy_BEGIN_ALLOW_THREADS
;
1400 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1402 wxPy_END_ALLOW_THREADS
;
1403 } _resultobj
= Py_BuildValue("i",_result
);
1407 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1408 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
1409 PyObject
* _resultobj
;
1410 wxTextCtrl
* _result
;
1416 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetEditControl",&_argc0
))
1419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1428 wxPy_END_ALLOW_THREADS
;
1429 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1430 _resultobj
= Py_BuildValue("s",_ptemp
);
1434 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1435 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1436 PyObject
* _resultobj
;
1443 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
1446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1455 wxPy_END_ALLOW_THREADS
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1461 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1462 PyObject
* _resultobj
;
1469 PyObject
* _obj2
= 0;
1473 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
1476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1482 if (!PyString_Check(_obj2
)) {
1483 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1486 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1488 _arg3
= (bool ) tempbool3
;
1490 wxPy_BEGIN_ALLOW_THREADS
;
1491 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1493 wxPy_END_ALLOW_THREADS
;
1494 } _resultobj
= Py_BuildValue("l",_result
);
1502 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1503 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1504 PyObject
* _resultobj
;
1512 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
1515 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1524 wxPy_END_ALLOW_THREADS
;
1525 } _resultobj
= Py_BuildValue("l",_result
);
1529 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1530 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1531 PyObject
* _resultobj
;
1541 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
1544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1550 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1559 wxPy_END_ALLOW_THREADS
;
1560 } _resultobj
= Py_BuildValue("l",_result
);
1564 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1565 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1566 PyObject
* _resultobj
;
1575 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
1578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1584 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1593 wxPy_END_ALLOW_THREADS
;
1594 } _resultobj
= Py_BuildValue("i",_result
);
1598 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1599 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1600 PyObject
* _resultobj
;
1607 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
1610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1616 wxPy_BEGIN_ALLOW_THREADS
;
1617 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1619 wxPy_END_ALLOW_THREADS
;
1620 } _resultobj
= Py_BuildValue("i",_result
);
1624 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1625 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1626 PyObject
* _resultobj
;
1632 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
1635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1644 wxPy_END_ALLOW_THREADS
;
1645 } _resultobj
= Py_BuildValue("i",_result
);
1649 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1650 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1651 PyObject
* _resultobj
;
1652 wxImageList
* _result
;
1659 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1662 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1671 wxPy_END_ALLOW_THREADS
;
1672 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1673 _resultobj
= Py_BuildValue("s",_ptemp
);
1677 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1678 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1679 PyObject
* _resultobj
;
1686 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1698 wxPy_END_ALLOW_THREADS
;
1699 } _resultobj
= Py_BuildValue("l",_result
);
1703 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1704 wxListItem
* info
= new wxListItem
;
1705 info
->m_itemId
= itemId
;
1706 self
->GetItem(*info
);
1709 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1710 PyObject
* _resultobj
;
1711 wxListItem
* _result
;
1718 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItem",&_argc0
,&_arg1
))
1721 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1732 _resultobj
= Py_BuildValue("s",_ptemp
);
1736 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1737 wxPoint
* pos
= new wxPoint
;
1738 self
->GetItemPosition(item
, *pos
);
1741 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1742 PyObject
* _resultobj
;
1750 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1764 _resultobj
= Py_BuildValue("s",_ptemp
);
1768 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1769 wxRect
* rect
= new wxRect
;
1770 self
->GetItemRect(item
, *rect
, code
);
1773 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1774 PyObject
* _resultobj
;
1778 int _arg2
= (wxLIST_RECT_BOUNDS
);
1783 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1786 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1795 wxPy_END_ALLOW_THREADS
;
1796 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1797 _resultobj
= Py_BuildValue("s",_ptemp
);
1801 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1802 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1803 PyObject
* _resultobj
;
1811 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1814 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1823 wxPy_END_ALLOW_THREADS
;
1824 } _resultobj
= Py_BuildValue("i",_result
);
1828 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1829 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1830 PyObject
* _resultobj
;
1836 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1848 wxPy_END_ALLOW_THREADS
;
1849 } _resultobj
= Py_BuildValue("i",_result
);
1853 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1854 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1855 PyObject
* _resultobj
;
1863 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1871 _arg1
= (bool ) tempbool1
;
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } _resultobj
= Py_BuildValue("i",_result
);
1881 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1882 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1883 PyObject
* _resultobj
;
1890 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1893 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1902 wxPy_END_ALLOW_THREADS
;
1904 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1912 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1913 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1914 PyObject
* _resultobj
;
1918 int _arg2
= (wxLIST_NEXT_ALL
);
1919 int _arg3
= (wxLIST_STATE_DONTCARE
);
1923 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } _resultobj
= Py_BuildValue("l",_result
);
1940 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1941 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1942 PyObject
* _resultobj
;
1948 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1960 wxPy_END_ALLOW_THREADS
;
1961 } _resultobj
= Py_BuildValue("i",_result
);
1965 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1966 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
) {
1967 PyObject
* _resultobj
;
1974 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTextColour",&_argc0
))
1977 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
1983 wxPy_BEGIN_ALLOW_THREADS
;
1984 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
1986 wxPy_END_ALLOW_THREADS
;
1987 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1988 _resultobj
= Py_BuildValue("s",_ptemp
);
1992 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1993 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
) {
1994 PyObject
* _resultobj
;
2001 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetTextColour",&_argc0
,&_argc1
))
2004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2010 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2026 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
2027 PyObject
* _resultobj
;
2033 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
2036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("l",_result
);
2050 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2051 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
2052 PyObject
* _resultobj
;
2065 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
2068 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2074 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } _resultobj
= Py_BuildValue("l",_result
);
2087 o
= PyInt_FromLong((long) (*_arg2
));
2088 _resultobj
= t_output_helper(_resultobj
, o
);
2093 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2094 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
2095 PyObject
* _resultobj
;
2104 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWith",&_argc0
,&_arg1
,&_argc2
))
2107 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2113 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } _resultobj
= Py_BuildValue("l",_result
);
2127 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2128 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
2129 PyObject
* _resultobj
;
2134 int _arg3
= (wxLIST_FORMAT_LEFT
);
2137 PyObject
* _obj2
= 0;
2140 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2143 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2149 if (!PyString_Check(_obj2
)) {
2150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2153 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("l",_result
);
2168 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2169 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
2170 PyObject
* _resultobj
;
2178 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
2181 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2187 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2193 wxPy_BEGIN_ALLOW_THREADS
;
2194 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2196 wxPy_END_ALLOW_THREADS
;
2197 } _resultobj
= Py_BuildValue("l",_result
);
2201 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2202 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
2203 PyObject
* _resultobj
;
2209 PyObject
* _obj2
= 0;
2212 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
2215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2221 if (!PyString_Check(_obj2
)) {
2222 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2225 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2231 wxPy_END_ALLOW_THREADS
;
2232 } _resultobj
= Py_BuildValue("l",_result
);
2240 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2241 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
2242 PyObject
* _resultobj
;
2250 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
2253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } _resultobj
= Py_BuildValue("l",_result
);
2267 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2268 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
2269 PyObject
* _resultobj
;
2276 PyObject
* _obj2
= 0;
2279 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2288 if (!PyString_Check(_obj2
)) {
2289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2292 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2295 wxPy_BEGIN_ALLOW_THREADS
;
2296 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2298 wxPy_END_ALLOW_THREADS
;
2299 } _resultobj
= Py_BuildValue("l",_result
);
2307 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2308 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
2309 PyObject
* _resultobj
;
2317 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
2320 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } _resultobj
= Py_BuildValue("i",_result
);
2334 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2335 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2336 PyObject
* _resultobj
;
2343 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
2346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2352 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2367 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2368 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2369 PyObject
* _resultobj
;
2378 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
2381 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2387 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2396 wxPy_END_ALLOW_THREADS
;
2397 } _resultobj
= Py_BuildValue("i",_result
);
2401 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2402 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2403 PyObject
* _resultobj
;
2411 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2414 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } _resultobj
= Py_BuildValue("i",_result
);
2428 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2429 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2430 PyObject
* _resultobj
;
2432 wxImageList
* _arg1
;
2438 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2441 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2447 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2462 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2463 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2464 PyObject
* _resultobj
;
2472 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2481 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } _resultobj
= Py_BuildValue("i",_result
);
2495 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2496 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2497 PyObject
* _resultobj
;
2505 PyObject
* _obj3
= 0;
2508 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2511 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2517 if (!PyString_Check(_obj3
)) {
2518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2521 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2527 wxPy_END_ALLOW_THREADS
;
2528 } _resultobj
= Py_BuildValue("l",_result
);
2536 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2537 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2538 PyObject
* _resultobj
;
2546 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2549 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2555 wxPy_BEGIN_ALLOW_THREADS
;
2556 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2558 wxPy_END_ALLOW_THREADS
;
2559 } _resultobj
= Py_BuildValue("i",_result
);
2563 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2564 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2565 PyObject
* _resultobj
;
2574 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2577 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2586 wxPy_END_ALLOW_THREADS
;
2587 } _resultobj
= Py_BuildValue("i",_result
);
2591 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2592 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2593 PyObject
* _resultobj
;
2602 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2611 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2620 wxPy_END_ALLOW_THREADS
;
2621 } _resultobj
= Py_BuildValue("i",_result
);
2625 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2626 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2627 PyObject
* _resultobj
;
2636 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2648 wxPy_END_ALLOW_THREADS
;
2649 } _resultobj
= Py_BuildValue("i",_result
);
2653 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2654 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2655 PyObject
* _resultobj
;
2660 PyObject
* _obj2
= 0;
2663 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2672 if (!PyString_Check(_obj2
)) {
2673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2676 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2692 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2693 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2694 PyObject
* _resultobj
;
2702 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2710 _arg2
= (bool ) tempbool2
;
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2715 wxPy_END_ALLOW_THREADS
;
2716 } Py_INCREF(Py_None
);
2717 _resultobj
= Py_None
;
2721 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2722 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2723 PyObject
* _resultobj
;
2729 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2738 wxPy_BEGIN_ALLOW_THREADS
;
2739 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2741 wxPy_END_ALLOW_THREADS
;
2742 } Py_INCREF(Py_None
);
2743 _resultobj
= Py_None
;
2747 #define new_wxTreeItemId() (new wxTreeItemId())
2748 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2749 PyObject
* _resultobj
;
2750 wxTreeItemId
* _result
;
2754 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2760 wxPy_END_ALLOW_THREADS
;
2761 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2762 _resultobj
= Py_BuildValue("s",_ptemp
);
2766 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2767 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2768 PyObject
* _resultobj
;
2769 wxTreeItemId
* _arg0
;
2773 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 delete_wxTreeItemId(_arg0
);
2785 wxPy_END_ALLOW_THREADS
;
2786 } Py_INCREF(Py_None
);
2787 _resultobj
= Py_None
;
2791 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2792 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2793 PyObject
* _resultobj
;
2795 wxTreeItemId
* _arg0
;
2799 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } _resultobj
= Py_BuildValue("i",_result
);
2816 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2817 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2818 PyObject
* _resultobj
;
2819 wxPyTreeItemData
* _result
;
2820 PyObject
* _arg0
= NULL
;
2821 PyObject
* _obj0
= 0;
2825 if(!PyArg_ParseTuple(args
,"|O:new_wxTreeItemData",&_obj0
))
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2835 wxPy_END_ALLOW_THREADS
;
2836 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2837 _resultobj
= Py_BuildValue("s",_ptemp
);
2841 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2842 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
) {
2843 PyObject
* _resultobj
;
2845 wxPyTreeItemData
* _arg0
;
2849 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetData",&_argc0
))
2852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2858 wxPy_BEGIN_ALLOW_THREADS
;
2859 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2861 wxPy_END_ALLOW_THREADS
;
2863 _resultobj
= _result
;
2868 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2869 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
) {
2870 PyObject
* _resultobj
;
2871 wxPyTreeItemData
* _arg0
;
2874 PyObject
* _obj1
= 0;
2877 if(!PyArg_ParseTuple(args
,"sO:wxTreeItemData_SetData",&_argc0
,&_obj1
))
2880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 wxTreeItemData_SetData(_arg0
,_arg1
);
2892 wxPy_END_ALLOW_THREADS
;
2893 } Py_INCREF(Py_None
);
2894 _resultobj
= Py_None
;
2898 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2899 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2900 PyObject
* _resultobj
;
2901 wxTreeItemId
* _result
;
2902 wxPyTreeItemData
* _arg0
;
2907 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2918 _result
= (wxTreeItemId
*) &_result_ref
;
2920 wxPy_END_ALLOW_THREADS
;
2921 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2922 _resultobj
= Py_BuildValue("s",_ptemp
);
2926 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2927 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2928 PyObject
* _resultobj
;
2929 wxPyTreeItemData
* _arg0
;
2930 wxTreeItemId
* _arg1
;
2935 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
2944 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 wxTreeItemData_SetId(_arg0
,*_arg1
);
2953 wxPy_END_ALLOW_THREADS
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2961 wxCommandEvent
*dest
;
2962 src
= (wxTreeEvent
*) ptr
;
2963 dest
= (wxCommandEvent
*) src
;
2964 return (void *) dest
;
2967 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2970 src
= (wxTreeEvent
*) ptr
;
2971 dest
= (wxEvent
*) src
;
2972 return (void *) dest
;
2975 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2976 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2977 PyObject
* _resultobj
;
2978 wxTreeItemId
* _result
;
2979 wxTreeEvent
* _arg0
;
2984 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2996 wxPy_END_ALLOW_THREADS
;
2997 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2998 _resultobj
= Py_BuildValue("s",_ptemp
);
3002 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3003 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
3004 PyObject
* _resultobj
;
3005 wxTreeItemId
* _result
;
3006 wxTreeEvent
* _arg0
;
3011 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
3014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3023 wxPy_END_ALLOW_THREADS
;
3024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3025 _resultobj
= Py_BuildValue("s",_ptemp
);
3029 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3030 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
3031 PyObject
* _resultobj
;
3033 wxTreeEvent
* _arg0
;
3038 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
3041 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3047 wxPy_BEGIN_ALLOW_THREADS
;
3048 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3050 wxPy_END_ALLOW_THREADS
;
3051 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3052 _resultobj
= Py_BuildValue("s",_ptemp
);
3056 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3057 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
3058 PyObject
* _resultobj
;
3060 wxTreeEvent
* _arg0
;
3064 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
3067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3077 } _resultobj
= Py_BuildValue("i",_result
);
3081 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
3082 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
3083 PyObject
* _resultobj
;
3084 wxTreeEvent
* _arg0
;
3088 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
3091 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
3097 wxPy_BEGIN_ALLOW_THREADS
;
3098 wxTreeEvent_Veto(_arg0
);
3100 wxPy_END_ALLOW_THREADS
;
3101 } Py_INCREF(Py_None
);
3102 _resultobj
= Py_None
;
3106 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3109 src
= (wxTreeCtrl
*) ptr
;
3110 dest
= (wxControl
*) src
;
3111 return (void *) dest
;
3114 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3117 src
= (wxTreeCtrl
*) ptr
;
3118 dest
= (wxWindow
*) src
;
3119 return (void *) dest
;
3122 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3125 src
= (wxTreeCtrl
*) ptr
;
3126 dest
= (wxEvtHandler
*) src
;
3127 return (void *) dest
;
3130 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3131 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
3132 PyObject
* _resultobj
;
3133 wxTreeCtrl
* _result
;
3135 wxWindowID _arg1
= -1;
3136 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3137 wxSize
* _arg3
= &wxPyDefaultSize
;
3138 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
3139 wxValidator
* _arg5
= &wxPyDefaultValidator
;
3140 char * _arg6
= "wxTreeCtrl";
3148 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
3151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3157 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3163 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3169 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3175 wxPy_BEGIN_ALLOW_THREADS
;
3176 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3178 wxPy_END_ALLOW_THREADS
;
3179 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3180 _resultobj
= Py_BuildValue("s",_ptemp
);
3184 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3185 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
3186 PyObject
* _resultobj
;
3192 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
3195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3201 wxPy_BEGIN_ALLOW_THREADS
;
3202 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3204 wxPy_END_ALLOW_THREADS
;
3205 } _resultobj
= Py_BuildValue("i",_result
);
3209 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3210 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
3211 PyObject
* _resultobj
;
3212 unsigned int _result
;
3217 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
3220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3229 wxPy_END_ALLOW_THREADS
;
3230 } _resultobj
= Py_BuildValue("i",_result
);
3234 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3235 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
3236 PyObject
* _resultobj
;
3242 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
3245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3254 wxPy_END_ALLOW_THREADS
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3261 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
3262 PyObject
* _resultobj
;
3263 wxImageList
* _result
;
3269 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
3272 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3287 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3288 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
3289 PyObject
* _resultobj
;
3290 wxImageList
* _result
;
3296 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
3299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3310 _resultobj
= Py_BuildValue("s",_ptemp
);
3314 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3315 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
3316 PyObject
* _resultobj
;
3318 wxImageList
* _arg1
;
3323 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
3326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3332 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3338 wxPy_BEGIN_ALLOW_THREADS
;
3339 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3341 wxPy_END_ALLOW_THREADS
;
3342 } Py_INCREF(Py_None
);
3343 _resultobj
= Py_None
;
3347 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3348 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
3349 PyObject
* _resultobj
;
3351 wxImageList
* _arg1
;
3356 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
3359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3365 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3380 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3381 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
3382 PyObject
* _resultobj
;
3385 wxTreeItemId
* _arg1
;
3390 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
3393 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3399 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3408 wxPy_END_ALLOW_THREADS
;
3410 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3418 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3419 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
3420 PyObject
* _resultobj
;
3423 wxTreeItemId
* _arg1
;
3428 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
3431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3437 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3446 wxPy_END_ALLOW_THREADS
;
3447 } _resultobj
= Py_BuildValue("i",_result
);
3451 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3452 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3453 PyObject
* _resultobj
;
3456 wxTreeItemId
* _arg1
;
3461 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
3464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3470 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3479 wxPy_END_ALLOW_THREADS
;
3480 } _resultobj
= Py_BuildValue("i",_result
);
3484 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3485 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3486 PyObject
* _resultobj
;
3488 wxTreeItemId
* _arg1
;
3492 PyObject
* _obj2
= 0;
3495 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3504 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3510 if (!PyString_Check(_obj2
)) {
3511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3514 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3517 wxPy_BEGIN_ALLOW_THREADS
;
3518 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3520 wxPy_END_ALLOW_THREADS
;
3521 } Py_INCREF(Py_None
);
3522 _resultobj
= Py_None
;
3530 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3531 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3532 PyObject
* _resultobj
;
3534 wxTreeItemId
* _arg1
;
3540 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3549 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } Py_INCREF(Py_None
);
3560 _resultobj
= Py_None
;
3564 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3565 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3566 PyObject
* _resultobj
;
3568 wxTreeItemId
* _arg1
;
3574 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3577 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3583 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3589 wxPy_BEGIN_ALLOW_THREADS
;
3590 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3592 wxPy_END_ALLOW_THREADS
;
3593 } Py_INCREF(Py_None
);
3594 _resultobj
= Py_None
;
3598 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3599 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3600 PyObject
* _resultobj
;
3602 wxTreeItemId
* _arg1
;
3609 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3612 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3618 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3623 _arg2
= (bool ) tempbool2
;
3625 wxPy_BEGIN_ALLOW_THREADS
;
3626 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3628 wxPy_END_ALLOW_THREADS
;
3629 } Py_INCREF(Py_None
);
3630 _resultobj
= Py_None
;
3634 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3635 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3637 data
= new wxPyTreeItemData();
3638 self
->SetItemData(item
, data
);
3642 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
3643 PyObject
* _resultobj
;
3644 wxPyTreeItemData
* _result
;
3646 wxTreeItemId
* _arg1
;
3652 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
3655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3661 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3672 _resultobj
= Py_BuildValue("s",_ptemp
);
3676 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3677 self
->SetItemData(item
, data
);
3679 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3680 PyObject
* _resultobj
;
3682 wxTreeItemId
* _arg1
;
3683 wxPyTreeItemData
* _arg2
;
3689 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3698 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3704 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } Py_INCREF(Py_None
);
3715 _resultobj
= Py_None
;
3719 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3720 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3722 data
= new wxPyTreeItemData();
3723 self
->SetItemData(item
, data
);
3725 return data
->GetData();
3727 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
) {
3728 PyObject
* _resultobj
;
3731 wxTreeItemId
* _arg1
;
3736 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPyData",&_argc0
,&_argc1
))
3739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3745 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3756 _resultobj
= _result
;
3761 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3762 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3764 data
= new wxPyTreeItemData(obj
);
3765 self
->SetItemData(item
, data
);
3769 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
) {
3770 PyObject
* _resultobj
;
3772 wxTreeItemId
* _arg1
;
3776 PyObject
* _obj2
= 0;
3779 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetPyData",&_argc0
,&_argc1
,&_obj2
))
3782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
3788 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
3797 wxPy_BEGIN_ALLOW_THREADS
;
3798 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
3800 wxPy_END_ALLOW_THREADS
;
3801 } Py_INCREF(Py_None
);
3802 _resultobj
= Py_None
;
3806 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3807 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3808 PyObject
* _resultobj
;
3811 wxTreeItemId
* _arg1
;
3816 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3825 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3831 wxPy_BEGIN_ALLOW_THREADS
;
3832 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3834 wxPy_END_ALLOW_THREADS
;
3835 } _resultobj
= Py_BuildValue("i",_result
);
3839 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3840 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3841 PyObject
* _resultobj
;
3844 wxTreeItemId
* _arg1
;
3849 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3858 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3864 wxPy_BEGIN_ALLOW_THREADS
;
3865 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3867 wxPy_END_ALLOW_THREADS
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3873 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3874 PyObject
* _resultobj
;
3877 wxTreeItemId
* _arg1
;
3882 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3885 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3891 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } _resultobj
= Py_BuildValue("i",_result
);
3905 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3906 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3907 PyObject
* _resultobj
;
3910 wxTreeItemId
* _arg1
;
3915 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3924 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3933 wxPy_END_ALLOW_THREADS
;
3934 } _resultobj
= Py_BuildValue("i",_result
);
3938 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3939 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3940 PyObject
* _resultobj
;
3941 wxTreeItemId
* _result
;
3947 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3959 wxPy_END_ALLOW_THREADS
;
3960 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3961 _resultobj
= Py_BuildValue("s",_ptemp
);
3965 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3966 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3967 PyObject
* _resultobj
;
3968 wxTreeItemId
* _result
;
3974 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3977 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3986 wxPy_END_ALLOW_THREADS
;
3987 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3988 _resultobj
= Py_BuildValue("s",_ptemp
);
3992 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3993 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3994 PyObject
* _resultobj
;
3995 wxTreeItemId
* _result
;
3997 wxTreeItemId
* _arg1
;
4003 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
4006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4012 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4018 wxPy_BEGIN_ALLOW_THREADS
;
4019 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4021 wxPy_END_ALLOW_THREADS
;
4022 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4023 _resultobj
= Py_BuildValue("s",_ptemp
);
4027 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4028 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
) {
4029 PyObject
* _resultobj
;
4032 wxTreeItemId
* _arg1
;
4039 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_GetChildrenCount",&_argc0
,&_argc1
,&tempbool2
))
4042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4048 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4053 _arg2
= (bool ) tempbool2
;
4055 wxPy_BEGIN_ALLOW_THREADS
;
4056 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4058 wxPy_END_ALLOW_THREADS
;
4059 } _resultobj
= Py_BuildValue("i",_result
);
4063 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4064 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
4065 PyObject
* _resultobj
;
4066 wxTreeItemId
* _result
;
4068 wxTreeItemId
* _arg1
;
4073 PyObject
* _obj2
= 0;
4077 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
4080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4086 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4092 temp
= (long) PyInt_AsLong(_obj2
);
4096 wxPy_BEGIN_ALLOW_THREADS
;
4097 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4099 wxPy_END_ALLOW_THREADS
;
4100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4101 _resultobj
= Py_BuildValue("s",_ptemp
);
4104 o
= PyInt_FromLong((long) (*_arg2
));
4105 _resultobj
= t_output_helper(_resultobj
, o
);
4110 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4111 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
4112 PyObject
* _resultobj
;
4113 wxTreeItemId
* _result
;
4115 wxTreeItemId
* _arg1
;
4120 PyObject
* _obj2
= 0;
4124 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
4127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4133 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4139 temp
= (long) PyInt_AsLong(_obj2
);
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4146 wxPy_END_ALLOW_THREADS
;
4147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4148 _resultobj
= Py_BuildValue("s",_ptemp
);
4151 o
= PyInt_FromLong((long) (*_arg2
));
4152 _resultobj
= t_output_helper(_resultobj
, o
);
4157 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4158 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
4159 PyObject
* _resultobj
;
4160 wxTreeItemId
* _result
;
4162 wxTreeItemId
* _arg1
;
4168 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
4171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4177 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4186 wxPy_END_ALLOW_THREADS
;
4187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4188 _resultobj
= Py_BuildValue("s",_ptemp
);
4192 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4193 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
4194 PyObject
* _resultobj
;
4195 wxTreeItemId
* _result
;
4197 wxTreeItemId
* _arg1
;
4203 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
4206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4212 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4221 wxPy_END_ALLOW_THREADS
;
4222 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4223 _resultobj
= Py_BuildValue("s",_ptemp
);
4227 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4228 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
4229 PyObject
* _resultobj
;
4230 wxTreeItemId
* _result
;
4236 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
4239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4245 wxPy_BEGIN_ALLOW_THREADS
;
4246 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4248 wxPy_END_ALLOW_THREADS
;
4249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4250 _resultobj
= Py_BuildValue("s",_ptemp
);
4254 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4255 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
4256 PyObject
* _resultobj
;
4257 wxTreeItemId
* _result
;
4259 wxTreeItemId
* _arg1
;
4265 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
4268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4274 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4283 wxPy_END_ALLOW_THREADS
;
4284 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4285 _resultobj
= Py_BuildValue("s",_ptemp
);
4289 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4290 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
4291 PyObject
* _resultobj
;
4292 wxTreeItemId
* _result
;
4294 wxTreeItemId
* _arg1
;
4300 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
4303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4309 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4318 wxPy_END_ALLOW_THREADS
;
4319 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4324 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4325 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
4326 PyObject
* _resultobj
;
4327 wxTreeItemId
* _result
;
4332 wxPyTreeItemData
* _arg4
= NULL
;
4334 PyObject
* _obj1
= 0;
4339 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
4342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4348 if (!PyString_Check(_obj1
)) {
4349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4352 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4355 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4364 wxPy_END_ALLOW_THREADS
;
4365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4366 _resultobj
= Py_BuildValue("s",_ptemp
);
4374 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4375 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
4376 PyObject
* _resultobj
;
4377 wxTreeItemId
* _result
;
4379 wxTreeItemId
* _arg1
;
4383 wxPyTreeItemData
* _arg5
= NULL
;
4386 PyObject
* _obj2
= 0;
4391 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4400 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4406 if (!PyString_Check(_obj2
)) {
4407 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4410 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4413 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4422 wxPy_END_ALLOW_THREADS
;
4423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4424 _resultobj
= Py_BuildValue("s",_ptemp
);
4432 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4433 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
4434 PyObject
* _resultobj
;
4435 wxTreeItemId
* _result
;
4437 wxTreeItemId
* _arg1
;
4438 wxTreeItemId
* _arg2
;
4442 wxPyTreeItemData
* _arg6
= NULL
;
4446 PyObject
* _obj3
= 0;
4451 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
4454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4460 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4466 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4472 if (!PyString_Check(_obj3
)) {
4473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4476 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4479 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4485 wxPy_BEGIN_ALLOW_THREADS
;
4486 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4488 wxPy_END_ALLOW_THREADS
;
4489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4490 _resultobj
= Py_BuildValue("s",_ptemp
);
4498 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4499 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
4500 PyObject
* _resultobj
;
4501 wxTreeItemId
* _result
;
4503 wxTreeItemId
* _arg1
;
4507 wxPyTreeItemData
* _arg5
= NULL
;
4510 PyObject
* _obj2
= 0;
4515 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4524 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4530 if (!PyString_Check(_obj2
)) {
4531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4534 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4537 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4543 wxPy_BEGIN_ALLOW_THREADS
;
4544 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4546 wxPy_END_ALLOW_THREADS
;
4547 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4548 _resultobj
= Py_BuildValue("s",_ptemp
);
4556 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4557 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
4558 PyObject
* _resultobj
;
4560 wxTreeItemId
* _arg1
;
4565 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
4568 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4574 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4583 wxPy_END_ALLOW_THREADS
;
4584 } Py_INCREF(Py_None
);
4585 _resultobj
= Py_None
;
4589 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4590 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
4591 PyObject
* _resultobj
;
4593 wxTreeItemId
* _arg1
;
4598 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
4601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4607 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4623 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
4624 PyObject
* _resultobj
;
4629 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
4632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 wxTreeCtrl_DeleteAllItems(_arg0
);
4641 wxPy_END_ALLOW_THREADS
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4647 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4648 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
4649 PyObject
* _resultobj
;
4651 wxTreeItemId
* _arg1
;
4656 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
4659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4665 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4674 wxPy_END_ALLOW_THREADS
;
4675 } Py_INCREF(Py_None
);
4676 _resultobj
= Py_None
;
4680 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4681 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
4682 PyObject
* _resultobj
;
4684 wxTreeItemId
* _arg1
;
4689 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
4692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
4698 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
4707 wxPy_END_ALLOW_THREADS
;
4708 } Py_INCREF(Py_None
);
4709 _resultobj
= Py_None
;
4713 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
4714 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
4715 PyObject
* _resultobj
;
4717 wxTreeItemId
* _arg1
;
4722 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
4725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
4731 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
4737 wxPy_BEGIN_ALLOW_THREADS
;
4738 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
4740 wxPy_END_ALLOW_THREADS
;
4741 } Py_INCREF(Py_None
);
4742 _resultobj
= Py_None
;
4746 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4747 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
4748 PyObject
* _resultobj
;
4750 wxTreeItemId
* _arg1
;
4755 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
4758 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
4764 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4773 wxPy_END_ALLOW_THREADS
;
4774 } Py_INCREF(Py_None
);
4775 _resultobj
= Py_None
;
4779 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4780 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4781 PyObject
* _resultobj
;
4786 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 wxTreeCtrl_Unselect(_arg0
);
4798 wxPy_END_ALLOW_THREADS
;
4799 } Py_INCREF(Py_None
);
4800 _resultobj
= Py_None
;
4804 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4805 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4806 PyObject
* _resultobj
;
4808 wxTreeItemId
* _arg1
;
4813 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4816 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4822 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4838 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4839 PyObject
* _resultobj
;
4841 wxTreeItemId
* _arg1
;
4846 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4855 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4864 wxPy_END_ALLOW_THREADS
;
4865 } Py_INCREF(Py_None
);
4866 _resultobj
= Py_None
;
4870 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4871 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4872 PyObject
* _resultobj
;
4874 wxTreeItemId
* _arg1
;
4879 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4888 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4894 wxPy_BEGIN_ALLOW_THREADS
;
4895 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4897 wxPy_END_ALLOW_THREADS
;
4898 } Py_INCREF(Py_None
);
4899 _resultobj
= Py_None
;
4903 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4904 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4905 PyObject
* _resultobj
;
4906 wxTextCtrl
* _result
;
4908 wxTreeItemId
* _arg1
;
4914 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4923 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4929 wxPy_BEGIN_ALLOW_THREADS
;
4930 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4932 wxPy_END_ALLOW_THREADS
;
4933 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4934 _resultobj
= Py_BuildValue("s",_ptemp
);
4938 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4939 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4940 PyObject
* _resultobj
;
4941 wxTextCtrl
* _result
;
4947 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4956 wxPy_BEGIN_ALLOW_THREADS
;
4957 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4959 wxPy_END_ALLOW_THREADS
;
4960 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4961 _resultobj
= Py_BuildValue("s",_ptemp
);
4965 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4966 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4967 PyObject
* _resultobj
;
4969 wxTreeItemId
* _arg1
;
4976 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4985 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4990 _arg2
= (bool ) tempbool2
;
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4995 wxPy_END_ALLOW_THREADS
;
4996 } Py_INCREF(Py_None
);
4997 _resultobj
= Py_None
;
5001 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5002 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
5003 PyObject
* _resultobj
;
5005 wxTreeItemId
* _arg1
;
5012 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
5015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5021 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5026 _arg2
= (bool ) tempbool2
;
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5031 wxPy_END_ALLOW_THREADS
;
5032 } Py_INCREF(Py_None
);
5033 _resultobj
= Py_None
;
5037 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5038 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
5039 PyObject
* _resultobj
;
5042 wxTreeItemId
* _arg1
;
5047 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
5050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5056 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5062 wxPy_BEGIN_ALLOW_THREADS
;
5063 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5065 wxPy_END_ALLOW_THREADS
;
5066 } _resultobj
= Py_BuildValue("i",_result
);
5070 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5071 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
5072 PyObject
* _resultobj
;
5073 wxTreeItemId
* _result
;
5081 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
5084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5090 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
5096 wxPy_BEGIN_ALLOW_THREADS
;
5097 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5099 wxPy_END_ALLOW_THREADS
;
5100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5101 _resultobj
= Py_BuildValue("s",_ptemp
);
5105 static PyMethodDef controls2cMethods
[] = {
5106 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
5107 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
5108 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
5109 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
5110 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
5111 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
5112 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
5113 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
5114 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
5115 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
5116 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
5117 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
5118 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
5119 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
5120 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
5121 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
5122 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
5123 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
5124 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
5125 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
5126 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
5127 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
5128 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
5129 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
5130 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
5131 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
5132 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
5133 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
5134 { "wxTreeCtrl_GetChildrenCount", _wrap_wxTreeCtrl_GetChildrenCount
, 1 },
5135 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
5136 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
5137 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
5138 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
5139 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
5140 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
5141 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
5142 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData
, 1 },
5143 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData
, 1 },
5144 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
5145 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
5146 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
5147 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
5148 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
5149 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
5150 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
5151 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
5152 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
5153 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
5154 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
5155 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
5156 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
5157 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
5158 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
5159 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
5160 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
5161 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
5162 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
5163 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
5164 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
5165 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
5166 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
5167 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
5168 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData
, 1 },
5169 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData
, 1 },
5170 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
5171 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
5172 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
5173 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
5174 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
5175 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
5176 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
5177 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
5178 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
5179 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
5180 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
5181 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
5182 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
5183 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
5184 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
5185 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
5186 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
5187 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
5188 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
5189 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
5190 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
5191 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
5192 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
5193 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
5194 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
5195 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
5196 { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour
, 1 },
5197 { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour
, 1 },
5198 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
5199 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
5200 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
5201 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
5202 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
5203 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
5204 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
5205 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
5206 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
5207 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
5208 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
5209 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
5210 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
5211 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
5212 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
5213 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
5214 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
5215 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
5216 { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl
, 1 },
5217 { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel
, 1 },
5218 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel
, 1 },
5219 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
5220 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
5221 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
5222 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
5223 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
5224 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
5225 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
5226 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
5227 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
5228 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
5229 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
5230 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
5231 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
5232 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
5233 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
5234 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
5235 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
5236 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
5237 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
5238 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
5239 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
5240 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
5241 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
5242 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
5243 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
5244 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
5245 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
5246 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
5247 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
5248 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
5249 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
5250 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
5251 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
5252 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
5253 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
5254 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
5255 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
5256 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
5257 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
5258 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
5259 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
5260 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
5261 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
5264 static PyObject
*SWIG_globals
;
5268 SWIGEXPORT(void,initcontrols2c
)() {
5270 SWIG_globals
= SWIG_newvarlink();
5271 m
= Py_InitModule("controls2c", controls2cMethods
);
5272 d
= PyModule_GetDict(m
);
5273 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5274 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5275 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5276 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5277 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5278 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
5279 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5280 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5281 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5282 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5283 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5284 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5285 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5286 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5287 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5288 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5289 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5290 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5291 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5292 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5293 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5294 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5295 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5296 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5297 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5298 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5299 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5300 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5301 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5302 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5303 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5304 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5305 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5306 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5307 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5308 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5309 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5310 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5311 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5312 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5313 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5314 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5315 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5317 * These are the pointer type-equivalency mappings.
5318 * (Used by the SWIG pointer type-checker).
5320 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5321 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5322 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5323 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5324 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5325 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
5326 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
5327 SWIG_RegisterMapping("_signed_long","_long",0);
5328 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
5329 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5330 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5331 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5332 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5333 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5334 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5335 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5336 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5337 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5338 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
5339 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5340 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5341 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5342 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5343 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5344 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
5345 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5346 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5347 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
5348 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
5349 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5350 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5351 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5352 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
5353 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5354 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
5355 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
5356 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
5357 SWIG_RegisterMapping("_long","_wxDash",0);
5358 SWIG_RegisterMapping("_long","_unsigned_long",0);
5359 SWIG_RegisterMapping("_long","_signed_long",0);
5360 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5361 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
5362 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
5363 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5364 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
5365 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5366 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
5367 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
5368 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5369 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5370 SWIG_RegisterMapping("_size_t","_int",0);
5371 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5372 SWIG_RegisterMapping("_size_t","_uint",0);
5373 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5374 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
5375 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5376 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
5377 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
5378 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5379 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
5380 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
5381 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
5382 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
5383 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5384 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
5385 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5386 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5387 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
5388 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
5389 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5390 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
5391 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5392 SWIG_RegisterMapping("_uint","_size_t",0);
5393 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5394 SWIG_RegisterMapping("_uint","_int",0);
5395 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5396 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5397 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5398 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5399 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5400 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
5401 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
5402 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5403 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5404 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5405 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5406 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5407 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
5408 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
5409 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5410 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
5411 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
5412 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5413 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5414 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5415 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
5416 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
5417 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5418 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
5419 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
5420 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
5421 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
5422 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
5423 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
5424 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
5425 SWIG_RegisterMapping("_EBool","_signed_int",0);
5426 SWIG_RegisterMapping("_EBool","_int",0);
5427 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5428 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5429 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
5430 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
5431 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5432 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
5433 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5434 SWIG_RegisterMapping("_unsigned_long","_long",0);
5435 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5436 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5437 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
5438 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5439 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
5440 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
5441 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
5442 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5443 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5444 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
5445 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
5446 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
5447 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
5448 SWIG_RegisterMapping("_signed_int","_EBool",0);
5449 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5450 SWIG_RegisterMapping("_signed_int","_int",0);
5451 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
5452 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5453 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5454 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5455 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
5456 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
5457 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5458 SWIG_RegisterMapping("_WXTYPE","_short",0);
5459 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5460 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5461 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5462 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5463 SWIG_RegisterMapping("_unsigned_short","_short",0);
5464 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5465 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5466 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5467 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5468 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5469 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
5470 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5471 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
5472 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
5473 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5474 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
5475 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
5476 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5477 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5478 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
5479 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5480 SWIG_RegisterMapping("_signed_short","_short",0);
5481 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5482 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5483 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5484 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
5485 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
5486 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5487 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5488 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5489 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
5490 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5491 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5492 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5493 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5494 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5495 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5496 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5497 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
5498 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
5499 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
5500 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5501 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5502 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5503 SWIG_RegisterMapping("_unsigned_int","_int",0);
5504 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5505 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5506 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5507 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
5508 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5509 SWIG_RegisterMapping("_short","_WXTYPE",0);
5510 SWIG_RegisterMapping("_short","_unsigned_short",0);
5511 SWIG_RegisterMapping("_short","_signed_short",0);
5512 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5513 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5514 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5515 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5516 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5517 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5518 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5519 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5520 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5521 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5522 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5523 SWIG_RegisterMapping("_wxWindowID","_int",0);
5524 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5525 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5526 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5527 SWIG_RegisterMapping("_int","_size_t",0);
5528 SWIG_RegisterMapping("_int","_EBool",0);
5529 SWIG_RegisterMapping("_int","_uint",0);
5530 SWIG_RegisterMapping("_int","_wxWindowID",0);
5531 SWIG_RegisterMapping("_int","_unsigned_int",0);
5532 SWIG_RegisterMapping("_int","_signed_int",0);
5533 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5534 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
5535 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5536 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5537 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5538 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5539 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5540 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
5541 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5542 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5543 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5544 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5545 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5546 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
5547 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
5548 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5549 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5550 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5551 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5552 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5553 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5554 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5555 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5556 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5557 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5558 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5559 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5560 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5561 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5562 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5563 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5564 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5565 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5566 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5567 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5568 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5569 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5570 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5571 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5572 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5573 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5574 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5575 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
5576 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5577 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5578 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5579 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5580 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
5581 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5582 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5583 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5584 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5585 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5586 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5587 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5588 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5589 SWIG_RegisterMapping("_wxDash","_long",0);
5590 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5591 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5592 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5593 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5594 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5595 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5596 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5597 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5598 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5599 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);