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_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1353 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
1354 PyObject
* _resultobj
;
1360 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EditLabel",&_argc0
,&_arg1
))
1363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 wxListCtrl_EditLabel(_arg0
,_arg1
);
1372 wxPy_END_ALLOW_THREADS
;
1373 } Py_INCREF(Py_None
);
1374 _resultobj
= Py_None
;
1378 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1379 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1380 PyObject
* _resultobj
;
1387 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_EnsureVisible",&_argc0
,&_arg1
))
1390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1399 wxPy_END_ALLOW_THREADS
;
1400 } _resultobj
= Py_BuildValue("i",_result
);
1404 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1405 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1406 PyObject
* _resultobj
;
1413 PyObject
* _obj2
= 0;
1417 if(!PyArg_ParseTuple(args
,"slO|i:wxListCtrl_FindItem",&_argc0
,&_arg1
,&_obj2
,&tempbool3
))
1420 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1426 if (!PyString_Check(_obj2
)) {
1427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1430 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1432 _arg3
= (bool ) tempbool3
;
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1437 wxPy_END_ALLOW_THREADS
;
1438 } _resultobj
= Py_BuildValue("l",_result
);
1446 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1447 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1456 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_FindItemData",&_argc0
,&_arg1
,&_arg2
))
1459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1465 wxPy_BEGIN_ALLOW_THREADS
;
1466 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1468 wxPy_END_ALLOW_THREADS
;
1469 } _resultobj
= Py_BuildValue("l",_result
);
1473 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1474 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1475 PyObject
* _resultobj
;
1485 if(!PyArg_ParseTuple(args
,"slsi:wxListCtrl_FindItemAtPos",&_argc0
,&_arg1
,&_argc2
,&_arg3
))
1488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1494 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1503 wxPy_END_ALLOW_THREADS
;
1504 } _resultobj
= Py_BuildValue("l",_result
);
1508 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1509 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1510 PyObject
* _resultobj
;
1519 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_GetColumn",&_argc0
,&_arg1
,&_argc2
))
1522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1528 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1537 wxPy_END_ALLOW_THREADS
;
1538 } _resultobj
= Py_BuildValue("i",_result
);
1542 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1543 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1544 PyObject
* _resultobj
;
1551 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetColumnWidth",&_argc0
,&_arg1
))
1554 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1569 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1570 PyObject
* _resultobj
;
1576 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetCountPerPage",&_argc0
))
1579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1585 wxPy_BEGIN_ALLOW_THREADS
;
1586 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1588 wxPy_END_ALLOW_THREADS
;
1589 } _resultobj
= Py_BuildValue("i",_result
);
1593 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1594 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1595 PyObject
* _resultobj
;
1596 wxImageList
* _result
;
1603 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetImageList",&_argc0
,&_arg1
))
1606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1612 wxPy_BEGIN_ALLOW_THREADS
;
1613 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1615 wxPy_END_ALLOW_THREADS
;
1616 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1617 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1622 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1623 PyObject
* _resultobj
;
1630 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemData",&_argc0
,&_arg1
))
1633 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1639 wxPy_BEGIN_ALLOW_THREADS
;
1640 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1642 wxPy_END_ALLOW_THREADS
;
1643 } _resultobj
= Py_BuildValue("l",_result
);
1647 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1648 wxListItem
* info
= new wxListItem
;
1649 info
->m_itemId
= itemId
;
1650 self
->GetItem(*info
);
1653 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1654 PyObject
* _resultobj
;
1655 wxListItem
* _result
;
1662 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItem",&_argc0
,&_arg1
))
1665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1674 wxPy_END_ALLOW_THREADS
;
1675 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1676 _resultobj
= Py_BuildValue("s",_ptemp
);
1680 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1681 wxPoint
* pos
= new wxPoint
;
1682 self
->GetItemPosition(item
, *pos
);
1685 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1686 PyObject
* _resultobj
;
1694 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemPosition",&_argc0
,&_arg1
))
1697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1703 wxPy_BEGIN_ALLOW_THREADS
;
1704 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1706 wxPy_END_ALLOW_THREADS
;
1707 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1708 _resultobj
= Py_BuildValue("s",_ptemp
);
1712 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1713 wxRect
* rect
= new wxRect
;
1714 self
->GetItemRect(item
, *rect
, code
);
1717 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1718 PyObject
* _resultobj
;
1722 int _arg2
= (wxLIST_RECT_BOUNDS
);
1727 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_GetItemRect",&_argc0
,&_arg1
,&_arg2
))
1730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1739 wxPy_END_ALLOW_THREADS
;
1740 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1741 _resultobj
= Py_BuildValue("s",_ptemp
);
1745 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1746 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1747 PyObject
* _resultobj
;
1755 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_GetItemState",&_argc0
,&_arg1
,&_arg2
))
1758 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1767 wxPy_END_ALLOW_THREADS
;
1768 } _resultobj
= Py_BuildValue("i",_result
);
1772 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1773 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1774 PyObject
* _resultobj
;
1780 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetItemCount",&_argc0
))
1783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1798 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1799 PyObject
* _resultobj
;
1807 if(!PyArg_ParseTuple(args
,"si:wxListCtrl_GetItemSpacing",&_argc0
,&tempbool1
))
1810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1815 _arg1
= (bool ) tempbool1
;
1817 wxPy_BEGIN_ALLOW_THREADS
;
1818 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1820 wxPy_END_ALLOW_THREADS
;
1821 } _resultobj
= Py_BuildValue("i",_result
);
1825 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1826 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
1827 PyObject
* _resultobj
;
1834 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_GetItemText",&_argc0
,&_arg1
))
1837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
1846 wxPy_END_ALLOW_THREADS
;
1848 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1856 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1857 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1862 int _arg2
= (wxLIST_NEXT_ALL
);
1863 int _arg3
= (wxLIST_STATE_DONTCARE
);
1867 if(!PyArg_ParseTuple(args
,"sl|ii:wxListCtrl_GetNextItem",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1870 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("l",_result
);
1884 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1885 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
1886 PyObject
* _resultobj
;
1892 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetSelectedItemCount",&_argc0
))
1895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
1904 wxPy_END_ALLOW_THREADS
;
1905 } _resultobj
= Py_BuildValue("i",_result
);
1909 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1910 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
1911 PyObject
* _resultobj
;
1917 if(!PyArg_ParseTuple(args
,"s:wxListCtrl_GetTopItem",&_argc0
))
1920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } _resultobj
= Py_BuildValue("l",_result
);
1934 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1935 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
1936 PyObject
* _resultobj
;
1949 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_HitTest",&_argc0
,&_argc1
))
1952 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1958 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } _resultobj
= Py_BuildValue("l",_result
);
1971 o
= PyInt_FromLong((long) (*_arg2
));
1972 _resultobj
= t_output_helper(_resultobj
, o
);
1977 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1978 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
1979 PyObject
* _resultobj
;
1988 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_InsertColumnWith",&_argc0
,&_arg1
,&_argc2
))
1991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
1997 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } _resultobj
= Py_BuildValue("l",_result
);
2011 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2012 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
2013 PyObject
* _resultobj
;
2018 int _arg3
= (wxLIST_FORMAT_LEFT
);
2021 PyObject
* _obj2
= 0;
2024 if(!PyArg_ParseTuple(args
,"slO|ii:wxListCtrl_InsertColumn",&_argc0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2033 if (!PyString_Check(_obj2
)) {
2034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2037 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2040 wxPy_BEGIN_ALLOW_THREADS
;
2041 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2043 wxPy_END_ALLOW_THREADS
;
2044 } _resultobj
= Py_BuildValue("l",_result
);
2052 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2053 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
2054 PyObject
* _resultobj
;
2062 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_InsertItem",&_argc0
,&_argc1
))
2065 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2071 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2077 wxPy_BEGIN_ALLOW_THREADS
;
2078 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2080 wxPy_END_ALLOW_THREADS
;
2081 } _resultobj
= Py_BuildValue("l",_result
);
2085 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2086 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
2087 PyObject
* _resultobj
;
2093 PyObject
* _obj2
= 0;
2096 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_InsertStringItem",&_argc0
,&_arg1
,&_obj2
))
2099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2105 if (!PyString_Check(_obj2
)) {
2106 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2109 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2115 wxPy_END_ALLOW_THREADS
;
2116 } _resultobj
= Py_BuildValue("l",_result
);
2124 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2125 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
2126 PyObject
* _resultobj
;
2134 if(!PyArg_ParseTuple(args
,"sli:wxListCtrl_InsertImageItem",&_argc0
,&_arg1
,&_arg2
))
2137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2146 wxPy_END_ALLOW_THREADS
;
2147 } _resultobj
= Py_BuildValue("l",_result
);
2151 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2152 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
2153 PyObject
* _resultobj
;
2160 PyObject
* _obj2
= 0;
2163 if(!PyArg_ParseTuple(args
,"slOi:wxListCtrl_InsertImageStringItem",&_argc0
,&_arg1
,&_obj2
,&_arg3
))
2166 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2172 if (!PyString_Check(_obj2
)) {
2173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2176 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } _resultobj
= Py_BuildValue("l",_result
);
2191 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2192 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
2193 PyObject
* _resultobj
;
2201 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_ScrollList",&_argc0
,&_arg1
,&_arg2
))
2204 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } _resultobj
= Py_BuildValue("i",_result
);
2218 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2219 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2220 PyObject
* _resultobj
;
2227 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetBackgroundColour",&_argc0
,&_argc1
))
2230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2236 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2245 wxPy_END_ALLOW_THREADS
;
2246 } Py_INCREF(Py_None
);
2247 _resultobj
= Py_None
;
2251 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2252 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2253 PyObject
* _resultobj
;
2262 if(!PyArg_ParseTuple(args
,"sis:wxListCtrl_SetColumn",&_argc0
,&_arg1
,&_argc2
))
2265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2271 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxListItem_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } _resultobj
= Py_BuildValue("i",_result
);
2285 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2286 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2287 PyObject
* _resultobj
;
2295 if(!PyArg_ParseTuple(args
,"sii:wxListCtrl_SetColumnWidth",&_argc0
,&_arg1
,&_arg2
))
2298 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } _resultobj
= Py_BuildValue("i",_result
);
2312 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2313 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2314 PyObject
* _resultobj
;
2316 wxImageList
* _arg1
;
2322 if(!PyArg_ParseTuple(args
,"ssi:wxListCtrl_SetImageList",&_argc0
,&_argc1
,&_arg2
))
2325 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2331 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2337 wxPy_BEGIN_ALLOW_THREADS
;
2338 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2340 wxPy_END_ALLOW_THREADS
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2346 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2347 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2348 PyObject
* _resultobj
;
2356 if(!PyArg_ParseTuple(args
,"ss:wxListCtrl_SetItem",&_argc0
,&_argc1
))
2359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2365 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxListItem_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } _resultobj
= Py_BuildValue("i",_result
);
2379 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2380 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2381 PyObject
* _resultobj
;
2389 PyObject
* _obj3
= 0;
2392 if(!PyArg_ParseTuple(args
,"sliO|i:wxListCtrl_SetStringItem",&_argc0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2401 if (!PyString_Check(_obj3
)) {
2402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2405 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2411 wxPy_END_ALLOW_THREADS
;
2412 } _resultobj
= Py_BuildValue("l",_result
);
2420 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2421 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2422 PyObject
* _resultobj
;
2430 if(!PyArg_ParseTuple(args
,"sll:wxListCtrl_SetItemData",&_argc0
,&_arg1
,&_arg2
))
2433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2439 wxPy_BEGIN_ALLOW_THREADS
;
2440 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2442 wxPy_END_ALLOW_THREADS
;
2443 } _resultobj
= Py_BuildValue("i",_result
);
2447 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2448 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2449 PyObject
* _resultobj
;
2458 if(!PyArg_ParseTuple(args
,"slii:wxListCtrl_SetItemImage",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2467 wxPy_BEGIN_ALLOW_THREADS
;
2468 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2470 wxPy_END_ALLOW_THREADS
;
2471 } _resultobj
= Py_BuildValue("i",_result
);
2475 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2476 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2477 PyObject
* _resultobj
;
2486 if(!PyArg_ParseTuple(args
,"sls:wxListCtrl_SetItemPosition",&_argc0
,&_arg1
,&_argc2
))
2489 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2495 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2504 wxPy_END_ALLOW_THREADS
;
2505 } _resultobj
= Py_BuildValue("i",_result
);
2509 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2510 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2511 PyObject
* _resultobj
;
2520 if(!PyArg_ParseTuple(args
,"slll:wxListCtrl_SetItemState",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2532 wxPy_END_ALLOW_THREADS
;
2533 } _resultobj
= Py_BuildValue("i",_result
);
2537 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2538 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2539 PyObject
* _resultobj
;
2544 PyObject
* _obj2
= 0;
2547 if(!PyArg_ParseTuple(args
,"slO:wxListCtrl_SetItemText",&_argc0
,&_arg1
,&_obj2
))
2550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2556 if (!PyString_Check(_obj2
)) {
2557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2560 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2566 wxPy_END_ALLOW_THREADS
;
2567 } Py_INCREF(Py_None
);
2568 _resultobj
= Py_None
;
2576 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2577 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2578 PyObject
* _resultobj
;
2586 if(!PyArg_ParseTuple(args
,"sl|i:wxListCtrl_SetSingleStyle",&_argc0
,&_arg1
,&tempbool2
))
2589 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2594 _arg2
= (bool ) tempbool2
;
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2599 wxPy_END_ALLOW_THREADS
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2606 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2607 PyObject
* _resultobj
;
2613 if(!PyArg_ParseTuple(args
,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0
,&_arg1
))
2616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2625 wxPy_END_ALLOW_THREADS
;
2626 } Py_INCREF(Py_None
);
2627 _resultobj
= Py_None
;
2631 #define new_wxTreeItemId() (new wxTreeItemId())
2632 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2633 PyObject
* _resultobj
;
2634 wxTreeItemId
* _result
;
2638 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2644 wxPy_END_ALLOW_THREADS
;
2645 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2646 _resultobj
= Py_BuildValue("s",_ptemp
);
2650 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2651 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2652 PyObject
* _resultobj
;
2653 wxTreeItemId
* _arg0
;
2657 if(!PyArg_ParseTuple(args
,"s:delete_wxTreeItemId",&_argc0
))
2660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 delete_wxTreeItemId(_arg0
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2676 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2677 PyObject
* _resultobj
;
2679 wxTreeItemId
* _arg0
;
2683 if(!PyArg_ParseTuple(args
,"s:wxTreeItemId_IsOk",&_argc0
))
2686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2692 wxPy_BEGIN_ALLOW_THREADS
;
2693 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2695 wxPy_END_ALLOW_THREADS
;
2696 } _resultobj
= Py_BuildValue("i",_result
);
2700 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2701 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2702 PyObject
* _resultobj
;
2703 wxPyTreeItemData
* _result
;
2704 PyObject
* _arg0
= NULL
;
2705 PyObject
* _obj0
= 0;
2709 if(!PyArg_ParseTuple(args
,"|O:new_wxTreeItemData",&_obj0
))
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2721 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2726 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
) {
2727 PyObject
* _resultobj
;
2729 wxPyTreeItemData
* _arg0
;
2733 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetData",&_argc0
))
2736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2745 wxPy_END_ALLOW_THREADS
;
2747 _resultobj
= _result
;
2752 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2753 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
) {
2754 PyObject
* _resultobj
;
2755 wxPyTreeItemData
* _arg0
;
2758 PyObject
* _obj1
= 0;
2761 if(!PyArg_ParseTuple(args
,"sO:wxTreeItemData_SetData",&_argc0
,&_obj1
))
2764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 wxTreeItemData_SetData(_arg0
,_arg1
);
2776 wxPy_END_ALLOW_THREADS
;
2777 } Py_INCREF(Py_None
);
2778 _resultobj
= Py_None
;
2782 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2783 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
2784 PyObject
* _resultobj
;
2785 wxTreeItemId
* _result
;
2786 wxPyTreeItemData
* _arg0
;
2791 if(!PyArg_ParseTuple(args
,"s:wxTreeItemData_GetId",&_argc0
))
2794 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
2802 _result
= (wxTreeItemId
*) &_result_ref
;
2804 wxPy_END_ALLOW_THREADS
;
2805 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2806 _resultobj
= Py_BuildValue("s",_ptemp
);
2810 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2811 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
2812 PyObject
* _resultobj
;
2813 wxPyTreeItemData
* _arg0
;
2814 wxTreeItemId
* _arg1
;
2819 if(!PyArg_ParseTuple(args
,"ss:wxTreeItemData_SetId",&_argc0
,&_argc1
))
2822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
2828 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 wxTreeItemData_SetId(_arg0
,*_arg1
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } Py_INCREF(Py_None
);
2839 _resultobj
= Py_None
;
2843 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
2845 wxNotifyEvent
*dest
;
2846 src
= (wxTreeEvent
*) ptr
;
2847 dest
= (wxNotifyEvent
*) src
;
2848 return (void *) dest
;
2851 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
2853 wxCommandEvent
*dest
;
2854 src
= (wxTreeEvent
*) ptr
;
2855 dest
= (wxCommandEvent
*) src
;
2856 return (void *) dest
;
2859 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
2862 src
= (wxTreeEvent
*) ptr
;
2863 dest
= (wxEvent
*) src
;
2864 return (void *) dest
;
2867 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2868 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
2869 PyObject
* _resultobj
;
2870 wxTreeItemId
* _result
;
2871 wxTreeEvent
* _arg0
;
2876 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetItem",&_argc0
))
2879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
2888 wxPy_END_ALLOW_THREADS
;
2889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2890 _resultobj
= Py_BuildValue("s",_ptemp
);
2894 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2895 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
2896 PyObject
* _resultobj
;
2897 wxTreeItemId
* _result
;
2898 wxTreeEvent
* _arg0
;
2903 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetOldItem",&_argc0
))
2906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2912 wxPy_BEGIN_ALLOW_THREADS
;
2913 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
2915 wxPy_END_ALLOW_THREADS
;
2916 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
2917 _resultobj
= Py_BuildValue("s",_ptemp
);
2921 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2922 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
2923 PyObject
* _resultobj
;
2925 wxTreeEvent
* _arg0
;
2930 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetPoint",&_argc0
))
2933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
2942 wxPy_END_ALLOW_THREADS
;
2943 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2944 _resultobj
= Py_BuildValue("s",_ptemp
);
2948 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2949 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
2950 PyObject
* _resultobj
;
2952 wxTreeEvent
* _arg0
;
2956 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetCode",&_argc0
))
2959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 _result
= (int )wxTreeEvent_GetCode(_arg0
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } _resultobj
= Py_BuildValue("i",_result
);
2973 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2974 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
) {
2975 PyObject
* _resultobj
;
2977 wxTreeEvent
* _arg0
;
2981 if(!PyArg_ParseTuple(args
,"s:wxTreeEvent_GetLabel",&_argc0
))
2984 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
2992 _result
= (wxString
*) &_result_ref
;
2994 wxPy_END_ALLOW_THREADS
;
2996 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3001 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3004 src
= (wxTreeCtrl
*) ptr
;
3005 dest
= (wxControl
*) src
;
3006 return (void *) dest
;
3009 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3012 src
= (wxTreeCtrl
*) ptr
;
3013 dest
= (wxWindow
*) src
;
3014 return (void *) dest
;
3017 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3020 src
= (wxTreeCtrl
*) ptr
;
3021 dest
= (wxEvtHandler
*) src
;
3022 return (void *) dest
;
3025 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3026 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
3027 PyObject
* _resultobj
;
3028 wxTreeCtrl
* _result
;
3030 wxWindowID _arg1
= -1;
3031 wxPoint
* _arg2
= &wxPyDefaultPosition
;
3032 wxSize
* _arg3
= &wxPyDefaultSize
;
3033 long _arg4
= (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
3034 wxValidator
* _arg5
= &wxPyDefaultValidator
;
3035 char * _arg6
= "wxTreeCtrl";
3043 if(!PyArg_ParseTuple(args
,"s|isslss:new_wxTreeCtrl",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_argc5
,&_arg6
))
3046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3052 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3058 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3064 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxValidator_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3075 _resultobj
= Py_BuildValue("s",_ptemp
);
3079 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3080 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
3081 PyObject
* _resultobj
;
3087 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetCount",&_argc0
))
3090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } _resultobj
= Py_BuildValue("i",_result
);
3104 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3105 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
3106 PyObject
* _resultobj
;
3107 unsigned int _result
;
3112 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetIndent",&_argc0
))
3115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3121 wxPy_BEGIN_ALLOW_THREADS
;
3122 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3124 wxPy_END_ALLOW_THREADS
;
3125 } _resultobj
= Py_BuildValue("i",_result
);
3129 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3130 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
3131 PyObject
* _resultobj
;
3137 if(!PyArg_ParseTuple(args
,"si:wxTreeCtrl_SetIndent",&_argc0
,&_arg1
))
3140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3146 wxPy_BEGIN_ALLOW_THREADS
;
3147 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3149 wxPy_END_ALLOW_THREADS
;
3150 } Py_INCREF(Py_None
);
3151 _resultobj
= Py_None
;
3155 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3156 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
3157 PyObject
* _resultobj
;
3158 wxImageList
* _result
;
3164 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetImageList",&_argc0
))
3167 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3178 _resultobj
= Py_BuildValue("s",_ptemp
);
3182 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3183 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
3184 PyObject
* _resultobj
;
3185 wxImageList
* _result
;
3191 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetStateImageList",&_argc0
))
3194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3203 wxPy_END_ALLOW_THREADS
;
3204 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3209 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3210 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
3211 PyObject
* _resultobj
;
3213 wxImageList
* _arg1
;
3218 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetImageList",&_argc0
,&_argc1
))
3221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3227 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3233 wxPy_BEGIN_ALLOW_THREADS
;
3234 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3236 wxPy_END_ALLOW_THREADS
;
3237 } Py_INCREF(Py_None
);
3238 _resultobj
= Py_None
;
3242 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3243 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
3244 PyObject
* _resultobj
;
3246 wxImageList
* _arg1
;
3251 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SetStateImageList",&_argc0
,&_argc1
))
3254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3260 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxImageList_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3266 wxPy_BEGIN_ALLOW_THREADS
;
3267 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3269 wxPy_END_ALLOW_THREADS
;
3270 } Py_INCREF(Py_None
);
3271 _resultobj
= Py_None
;
3275 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3276 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
3277 PyObject
* _resultobj
;
3280 wxTreeItemId
* _arg1
;
3285 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemText",&_argc0
,&_argc1
))
3288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3294 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3303 wxPy_END_ALLOW_THREADS
;
3305 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3313 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3314 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
3315 PyObject
* _resultobj
;
3318 wxTreeItemId
* _arg1
;
3323 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemImage",&_argc0
,&_argc1
))
3326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3332 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3338 wxPy_BEGIN_ALLOW_THREADS
;
3339 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3341 wxPy_END_ALLOW_THREADS
;
3342 } _resultobj
= Py_BuildValue("i",_result
);
3346 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3347 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3348 PyObject
* _resultobj
;
3351 wxTreeItemId
* _arg1
;
3356 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0
,&_argc1
))
3359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3365 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } _resultobj
= Py_BuildValue("i",_result
);
3379 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3380 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3381 PyObject
* _resultobj
;
3383 wxTreeItemId
* _arg1
;
3387 PyObject
* _obj2
= 0;
3390 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetItemText",&_argc0
,&_argc1
,&_obj2
))
3393 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3399 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3405 if (!PyString_Check(_obj2
)) {
3406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3409 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3415 wxPy_END_ALLOW_THREADS
;
3416 } Py_INCREF(Py_None
);
3417 _resultobj
= Py_None
;
3425 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3426 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3427 PyObject
* _resultobj
;
3429 wxTreeItemId
* _arg1
;
3435 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemImage",&_argc0
,&_argc1
,&_arg2
))
3438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3444 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3453 wxPy_END_ALLOW_THREADS
;
3454 } Py_INCREF(Py_None
);
3455 _resultobj
= Py_None
;
3459 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3460 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3461 PyObject
* _resultobj
;
3463 wxTreeItemId
* _arg1
;
3469 if(!PyArg_ParseTuple(args
,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0
,&_argc1
,&_arg2
))
3472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3478 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3484 wxPy_BEGIN_ALLOW_THREADS
;
3485 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3487 wxPy_END_ALLOW_THREADS
;
3488 } Py_INCREF(Py_None
);
3489 _resultobj
= Py_None
;
3493 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3494 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3495 PyObject
* _resultobj
;
3497 wxTreeItemId
* _arg1
;
3504 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0
,&_argc1
,&tempbool2
))
3507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3513 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3518 _arg2
= (bool ) tempbool2
;
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3529 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3530 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3532 data
= new wxPyTreeItemData();
3533 self
->SetItemData(item
, data
);
3537 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
3538 PyObject
* _resultobj
;
3539 wxPyTreeItemData
* _result
;
3541 wxTreeItemId
* _arg1
;
3547 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetItemData",&_argc0
,&_argc1
))
3550 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3556 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3567 _resultobj
= Py_BuildValue("s",_ptemp
);
3571 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3572 self
->SetItemData(item
, data
);
3574 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3575 PyObject
* _resultobj
;
3577 wxTreeItemId
* _arg1
;
3578 wxPyTreeItemData
* _arg2
;
3584 if(!PyArg_ParseTuple(args
,"sss:wxTreeCtrl_SetItemData",&_argc0
,&_argc1
,&_argc2
))
3587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3593 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3599 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3615 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3617 data
= new wxPyTreeItemData();
3618 self
->SetItemData(item
, data
);
3620 return data
->GetData();
3622 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
) {
3623 PyObject
* _resultobj
;
3626 wxTreeItemId
* _arg1
;
3631 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPyData",&_argc0
,&_argc1
))
3634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3640 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3649 wxPy_END_ALLOW_THREADS
;
3651 _resultobj
= _result
;
3656 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3657 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3659 data
= new wxPyTreeItemData(obj
);
3660 self
->SetItemData(item
, data
);
3664 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
) {
3665 PyObject
* _resultobj
;
3667 wxTreeItemId
* _arg1
;
3671 PyObject
* _obj2
= 0;
3674 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_SetPyData",&_argc0
,&_argc1
,&_obj2
))
3677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
3683 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
3695 wxPy_END_ALLOW_THREADS
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3701 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3702 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
3703 PyObject
* _resultobj
;
3706 wxTreeItemId
* _arg1
;
3711 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsVisible",&_argc0
,&_argc1
))
3714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3720 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
3729 wxPy_END_ALLOW_THREADS
;
3730 } _resultobj
= Py_BuildValue("i",_result
);
3734 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3735 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
3736 PyObject
* _resultobj
;
3739 wxTreeItemId
* _arg1
;
3744 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ItemHasChildren",&_argc0
,&_argc1
))
3747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3753 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3760 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
3762 wxPy_END_ALLOW_THREADS
;
3763 } _resultobj
= Py_BuildValue("i",_result
);
3767 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3768 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
3769 PyObject
* _resultobj
;
3772 wxTreeItemId
* _arg1
;
3777 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsExpanded",&_argc0
,&_argc1
))
3780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3786 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
3795 wxPy_END_ALLOW_THREADS
;
3796 } _resultobj
= Py_BuildValue("i",_result
);
3800 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3801 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
3802 PyObject
* _resultobj
;
3805 wxTreeItemId
* _arg1
;
3810 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsSelected",&_argc0
,&_argc1
))
3813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3819 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3825 wxPy_BEGIN_ALLOW_THREADS
;
3826 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
3828 wxPy_END_ALLOW_THREADS
;
3829 } _resultobj
= Py_BuildValue("i",_result
);
3833 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3834 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
3835 PyObject
* _resultobj
;
3836 wxTreeItemId
* _result
;
3842 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetRootItem",&_argc0
))
3845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3851 wxPy_BEGIN_ALLOW_THREADS
;
3852 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
3854 wxPy_END_ALLOW_THREADS
;
3855 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3856 _resultobj
= Py_BuildValue("s",_ptemp
);
3860 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3861 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
3862 PyObject
* _resultobj
;
3863 wxTreeItemId
* _result
;
3869 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetSelection",&_argc0
))
3872 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3878 wxPy_BEGIN_ALLOW_THREADS
;
3879 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
3881 wxPy_END_ALLOW_THREADS
;
3882 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3883 _resultobj
= Py_BuildValue("s",_ptemp
);
3887 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3888 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
3889 PyObject
* _resultobj
;
3890 wxTreeItemId
* _result
;
3892 wxTreeItemId
* _arg1
;
3898 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetParent",&_argc0
,&_argc1
))
3901 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3907 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
3916 wxPy_END_ALLOW_THREADS
;
3917 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3918 _resultobj
= Py_BuildValue("s",_ptemp
);
3922 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
3923 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
) {
3924 PyObject
* _resultobj
;
3927 wxTreeItemId
* _arg1
;
3934 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_GetChildrenCount",&_argc0
,&_argc1
,&tempbool2
))
3937 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
3943 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
3948 _arg2
= (bool ) tempbool2
;
3950 wxPy_BEGIN_ALLOW_THREADS
;
3951 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
3953 wxPy_END_ALLOW_THREADS
;
3954 } _resultobj
= Py_BuildValue("i",_result
);
3958 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3959 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
3960 PyObject
* _resultobj
;
3961 wxTreeItemId
* _result
;
3963 wxTreeItemId
* _arg1
;
3968 PyObject
* _obj2
= 0;
3972 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetFirstChild",&_argc0
,&_argc1
,&_obj2
))
3975 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3981 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3987 temp
= (long) PyInt_AsLong(_obj2
);
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
3994 wxPy_END_ALLOW_THREADS
;
3995 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3996 _resultobj
= Py_BuildValue("s",_ptemp
);
3999 o
= PyInt_FromLong((long) (*_arg2
));
4000 _resultobj
= t_output_helper(_resultobj
, o
);
4005 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4006 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
4007 PyObject
* _resultobj
;
4008 wxTreeItemId
* _result
;
4010 wxTreeItemId
* _arg1
;
4015 PyObject
* _obj2
= 0;
4019 if(!PyArg_ParseTuple(args
,"ssO:wxTreeCtrl_GetNextChild",&_argc0
,&_argc1
,&_obj2
))
4022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4028 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4034 temp
= (long) PyInt_AsLong(_obj2
);
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4041 wxPy_END_ALLOW_THREADS
;
4042 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4043 _resultobj
= Py_BuildValue("s",_ptemp
);
4046 o
= PyInt_FromLong((long) (*_arg2
));
4047 _resultobj
= t_output_helper(_resultobj
, o
);
4052 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4053 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
4054 PyObject
* _resultobj
;
4055 wxTreeItemId
* _result
;
4057 wxTreeItemId
* _arg1
;
4063 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextSibling",&_argc0
,&_argc1
))
4066 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4072 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4081 wxPy_END_ALLOW_THREADS
;
4082 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4083 _resultobj
= Py_BuildValue("s",_ptemp
);
4087 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4088 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
4089 PyObject
* _resultobj
;
4090 wxTreeItemId
* _result
;
4092 wxTreeItemId
* _arg1
;
4098 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevSibling",&_argc0
,&_argc1
))
4101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4107 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4113 wxPy_BEGIN_ALLOW_THREADS
;
4114 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4116 wxPy_END_ALLOW_THREADS
;
4117 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4118 _resultobj
= Py_BuildValue("s",_ptemp
);
4122 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4123 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
4124 PyObject
* _resultobj
;
4125 wxTreeItemId
* _result
;
4131 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0
))
4134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4140 wxPy_BEGIN_ALLOW_THREADS
;
4141 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4143 wxPy_END_ALLOW_THREADS
;
4144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4145 _resultobj
= Py_BuildValue("s",_ptemp
);
4149 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4150 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
4151 PyObject
* _resultobj
;
4152 wxTreeItemId
* _result
;
4154 wxTreeItemId
* _arg1
;
4160 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetNextVisible",&_argc0
,&_argc1
))
4163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4169 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4175 wxPy_BEGIN_ALLOW_THREADS
;
4176 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4178 wxPy_END_ALLOW_THREADS
;
4179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4180 _resultobj
= Py_BuildValue("s",_ptemp
);
4184 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4185 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
4186 PyObject
* _resultobj
;
4187 wxTreeItemId
* _result
;
4189 wxTreeItemId
* _arg1
;
4195 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_GetPrevVisible",&_argc0
,&_argc1
))
4198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4204 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4210 wxPy_BEGIN_ALLOW_THREADS
;
4211 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4213 wxPy_END_ALLOW_THREADS
;
4214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4215 _resultobj
= Py_BuildValue("s",_ptemp
);
4219 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4220 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
4221 PyObject
* _resultobj
;
4222 wxTreeItemId
* _result
;
4227 wxPyTreeItemData
* _arg4
= NULL
;
4229 PyObject
* _obj1
= 0;
4234 if(!PyArg_ParseTuple(args
,"sO|iis:wxTreeCtrl_AddRoot",&_argc0
,&_obj1
,&_arg2
,&_arg3
,&_argc4
))
4237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4243 if (!PyString_Check(_obj1
)) {
4244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4247 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4250 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4256 wxPy_BEGIN_ALLOW_THREADS
;
4257 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4259 wxPy_END_ALLOW_THREADS
;
4260 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4261 _resultobj
= Py_BuildValue("s",_ptemp
);
4269 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4270 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
4271 PyObject
* _resultobj
;
4272 wxTreeItemId
* _result
;
4274 wxTreeItemId
* _arg1
;
4278 wxPyTreeItemData
* _arg5
= NULL
;
4281 PyObject
* _obj2
= 0;
4286 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4295 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4301 if (!PyString_Check(_obj2
)) {
4302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4305 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4308 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4317 wxPy_END_ALLOW_THREADS
;
4318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4319 _resultobj
= Py_BuildValue("s",_ptemp
);
4327 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4328 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
4329 PyObject
* _resultobj
;
4330 wxTreeItemId
* _result
;
4332 wxTreeItemId
* _arg1
;
4333 wxTreeItemId
* _arg2
;
4337 wxPyTreeItemData
* _arg6
= NULL
;
4341 PyObject
* _obj3
= 0;
4346 if(!PyArg_ParseTuple(args
,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0
,&_argc1
,&_argc2
,&_obj3
,&_arg4
,&_arg5
,&_argc6
))
4349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4355 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4361 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4367 if (!PyString_Check(_obj3
)) {
4368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4371 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4374 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4383 wxPy_END_ALLOW_THREADS
;
4384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4385 _resultobj
= Py_BuildValue("s",_ptemp
);
4393 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4394 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
4395 PyObject
* _resultobj
;
4396 wxTreeItemId
* _result
;
4398 wxTreeItemId
* _arg1
;
4402 wxPyTreeItemData
* _arg5
= NULL
;
4405 PyObject
* _obj2
= 0;
4410 if(!PyArg_ParseTuple(args
,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0
,&_argc1
,&_obj2
,&_arg3
,&_arg4
,&_argc5
))
4413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4419 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4425 if (!PyString_Check(_obj2
)) {
4426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4429 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4432 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4441 wxPy_END_ALLOW_THREADS
;
4442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4443 _resultobj
= Py_BuildValue("s",_ptemp
);
4451 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4452 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
4453 PyObject
* _resultobj
;
4455 wxTreeItemId
* _arg1
;
4460 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Delete",&_argc0
,&_argc1
))
4463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4469 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4475 wxPy_BEGIN_ALLOW_THREADS
;
4476 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4478 wxPy_END_ALLOW_THREADS
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4484 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4485 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
4486 PyObject
* _resultobj
;
4488 wxTreeItemId
* _arg1
;
4493 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_DeleteChildren",&_argc0
,&_argc1
))
4496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4502 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4508 wxPy_BEGIN_ALLOW_THREADS
;
4509 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4511 wxPy_END_ALLOW_THREADS
;
4512 } Py_INCREF(Py_None
);
4513 _resultobj
= Py_None
;
4517 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4518 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
4519 PyObject
* _resultobj
;
4524 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_DeleteAllItems",&_argc0
))
4527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4533 wxPy_BEGIN_ALLOW_THREADS
;
4534 wxTreeCtrl_DeleteAllItems(_arg0
);
4536 wxPy_END_ALLOW_THREADS
;
4537 } Py_INCREF(Py_None
);
4538 _resultobj
= Py_None
;
4542 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4543 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
4544 PyObject
* _resultobj
;
4546 wxTreeItemId
* _arg1
;
4551 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Expand",&_argc0
,&_argc1
))
4554 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4560 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4569 wxPy_END_ALLOW_THREADS
;
4570 } Py_INCREF(Py_None
);
4571 _resultobj
= Py_None
;
4575 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4576 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
4577 PyObject
* _resultobj
;
4579 wxTreeItemId
* _arg1
;
4584 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Collapse",&_argc0
,&_argc1
))
4587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
4593 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
4599 wxPy_BEGIN_ALLOW_THREADS
;
4600 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
4602 wxPy_END_ALLOW_THREADS
;
4603 } Py_INCREF(Py_None
);
4604 _resultobj
= Py_None
;
4608 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
4609 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
4610 PyObject
* _resultobj
;
4612 wxTreeItemId
* _arg1
;
4617 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_CollapseAndReset",&_argc0
,&_argc1
))
4620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
4626 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
4635 wxPy_END_ALLOW_THREADS
;
4636 } Py_INCREF(Py_None
);
4637 _resultobj
= Py_None
;
4641 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
4642 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
4643 PyObject
* _resultobj
;
4645 wxTreeItemId
* _arg1
;
4650 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_Toggle",&_argc0
,&_argc1
))
4653 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
4659 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
4668 wxPy_END_ALLOW_THREADS
;
4669 } Py_INCREF(Py_None
);
4670 _resultobj
= Py_None
;
4674 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4675 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
4676 PyObject
* _resultobj
;
4681 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_Unselect",&_argc0
))
4684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 wxTreeCtrl_Unselect(_arg0
);
4693 wxPy_END_ALLOW_THREADS
;
4694 } Py_INCREF(Py_None
);
4695 _resultobj
= Py_None
;
4699 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
4700 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
) {
4701 PyObject
* _resultobj
;
4706 if(!PyArg_ParseTuple(args
,"s:wxTreeCtrl_UnselectAll",&_argc0
))
4709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
4715 wxPy_BEGIN_ALLOW_THREADS
;
4716 wxTreeCtrl_UnselectAll(_arg0
);
4718 wxPy_END_ALLOW_THREADS
;
4719 } Py_INCREF(Py_None
);
4720 _resultobj
= Py_None
;
4724 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4725 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
4726 PyObject
* _resultobj
;
4728 wxTreeItemId
* _arg1
;
4733 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_SelectItem",&_argc0
,&_argc1
))
4736 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4742 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4748 wxPy_BEGIN_ALLOW_THREADS
;
4749 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
4751 wxPy_END_ALLOW_THREADS
;
4752 } Py_INCREF(Py_None
);
4753 _resultobj
= Py_None
;
4757 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4758 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
4759 PyObject
* _resultobj
;
4761 wxTreeItemId
* _arg1
;
4766 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EnsureVisible",&_argc0
,&_argc1
))
4769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4775 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4781 wxPy_BEGIN_ALLOW_THREADS
;
4782 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
4784 wxPy_END_ALLOW_THREADS
;
4785 } Py_INCREF(Py_None
);
4786 _resultobj
= Py_None
;
4790 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4791 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
4792 PyObject
* _resultobj
;
4794 wxTreeItemId
* _arg1
;
4799 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_ScrollTo",&_argc0
,&_argc1
))
4802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4808 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4814 wxPy_BEGIN_ALLOW_THREADS
;
4815 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
4817 wxPy_END_ALLOW_THREADS
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4823 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4824 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
4825 PyObject
* _resultobj
;
4827 wxTreeItemId
* _arg1
;
4832 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_EditLabel",&_argc0
,&_argc1
))
4835 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4841 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
4850 wxPy_END_ALLOW_THREADS
;
4851 } Py_INCREF(Py_None
);
4852 _resultobj
= Py_None
;
4856 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4857 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
4858 PyObject
* _resultobj
;
4860 wxTreeItemId
* _arg1
;
4867 if(!PyArg_ParseTuple(args
,"ss|i:wxTreeCtrl_SetItemBold",&_argc0
,&_argc1
,&tempbool2
))
4870 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4876 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4881 _arg2
= (bool ) tempbool2
;
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4892 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4893 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
4894 PyObject
* _resultobj
;
4897 wxTreeItemId
* _arg1
;
4902 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_IsBold",&_argc0
,&_argc1
))
4905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4911 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
4920 wxPy_END_ALLOW_THREADS
;
4921 } _resultobj
= Py_BuildValue("i",_result
);
4925 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4926 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
4927 PyObject
* _resultobj
;
4928 wxTreeItemId
* _result
;
4936 if(!PyArg_ParseTuple(args
,"ss:wxTreeCtrl_HitTest",&_argc0
,&_argc1
))
4939 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4945 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4951 wxPy_BEGIN_ALLOW_THREADS
;
4952 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
4954 wxPy_END_ALLOW_THREADS
;
4955 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4956 _resultobj
= Py_BuildValue("s",_ptemp
);
4960 static PyMethodDef controls2cMethods
[] = {
4961 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, 1 },
4962 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, 1 },
4963 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, 1 },
4964 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, 1 },
4965 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, 1 },
4966 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, 1 },
4967 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, 1 },
4968 { "wxTreeCtrl_UnselectAll", _wrap_wxTreeCtrl_UnselectAll
, 1 },
4969 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, 1 },
4970 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, 1 },
4971 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, 1 },
4972 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, 1 },
4973 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, 1 },
4974 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, 1 },
4975 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, 1 },
4976 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, 1 },
4977 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, 1 },
4978 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, 1 },
4979 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, 1 },
4980 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, 1 },
4981 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, 1 },
4982 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, 1 },
4983 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, 1 },
4984 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, 1 },
4985 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, 1 },
4986 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, 1 },
4987 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, 1 },
4988 { "wxTreeCtrl_GetChildrenCount", _wrap_wxTreeCtrl_GetChildrenCount
, 1 },
4989 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, 1 },
4990 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, 1 },
4991 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, 1 },
4992 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, 1 },
4993 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, 1 },
4994 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, 1 },
4995 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, 1 },
4996 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData
, 1 },
4997 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData
, 1 },
4998 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, 1 },
4999 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, 1 },
5000 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, 1 },
5001 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, 1 },
5002 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, 1 },
5003 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, 1 },
5004 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, 1 },
5005 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, 1 },
5006 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, 1 },
5007 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, 1 },
5008 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, 1 },
5009 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, 1 },
5010 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, 1 },
5011 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, 1 },
5012 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, 1 },
5013 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, 1 },
5014 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, 1 },
5015 { "wxTreeEvent_GetLabel", _wrap_wxTreeEvent_GetLabel
, 1 },
5016 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, 1 },
5017 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, 1 },
5018 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, 1 },
5019 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, 1 },
5020 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, 1 },
5021 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, 1 },
5022 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData
, 1 },
5023 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData
, 1 },
5024 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, 1 },
5025 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, 1 },
5026 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, 1 },
5027 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, 1 },
5028 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, 1 },
5029 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, 1 },
5030 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, 1 },
5031 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, 1 },
5032 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, 1 },
5033 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, 1 },
5034 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, 1 },
5035 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, 1 },
5036 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, 1 },
5037 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, 1 },
5038 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, 1 },
5039 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, 1 },
5040 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, 1 },
5041 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, 1 },
5042 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, 1 },
5043 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, 1 },
5044 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, 1 },
5045 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, 1 },
5046 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, 1 },
5047 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, 1 },
5048 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, 1 },
5049 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, 1 },
5050 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, 1 },
5051 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, 1 },
5052 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, 1 },
5053 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, 1 },
5054 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, 1 },
5055 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, 1 },
5056 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, 1 },
5057 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, 1 },
5058 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, 1 },
5059 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, 1 },
5060 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, 1 },
5061 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, 1 },
5062 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, 1 },
5063 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, 1 },
5064 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, 1 },
5065 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, 1 },
5066 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, 1 },
5067 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, 1 },
5068 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel
, 1 },
5069 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, 1 },
5070 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, 1 },
5071 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, 1 },
5072 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, 1 },
5073 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, 1 },
5074 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, 1 },
5075 { "new_wxListCtrl", _wrap_new_wxListCtrl
, 1 },
5076 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, 1 },
5077 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, 1 },
5078 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, 1 },
5079 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, 1 },
5080 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, 1 },
5081 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, 1 },
5082 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, 1 },
5083 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, 1 },
5084 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, 1 },
5085 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, 1 },
5086 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, 1 },
5087 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, 1 },
5088 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, 1 },
5089 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, 1 },
5090 { "delete_wxListItem", _wrap_delete_wxListItem
, 1 },
5091 { "new_wxListItem", _wrap_new_wxListItem
, 1 },
5092 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, 1 },
5093 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, 1 },
5094 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, 1 },
5095 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, 1 },
5096 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, 1 },
5097 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, 1 },
5098 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, 1 },
5099 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, 1 },
5100 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, 1 },
5101 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, 1 },
5102 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, 1 },
5103 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, 1 },
5104 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, 1 },
5105 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, 1 },
5106 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, 1 },
5107 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, 1 },
5108 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, 1 },
5109 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, 1 },
5110 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, 1 },
5111 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, 1 },
5114 static PyObject
*SWIG_globals
;
5118 SWIGEXPORT(void,initcontrols2c
)() {
5120 SWIG_globals
= SWIG_newvarlink();
5121 m
= Py_InitModule("controls2c", controls2cMethods
);
5122 d
= PyModule_GetDict(m
);
5123 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5124 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5125 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5126 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5127 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5128 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
5129 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5130 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5131 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5132 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5133 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5134 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5135 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5136 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5137 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5138 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5139 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5140 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5141 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5142 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5143 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5144 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5145 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5146 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5147 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5148 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5149 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5150 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5151 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5152 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5153 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5154 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5155 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5156 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5157 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5158 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5159 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5160 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5161 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5162 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5163 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5164 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5165 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5167 * These are the pointer type-equivalency mappings.
5168 * (Used by the SWIG pointer type-checker).
5170 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5171 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5172 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5173 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5174 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5175 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
5176 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
5177 SWIG_RegisterMapping("_signed_long","_long",0);
5178 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
5179 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
5180 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
5181 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
5182 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
5183 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
5184 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
5185 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
5186 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5187 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
5188 SWIG_RegisterMapping("_class_wxPyTreeItemData","_wxPyTreeItemData",0);
5189 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5190 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5191 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5192 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5193 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
5194 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
5195 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5196 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5197 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
);
5198 SWIG_RegisterMapping("_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
);
5199 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
5200 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
5201 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5202 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5203 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
5204 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5205 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
5206 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
5207 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
5208 SWIG_RegisterMapping("_long","_wxDash",0);
5209 SWIG_RegisterMapping("_long","_unsigned_long",0);
5210 SWIG_RegisterMapping("_long","_signed_long",0);
5211 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5212 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
5213 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
5214 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5215 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
5216 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5217 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
5218 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
5219 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
5220 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
5221 SWIG_RegisterMapping("_size_t","_int",0);
5222 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
5223 SWIG_RegisterMapping("_size_t","_uint",0);
5224 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5225 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
5226 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
5227 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
5228 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5229 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
5230 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
5231 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
5232 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
5233 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
5234 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5235 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
5236 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5237 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
5238 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
5239 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
5240 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
5241 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5242 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
5243 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
5244 SWIG_RegisterMapping("_uint","_size_t",0);
5245 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5246 SWIG_RegisterMapping("_uint","_int",0);
5247 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5248 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5249 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
);
5250 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
);
5251 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
);
5252 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
5253 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
5254 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5255 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5256 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5257 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5258 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5259 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
5260 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
5261 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5262 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
5263 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
5264 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5265 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5266 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5267 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
5268 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
5269 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5270 SWIG_RegisterMapping("_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
);
5271 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
);
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_wxListItem","_wxListItem",0);
5361 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5362 SWIG_RegisterMapping("_short","_WXTYPE",0);
5363 SWIG_RegisterMapping("_short","_unsigned_short",0);
5364 SWIG_RegisterMapping("_short","_signed_short",0);
5365 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5366 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5367 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5368 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5369 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5370 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5371 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5372 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
5373 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
5374 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5375 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5376 SWIG_RegisterMapping("_wxWindowID","_int",0);
5377 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5378 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5379 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
5380 SWIG_RegisterMapping("_int","_size_t",0);
5381 SWIG_RegisterMapping("_int","_EBool",0);
5382 SWIG_RegisterMapping("_int","_uint",0);
5383 SWIG_RegisterMapping("_int","_wxWindowID",0);
5384 SWIG_RegisterMapping("_int","_unsigned_int",0);
5385 SWIG_RegisterMapping("_int","_signed_int",0);
5386 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5387 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
5388 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
5389 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5390 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5391 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5392 SWIG_RegisterMapping("_wxPyTreeItemData","_class_wxPyTreeItemData",0);
5393 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5394 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5395 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5396 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5397 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5398 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
5399 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
5400 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5401 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5402 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5403 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
);
5404 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
);
5405 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
);
5406 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5407 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5408 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5409 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5410 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5411 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5412 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5413 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5414 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5415 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5416 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5417 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5418 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5419 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
5420 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5421 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
);
5422 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
);
5423 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
);
5424 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5425 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5426 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5427 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
5428 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5429 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5430 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5431 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5432 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
5433 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5434 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
);
5435 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5436 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
);
5437 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5438 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5439 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5440 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5441 SWIG_RegisterMapping("_wxDash","_long",0);
5442 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5443 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5444 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5445 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
5446 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5447 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5448 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
);
5449 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
);
5450 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
);
5451 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);