2 * FILE : gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 extern wxValidator wxPyDefaultValidator
;
122 class wxPyTreeItemData
: public wxTreeItemData
{
124 wxPyTreeItemData(PyObject
* obj
= NULL
) {
131 ~wxPyTreeItemData() {
132 #ifdef WXP_WITH_THREAD
133 PyEval_RestoreThread(wxPyEventThreadState
);
136 #ifdef WXP_WITH_THREAD
141 PyObject
* GetData() {
146 void SetData(PyObject
* obj
) {
154 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
155 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
) {
156 PyObject
* _resultobj
;
163 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_mask_set",&_argc0
,&_arg1
))
166 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
172 wxPy_BEGIN_ALLOW_THREADS
;
173 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
175 wxPy_END_ALLOW_THREADS
;
176 } _resultobj
= Py_BuildValue("l",_result
);
180 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
181 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
182 PyObject
* _resultobj
;
188 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_mask_get",&_argc0
))
191 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (long )wxListItem_m_mask_get(_arg0
);
200 wxPy_END_ALLOW_THREADS
;
201 } _resultobj
= Py_BuildValue("l",_result
);
205 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
206 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
) {
207 PyObject
* _resultobj
;
214 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_itemId_set",&_argc0
,&_arg1
))
217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
223 wxPy_BEGIN_ALLOW_THREADS
;
224 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
226 wxPy_END_ALLOW_THREADS
;
227 } _resultobj
= Py_BuildValue("l",_result
);
231 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
232 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
233 PyObject
* _resultobj
;
239 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_itemId_get",&_argc0
))
242 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
248 wxPy_BEGIN_ALLOW_THREADS
;
249 _result
= (long )wxListItem_m_itemId_get(_arg0
);
251 wxPy_END_ALLOW_THREADS
;
252 } _resultobj
= Py_BuildValue("l",_result
);
256 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
257 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
) {
258 PyObject
* _resultobj
;
265 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_col_set",&_argc0
,&_arg1
))
268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
274 wxPy_BEGIN_ALLOW_THREADS
;
275 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
277 wxPy_END_ALLOW_THREADS
;
278 } _resultobj
= Py_BuildValue("i",_result
);
282 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
283 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
284 PyObject
* _resultobj
;
290 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_col_get",&_argc0
))
293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
299 wxPy_BEGIN_ALLOW_THREADS
;
300 _result
= (int )wxListItem_m_col_get(_arg0
);
302 wxPy_END_ALLOW_THREADS
;
303 } _resultobj
= Py_BuildValue("i",_result
);
307 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
308 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
) {
309 PyObject
* _resultobj
;
316 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_state_set",&_argc0
,&_arg1
))
319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
325 wxPy_BEGIN_ALLOW_THREADS
;
326 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
328 wxPy_END_ALLOW_THREADS
;
329 } _resultobj
= Py_BuildValue("l",_result
);
333 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
334 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
335 PyObject
* _resultobj
;
341 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_state_get",&_argc0
))
344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 _result
= (long )wxListItem_m_state_get(_arg0
);
353 wxPy_END_ALLOW_THREADS
;
354 } _resultobj
= Py_BuildValue("l",_result
);
358 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
359 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
) {
360 PyObject
* _resultobj
;
367 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_stateMask_set",&_argc0
,&_arg1
))
370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
376 wxPy_BEGIN_ALLOW_THREADS
;
377 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
379 wxPy_END_ALLOW_THREADS
;
380 } _resultobj
= Py_BuildValue("l",_result
);
384 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
385 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
386 PyObject
* _resultobj
;
392 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_stateMask_get",&_argc0
))
395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
401 wxPy_BEGIN_ALLOW_THREADS
;
402 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
404 wxPy_END_ALLOW_THREADS
;
405 } _resultobj
= Py_BuildValue("l",_result
);
409 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
410 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
) {
411 PyObject
* _resultobj
;
416 PyObject
* _obj1
= 0;
419 if(!PyArg_ParseTuple(args
,"sO:wxListItem_m_text_set",&_argc0
,&_obj1
))
422 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
428 if (!PyString_Check(_obj1
)) {
429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
432 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
438 wxPy_END_ALLOW_THREADS
;
440 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
449 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
450 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
451 PyObject
* _resultobj
;
457 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_text_get",&_argc0
))
460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
466 wxPy_BEGIN_ALLOW_THREADS
;
467 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
469 wxPy_END_ALLOW_THREADS
;
471 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
476 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
477 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
) {
478 PyObject
* _resultobj
;
485 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_image_set",&_argc0
,&_arg1
))
488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
494 wxPy_BEGIN_ALLOW_THREADS
;
495 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
497 wxPy_END_ALLOW_THREADS
;
498 } _resultobj
= Py_BuildValue("i",_result
);
502 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
503 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
504 PyObject
* _resultobj
;
510 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_image_get",&_argc0
))
513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= (int )wxListItem_m_image_get(_arg0
);
522 wxPy_END_ALLOW_THREADS
;
523 } _resultobj
= Py_BuildValue("i",_result
);
527 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
528 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
) {
529 PyObject
* _resultobj
;
536 if(!PyArg_ParseTuple(args
,"sl:wxListItem_m_data_set",&_argc0
,&_arg1
))
539 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
545 wxPy_BEGIN_ALLOW_THREADS
;
546 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
548 wxPy_END_ALLOW_THREADS
;
549 } _resultobj
= Py_BuildValue("l",_result
);
553 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
554 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
555 PyObject
* _resultobj
;
561 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_data_get",&_argc0
))
564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= (long )wxListItem_m_data_get(_arg0
);
573 wxPy_END_ALLOW_THREADS
;
574 } _resultobj
= Py_BuildValue("l",_result
);
578 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
579 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
) {
580 PyObject
* _resultobj
;
587 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_format_set",&_argc0
,&_arg1
))
590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
596 wxPy_BEGIN_ALLOW_THREADS
;
597 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
599 wxPy_END_ALLOW_THREADS
;
600 } _resultobj
= Py_BuildValue("i",_result
);
604 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
605 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
606 PyObject
* _resultobj
;
612 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_format_get",&_argc0
))
615 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (int )wxListItem_m_format_get(_arg0
);
624 wxPy_END_ALLOW_THREADS
;
625 } _resultobj
= Py_BuildValue("i",_result
);
629 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
630 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
) {
631 PyObject
* _resultobj
;
638 if(!PyArg_ParseTuple(args
,"si:wxListItem_m_width_set",&_argc0
,&_arg1
))
641 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
650 wxPy_END_ALLOW_THREADS
;
651 } _resultobj
= Py_BuildValue("i",_result
);
655 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
656 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
657 PyObject
* _resultobj
;
663 if(!PyArg_ParseTuple(args
,"s:wxListItem_m_width_get",&_argc0
))
666 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
672 wxPy_BEGIN_ALLOW_THREADS
;
673 _result
= (int )wxListItem_m_width_get(_arg0
);
675 wxPy_END_ALLOW_THREADS
;
676 } _resultobj
= Py_BuildValue("i",_result
);
680 #define new_wxListItem() (new wxListItem())
681 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
682 PyObject
* _resultobj
;
683 wxListItem
* _result
;
687 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
690 wxPy_BEGIN_ALLOW_THREADS
;
691 _result
= (wxListItem
*)new_wxListItem();
693 wxPy_END_ALLOW_THREADS
;
694 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
695 _resultobj
= Py_BuildValue("s",_ptemp
);
699 #define delete_wxListItem(_swigobj) (delete _swigobj)
700 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
701 PyObject
* _resultobj
;
706 if(!PyArg_ParseTuple(args
,"s:delete_wxListItem",&_argc0
))
709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListItem_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
715 wxPy_BEGIN_ALLOW_THREADS
;
716 delete_wxListItem(_arg0
);
718 wxPy_END_ALLOW_THREADS
;
719 } Py_INCREF(Py_None
);
720 _resultobj
= Py_None
;
724 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
726 wxCommandEvent
*dest
;
727 src
= (wxListEvent
*) ptr
;
728 dest
= (wxCommandEvent
*) src
;
729 return (void *) dest
;
732 static void *SwigwxListEventTowxEvent(void *ptr
) {
735 src
= (wxListEvent
*) ptr
;
736 dest
= (wxEvent
*) src
;
737 return (void *) dest
;
740 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
741 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
) {
742 PyObject
* _resultobj
;
749 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_code_set",&_argc0
,&_arg1
))
752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
758 wxPy_BEGIN_ALLOW_THREADS
;
759 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
761 wxPy_END_ALLOW_THREADS
;
762 } _resultobj
= Py_BuildValue("i",_result
);
766 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
767 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
768 PyObject
* _resultobj
;
774 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_code_get",&_argc0
))
777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 _result
= (int )wxListEvent_m_code_get(_arg0
);
786 wxPy_END_ALLOW_THREADS
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
792 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
) {
793 PyObject
* _resultobj
;
800 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_itemIndex_set",&_argc0
,&_arg1
))
803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
809 wxPy_BEGIN_ALLOW_THREADS
;
810 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
812 wxPy_END_ALLOW_THREADS
;
813 } _resultobj
= Py_BuildValue("l",_result
);
817 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
818 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
819 PyObject
* _resultobj
;
825 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_itemIndex_get",&_argc0
))
828 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
837 wxPy_END_ALLOW_THREADS
;
838 } _resultobj
= Py_BuildValue("l",_result
);
842 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
843 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
) {
844 PyObject
* _resultobj
;
851 if(!PyArg_ParseTuple(args
,"sl:wxListEvent_m_oldItemIndex_set",&_argc0
,&_arg1
))
854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
860 wxPy_BEGIN_ALLOW_THREADS
;
861 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
863 wxPy_END_ALLOW_THREADS
;
864 } _resultobj
= Py_BuildValue("l",_result
);
868 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
869 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
870 PyObject
* _resultobj
;
876 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_oldItemIndex_get",&_argc0
))
879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("l",_result
);
893 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
894 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
895 PyObject
* _resultobj
;
902 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_col_set",&_argc0
,&_arg1
))
905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("i",_result
);
919 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
920 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
921 PyObject
* _resultobj
;
927 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_col_get",&_argc0
))
930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (int )wxListEvent_m_col_get(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("i",_result
);
944 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
945 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
) {
946 PyObject
* _resultobj
;
954 if(!PyArg_ParseTuple(args
,"si:wxListEvent_m_cancelled_set",&_argc0
,&tempbool1
))
957 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
962 _arg1
= (bool ) tempbool1
;
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("i",_result
);
972 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
973 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
974 PyObject
* _resultobj
;
980 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_cancelled_get",&_argc0
))
983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
989 wxPy_BEGIN_ALLOW_THREADS
;
990 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
992 wxPy_END_ALLOW_THREADS
;
993 } _resultobj
= Py_BuildValue("i",_result
);
997 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
998 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
) {
999 PyObject
* _resultobj
;
1001 wxListEvent
* _arg0
;
1008 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_pointDrag_set",&_argc0
,&_argc1
))
1011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1017 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1028 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1033 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
1034 PyObject
* _resultobj
;
1036 wxListEvent
* _arg0
;
1041 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_pointDrag_get",&_argc0
))
1044 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1055 _resultobj
= Py_BuildValue("s",_ptemp
);
1059 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1060 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
) {
1061 PyObject
* _resultobj
;
1062 wxListItem
* _result
;
1063 wxListEvent
* _arg0
;
1070 if(!PyArg_ParseTuple(args
,"ss:wxListEvent_m_item_set",&_argc0
,&_argc1
))
1073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1079 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1085 wxPy_BEGIN_ALLOW_THREADS
;
1086 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1088 wxPy_END_ALLOW_THREADS
;
1089 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1090 _resultobj
= Py_BuildValue("s",_ptemp
);
1094 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1095 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
1096 PyObject
* _resultobj
;
1097 wxListItem
* _result
;
1098 wxListEvent
* _arg0
;
1103 if(!PyArg_ParseTuple(args
,"s:wxListEvent_m_item_get",&_argc0
))
1106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListEvent_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1112 wxPy_BEGIN_ALLOW_THREADS
;
1113 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1115 wxPy_END_ALLOW_THREADS
;
1116 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1117 _resultobj
= Py_BuildValue("s",_ptemp
);
1121 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1124 src
= (wxListCtrl
*) ptr
;
1125 dest
= (wxControl
*) src
;
1126 return (void *) dest
;
1129 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1132 src
= (wxListCtrl
*) ptr
;
1133 dest
= (wxWindow
*) src
;
1134 return (void *) dest
;
1137 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1140 src
= (wxListCtrl
*) ptr
;
1141 dest
= (wxEvtHandler
*) src
;
1142 return (void *) dest
;
1145 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1146 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
1147 PyObject
* _resultobj
;
1148 wxListCtrl
* _result
;
1151 wxPoint
* _arg2
= &wxPyDefaultPosition
;
1152 wxSize
* _arg3
= &wxPyDefaultSize
;
1153 long _arg4
= (wxLC_ICON
);
1154 wxValidator
* _arg5
= &wxPyDefaultValidator
;
1155 char * _arg6
= "listCtrl";
1163 if(!PyArg_ParseTuple(args
,"si|sslss:new_wxListCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
1166 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1172 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1178 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1184 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1190 wxPy_BEGIN_ALLOW_THREADS
;
1191 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1193 wxPy_END_ALLOW_THREADS
;
1194 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1195 _resultobj
= Py_BuildValue("s",_ptemp
);
1199 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1200 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
1201 PyObject
* _resultobj
;
1204 int _arg1
= (wxLIST_ALIGN_DEFAULT
);
1208 if(!PyArg_ParseTuple(args
,"s|i:wxListCtrl_Arrange",&_argc0
,&_arg1
))
1211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1220 wxPy_END_ALLOW_THREADS
;
1221 } _resultobj
= Py_BuildValue("i",_result
);
1225 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1226 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
1227 PyObject
* _resultobj
;
1234 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_DeleteItem",&_argc0
,&_arg1
))
1237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1246 wxPy_END_ALLOW_THREADS
;
1247 } _resultobj
= Py_BuildValue("i",_result
);
1251 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1252 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
1253 PyObject
* _resultobj
;
1259 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllItems",&_argc0
))
1262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1271 wxPy_END_ALLOW_THREADS
;
1272 } _resultobj
= Py_BuildValue("i",_result
);
1276 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1277 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1285 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_DeleteColumn",&_argc0
,&_arg1
))
1288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } _resultobj
= Py_BuildValue("i",_result
);
1302 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1303 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
1304 PyObject
* _resultobj
;
1310 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_DeleteAllColumns",&_argc0
))
1313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1328 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
1329 PyObject
* _resultobj
;
1334 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_ClearAll",&_argc0
))
1337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1343 wxPy_BEGIN_ALLOW_THREADS
;
1344 wxListCtrl_ClearAll(_arg0
);
1346 wxPy_END_ALLOW_THREADS
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1352 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1353 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1354 PyObject
* _resultobj
;
1361 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
1364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1373 wxPy_END_ALLOW_THREADS
;
1374 } _resultobj
= Py_BuildValue("i",_result
);
1378 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1379 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1380 PyObject
* _resultobj
;
1387 PyObject
* _obj2
= 0;
1391 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
1394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1400 if (!PyString_Check(_obj2
)) {
1401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1404 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1406 _arg3
= (bool ) tempbool3
;
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1411 wxPy_END_ALLOW_THREADS
;
1412 } _resultobj
= Py_BuildValue("l",_result
);
1420 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1421 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1422 PyObject
* _resultobj
;
1430 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
1433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1439 wxPy_BEGIN_ALLOW_THREADS
;
1440 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1442 wxPy_END_ALLOW_THREADS
;
1443 } _resultobj
= Py_BuildValue("l",_result
);
1447 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1448 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1449 PyObject
* _resultobj
;
1459 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
1462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1468 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1477 wxPy_END_ALLOW_THREADS
;
1478 } _resultobj
= Py_BuildValue("l",_result
);
1482 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1483 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1484 PyObject
* _resultobj
;
1493 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
1496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1502 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1511 wxPy_END_ALLOW_THREADS
;
1512 } _resultobj
= Py_BuildValue("i",_result
);
1516 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1517 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1518 PyObject
* _resultobj
;
1525 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
1528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1537 wxPy_END_ALLOW_THREADS
;
1538 } _resultobj
= Py_BuildValue("i",_result
);
1542 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1543 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1544 PyObject
* _resultobj
;
1550 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
1553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1562 wxPy_END_ALLOW_THREADS
;
1563 } _resultobj
= Py_BuildValue("i",_result
);
1567 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1568 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1569 PyObject
* _resultobj
;
1570 wxImageList
* _result
;
1577 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1580 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1586 wxPy_BEGIN_ALLOW_THREADS
;
1587 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1589 wxPy_END_ALLOW_THREADS
;
1590 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1591 _resultobj
= Py_BuildValue("s",_ptemp
);
1595 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1596 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1597 PyObject
* _resultobj
;
1604 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } _resultobj
= Py_BuildValue("l",_result
);
1621 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1622 wxListItem
* info
= new wxListItem
;
1623 info
->m_itemId
= itemId
;
1624 self
->GetItem(*info
);
1627 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1628 PyObject
* _resultobj
;
1629 wxListItem
* _result
;
1636 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItem",&_argc0
,&_arg1
))
1639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1645 wxPy_BEGIN_ALLOW_THREADS
;
1646 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1648 wxPy_END_ALLOW_THREADS
;
1649 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1650 _resultobj
= Py_BuildValue("s",_ptemp
);
1654 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1655 wxPoint
* pos
= new wxPoint
;
1656 self
->GetItemPosition(item
, *pos
);
1659 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1660 PyObject
* _resultobj
;
1668 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1680 wxPy_END_ALLOW_THREADS
;
1681 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1682 _resultobj
= Py_BuildValue("s",_ptemp
);
1686 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1687 wxRect
* rect
= new wxRect
;
1688 self
->GetItemRect(item
, *rect
, code
);
1691 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1692 PyObject
* _resultobj
;
1696 int _arg2
= (wxLIST_RECT_BOUNDS
);
1701 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1710 wxPy_BEGIN_ALLOW_THREADS
;
1711 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1713 wxPy_END_ALLOW_THREADS
;
1714 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1715 _resultobj
= Py_BuildValue("s",_ptemp
);
1719 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1720 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1721 PyObject
* _resultobj
;
1729 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } _resultobj
= Py_BuildValue("i",_result
);
1746 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1747 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1748 PyObject
* _resultobj
;
1754 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1763 wxPy_BEGIN_ALLOW_THREADS
;
1764 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1766 wxPy_END_ALLOW_THREADS
;
1767 } _resultobj
= Py_BuildValue("i",_result
);
1771 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1772 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1773 PyObject
* _resultobj
;
1781 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1784 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1789 _arg1
= (bool ) tempbool1
;
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1794 wxPy_END_ALLOW_THREADS
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1800 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1801 PyObject
* _resultobj
;
1808 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1817 wxPy_BEGIN_ALLOW_THREADS
;
1818 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1820 wxPy_END_ALLOW_THREADS
;
1822 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1830 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1831 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1832 PyObject
* _resultobj
;
1836 int _arg2
= (wxLIST_NEXT_ALL
);
1837 int _arg3
= (wxLIST_STATE_DONTCARE
);
1841 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1844 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1853 wxPy_END_ALLOW_THREADS
;
1854 } _resultobj
= Py_BuildValue("l",_result
);
1858 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1859 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1860 PyObject
* _resultobj
;
1866 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1875 wxPy_BEGIN_ALLOW_THREADS
;
1876 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1878 wxPy_END_ALLOW_THREADS
;
1879 } _resultobj
= Py_BuildValue("i",_result
);
1883 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1884 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1885 PyObject
* _resultobj
;
1891 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1903 wxPy_END_ALLOW_THREADS
;
1904 } _resultobj
= Py_BuildValue("l",_result
);
1908 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1909 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1910 PyObject
* _resultobj
;
1923 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1932 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1941 wxPy_END_ALLOW_THREADS
;
1942 } _resultobj
= Py_BuildValue("l",_result
);
1945 o
= PyInt_FromLong((long) (*_arg2
));
1946 _resultobj
= t_output_helper(_resultobj
, o
);
1951 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1952 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
1953 PyObject
* _resultobj
;
1962 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWith",&_argc0
,&_arg1
,&_argc2
))
1965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
1971 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
1980 wxPy_END_ALLOW_THREADS
;
1981 } _resultobj
= Py_BuildValue("l",_result
);
1985 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1986 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
1987 PyObject
* _resultobj
;
1992 int _arg3
= (wxLIST_FORMAT_LEFT
);
1995 PyObject
* _obj2
= 0;
1998 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2001 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2007 if (!PyString_Check(_obj2
)) {
2008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2011 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2014 wxPy_BEGIN_ALLOW_THREADS
;
2015 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2017 wxPy_END_ALLOW_THREADS
;
2018 } _resultobj
= Py_BuildValue("l",_result
);
2026 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2027 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
2028 PyObject
* _resultobj
;
2036 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
2039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2045 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } _resultobj
= Py_BuildValue("l",_result
);
2059 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2060 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
2061 PyObject
* _resultobj
;
2067 PyObject
* _obj2
= 0;
2070 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
2073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2079 if (!PyString_Check(_obj2
)) {
2080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2083 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2086 wxPy_BEGIN_ALLOW_THREADS
;
2087 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2089 wxPy_END_ALLOW_THREADS
;
2090 } _resultobj
= Py_BuildValue("l",_result
);
2098 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2099 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
2100 PyObject
* _resultobj
;
2108 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
2111 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } _resultobj
= Py_BuildValue("l",_result
);
2125 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2126 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
2127 PyObject
* _resultobj
;
2134 PyObject
* _obj2
= 0;
2137 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2146 if (!PyString_Check(_obj2
)) {
2147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2150 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2156 wxPy_END_ALLOW_THREADS
;
2157 } _resultobj
= Py_BuildValue("l",_result
);
2165 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2166 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
2167 PyObject
* _resultobj
;
2175 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
2178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2193 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2194 PyObject
* _resultobj
;
2201 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
2204 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2210 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2219 wxPy_END_ALLOW_THREADS
;
2220 } Py_INCREF(Py_None
);
2221 _resultobj
= Py_None
;
2225 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2226 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2227 PyObject
* _resultobj
;
2236 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
2239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2245 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2254 wxPy_END_ALLOW_THREADS
;
2255 } _resultobj
= Py_BuildValue("i",_result
);
2259 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2260 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2261 PyObject
* _resultobj
;
2269 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2272 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2278 wxPy_BEGIN_ALLOW_THREADS
;
2279 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2281 wxPy_END_ALLOW_THREADS
;
2282 } _resultobj
= Py_BuildValue("i",_result
);
2286 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2287 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2288 PyObject
* _resultobj
;
2290 wxImageList
* _arg1
;
2296 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2305 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2321 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2322 PyObject
* _resultobj
;
2330 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2339 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2348 wxPy_END_ALLOW_THREADS
;
2349 } _resultobj
= Py_BuildValue("i",_result
);
2353 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2354 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2355 PyObject
* _resultobj
;
2363 PyObject
* _obj3
= 0;
2366 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2375 if (!PyString_Check(_obj3
)) {
2376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2379 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2382 wxPy_BEGIN_ALLOW_THREADS
;
2383 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2385 wxPy_END_ALLOW_THREADS
;
2386 } _resultobj
= Py_BuildValue("l",_result
);
2394 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2395 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2396 PyObject
* _resultobj
;
2404 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2413 wxPy_BEGIN_ALLOW_THREADS
;
2414 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2416 wxPy_END_ALLOW_THREADS
;
2417 } _resultobj
= Py_BuildValue("i",_result
);
2421 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2422 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2423 PyObject
* _resultobj
;
2432 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2441 wxPy_BEGIN_ALLOW_THREADS
;
2442 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2444 wxPy_END_ALLOW_THREADS
;
2445 } _resultobj
= Py_BuildValue("i",_result
);
2449 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2450 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2451 PyObject
* _resultobj
;
2460 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2469 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2484 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2485 PyObject
* _resultobj
;
2494 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } _resultobj
= Py_BuildValue("i",_result
);
2511 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2512 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2513 PyObject
* _resultobj
;
2518 PyObject
* _obj2
= 0;
2521 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2530 if (!PyString_Check(_obj2
)) {
2531 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2534 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } Py_INCREF(Py_None
);
2542 _resultobj
= Py_None
;
2550 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2551 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2552 PyObject
* _resultobj
;
2560 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2568 _arg2
= (bool ) tempbool2
;
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2580 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2581 PyObject
* _resultobj
;
2587 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2599 wxPy_END_ALLOW_THREADS
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define new_wxTreeItemId() (new wxTreeItemId())
2606 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2607 PyObject
* _resultobj
;
2608 wxTreeItemId
* _result
;
2612 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2618 wxPy_END_ALLOW_THREADS
;
2619 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2620 _resultobj
= Py_BuildValue("s",_ptemp
);
2624 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2625 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2626 PyObject
* _resultobj
;
2627 wxTreeItemId
* _arg0
;
2631 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2640 wxPy_BEGIN_ALLOW_THREADS
;
2641 delete_wxTreeItemId(_arg0
);
2643 wxPy_END_ALLOW_THREADS
;
2644 } Py_INCREF(Py_None
);
2645 _resultobj
= Py_None
;
2649 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2650 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2651 PyObject
* _resultobj
;
2653 wxTreeItemId
* _arg0
;
2657 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } _resultobj
= Py_BuildValue("i",_result
);
2674 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2675 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2676 PyObject
* _resultobj
;
2677 wxPyTreeItemData
* _result
;
2678 PyObject
* _arg0
= NULL
;
2679 PyObject
* _obj0
= 0;
2683 if(!PyArg_ParseTuple(args
,"|O:new_wxTreeItemData",&_obj0
))
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2693 wxPy_END_ALLOW_THREADS
;
2694 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2695 _resultobj
= Py_BuildValue("s",_ptemp
);
2699 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2700 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
) {
2701 PyObject
* _resultobj
;
2703 wxPyTreeItemData
* _arg0
;
2707 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetData",&_argc0
))
2710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2721 _resultobj
= _result
;
2726 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2727 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
) {
2728 PyObject
* _resultobj
;
2729 wxPyTreeItemData
* _arg0
;
2732 PyObject
* _obj1
= 0;
2735 if(!PyArg_ParseTuple(args
,"sO:wxTreeItemData_SetData",&_argc0
,&_obj1
))
2738 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 wxTreeItemData_SetData(_arg0
,_arg1
);
2750 wxPy_END_ALLOW_THREADS
;
2751 } Py_INCREF(Py_None
);
2752 _resultobj
= Py_None
;
2756 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2757 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2758 PyObject
* _resultobj
;
2759 wxTreeItemId
* _result
;
2760 wxPyTreeItemData
* _arg0
;
2765 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2776 _result
= (wxTreeItemId
*) &_result_ref
;
2778 wxPy_END_ALLOW_THREADS
;
2779 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2780 _resultobj
= Py_BuildValue("s",_ptemp
);
2784 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2785 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2786 PyObject
* _resultobj
;
2787 wxPyTreeItemData
* _arg0
;
2788 wxTreeItemId
* _arg1
;
2793 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
2802 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxTreeItemData_SetId(_arg0
,*_arg1
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2817 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2819 wxCommandEvent
*dest
;
2820 src
= (wxTreeEvent
*) ptr
;
2821 dest
= (wxCommandEvent
*) src
;
2822 return (void *) dest
;
2825 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2828 src
= (wxTreeEvent
*) ptr
;
2829 dest
= (wxEvent
*) src
;
2830 return (void *) dest
;
2833 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2834 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2835 PyObject
* _resultobj
;
2836 wxTreeItemId
* _result
;
2837 wxTreeEvent
* _arg0
;
2842 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2854 wxPy_END_ALLOW_THREADS
;
2855 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2856 _resultobj
= Py_BuildValue("s",_ptemp
);
2860 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2861 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2862 PyObject
* _resultobj
;
2863 wxTreeItemId
* _result
;
2864 wxTreeEvent
* _arg0
;
2869 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2872 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2881 wxPy_END_ALLOW_THREADS
;
2882 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2883 _resultobj
= Py_BuildValue("s",_ptemp
);
2887 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2888 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2889 PyObject
* _resultobj
;
2891 wxTreeEvent
* _arg0
;
2896 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2899 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2908 wxPy_END_ALLOW_THREADS
;
2909 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2910 _resultobj
= Py_BuildValue("s",_ptemp
);
2914 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2915 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2916 PyObject
* _resultobj
;
2918 wxTreeEvent
* _arg0
;
2922 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2934 wxPy_END_ALLOW_THREADS
;
2935 } _resultobj
= Py_BuildValue("i",_result
);
2939 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2940 static PyObject
*_wrap_wxTreeEvent_Veto(PyObject
*self
, PyObject
*args
) {
2941 PyObject
* _resultobj
;
2942 wxTreeEvent
* _arg0
;
2946 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_Veto",&_argc0
))
2949 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 wxTreeEvent_Veto(_arg0
);
2958 wxPy_END_ALLOW_THREADS
;
2959 } Py_INCREF(Py_None
);
2960 _resultobj
= Py_None
;
2964 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
2967 src
= (wxTreeCtrl
*) ptr
;
2968 dest
= (wxControl
*) src
;
2969 return (void *) dest
;
2972 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
2975 src
= (wxTreeCtrl
*) ptr
;
2976 dest
= (wxWindow
*) src
;
2977 return (void *) dest
;
2980 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
2983 src
= (wxTreeCtrl
*) ptr
;
2984 dest
= (wxEvtHandler
*) src
;
2985 return (void *) dest
;
2988 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2989 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
2990 PyObject
* _resultobj
;
2991 wxTreeCtrl
* _result
;
2993 wxWindowID _arg1
= -1;
2994 wxPoint
* _arg2
= &wxPyDefaultPosition
;
2995 wxSize
* _arg3
= &wxPyDefaultSize
;
2996 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
2997 wxValidator
* _arg5
= &wxPyDefaultValidator
;
2998 char * _arg6
= "wxTreeCtrl";
3006 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
3009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3015 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3021 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3027 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3036 wxPy_END_ALLOW_THREADS
;
3037 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3038 _resultobj
= Py_BuildValue("s",_ptemp
);
3042 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3043 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
3044 PyObject
* _resultobj
;
3050 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
3053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3068 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
3069 PyObject
* _resultobj
;
3070 unsigned int _result
;
3075 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
3078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3084 wxPy_BEGIN_ALLOW_THREADS
;
3085 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3087 wxPy_END_ALLOW_THREADS
;
3088 } _resultobj
= Py_BuildValue("i",_result
);
3092 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3093 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
3094 PyObject
* _resultobj
;
3100 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
3103 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3119 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
3120 PyObject
* _resultobj
;
3121 wxImageList
* _result
;
3127 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
3130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3141 _resultobj
= Py_BuildValue("s",_ptemp
);
3145 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3146 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
3147 PyObject
* _resultobj
;
3148 wxImageList
* _result
;
3154 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
3157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3166 wxPy_END_ALLOW_THREADS
;
3167 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3168 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3173 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
3174 PyObject
* _resultobj
;
3176 wxImageList
* _arg1
;
3181 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
3184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3190 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3199 wxPy_END_ALLOW_THREADS
;
3200 } Py_INCREF(Py_None
);
3201 _resultobj
= Py_None
;
3205 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3206 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
3207 PyObject
* _resultobj
;
3209 wxImageList
* _arg1
;
3214 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
3217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3223 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3229 wxPy_BEGIN_ALLOW_THREADS
;
3230 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3232 wxPy_END_ALLOW_THREADS
;
3233 } Py_INCREF(Py_None
);
3234 _resultobj
= Py_None
;
3238 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3239 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
3240 PyObject
* _resultobj
;
3243 wxTreeItemId
* _arg1
;
3248 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
3251 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3257 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3266 wxPy_END_ALLOW_THREADS
;
3268 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3276 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3277 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
3278 PyObject
* _resultobj
;
3281 wxTreeItemId
* _arg1
;
3286 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
3289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3295 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3301 wxPy_BEGIN_ALLOW_THREADS
;
3302 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3304 wxPy_END_ALLOW_THREADS
;
3305 } _resultobj
= Py_BuildValue("i",_result
);
3309 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3310 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3311 PyObject
* _resultobj
;
3314 wxTreeItemId
* _arg1
;
3319 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
3322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3328 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } _resultobj
= Py_BuildValue("i",_result
);
3342 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3343 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3344 PyObject
* _resultobj
;
3346 wxTreeItemId
* _arg1
;
3350 PyObject
* _obj2
= 0;
3353 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3356 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3362 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3368 if (!PyString_Check(_obj2
)) {
3369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3372 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3388 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3389 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3390 PyObject
* _resultobj
;
3392 wxTreeItemId
* _arg1
;
3398 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3407 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3416 wxPy_END_ALLOW_THREADS
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3423 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3424 PyObject
* _resultobj
;
3426 wxTreeItemId
* _arg1
;
3432 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3441 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3457 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3458 PyObject
* _resultobj
;
3460 wxTreeItemId
* _arg1
;
3467 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3470 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3476 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3481 _arg2
= (bool ) tempbool2
;
3483 wxPy_BEGIN_ALLOW_THREADS
;
3484 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3486 wxPy_END_ALLOW_THREADS
;
3487 } Py_INCREF(Py_None
);
3488 _resultobj
= Py_None
;
3492 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3493 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3495 data
= new wxPyTreeItemData();
3496 self
->SetItemData(item
, data
);
3500 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
3501 PyObject
* _resultobj
;
3502 wxPyTreeItemData
* _result
;
3504 wxTreeItemId
* _arg1
;
3510 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
3513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3519 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3525 wxPy_BEGIN_ALLOW_THREADS
;
3526 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3528 wxPy_END_ALLOW_THREADS
;
3529 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3534 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3535 self
->SetItemData(item
, data
);
3537 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3538 PyObject
* _resultobj
;
3540 wxTreeItemId
* _arg1
;
3541 wxPyTreeItemData
* _arg2
;
3547 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3556 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3562 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3577 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3578 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3580 data
= new wxPyTreeItemData();
3581 self
->SetItemData(item
, data
);
3583 return data
->GetData();
3585 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
) {
3586 PyObject
* _resultobj
;
3589 wxTreeItemId
* _arg1
;
3594 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPyData",&_argc0
,&_argc1
))
3597 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3603 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3612 wxPy_END_ALLOW_THREADS
;
3614 _resultobj
= _result
;
3619 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3620 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3622 data
= new wxPyTreeItemData(obj
);
3623 self
->SetItemData(item
, data
);
3627 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
) {
3628 PyObject
* _resultobj
;
3630 wxTreeItemId
* _arg1
;
3634 PyObject
* _obj2
= 0;
3637 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetPyData",&_argc0
,&_argc1
,&_obj2
))
3640 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
3646 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
3658 wxPy_END_ALLOW_THREADS
;
3659 } Py_INCREF(Py_None
);
3660 _resultobj
= Py_None
;
3664 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3665 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3666 PyObject
* _resultobj
;
3669 wxTreeItemId
* _arg1
;
3674 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3683 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3689 wxPy_BEGIN_ALLOW_THREADS
;
3690 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3692 wxPy_END_ALLOW_THREADS
;
3693 } _resultobj
= Py_BuildValue("i",_result
);
3697 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3698 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3699 PyObject
* _resultobj
;
3702 wxTreeItemId
* _arg1
;
3707 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3716 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } _resultobj
= Py_BuildValue("i",_result
);
3730 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3731 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3732 PyObject
* _resultobj
;
3735 wxTreeItemId
* _arg1
;
3740 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3749 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3755 wxPy_BEGIN_ALLOW_THREADS
;
3756 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3758 wxPy_END_ALLOW_THREADS
;
3759 } _resultobj
= Py_BuildValue("i",_result
);
3763 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3764 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3765 PyObject
* _resultobj
;
3768 wxTreeItemId
* _arg1
;
3773 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3782 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3788 wxPy_BEGIN_ALLOW_THREADS
;
3789 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3791 wxPy_END_ALLOW_THREADS
;
3792 } _resultobj
= Py_BuildValue("i",_result
);
3796 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3797 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3798 PyObject
* _resultobj
;
3799 wxTreeItemId
* _result
;
3805 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3814 wxPy_BEGIN_ALLOW_THREADS
;
3815 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3817 wxPy_END_ALLOW_THREADS
;
3818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3819 _resultobj
= Py_BuildValue("s",_ptemp
);
3823 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3824 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3825 PyObject
* _resultobj
;
3826 wxTreeItemId
* _result
;
3832 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3844 wxPy_END_ALLOW_THREADS
;
3845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3846 _resultobj
= Py_BuildValue("s",_ptemp
);
3850 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3851 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3852 PyObject
* _resultobj
;
3853 wxTreeItemId
* _result
;
3855 wxTreeItemId
* _arg1
;
3861 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3864 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3870 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3879 wxPy_END_ALLOW_THREADS
;
3880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3881 _resultobj
= Py_BuildValue("s",_ptemp
);
3885 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
3886 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
) {
3887 PyObject
* _resultobj
;
3890 wxTreeItemId
* _arg1
;
3897 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_GetChildrenCount",&_argc0
,&_argc1
,&tempbool2
))
3900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
3906 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
3911 _arg2
= (bool ) tempbool2
;
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
3916 wxPy_END_ALLOW_THREADS
;
3917 } _resultobj
= Py_BuildValue("i",_result
);
3921 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3922 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3923 PyObject
* _resultobj
;
3924 wxTreeItemId
* _result
;
3926 wxTreeItemId
* _arg1
;
3931 PyObject
* _obj2
= 0;
3935 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3944 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3950 temp
= (long) PyInt_AsLong(_obj2
);
3954 wxPy_BEGIN_ALLOW_THREADS
;
3955 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3957 wxPy_END_ALLOW_THREADS
;
3958 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3959 _resultobj
= Py_BuildValue("s",_ptemp
);
3962 o
= PyInt_FromLong((long) (*_arg2
));
3963 _resultobj
= t_output_helper(_resultobj
, o
);
3968 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3969 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
3970 PyObject
* _resultobj
;
3971 wxTreeItemId
* _result
;
3973 wxTreeItemId
* _arg1
;
3978 PyObject
* _obj2
= 0;
3982 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
3985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3991 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3997 temp
= (long) PyInt_AsLong(_obj2
);
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4004 wxPy_END_ALLOW_THREADS
;
4005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4006 _resultobj
= Py_BuildValue("s",_ptemp
);
4009 o
= PyInt_FromLong((long) (*_arg2
));
4010 _resultobj
= t_output_helper(_resultobj
, o
);
4015 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4016 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
4017 PyObject
* _resultobj
;
4018 wxTreeItemId
* _result
;
4020 wxTreeItemId
* _arg1
;
4026 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
4029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4035 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4041 wxPy_BEGIN_ALLOW_THREADS
;
4042 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4044 wxPy_END_ALLOW_THREADS
;
4045 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4046 _resultobj
= Py_BuildValue("s",_ptemp
);
4050 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4051 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
4052 PyObject
* _resultobj
;
4053 wxTreeItemId
* _result
;
4055 wxTreeItemId
* _arg1
;
4061 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
4064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4070 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4076 wxPy_BEGIN_ALLOW_THREADS
;
4077 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4079 wxPy_END_ALLOW_THREADS
;
4080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4081 _resultobj
= Py_BuildValue("s",_ptemp
);
4085 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4086 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
4087 PyObject
* _resultobj
;
4088 wxTreeItemId
* _result
;
4094 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
4097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4103 wxPy_BEGIN_ALLOW_THREADS
;
4104 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4106 wxPy_END_ALLOW_THREADS
;
4107 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4108 _resultobj
= Py_BuildValue("s",_ptemp
);
4112 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4113 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
4114 PyObject
* _resultobj
;
4115 wxTreeItemId
* _result
;
4117 wxTreeItemId
* _arg1
;
4123 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
4126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4132 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4138 wxPy_BEGIN_ALLOW_THREADS
;
4139 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4141 wxPy_END_ALLOW_THREADS
;
4142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4143 _resultobj
= Py_BuildValue("s",_ptemp
);
4147 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4148 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
4149 PyObject
* _resultobj
;
4150 wxTreeItemId
* _result
;
4152 wxTreeItemId
* _arg1
;
4158 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
4161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4167 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4173 wxPy_BEGIN_ALLOW_THREADS
;
4174 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4176 wxPy_END_ALLOW_THREADS
;
4177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4178 _resultobj
= Py_BuildValue("s",_ptemp
);
4182 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4183 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
4184 PyObject
* _resultobj
;
4185 wxTreeItemId
* _result
;
4190 wxPyTreeItemData
* _arg4
= NULL
;
4192 PyObject
* _obj1
= 0;
4197 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
4200 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4206 if (!PyString_Check(_obj1
)) {
4207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4210 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4213 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4222 wxPy_END_ALLOW_THREADS
;
4223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4224 _resultobj
= Py_BuildValue("s",_ptemp
);
4232 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4233 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
4234 PyObject
* _resultobj
;
4235 wxTreeItemId
* _result
;
4237 wxTreeItemId
* _arg1
;
4241 wxPyTreeItemData
* _arg5
= NULL
;
4244 PyObject
* _obj2
= 0;
4249 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4258 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4264 if (!PyString_Check(_obj2
)) {
4265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4268 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4271 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4280 wxPy_END_ALLOW_THREADS
;
4281 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4282 _resultobj
= Py_BuildValue("s",_ptemp
);
4290 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4291 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
4292 PyObject
* _resultobj
;
4293 wxTreeItemId
* _result
;
4295 wxTreeItemId
* _arg1
;
4296 wxTreeItemId
* _arg2
;
4300 wxPyTreeItemData
* _arg6
= NULL
;
4304 PyObject
* _obj3
= 0;
4309 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
4312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4318 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4324 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4330 if (!PyString_Check(_obj3
)) {
4331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4334 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4337 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4343 wxPy_BEGIN_ALLOW_THREADS
;
4344 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4346 wxPy_END_ALLOW_THREADS
;
4347 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4348 _resultobj
= Py_BuildValue("s",_ptemp
);
4356 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4357 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
4358 PyObject
* _resultobj
;
4359 wxTreeItemId
* _result
;
4361 wxTreeItemId
* _arg1
;
4365 wxPyTreeItemData
* _arg5
= NULL
;
4368 PyObject
* _obj2
= 0;
4373 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4376 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4382 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4388 if (!PyString_Check(_obj2
)) {
4389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4392 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4395 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4401 wxPy_BEGIN_ALLOW_THREADS
;
4402 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4404 wxPy_END_ALLOW_THREADS
;
4405 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4406 _resultobj
= Py_BuildValue("s",_ptemp
);
4414 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4415 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
4416 PyObject
* _resultobj
;
4418 wxTreeItemId
* _arg1
;
4423 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
4426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4432 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4441 wxPy_END_ALLOW_THREADS
;
4442 } Py_INCREF(Py_None
);
4443 _resultobj
= Py_None
;
4447 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4448 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
4449 PyObject
* _resultobj
;
4451 wxTreeItemId
* _arg1
;
4456 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
4459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4465 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4471 wxPy_BEGIN_ALLOW_THREADS
;
4472 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4474 wxPy_END_ALLOW_THREADS
;
4475 } Py_INCREF(Py_None
);
4476 _resultobj
= Py_None
;
4480 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4481 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
4482 PyObject
* _resultobj
;
4487 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
4490 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4496 wxPy_BEGIN_ALLOW_THREADS
;
4497 wxTreeCtrl_DeleteAllItems(_arg0
);
4499 wxPy_END_ALLOW_THREADS
;
4500 } Py_INCREF(Py_None
);
4501 _resultobj
= Py_None
;
4505 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4506 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
4507 PyObject
* _resultobj
;
4509 wxTreeItemId
* _arg1
;
4514 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
4517 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4523 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4532 wxPy_END_ALLOW_THREADS
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4538 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4539 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
4540 PyObject
* _resultobj
;
4542 wxTreeItemId
* _arg1
;
4547 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
4550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
4556 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
4565 wxPy_END_ALLOW_THREADS
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
4572 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
4573 PyObject
* _resultobj
;
4575 wxTreeItemId
* _arg1
;
4580 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
4583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
4589 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
4595 wxPy_BEGIN_ALLOW_THREADS
;
4596 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
4598 wxPy_END_ALLOW_THREADS
;
4599 } Py_INCREF(Py_None
);
4600 _resultobj
= Py_None
;
4604 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4605 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
4606 PyObject
* _resultobj
;
4608 wxTreeItemId
* _arg1
;
4613 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
4616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
4622 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4628 wxPy_BEGIN_ALLOW_THREADS
;
4629 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4631 wxPy_END_ALLOW_THREADS
;
4632 } Py_INCREF(Py_None
);
4633 _resultobj
= Py_None
;
4637 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4638 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4639 PyObject
* _resultobj
;
4644 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4653 wxPy_BEGIN_ALLOW_THREADS
;
4654 wxTreeCtrl_Unselect(_arg0
);
4656 wxPy_END_ALLOW_THREADS
;
4657 } Py_INCREF(Py_None
);
4658 _resultobj
= Py_None
;
4662 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4663 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4664 PyObject
* _resultobj
;
4666 wxTreeItemId
* _arg1
;
4671 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4680 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4686 wxPy_BEGIN_ALLOW_THREADS
;
4687 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4689 wxPy_END_ALLOW_THREADS
;
4690 } Py_INCREF(Py_None
);
4691 _resultobj
= Py_None
;
4695 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4696 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4697 PyObject
* _resultobj
;
4699 wxTreeItemId
* _arg1
;
4704 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4707 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4713 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4719 wxPy_BEGIN_ALLOW_THREADS
;
4720 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4722 wxPy_END_ALLOW_THREADS
;
4723 } Py_INCREF(Py_None
);
4724 _resultobj
= Py_None
;
4728 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4729 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4730 PyObject
* _resultobj
;
4732 wxTreeItemId
* _arg1
;
4737 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4740 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4746 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4752 wxPy_BEGIN_ALLOW_THREADS
;
4753 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4755 wxPy_END_ALLOW_THREADS
;
4756 } Py_INCREF(Py_None
);
4757 _resultobj
= Py_None
;
4761 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4762 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4763 PyObject
* _resultobj
;
4764 wxTextCtrl
* _result
;
4766 wxTreeItemId
* _arg1
;
4772 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4781 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4790 wxPy_END_ALLOW_THREADS
;
4791 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4792 _resultobj
= Py_BuildValue("s",_ptemp
);
4796 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4797 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
4798 PyObject
* _resultobj
;
4799 wxTextCtrl
* _result
;
4805 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetEditControl",&_argc0
))
4808 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4814 wxPy_BEGIN_ALLOW_THREADS
;
4815 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
4817 wxPy_END_ALLOW_THREADS
;
4818 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4819 _resultobj
= Py_BuildValue("s",_ptemp
);
4823 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4824 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
4825 PyObject
* _resultobj
;
4827 wxTreeItemId
* _arg1
;
4834 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0
,&_argc1
,&tempbool2
))
4837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4843 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4848 _arg2
= (bool ) tempbool2
;
4850 wxPy_BEGIN_ALLOW_THREADS
;
4851 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
4853 wxPy_END_ALLOW_THREADS
;
4854 } Py_INCREF(Py_None
);
4855 _resultobj
= Py_None
;
4859 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4860 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4861 PyObject
* _resultobj
;
4863 wxTreeItemId
* _arg1
;
4870 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4873 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4879 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4884 _arg2
= (bool ) tempbool2
;
4886 wxPy_BEGIN_ALLOW_THREADS
;
4887 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4889 wxPy_END_ALLOW_THREADS
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4896 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4897 PyObject
* _resultobj
;
4900 wxTreeItemId
* _arg1
;
4905 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4908 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4914 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4920 wxPy_BEGIN_ALLOW_THREADS
;
4921 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4923 wxPy_END_ALLOW_THREADS
;
4924 } _resultobj
= Py_BuildValue("i",_result
);
4928 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4929 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4930 PyObject
* _resultobj
;
4931 wxTreeItemId
* _result
;
4939 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4948 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4954 wxPy_BEGIN_ALLOW_THREADS
;
4955 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4957 wxPy_END_ALLOW_THREADS
;
4958 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4959 _resultobj
= Py_BuildValue("s",_ptemp
);
4963 static PyMethodDef controls2cMethods
[] = {
4964 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4965 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4966 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4967 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, 1 },
4968 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, 1 },
4969 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4970 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4971 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4972 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4973 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4974 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4975 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4976 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4977 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4978 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4979 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4980 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4981 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4982 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4983 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4984 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4985 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4986 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4987 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4988 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4989 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4990 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4991 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4992 { "wxTreeCtrl_GetChildrenCount", _wrap_wxTreeCtrl_GetChildrenCount
, 1 },
4993 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4994 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4995 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4996 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4997 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4998 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4999 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
5000 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData
, 1 },
5001 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData
, 1 },
5002 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
5003 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
5004 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
5005 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
5006 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
5007 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
5008 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
5009 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
5010 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
5011 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
5012 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
5013 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
5014 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
5015 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
5016 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
5017 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
5018 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
5019 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto
, 1 },
5020 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
5021 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
5022 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
5023 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
5024 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
5025 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
5026 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData
, 1 },
5027 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData
, 1 },
5028 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
5029 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
5030 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
5031 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
5032 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
5033 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
5034 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
5035 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
5036 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
5037 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
5038 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
5039 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
5040 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
5041 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
5042 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
5043 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
5044 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
5045 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
5046 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
5047 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
5048 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
5049 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
5050 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
5051 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
5052 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
5053 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
5054 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
5055 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
5056 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
5057 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
5058 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
5059 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
5060 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
5061 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
5062 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
5063 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
5064 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
5065 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
5066 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
5067 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
5068 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
5069 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
5070 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
5071 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
5072 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
5073 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
5074 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
5075 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
5076 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
5077 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
5078 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
5079 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
5080 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
5081 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
5082 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
5083 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
5084 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
5085 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
5086 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
5087 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
5088 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
5089 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
5090 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
5091 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
5092 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
5093 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
5094 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
5095 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
5096 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
5097 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
5098 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
5099 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
5100 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
5101 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
5102 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
5103 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
5104 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
5105 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
5106 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
5107 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
5108 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
5109 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
5110 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
5111 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
5112 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
5113 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
5114 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
5117 static PyObject
*SWIG_globals
;
5121 SWIGEXPORT(void,initcontrols2c
)() {
5123 SWIG_globals
= SWIG_newvarlink();
5124 m
= Py_InitModule("controls2c", controls2cMethods
);
5125 d
= PyModule_GetDict(m
);
5126 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5127 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5128 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5129 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5130 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5131 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
5132 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5133 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5134 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5135 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5136 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5137 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5138 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5139 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5140 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5141 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5142 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5143 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5144 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5145 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5146 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5147 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5148 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5149 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5150 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5151 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5152 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5153 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5154 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5155 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5156 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5157 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5158 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5159 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5160 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5161 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5162 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5163 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5164 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5165 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5166 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5167 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5168 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5170 * These are the pointer type-equivalency mappings.
5171 * (Used by the SWIG pointer type-checker).
5173 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5174 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5175 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5176 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5177 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5178 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
5179 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
5180 SWIG_RegisterMapping("_signed_long","_long",0);
5181 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
5182 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5183 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5184 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5185 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5186 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5187 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5188 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5189 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5190 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5191 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
5192 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5193 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5194 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5195 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5196 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5197 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
5198 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5199 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5200 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
5201 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
5202 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5203 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
5204 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5205 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
5206 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5207 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
5208 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
5209 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
5210 SWIG_RegisterMapping("_long","_wxDash",0);
5211 SWIG_RegisterMapping("_long","_unsigned_long",0);
5212 SWIG_RegisterMapping("_long","_signed_long",0);
5213 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5214 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
5215 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
5216 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5217 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
5218 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5219 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
5220 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
5221 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5222 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5223 SWIG_RegisterMapping("_size_t","_int",0);
5224 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5225 SWIG_RegisterMapping("_size_t","_uint",0);
5226 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5227 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5228 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
5229 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
5230 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5231 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5232 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
5233 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
5234 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
5235 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
5236 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5237 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
5238 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5239 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5240 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
5241 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
5242 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
5243 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5244 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
5245 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5246 SWIG_RegisterMapping("_uint","_size_t",0);
5247 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5248 SWIG_RegisterMapping("_uint","_int",0);
5249 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5250 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5251 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5252 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5253 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5254 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
5255 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
5256 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5257 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5258 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5259 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5260 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5261 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
5262 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
5263 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5264 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
5265 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
5266 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5267 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5268 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5269 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
5270 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
5271 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5272 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
5273 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
5274 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
5275 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
5276 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
5277 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
5278 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
5279 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
5280 SWIG_RegisterMapping("_EBool","_signed_int",0);
5281 SWIG_RegisterMapping("_EBool","_int",0);
5282 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5283 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5284 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
5285 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
5286 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5287 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
5288 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5289 SWIG_RegisterMapping("_unsigned_long","_long",0);
5290 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5291 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5292 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
5293 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5294 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
5295 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
5296 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
5297 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5298 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
5299 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
5300 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
5301 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
5302 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
5303 SWIG_RegisterMapping("_signed_int","_EBool",0);
5304 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5305 SWIG_RegisterMapping("_signed_int","_int",0);
5306 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
5307 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5308 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
5309 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
5310 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
5311 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5312 SWIG_RegisterMapping("_WXTYPE","_short",0);
5313 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5314 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5315 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5316 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5317 SWIG_RegisterMapping("_unsigned_short","_short",0);
5318 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5319 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5320 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5321 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5322 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
5323 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
5324 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5325 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
5326 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
5327 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5328 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
5329 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
5330 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5331 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5332 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
5333 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5334 SWIG_RegisterMapping("_signed_short","_short",0);
5335 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5336 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5337 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5338 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
5339 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
5340 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5341 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5342 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5343 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
5344 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
5345 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5346 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
5347 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5348 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5349 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5350 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5351 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
5352 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
5353 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
5354 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
5355 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5356 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5357 SWIG_RegisterMapping("_unsigned_int","_int",0);
5358 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5359 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5360 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5361 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
5362 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5363 SWIG_RegisterMapping("_short","_WXTYPE",0);
5364 SWIG_RegisterMapping("_short","_unsigned_short",0);
5365 SWIG_RegisterMapping("_short","_signed_short",0);
5366 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5367 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5368 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5369 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5370 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5371 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5372 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5373 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5374 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5375 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5376 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5377 SWIG_RegisterMapping("_wxWindowID","_int",0);
5378 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5379 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5380 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5381 SWIG_RegisterMapping("_int","_size_t",0);
5382 SWIG_RegisterMapping("_int","_EBool",0);
5383 SWIG_RegisterMapping("_int","_uint",0);
5384 SWIG_RegisterMapping("_int","_wxWindowID",0);
5385 SWIG_RegisterMapping("_int","_unsigned_int",0);
5386 SWIG_RegisterMapping("_int","_signed_int",0);
5387 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5388 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
5389 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5390 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5391 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5392 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5393 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
5394 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5395 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5396 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5397 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5398 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5399 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
5400 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
5401 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5402 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5403 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5404 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5405 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5406 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5407 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5408 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5409 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5410 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5411 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5412 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5413 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5414 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5415 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5416 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5417 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5418 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5419 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5420 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5421 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5422 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5423 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5424 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5425 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5426 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5427 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5428 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
5429 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5430 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5431 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5432 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5433 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
5434 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5435 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5436 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5437 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5438 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5439 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5440 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5441 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5442 SWIG_RegisterMapping("_wxDash","_long",0);
5443 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5444 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5445 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5446 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5447 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5448 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5449 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5450 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5451 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5452 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);