2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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 char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 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
) {
157 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
158 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
) {
159 PyObject
* _resultobj
;
163 PyObject
* _argo0
= 0;
166 if(!PyArg_ParseTuple(args
,"Ol:wxListItem_m_mask_set",&_argo0
,&_arg1
))
169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
176 wxPy_BEGIN_ALLOW_THREADS
;
177 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
179 wxPy_END_ALLOW_THREADS
;
180 } _resultobj
= Py_BuildValue("l",_result
);
184 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
185 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
) {
186 PyObject
* _resultobj
;
189 PyObject
* _argo0
= 0;
192 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_mask_get",&_argo0
))
195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
202 wxPy_BEGIN_ALLOW_THREADS
;
203 _result
= (long )wxListItem_m_mask_get(_arg0
);
205 wxPy_END_ALLOW_THREADS
;
206 } _resultobj
= Py_BuildValue("l",_result
);
210 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
211 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
) {
212 PyObject
* _resultobj
;
216 PyObject
* _argo0
= 0;
219 if(!PyArg_ParseTuple(args
,"Ol:wxListItem_m_itemId_set",&_argo0
,&_arg1
))
222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
232 wxPy_END_ALLOW_THREADS
;
233 } _resultobj
= Py_BuildValue("l",_result
);
237 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
238 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
) {
239 PyObject
* _resultobj
;
242 PyObject
* _argo0
= 0;
245 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_itemId_get",&_argo0
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
255 wxPy_BEGIN_ALLOW_THREADS
;
256 _result
= (long )wxListItem_m_itemId_get(_arg0
);
258 wxPy_END_ALLOW_THREADS
;
259 } _resultobj
= Py_BuildValue("l",_result
);
263 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
264 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
) {
265 PyObject
* _resultobj
;
269 PyObject
* _argo0
= 0;
272 if(!PyArg_ParseTuple(args
,"Oi:wxListItem_m_col_set",&_argo0
,&_arg1
))
275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
282 wxPy_BEGIN_ALLOW_THREADS
;
283 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
285 wxPy_END_ALLOW_THREADS
;
286 } _resultobj
= Py_BuildValue("i",_result
);
290 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
291 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
) {
292 PyObject
* _resultobj
;
295 PyObject
* _argo0
= 0;
298 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_col_get",&_argo0
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
308 wxPy_BEGIN_ALLOW_THREADS
;
309 _result
= (int )wxListItem_m_col_get(_arg0
);
311 wxPy_END_ALLOW_THREADS
;
312 } _resultobj
= Py_BuildValue("i",_result
);
316 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
317 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
) {
318 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
325 if(!PyArg_ParseTuple(args
,"Ol:wxListItem_m_state_set",&_argo0
,&_arg1
))
328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
335 wxPy_BEGIN_ALLOW_THREADS
;
336 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
338 wxPy_END_ALLOW_THREADS
;
339 } _resultobj
= Py_BuildValue("l",_result
);
343 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
344 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
) {
345 PyObject
* _resultobj
;
348 PyObject
* _argo0
= 0;
351 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_state_get",&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 _result
= (long )wxListItem_m_state_get(_arg0
);
364 wxPy_END_ALLOW_THREADS
;
365 } _resultobj
= Py_BuildValue("l",_result
);
369 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
370 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
) {
371 PyObject
* _resultobj
;
375 PyObject
* _argo0
= 0;
378 if(!PyArg_ParseTuple(args
,"Ol:wxListItem_m_stateMask_set",&_argo0
,&_arg1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
388 wxPy_BEGIN_ALLOW_THREADS
;
389 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
391 wxPy_END_ALLOW_THREADS
;
392 } _resultobj
= Py_BuildValue("l",_result
);
396 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
397 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
) {
398 PyObject
* _resultobj
;
401 PyObject
* _argo0
= 0;
404 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_stateMask_get",&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
417 wxPy_END_ALLOW_THREADS
;
418 } _resultobj
= Py_BuildValue("l",_result
);
422 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
423 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
) {
424 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 PyObject
* _obj1
= 0;
432 if(!PyArg_ParseTuple(args
,"OO:wxListItem_m_text_set",&_argo0
,&_obj1
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
442 if (!PyString_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
449 wxPy_BEGIN_ALLOW_THREADS
;
450 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
452 wxPy_END_ALLOW_THREADS
;
454 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
463 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
464 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
) {
465 PyObject
* _resultobj
;
468 PyObject
* _argo0
= 0;
471 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_text_get",&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
484 wxPy_END_ALLOW_THREADS
;
486 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
491 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
492 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
) {
493 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
500 if(!PyArg_ParseTuple(args
,"Oi:wxListItem_m_image_set",&_argo0
,&_arg1
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
513 wxPy_END_ALLOW_THREADS
;
514 } _resultobj
= Py_BuildValue("i",_result
);
518 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
519 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
) {
520 PyObject
* _resultobj
;
523 PyObject
* _argo0
= 0;
526 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_image_get",&_argo0
))
529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
536 wxPy_BEGIN_ALLOW_THREADS
;
537 _result
= (int )wxListItem_m_image_get(_arg0
);
539 wxPy_END_ALLOW_THREADS
;
540 } _resultobj
= Py_BuildValue("i",_result
);
544 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
545 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
) {
546 PyObject
* _resultobj
;
550 PyObject
* _argo0
= 0;
553 if(!PyArg_ParseTuple(args
,"Ol:wxListItem_m_data_set",&_argo0
,&_arg1
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
563 wxPy_BEGIN_ALLOW_THREADS
;
564 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
566 wxPy_END_ALLOW_THREADS
;
567 } _resultobj
= Py_BuildValue("l",_result
);
571 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
572 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
) {
573 PyObject
* _resultobj
;
576 PyObject
* _argo0
= 0;
579 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_data_get",&_argo0
))
582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
589 wxPy_BEGIN_ALLOW_THREADS
;
590 _result
= (long )wxListItem_m_data_get(_arg0
);
592 wxPy_END_ALLOW_THREADS
;
593 } _resultobj
= Py_BuildValue("l",_result
);
597 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
598 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
) {
599 PyObject
* _resultobj
;
603 PyObject
* _argo0
= 0;
606 if(!PyArg_ParseTuple(args
,"Oi:wxListItem_m_format_set",&_argo0
,&_arg1
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
619 wxPy_END_ALLOW_THREADS
;
620 } _resultobj
= Py_BuildValue("i",_result
);
624 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
625 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
) {
626 PyObject
* _resultobj
;
629 PyObject
* _argo0
= 0;
632 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_format_get",&_argo0
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
642 wxPy_BEGIN_ALLOW_THREADS
;
643 _result
= (int )wxListItem_m_format_get(_arg0
);
645 wxPy_END_ALLOW_THREADS
;
646 } _resultobj
= Py_BuildValue("i",_result
);
650 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
651 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
) {
652 PyObject
* _resultobj
;
656 PyObject
* _argo0
= 0;
659 if(!PyArg_ParseTuple(args
,"Oi:wxListItem_m_width_set",&_argo0
,&_arg1
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
672 wxPy_END_ALLOW_THREADS
;
673 } _resultobj
= Py_BuildValue("i",_result
);
677 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
678 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
685 if(!PyArg_ParseTuple(args
,"O:wxListItem_m_width_get",&_argo0
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= (int )wxListItem_m_width_get(_arg0
);
698 wxPy_END_ALLOW_THREADS
;
699 } _resultobj
= Py_BuildValue("i",_result
);
703 #define new_wxListItem() (new wxListItem())
704 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
) {
705 PyObject
* _resultobj
;
706 wxListItem
* _result
;
710 if(!PyArg_ParseTuple(args
,":new_wxListItem"))
713 wxPy_BEGIN_ALLOW_THREADS
;
714 _result
= (wxListItem
*)new_wxListItem();
716 wxPy_END_ALLOW_THREADS
;
718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
719 _resultobj
= Py_BuildValue("s",_ptemp
);
722 _resultobj
= Py_None
;
727 #define delete_wxListItem(_swigobj) (delete _swigobj)
728 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
) {
729 PyObject
* _resultobj
;
731 PyObject
* _argo0
= 0;
734 if(!PyArg_ParseTuple(args
,"O:delete_wxListItem",&_argo0
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
744 wxPy_BEGIN_ALLOW_THREADS
;
745 delete_wxListItem(_arg0
);
747 wxPy_END_ALLOW_THREADS
;
748 } Py_INCREF(Py_None
);
749 _resultobj
= Py_None
;
753 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
755 wxCommandEvent
*dest
;
756 src
= (wxListEvent
*) ptr
;
757 dest
= (wxCommandEvent
*) src
;
758 return (void *) dest
;
761 static void *SwigwxListEventTowxEvent(void *ptr
) {
764 src
= (wxListEvent
*) ptr
;
765 dest
= (wxEvent
*) src
;
766 return (void *) dest
;
769 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
770 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
) {
771 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
778 if(!PyArg_ParseTuple(args
,"Oi:wxListEvent_m_code_set",&_argo0
,&_arg1
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
788 wxPy_BEGIN_ALLOW_THREADS
;
789 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
791 wxPy_END_ALLOW_THREADS
;
792 } _resultobj
= Py_BuildValue("i",_result
);
796 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
797 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
) {
798 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
804 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_code_get",&_argo0
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (int )wxListEvent_m_code_get(_arg0
);
817 wxPy_END_ALLOW_THREADS
;
818 } _resultobj
= Py_BuildValue("i",_result
);
822 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
823 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
) {
824 PyObject
* _resultobj
;
828 PyObject
* _argo0
= 0;
831 if(!PyArg_ParseTuple(args
,"Ol:wxListEvent_m_itemIndex_set",&_argo0
,&_arg1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("l",_result
);
849 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
850 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
) {
851 PyObject
* _resultobj
;
854 PyObject
* _argo0
= 0;
857 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_itemIndex_get",&_argo0
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
870 wxPy_END_ALLOW_THREADS
;
871 } _resultobj
= Py_BuildValue("l",_result
);
875 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
876 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
) {
877 PyObject
* _resultobj
;
881 PyObject
* _argo0
= 0;
884 if(!PyArg_ParseTuple(args
,"Ol:wxListEvent_m_oldItemIndex_set",&_argo0
,&_arg1
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
897 wxPy_END_ALLOW_THREADS
;
898 } _resultobj
= Py_BuildValue("l",_result
);
902 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
903 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
) {
904 PyObject
* _resultobj
;
907 PyObject
* _argo0
= 0;
910 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_oldItemIndex_get",&_argo0
))
913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
920 wxPy_BEGIN_ALLOW_THREADS
;
921 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
923 wxPy_END_ALLOW_THREADS
;
924 } _resultobj
= Py_BuildValue("l",_result
);
928 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
929 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
) {
930 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
937 if(!PyArg_ParseTuple(args
,"Oi:wxListEvent_m_col_set",&_argo0
,&_arg1
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
947 wxPy_BEGIN_ALLOW_THREADS
;
948 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
950 wxPy_END_ALLOW_THREADS
;
951 } _resultobj
= Py_BuildValue("i",_result
);
955 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
956 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
) {
957 PyObject
* _resultobj
;
960 PyObject
* _argo0
= 0;
963 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_col_get",&_argo0
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= (int )wxListEvent_m_col_get(_arg0
);
976 wxPy_END_ALLOW_THREADS
;
977 } _resultobj
= Py_BuildValue("i",_result
);
981 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
982 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
) {
983 PyObject
* _resultobj
;
987 PyObject
* _argo0
= 0;
991 if(!PyArg_ParseTuple(args
,"Oi:wxListEvent_m_cancelled_set",&_argo0
,&tempbool1
))
994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1000 _arg1
= (bool ) tempbool1
;
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 } _resultobj
= Py_BuildValue("i",_result
);
1010 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1011 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
) {
1012 PyObject
* _resultobj
;
1014 wxListEvent
* _arg0
;
1015 PyObject
* _argo0
= 0;
1018 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_cancelled_get",&_argo0
))
1021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1028 wxPy_BEGIN_ALLOW_THREADS
;
1029 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1031 wxPy_END_ALLOW_THREADS
;
1032 } _resultobj
= Py_BuildValue("i",_result
);
1036 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1037 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
) {
1038 PyObject
* _resultobj
;
1040 wxListEvent
* _arg0
;
1042 PyObject
* _argo0
= 0;
1043 PyObject
* _argo1
= 0;
1047 if(!PyArg_ParseTuple(args
,"OO:wxListEvent_m_pointDrag_set",&_argo0
,&_argo1
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1067 wxPy_END_ALLOW_THREADS
;
1069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1070 _resultobj
= Py_BuildValue("s",_ptemp
);
1073 _resultobj
= Py_None
;
1078 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1079 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
) {
1080 PyObject
* _resultobj
;
1082 wxListEvent
* _arg0
;
1083 PyObject
* _argo0
= 0;
1087 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_pointDrag_get",&_argo0
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1100 wxPy_END_ALLOW_THREADS
;
1102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1103 _resultobj
= Py_BuildValue("s",_ptemp
);
1106 _resultobj
= Py_None
;
1111 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1112 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
) {
1113 PyObject
* _resultobj
;
1114 wxListItem
* _result
;
1115 wxListEvent
* _arg0
;
1117 PyObject
* _argo0
= 0;
1118 PyObject
* _argo1
= 0;
1122 if(!PyArg_ParseTuple(args
,"OO:wxListEvent_m_item_set",&_argo0
,&_argo1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1139 wxPy_BEGIN_ALLOW_THREADS
;
1140 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1142 wxPy_END_ALLOW_THREADS
;
1144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1145 _resultobj
= Py_BuildValue("s",_ptemp
);
1148 _resultobj
= Py_None
;
1153 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1154 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
) {
1155 PyObject
* _resultobj
;
1156 wxListItem
* _result
;
1157 wxListEvent
* _arg0
;
1158 PyObject
* _argo0
= 0;
1162 if(!PyArg_ParseTuple(args
,"O:wxListEvent_m_item_get",&_argo0
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1175 wxPy_END_ALLOW_THREADS
;
1177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1178 _resultobj
= Py_BuildValue("s",_ptemp
);
1181 _resultobj
= Py_None
;
1186 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1189 src
= (wxListCtrl
*) ptr
;
1190 dest
= (wxControl
*) src
;
1191 return (void *) dest
;
1194 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1197 src
= (wxListCtrl
*) ptr
;
1198 dest
= (wxWindow
*) src
;
1199 return (void *) dest
;
1202 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1205 src
= (wxListCtrl
*) ptr
;
1206 dest
= (wxEvtHandler
*) src
;
1207 return (void *) dest
;
1210 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1211 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
) {
1212 PyObject
* _resultobj
;
1213 wxListCtrl
* _result
;
1216 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1217 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1218 long _arg4
= (long ) wxLC_ICON
;
1219 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1220 char * _arg6
= (char *) "listCtrl";
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _argo2
= 0;
1223 PyObject
* _argo3
= 0;
1224 PyObject
* _argo5
= 0;
1228 if(!PyArg_ParseTuple(args
,"Oi|OOlOs:new_wxListCtrl",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1238 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1245 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1252 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1259 wxPy_BEGIN_ALLOW_THREADS
;
1260 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1262 wxPy_END_ALLOW_THREADS
;
1264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1265 _resultobj
= Py_BuildValue("s",_ptemp
);
1268 _resultobj
= Py_None
;
1273 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1274 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
) {
1275 PyObject
* _resultobj
;
1278 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1279 PyObject
* _argo0
= 0;
1282 if(!PyArg_ParseTuple(args
,"O|i:wxListCtrl_Arrange",&_argo0
,&_arg1
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1295 wxPy_END_ALLOW_THREADS
;
1296 } _resultobj
= Py_BuildValue("i",_result
);
1300 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1301 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
) {
1302 PyObject
* _resultobj
;
1306 PyObject
* _argo0
= 0;
1309 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_DeleteItem",&_argo0
,&_arg1
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1328 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
1329 PyObject
* _resultobj
;
1332 PyObject
* _argo0
= 0;
1335 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_DeleteAllItems",&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } _resultobj
= Py_BuildValue("i",_result
);
1353 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1354 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
) {
1355 PyObject
* _resultobj
;
1359 PyObject
* _argo0
= 0;
1362 if(!PyArg_ParseTuple(args
,"Oi:wxListCtrl_DeleteColumn",&_argo0
,&_arg1
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1381 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
) {
1382 PyObject
* _resultobj
;
1385 PyObject
* _argo0
= 0;
1388 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_DeleteAllColumns",&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1401 wxPy_END_ALLOW_THREADS
;
1402 } _resultobj
= Py_BuildValue("i",_result
);
1406 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1407 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
) {
1408 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1413 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_ClearAll",&_argo0
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1423 wxPy_BEGIN_ALLOW_THREADS
;
1424 wxListCtrl_ClearAll(_arg0
);
1426 wxPy_END_ALLOW_THREADS
;
1427 } Py_INCREF(Py_None
);
1428 _resultobj
= Py_None
;
1432 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1433 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
1434 PyObject
* _resultobj
;
1435 wxTextCtrl
* _result
;
1438 PyObject
* _argo0
= 0;
1442 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_EditLabel",&_argo0
,&_arg1
))
1445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1455 wxPy_END_ALLOW_THREADS
;
1457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1458 _resultobj
= Py_BuildValue("s",_ptemp
);
1461 _resultobj
= Py_None
;
1466 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1467 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
1468 PyObject
* _resultobj
;
1472 PyObject
* _argo0
= 0;
1476 if(!PyArg_ParseTuple(args
,"Oi:wxListCtrl_EndEditLabel",&_argo0
,&tempbool1
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1485 _arg1
= (bool ) tempbool1
;
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1490 wxPy_END_ALLOW_THREADS
;
1491 } _resultobj
= Py_BuildValue("i",_result
);
1495 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1496 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
1497 PyObject
* _resultobj
;
1498 wxTextCtrl
* _result
;
1500 PyObject
* _argo0
= 0;
1504 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_GetEditControl",&_argo0
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1514 wxPy_BEGIN_ALLOW_THREADS
;
1515 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1517 wxPy_END_ALLOW_THREADS
;
1519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1520 _resultobj
= Py_BuildValue("s",_ptemp
);
1523 _resultobj
= Py_None
;
1528 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1529 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
1530 PyObject
* _resultobj
;
1534 PyObject
* _argo0
= 0;
1537 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_EnsureVisible",&_argo0
,&_arg1
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } _resultobj
= Py_BuildValue("i",_result
);
1555 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1556 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
) {
1557 PyObject
* _resultobj
;
1562 bool _arg3
= (bool ) FALSE
;
1563 PyObject
* _argo0
= 0;
1564 PyObject
* _obj2
= 0;
1565 int tempbool3
= (int) FALSE
;
1568 if(!PyArg_ParseTuple(args
,"OlO|i:wxListCtrl_FindItem",&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1578 if (!PyString_Check(_obj2
)) {
1579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1582 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1584 _arg3
= (bool ) tempbool3
;
1586 wxPy_BEGIN_ALLOW_THREADS
;
1587 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1589 wxPy_END_ALLOW_THREADS
;
1590 } _resultobj
= Py_BuildValue("l",_result
);
1598 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1599 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
) {
1600 PyObject
* _resultobj
;
1605 PyObject
* _argo0
= 0;
1608 if(!PyArg_ParseTuple(args
,"Oll:wxListCtrl_FindItemData",&_argo0
,&_arg1
,&_arg2
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1621 wxPy_END_ALLOW_THREADS
;
1622 } _resultobj
= Py_BuildValue("l",_result
);
1626 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1627 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
) {
1628 PyObject
* _resultobj
;
1634 PyObject
* _argo0
= 0;
1635 PyObject
* _argo2
= 0;
1638 if(!PyArg_ParseTuple(args
,"OlOi:wxListCtrl_FindItemAtPos",&_argo0
,&_arg1
,&_argo2
,&_arg3
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1648 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1655 wxPy_BEGIN_ALLOW_THREADS
;
1656 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1658 wxPy_END_ALLOW_THREADS
;
1659 } _resultobj
= Py_BuildValue("l",_result
);
1663 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1664 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
) {
1665 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1671 PyObject
* _argo2
= 0;
1674 if(!PyArg_ParseTuple(args
,"OiO:wxListCtrl_GetColumn",&_argo0
,&_arg1
,&_argo2
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1684 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1700 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
) {
1701 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1708 if(!PyArg_ParseTuple(args
,"Oi:wxListCtrl_GetColumnWidth",&_argo0
,&_arg1
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1718 wxPy_BEGIN_ALLOW_THREADS
;
1719 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1721 wxPy_END_ALLOW_THREADS
;
1722 } _resultobj
= Py_BuildValue("i",_result
);
1726 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1727 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
) {
1728 PyObject
* _resultobj
;
1731 PyObject
* _argo0
= 0;
1734 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_GetCountPerPage",&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1747 wxPy_END_ALLOW_THREADS
;
1748 } _resultobj
= Py_BuildValue("i",_result
);
1752 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1753 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
1754 PyObject
* _resultobj
;
1755 wxImageList
* _result
;
1758 PyObject
* _argo0
= 0;
1762 if(!PyArg_ParseTuple(args
,"Oi:wxListCtrl_GetImageList",&_argo0
,&_arg1
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1775 wxPy_END_ALLOW_THREADS
;
1777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1778 _resultobj
= Py_BuildValue("s",_ptemp
);
1781 _resultobj
= Py_None
;
1786 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1787 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
1788 PyObject
* _resultobj
;
1792 PyObject
* _argo0
= 0;
1795 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_GetItemData",&_argo0
,&_arg1
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1808 wxPy_END_ALLOW_THREADS
;
1809 } _resultobj
= Py_BuildValue("l",_result
);
1813 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1814 wxListItem
* info
= new wxListItem
;
1815 info
->m_itemId
= itemId
;
1816 self
->GetItem(*info
);
1819 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
) {
1820 PyObject
* _resultobj
;
1821 wxListItem
* _result
;
1824 PyObject
* _argo0
= 0;
1828 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_GetItem",&_argo0
,&_arg1
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1841 wxPy_END_ALLOW_THREADS
;
1843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1844 _resultobj
= Py_BuildValue("s",_ptemp
);
1847 _resultobj
= Py_None
;
1852 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1853 wxPoint
* pos
= new wxPoint
;
1854 self
->GetItemPosition(item
, *pos
);
1857 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1862 PyObject
* _argo0
= 0;
1866 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_GetItemPosition",&_argo0
,&_arg1
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1879 wxPy_END_ALLOW_THREADS
;
1881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1882 _resultobj
= Py_BuildValue("s",_ptemp
);
1885 _resultobj
= Py_None
;
1890 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1891 wxRect
* rect
= new wxRect
;
1892 self
->GetItemRect(item
, *rect
, code
);
1895 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
) {
1896 PyObject
* _resultobj
;
1900 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1901 PyObject
* _argo0
= 0;
1905 if(!PyArg_ParseTuple(args
,"Ol|i:wxListCtrl_GetItemRect",&_argo0
,&_arg1
,&_arg2
))
1908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1918 wxPy_END_ALLOW_THREADS
;
1920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1921 _resultobj
= Py_BuildValue("s",_ptemp
);
1924 _resultobj
= Py_None
;
1929 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1930 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
) {
1931 PyObject
* _resultobj
;
1936 PyObject
* _argo0
= 0;
1939 if(!PyArg_ParseTuple(args
,"Oll:wxListCtrl_GetItemState",&_argo0
,&_arg1
,&_arg2
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } _resultobj
= Py_BuildValue("i",_result
);
1957 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1958 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
) {
1959 PyObject
* _resultobj
;
1962 PyObject
* _argo0
= 0;
1965 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_GetItemCount",&_argo0
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1978 wxPy_END_ALLOW_THREADS
;
1979 } _resultobj
= Py_BuildValue("i",_result
);
1983 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1984 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
) {
1985 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1993 if(!PyArg_ParseTuple(args
,"Oi:wxListCtrl_GetItemSpacing",&_argo0
,&tempbool1
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2002 _arg1
= (bool ) tempbool1
;
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2013 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
2014 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2021 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_GetItemText",&_argo0
,&_arg1
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2034 wxPy_END_ALLOW_THREADS
;
2036 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2044 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2045 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
) {
2046 PyObject
* _resultobj
;
2050 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2051 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2052 PyObject
* _argo0
= 0;
2055 if(!PyArg_ParseTuple(args
,"Ol|ii:wxListCtrl_GetNextItem",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2065 wxPy_BEGIN_ALLOW_THREADS
;
2066 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2068 wxPy_END_ALLOW_THREADS
;
2069 } _resultobj
= Py_BuildValue("l",_result
);
2073 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2074 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
) {
2075 PyObject
* _resultobj
;
2078 PyObject
* _argo0
= 0;
2081 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_GetSelectedItemCount",&_argo0
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2094 wxPy_END_ALLOW_THREADS
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2099 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2100 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
) {
2101 PyObject
* _resultobj
;
2104 PyObject
* _argo0
= 0;
2108 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_GetTextColour",&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
2121 wxPy_END_ALLOW_THREADS
;
2122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2123 _resultobj
= Py_BuildValue("s",_ptemp
);
2127 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2128 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
) {
2129 PyObject
* _resultobj
;
2132 PyObject
* _argo0
= 0;
2133 PyObject
* _argo1
= 0;
2136 if(!PyArg_ParseTuple(args
,"OO:wxListCtrl_SetTextColour",&_argo0
,&_argo1
))
2139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2156 wxPy_END_ALLOW_THREADS
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2163 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
) {
2164 PyObject
* _resultobj
;
2167 PyObject
* _argo0
= 0;
2170 if(!PyArg_ParseTuple(args
,"O:wxListCtrl_GetTopItem",&_argo0
))
2173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2180 wxPy_BEGIN_ALLOW_THREADS
;
2181 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2183 wxPy_END_ALLOW_THREADS
;
2184 } _resultobj
= Py_BuildValue("l",_result
);
2188 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2189 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
2190 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 PyObject
* _argo1
= 0;
2203 if(!PyArg_ParseTuple(args
,"OO:wxListCtrl_HitTest",&_argo0
,&_argo1
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
2220 wxPy_BEGIN_ALLOW_THREADS
;
2221 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2223 wxPy_END_ALLOW_THREADS
;
2224 } _resultobj
= Py_BuildValue("l",_result
);
2227 o
= PyInt_FromLong((long) (*_arg2
));
2228 _resultobj
= t_output_helper(_resultobj
, o
);
2233 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2234 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
) {
2235 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 PyObject
* _argo2
= 0;
2244 if(!PyArg_ParseTuple(args
,"OlO:wxListCtrl_InsertColumnWith",&_argo0
,&_arg1
,&_argo2
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2254 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } _resultobj
= Py_BuildValue("l",_result
);
2269 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2270 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
) {
2271 PyObject
* _resultobj
;
2276 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2277 int _arg4
= (int ) -1;
2278 PyObject
* _argo0
= 0;
2279 PyObject
* _obj2
= 0;
2282 if(!PyArg_ParseTuple(args
,"OlO|ii:wxListCtrl_InsertColumn",&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2292 if (!PyString_Check(_obj2
)) {
2293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2296 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2302 wxPy_END_ALLOW_THREADS
;
2303 } _resultobj
= Py_BuildValue("l",_result
);
2311 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2312 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
2313 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2318 PyObject
* _argo1
= 0;
2321 if(!PyArg_ParseTuple(args
,"OO:wxListCtrl_InsertItem",&_argo0
,&_argo1
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2331 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2338 wxPy_BEGIN_ALLOW_THREADS
;
2339 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2341 wxPy_END_ALLOW_THREADS
;
2342 } _resultobj
= Py_BuildValue("l",_result
);
2346 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2347 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
) {
2348 PyObject
* _resultobj
;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _obj2
= 0;
2357 if(!PyArg_ParseTuple(args
,"OlO:wxListCtrl_InsertStringItem",&_argo0
,&_arg1
,&_obj2
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2367 if (!PyString_Check(_obj2
)) {
2368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2371 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2374 wxPy_BEGIN_ALLOW_THREADS
;
2375 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2377 wxPy_END_ALLOW_THREADS
;
2378 } _resultobj
= Py_BuildValue("l",_result
);
2386 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2387 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
) {
2388 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2396 if(!PyArg_ParseTuple(args
,"Oli:wxListCtrl_InsertImageItem",&_argo0
,&_arg1
,&_arg2
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } _resultobj
= Py_BuildValue("l",_result
);
2414 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2415 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
) {
2416 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2423 PyObject
* _obj2
= 0;
2426 if(!PyArg_ParseTuple(args
,"OlOi:wxListCtrl_InsertImageStringItem",&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2436 if (!PyString_Check(_obj2
)) {
2437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2440 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2446 wxPy_END_ALLOW_THREADS
;
2447 } _resultobj
= Py_BuildValue("l",_result
);
2455 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2456 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
) {
2457 PyObject
* _resultobj
;
2462 PyObject
* _argo0
= 0;
2465 if(!PyArg_ParseTuple(args
,"Oii:wxListCtrl_ScrollList",&_argo0
,&_arg1
,&_arg2
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2484 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
) {
2485 PyObject
* _resultobj
;
2488 PyObject
* _argo0
= 0;
2489 PyObject
* _argo1
= 0;
2492 if(!PyArg_ParseTuple(args
,"OO:wxListCtrl_SetBackgroundColour",&_argo0
,&_argo1
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } Py_INCREF(Py_None
);
2514 _resultobj
= Py_None
;
2518 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2519 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
) {
2520 PyObject
* _resultobj
;
2525 PyObject
* _argo0
= 0;
2526 PyObject
* _argo2
= 0;
2529 if(!PyArg_ParseTuple(args
,"OiO:wxListCtrl_SetColumn",&_argo0
,&_arg1
,&_argo2
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2539 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } _resultobj
= Py_BuildValue("i",_result
);
2554 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2555 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
) {
2556 PyObject
* _resultobj
;
2561 PyObject
* _argo0
= 0;
2564 if(!PyArg_ParseTuple(args
,"Oii:wxListCtrl_SetColumnWidth",&_argo0
,&_arg1
,&_arg2
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2577 wxPy_END_ALLOW_THREADS
;
2578 } _resultobj
= Py_BuildValue("i",_result
);
2582 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2583 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
2584 PyObject
* _resultobj
;
2586 wxImageList
* _arg1
;
2588 PyObject
* _argo0
= 0;
2589 PyObject
* _argo1
= 0;
2592 if(!PyArg_ParseTuple(args
,"OOi:wxListCtrl_SetImageList",&_argo0
,&_argo1
,&_arg2
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2612 wxPy_END_ALLOW_THREADS
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2618 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2619 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
) {
2620 PyObject
* _resultobj
;
2624 PyObject
* _argo0
= 0;
2625 PyObject
* _argo1
= 0;
2628 if(!PyArg_ParseTuple(args
,"OO:wxListCtrl_SetItem",&_argo0
,&_argo1
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2648 wxPy_END_ALLOW_THREADS
;
2649 } _resultobj
= Py_BuildValue("i",_result
);
2653 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2654 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
) {
2655 PyObject
* _resultobj
;
2661 int _arg4
= (int ) -1;
2662 PyObject
* _argo0
= 0;
2663 PyObject
* _obj3
= 0;
2666 if(!PyArg_ParseTuple(args
,"OliO|i:wxListCtrl_SetStringItem",&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2676 if (!PyString_Check(_obj3
)) {
2677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2680 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } _resultobj
= Py_BuildValue("l",_result
);
2695 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2696 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
2697 PyObject
* _resultobj
;
2702 PyObject
* _argo0
= 0;
2705 if(!PyArg_ParseTuple(args
,"Oll:wxListCtrl_SetItemData",&_argo0
,&_arg1
,&_arg2
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2718 wxPy_END_ALLOW_THREADS
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2724 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
2725 PyObject
* _resultobj
;
2731 PyObject
* _argo0
= 0;
2734 if(!PyArg_ParseTuple(args
,"Olii:wxListCtrl_SetItemImage",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } _resultobj
= Py_BuildValue("i",_result
);
2752 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2753 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
) {
2754 PyObject
* _resultobj
;
2759 PyObject
* _argo0
= 0;
2760 PyObject
* _argo2
= 0;
2763 if(!PyArg_ParseTuple(args
,"OlO:wxListCtrl_SetItemPosition",&_argo0
,&_arg1
,&_argo2
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2773 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2783 wxPy_END_ALLOW_THREADS
;
2784 } _resultobj
= Py_BuildValue("i",_result
);
2788 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2789 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
) {
2790 PyObject
* _resultobj
;
2796 PyObject
* _argo0
= 0;
2799 if(!PyArg_ParseTuple(args
,"Olll:wxListCtrl_SetItemState",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2809 wxPy_BEGIN_ALLOW_THREADS
;
2810 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2812 wxPy_END_ALLOW_THREADS
;
2813 } _resultobj
= Py_BuildValue("i",_result
);
2817 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2818 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
2819 PyObject
* _resultobj
;
2823 PyObject
* _argo0
= 0;
2824 PyObject
* _obj2
= 0;
2827 if(!PyArg_ParseTuple(args
,"OlO:wxListCtrl_SetItemText",&_argo0
,&_arg1
,&_obj2
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2837 if (!PyString_Check(_obj2
)) {
2838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2841 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2844 wxPy_BEGIN_ALLOW_THREADS
;
2845 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2847 wxPy_END_ALLOW_THREADS
;
2848 } Py_INCREF(Py_None
);
2849 _resultobj
= Py_None
;
2857 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2858 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
) {
2859 PyObject
* _resultobj
;
2862 bool _arg2
= (bool ) TRUE
;
2863 PyObject
* _argo0
= 0;
2864 int tempbool2
= (int) TRUE
;
2867 if(!PyArg_ParseTuple(args
,"Ol|i:wxListCtrl_SetSingleStyle",&_argo0
,&_arg1
,&tempbool2
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2876 _arg2
= (bool ) tempbool2
;
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2881 wxPy_END_ALLOW_THREADS
;
2882 } Py_INCREF(Py_None
);
2883 _resultobj
= Py_None
;
2887 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2888 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2895 if(!PyArg_ParseTuple(args
,"Ol:wxListCtrl_SetWindowStyleFlag",&_argo0
,&_arg1
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2908 wxPy_END_ALLOW_THREADS
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define new_wxTreeItemId() (new wxTreeItemId())
2915 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2916 PyObject
* _resultobj
;
2917 wxTreeItemId
* _result
;
2921 if(!PyArg_ParseTuple(args
,":new_wxTreeItemId"))
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2927 wxPy_END_ALLOW_THREADS
;
2929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2930 _resultobj
= Py_BuildValue("s",_ptemp
);
2933 _resultobj
= Py_None
;
2938 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2939 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
) {
2940 PyObject
* _resultobj
;
2941 wxTreeItemId
* _arg0
;
2942 PyObject
* _argo0
= 0;
2945 if(!PyArg_ParseTuple(args
,"O:delete_wxTreeItemId",&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 delete_wxTreeItemId(_arg0
);
2958 wxPy_END_ALLOW_THREADS
;
2959 } Py_INCREF(Py_None
);
2960 _resultobj
= Py_None
;
2964 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2965 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
) {
2966 PyObject
* _resultobj
;
2968 wxTreeItemId
* _arg0
;
2969 PyObject
* _argo0
= 0;
2972 if(!PyArg_ParseTuple(args
,"O:wxTreeItemId_IsOk",&_argo0
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2985 wxPy_END_ALLOW_THREADS
;
2986 } _resultobj
= Py_BuildValue("i",_result
);
2990 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2991 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
) {
2992 PyObject
* _resultobj
;
2993 wxPyTreeItemData
* _result
;
2994 PyObject
* _arg0
= (PyObject
*) NULL
;
2995 PyObject
* _obj0
= 0;
2999 if(!PyArg_ParseTuple(args
,"|O:new_wxTreeItemData",&_obj0
))
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
3009 wxPy_END_ALLOW_THREADS
;
3011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3012 _resultobj
= Py_BuildValue("s",_ptemp
);
3015 _resultobj
= Py_None
;
3020 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3021 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
) {
3022 PyObject
* _resultobj
;
3024 wxPyTreeItemData
* _arg0
;
3025 PyObject
* _argo0
= 0;
3028 if(!PyArg_ParseTuple(args
,"O:wxTreeItemData_GetData",&_argo0
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3038 wxPy_BEGIN_ALLOW_THREADS
;
3039 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
3041 wxPy_END_ALLOW_THREADS
;
3043 _resultobj
= _result
;
3048 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3049 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
) {
3050 PyObject
* _resultobj
;
3051 wxPyTreeItemData
* _arg0
;
3053 PyObject
* _argo0
= 0;
3054 PyObject
* _obj1
= 0;
3057 if(!PyArg_ParseTuple(args
,"OO:wxTreeItemData_SetData",&_argo0
,&_obj1
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxTreeItemData_SetData(_arg0
,_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3080 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
) {
3081 PyObject
* _resultobj
;
3082 wxTreeItemId
* _result
;
3083 wxPyTreeItemData
* _arg0
;
3084 PyObject
* _argo0
= 0;
3088 if(!PyArg_ParseTuple(args
,"O:wxTreeItemData_GetId",&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3100 _result
= (wxTreeItemId
*) &_result_ref
;
3102 wxPy_END_ALLOW_THREADS
;
3104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3105 _resultobj
= Py_BuildValue("s",_ptemp
);
3108 _resultobj
= Py_None
;
3113 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3114 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
) {
3115 PyObject
* _resultobj
;
3116 wxPyTreeItemData
* _arg0
;
3117 wxTreeItemId
* _arg1
;
3118 PyObject
* _argo0
= 0;
3119 PyObject
* _argo1
= 0;
3122 if(!PyArg_ParseTuple(args
,"OO:wxTreeItemData_SetId",&_argo0
,&_argo1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 wxTreeItemData_SetId(_arg0
,*_arg1
);
3142 wxPy_END_ALLOW_THREADS
;
3143 } Py_INCREF(Py_None
);
3144 _resultobj
= Py_None
;
3148 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3150 wxNotifyEvent
*dest
;
3151 src
= (wxTreeEvent
*) ptr
;
3152 dest
= (wxNotifyEvent
*) src
;
3153 return (void *) dest
;
3156 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3158 wxCommandEvent
*dest
;
3159 src
= (wxTreeEvent
*) ptr
;
3160 dest
= (wxCommandEvent
*) src
;
3161 return (void *) dest
;
3164 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3167 src
= (wxTreeEvent
*) ptr
;
3168 dest
= (wxEvent
*) src
;
3169 return (void *) dest
;
3172 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3173 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
) {
3174 PyObject
* _resultobj
;
3175 wxTreeItemId
* _result
;
3176 wxTreeEvent
* _arg0
;
3177 PyObject
* _argo0
= 0;
3181 if(!PyArg_ParseTuple(args
,"O:wxTreeEvent_GetItem",&_argo0
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3194 wxPy_END_ALLOW_THREADS
;
3195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3196 _resultobj
= Py_BuildValue("s",_ptemp
);
3200 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3201 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
) {
3202 PyObject
* _resultobj
;
3203 wxTreeItemId
* _result
;
3204 wxTreeEvent
* _arg0
;
3205 PyObject
* _argo0
= 0;
3209 if(!PyArg_ParseTuple(args
,"O:wxTreeEvent_GetOldItem",&_argo0
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3222 wxPy_END_ALLOW_THREADS
;
3223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3224 _resultobj
= Py_BuildValue("s",_ptemp
);
3228 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3229 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
) {
3230 PyObject
* _resultobj
;
3232 wxTreeEvent
* _arg0
;
3233 PyObject
* _argo0
= 0;
3237 if(!PyArg_ParseTuple(args
,"O:wxTreeEvent_GetPoint",&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3250 wxPy_END_ALLOW_THREADS
;
3251 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3252 _resultobj
= Py_BuildValue("s",_ptemp
);
3256 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3257 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
) {
3258 PyObject
* _resultobj
;
3260 wxTreeEvent
* _arg0
;
3261 PyObject
* _argo0
= 0;
3264 if(!PyArg_ParseTuple(args
,"O:wxTreeEvent_GetCode",&_argo0
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3277 wxPy_END_ALLOW_THREADS
;
3278 } _resultobj
= Py_BuildValue("i",_result
);
3282 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3283 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
) {
3284 PyObject
* _resultobj
;
3286 wxTreeEvent
* _arg0
;
3287 PyObject
* _argo0
= 0;
3290 if(!PyArg_ParseTuple(args
,"O:wxTreeEvent_GetLabel",&_argo0
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3302 _result
= (wxString
*) &_result_ref
;
3304 wxPy_END_ALLOW_THREADS
;
3306 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3311 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3314 src
= (wxTreeCtrl
*) ptr
;
3315 dest
= (wxControl
*) src
;
3316 return (void *) dest
;
3319 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3322 src
= (wxTreeCtrl
*) ptr
;
3323 dest
= (wxWindow
*) src
;
3324 return (void *) dest
;
3327 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3330 src
= (wxTreeCtrl
*) ptr
;
3331 dest
= (wxEvtHandler
*) src
;
3332 return (void *) dest
;
3335 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3336 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
) {
3337 PyObject
* _resultobj
;
3338 wxTreeCtrl
* _result
;
3340 wxWindowID _arg1
= (wxWindowID
) -1;
3341 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3342 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3343 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3344 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3345 char * _arg6
= (char *) "wxTreeCtrl";
3346 PyObject
* _argo0
= 0;
3347 PyObject
* _argo2
= 0;
3348 PyObject
* _argo3
= 0;
3349 PyObject
* _argo5
= 0;
3353 if(!PyArg_ParseTuple(args
,"O|iOOlOs:new_wxTreeCtrl",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
3356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3363 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3370 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3377 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3384 wxPy_BEGIN_ALLOW_THREADS
;
3385 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3387 wxPy_END_ALLOW_THREADS
;
3389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3390 _resultobj
= Py_BuildValue("s",_ptemp
);
3393 _resultobj
= Py_None
;
3398 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3399 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
) {
3400 PyObject
* _resultobj
;
3403 PyObject
* _argo0
= 0;
3406 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetCount",&_argo0
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3419 wxPy_END_ALLOW_THREADS
;
3420 } _resultobj
= Py_BuildValue("i",_result
);
3424 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3425 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
) {
3426 PyObject
* _resultobj
;
3427 unsigned int _result
;
3429 PyObject
* _argo0
= 0;
3432 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetIndent",&_argo0
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3445 wxPy_END_ALLOW_THREADS
;
3446 } _resultobj
= Py_BuildValue("i",_result
);
3450 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3451 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
) {
3452 PyObject
* _resultobj
;
3455 PyObject
* _argo0
= 0;
3458 if(!PyArg_ParseTuple(args
,"Oi:wxTreeCtrl_SetIndent",&_argo0
,&_arg1
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } Py_INCREF(Py_None
);
3473 _resultobj
= Py_None
;
3477 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3478 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
) {
3479 PyObject
* _resultobj
;
3480 wxImageList
* _result
;
3482 PyObject
* _argo0
= 0;
3486 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetImageList",&_argo0
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3499 wxPy_END_ALLOW_THREADS
;
3501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3502 _resultobj
= Py_BuildValue("s",_ptemp
);
3505 _resultobj
= Py_None
;
3510 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3511 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
) {
3512 PyObject
* _resultobj
;
3513 wxImageList
* _result
;
3515 PyObject
* _argo0
= 0;
3519 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetStateImageList",&_argo0
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3529 wxPy_BEGIN_ALLOW_THREADS
;
3530 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3532 wxPy_END_ALLOW_THREADS
;
3534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3535 _resultobj
= Py_BuildValue("s",_ptemp
);
3538 _resultobj
= Py_None
;
3543 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3544 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
) {
3545 PyObject
* _resultobj
;
3547 wxImageList
* _arg1
;
3548 PyObject
* _argo0
= 0;
3549 PyObject
* _argo1
= 0;
3552 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_SetImageList",&_argo0
,&_argo1
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3572 wxPy_END_ALLOW_THREADS
;
3573 } Py_INCREF(Py_None
);
3574 _resultobj
= Py_None
;
3578 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3579 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
) {
3580 PyObject
* _resultobj
;
3582 wxImageList
* _arg1
;
3583 PyObject
* _argo0
= 0;
3584 PyObject
* _argo1
= 0;
3587 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_SetStateImageList",&_argo0
,&_argo1
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3614 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
) {
3615 PyObject
* _resultobj
;
3618 wxTreeItemId
* _arg1
;
3619 PyObject
* _argo0
= 0;
3620 PyObject
* _argo1
= 0;
3623 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetItemText",&_argo0
,&_argo1
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3643 wxPy_END_ALLOW_THREADS
;
3645 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3653 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3654 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
) {
3655 PyObject
* _resultobj
;
3658 wxTreeItemId
* _arg1
;
3659 PyObject
* _argo0
= 0;
3660 PyObject
* _argo1
= 0;
3663 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetItemImage",&_argo0
,&_argo1
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3680 wxPy_BEGIN_ALLOW_THREADS
;
3681 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3683 wxPy_END_ALLOW_THREADS
;
3684 } _resultobj
= Py_BuildValue("i",_result
);
3688 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3689 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3690 PyObject
* _resultobj
;
3693 wxTreeItemId
* _arg1
;
3694 PyObject
* _argo0
= 0;
3695 PyObject
* _argo1
= 0;
3698 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetItemSelectedImage",&_argo0
,&_argo1
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } _resultobj
= Py_BuildValue("i",_result
);
3723 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3724 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
) {
3725 PyObject
* _resultobj
;
3727 wxTreeItemId
* _arg1
;
3729 PyObject
* _argo0
= 0;
3730 PyObject
* _argo1
= 0;
3731 PyObject
* _obj2
= 0;
3734 if(!PyArg_ParseTuple(args
,"OOO:wxTreeCtrl_SetItemText",&_argo0
,&_argo1
,&_obj2
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3751 if (!PyString_Check(_obj2
)) {
3752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3755 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3771 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3772 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
) {
3773 PyObject
* _resultobj
;
3775 wxTreeItemId
* _arg1
;
3777 PyObject
* _argo0
= 0;
3778 PyObject
* _argo1
= 0;
3781 if(!PyArg_ParseTuple(args
,"OOi:wxTreeCtrl_SetItemImage",&_argo0
,&_argo1
,&_arg2
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3801 wxPy_END_ALLOW_THREADS
;
3802 } Py_INCREF(Py_None
);
3803 _resultobj
= Py_None
;
3807 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3808 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
) {
3809 PyObject
* _resultobj
;
3811 wxTreeItemId
* _arg1
;
3813 PyObject
* _argo0
= 0;
3814 PyObject
* _argo1
= 0;
3817 if(!PyArg_ParseTuple(args
,"OOi:wxTreeCtrl_SetItemSelectedImage",&_argo0
,&_argo1
,&_arg2
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3843 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3844 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
) {
3845 PyObject
* _resultobj
;
3847 wxTreeItemId
* _arg1
;
3848 bool _arg2
= (bool ) TRUE
;
3849 PyObject
* _argo0
= 0;
3850 PyObject
* _argo1
= 0;
3851 int tempbool2
= (int) TRUE
;
3854 if(!PyArg_ParseTuple(args
,"OO|i:wxTreeCtrl_SetItemHasChildren",&_argo0
,&_argo1
,&tempbool2
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3870 _arg2
= (bool ) tempbool2
;
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3875 wxPy_END_ALLOW_THREADS
;
3876 } Py_INCREF(Py_None
);
3877 _resultobj
= Py_None
;
3881 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3882 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3884 data
= new wxPyTreeItemData();
3885 self
->SetItemData(item
, data
);
3889 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
) {
3890 PyObject
* _resultobj
;
3891 wxPyTreeItemData
* _result
;
3893 wxTreeItemId
* _arg1
;
3894 PyObject
* _argo0
= 0;
3895 PyObject
* _argo1
= 0;
3899 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetItemData",&_argo0
,&_argo1
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3916 wxPy_BEGIN_ALLOW_THREADS
;
3917 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3919 wxPy_END_ALLOW_THREADS
;
3921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3922 _resultobj
= Py_BuildValue("s",_ptemp
);
3925 _resultobj
= Py_None
;
3930 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3931 self
->SetItemData(item
, data
);
3933 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
) {
3934 PyObject
* _resultobj
;
3936 wxTreeItemId
* _arg1
;
3937 wxPyTreeItemData
* _arg2
;
3938 PyObject
* _argo0
= 0;
3939 PyObject
* _argo1
= 0;
3940 PyObject
* _argo2
= 0;
3943 if(!PyArg_ParseTuple(args
,"OOO:wxTreeCtrl_SetItemData",&_argo0
,&_argo1
,&_argo2
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3960 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3967 wxPy_BEGIN_ALLOW_THREADS
;
3968 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3970 wxPy_END_ALLOW_THREADS
;
3971 } Py_INCREF(Py_None
);
3972 _resultobj
= Py_None
;
3976 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3977 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3979 data
= new wxPyTreeItemData();
3980 self
->SetItemData(item
, data
);
3982 return data
->GetData();
3984 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
) {
3985 PyObject
* _resultobj
;
3988 wxTreeItemId
* _arg1
;
3989 PyObject
* _argo0
= 0;
3990 PyObject
* _argo1
= 0;
3993 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetPyData",&_argo0
,&_argo1
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4010 wxPy_BEGIN_ALLOW_THREADS
;
4011 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4013 wxPy_END_ALLOW_THREADS
;
4015 _resultobj
= _result
;
4020 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4021 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4023 data
= new wxPyTreeItemData(obj
);
4024 self
->SetItemData(item
, data
);
4028 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
) {
4029 PyObject
* _resultobj
;
4031 wxTreeItemId
* _arg1
;
4033 PyObject
* _argo0
= 0;
4034 PyObject
* _argo1
= 0;
4035 PyObject
* _obj2
= 0;
4038 if(!PyArg_ParseTuple(args
,"OOO:wxTreeCtrl_SetPyData",&_argo0
,&_argo1
,&_obj2
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4061 wxPy_END_ALLOW_THREADS
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4068 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
) {
4069 PyObject
* _resultobj
;
4072 wxTreeItemId
* _arg1
;
4073 PyObject
* _argo0
= 0;
4074 PyObject
* _argo1
= 0;
4077 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_IsVisible",&_argo0
,&_argo1
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4094 wxPy_BEGIN_ALLOW_THREADS
;
4095 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4097 wxPy_END_ALLOW_THREADS
;
4098 } _resultobj
= Py_BuildValue("i",_result
);
4102 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4103 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
) {
4104 PyObject
* _resultobj
;
4107 wxTreeItemId
* _arg1
;
4108 PyObject
* _argo0
= 0;
4109 PyObject
* _argo1
= 0;
4112 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_ItemHasChildren",&_argo0
,&_argo1
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4132 wxPy_END_ALLOW_THREADS
;
4133 } _resultobj
= Py_BuildValue("i",_result
);
4137 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4138 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
) {
4139 PyObject
* _resultobj
;
4142 wxTreeItemId
* _arg1
;
4143 PyObject
* _argo0
= 0;
4144 PyObject
* _argo1
= 0;
4147 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_IsExpanded",&_argo0
,&_argo1
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } _resultobj
= Py_BuildValue("i",_result
);
4172 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4173 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
) {
4174 PyObject
* _resultobj
;
4177 wxTreeItemId
* _arg1
;
4178 PyObject
* _argo0
= 0;
4179 PyObject
* _argo1
= 0;
4182 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_IsSelected",&_argo0
,&_argo1
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4207 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4208 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
) {
4209 PyObject
* _resultobj
;
4210 wxTreeItemId
* _result
;
4212 PyObject
* _argo0
= 0;
4216 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetRootItem",&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4229 wxPy_END_ALLOW_THREADS
;
4230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4231 _resultobj
= Py_BuildValue("s",_ptemp
);
4235 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4236 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
4237 PyObject
* _resultobj
;
4238 wxTreeItemId
* _result
;
4240 PyObject
* _argo0
= 0;
4244 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetSelection",&_argo0
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4257 wxPy_END_ALLOW_THREADS
;
4258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4259 _resultobj
= Py_BuildValue("s",_ptemp
);
4263 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4264 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
) {
4265 PyObject
* _resultobj
;
4266 wxTreeItemId
* _result
;
4268 wxTreeItemId
* _arg1
;
4269 PyObject
* _argo0
= 0;
4270 PyObject
* _argo1
= 0;
4274 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetParent",&_argo0
,&_argo1
))
4277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4291 wxPy_BEGIN_ALLOW_THREADS
;
4292 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4294 wxPy_END_ALLOW_THREADS
;
4295 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4296 _resultobj
= Py_BuildValue("s",_ptemp
);
4300 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4301 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
) {
4302 PyObject
* _resultobj
;
4305 wxTreeItemId
* _arg1
;
4306 bool _arg2
= (bool ) TRUE
;
4307 PyObject
* _argo0
= 0;
4308 PyObject
* _argo1
= 0;
4309 int tempbool2
= (int) TRUE
;
4312 if(!PyArg_ParseTuple(args
,"OO|i:wxTreeCtrl_GetChildrenCount",&_argo0
,&_argo1
,&tempbool2
))
4315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4328 _arg2
= (bool ) tempbool2
;
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4333 wxPy_END_ALLOW_THREADS
;
4334 } _resultobj
= Py_BuildValue("i",_result
);
4338 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4339 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
) {
4340 PyObject
* _resultobj
;
4341 wxTreeItemId
* _result
;
4343 wxTreeItemId
* _arg1
;
4345 PyObject
* _argo0
= 0;
4346 PyObject
* _argo1
= 0;
4348 PyObject
* _obj2
= 0;
4352 if(!PyArg_ParseTuple(args
,"OOO:wxTreeCtrl_GetFirstChild",&_argo0
,&_argo1
,&_obj2
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4369 temp
= (long) PyInt_AsLong(_obj2
);
4373 wxPy_BEGIN_ALLOW_THREADS
;
4374 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4376 wxPy_END_ALLOW_THREADS
;
4377 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4378 _resultobj
= Py_BuildValue("s",_ptemp
);
4381 o
= PyInt_FromLong((long) (*_arg2
));
4382 _resultobj
= t_output_helper(_resultobj
, o
);
4387 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4388 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
) {
4389 PyObject
* _resultobj
;
4390 wxTreeItemId
* _result
;
4392 wxTreeItemId
* _arg1
;
4394 PyObject
* _argo0
= 0;
4395 PyObject
* _argo1
= 0;
4397 PyObject
* _obj2
= 0;
4401 if(!PyArg_ParseTuple(args
,"OOO:wxTreeCtrl_GetNextChild",&_argo0
,&_argo1
,&_obj2
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4418 temp
= (long) PyInt_AsLong(_obj2
);
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4425 wxPy_END_ALLOW_THREADS
;
4426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4427 _resultobj
= Py_BuildValue("s",_ptemp
);
4430 o
= PyInt_FromLong((long) (*_arg2
));
4431 _resultobj
= t_output_helper(_resultobj
, o
);
4436 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4437 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
) {
4438 PyObject
* _resultobj
;
4439 wxTreeItemId
* _result
;
4441 wxTreeItemId
* _arg1
;
4442 PyObject
* _argo0
= 0;
4443 PyObject
* _argo1
= 0;
4447 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetNextSibling",&_argo0
,&_argo1
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4464 wxPy_BEGIN_ALLOW_THREADS
;
4465 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4467 wxPy_END_ALLOW_THREADS
;
4468 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4469 _resultobj
= Py_BuildValue("s",_ptemp
);
4473 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4474 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
) {
4475 PyObject
* _resultobj
;
4476 wxTreeItemId
* _result
;
4478 wxTreeItemId
* _arg1
;
4479 PyObject
* _argo0
= 0;
4480 PyObject
* _argo1
= 0;
4484 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetPrevSibling",&_argo0
,&_argo1
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4501 wxPy_BEGIN_ALLOW_THREADS
;
4502 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4504 wxPy_END_ALLOW_THREADS
;
4505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4506 _resultobj
= Py_BuildValue("s",_ptemp
);
4510 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4511 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
) {
4512 PyObject
* _resultobj
;
4513 wxTreeItemId
* _result
;
4515 PyObject
* _argo0
= 0;
4519 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetFirstVisibleItem",&_argo0
))
4522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4532 wxPy_END_ALLOW_THREADS
;
4533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4534 _resultobj
= Py_BuildValue("s",_ptemp
);
4538 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4539 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
) {
4540 PyObject
* _resultobj
;
4541 wxTreeItemId
* _result
;
4543 wxTreeItemId
* _arg1
;
4544 PyObject
* _argo0
= 0;
4545 PyObject
* _argo1
= 0;
4549 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetNextVisible",&_argo0
,&_argo1
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4569 wxPy_END_ALLOW_THREADS
;
4570 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4571 _resultobj
= Py_BuildValue("s",_ptemp
);
4575 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4576 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
) {
4577 PyObject
* _resultobj
;
4578 wxTreeItemId
* _result
;
4580 wxTreeItemId
* _arg1
;
4581 PyObject
* _argo0
= 0;
4582 PyObject
* _argo1
= 0;
4586 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_GetPrevVisible",&_argo0
,&_argo1
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4603 wxPy_BEGIN_ALLOW_THREADS
;
4604 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4606 wxPy_END_ALLOW_THREADS
;
4607 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4608 _resultobj
= Py_BuildValue("s",_ptemp
);
4612 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4613 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
) {
4614 PyObject
* _resultobj
;
4615 wxTreeItemId
* _result
;
4618 int _arg2
= (int ) -1;
4619 int _arg3
= (int ) -1;
4620 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4621 PyObject
* _argo0
= 0;
4622 PyObject
* _obj1
= 0;
4623 PyObject
* _argo4
= 0;
4627 if(!PyArg_ParseTuple(args
,"OO|iiO:wxTreeCtrl_AddRoot",&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4637 if (!PyString_Check(_obj1
)) {
4638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4641 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4644 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4654 wxPy_END_ALLOW_THREADS
;
4655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4656 _resultobj
= Py_BuildValue("s",_ptemp
);
4664 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4665 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
) {
4666 PyObject
* _resultobj
;
4667 wxTreeItemId
* _result
;
4669 wxTreeItemId
* _arg1
;
4671 int _arg3
= (int ) -1;
4672 int _arg4
= (int ) -1;
4673 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4674 PyObject
* _argo0
= 0;
4675 PyObject
* _argo1
= 0;
4676 PyObject
* _obj2
= 0;
4677 PyObject
* _argo5
= 0;
4681 if(!PyArg_ParseTuple(args
,"OOO|iiO:wxTreeCtrl_PrependItem",&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4698 if (!PyString_Check(_obj2
)) {
4699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4702 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4705 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4715 wxPy_END_ALLOW_THREADS
;
4716 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4717 _resultobj
= Py_BuildValue("s",_ptemp
);
4725 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4726 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
) {
4727 PyObject
* _resultobj
;
4728 wxTreeItemId
* _result
;
4730 wxTreeItemId
* _arg1
;
4731 wxTreeItemId
* _arg2
;
4733 int _arg4
= (int ) -1;
4734 int _arg5
= (int ) -1;
4735 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4736 PyObject
* _argo0
= 0;
4737 PyObject
* _argo1
= 0;
4738 PyObject
* _argo2
= 0;
4739 PyObject
* _obj3
= 0;
4740 PyObject
* _argo6
= 0;
4744 if(!PyArg_ParseTuple(args
,"OOOO|iiO:wxTreeCtrl_InsertItem",&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
4747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4761 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4762 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4768 if (!PyString_Check(_obj3
)) {
4769 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4772 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4775 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4782 wxPy_BEGIN_ALLOW_THREADS
;
4783 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4785 wxPy_END_ALLOW_THREADS
;
4786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4787 _resultobj
= Py_BuildValue("s",_ptemp
);
4795 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4796 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
) {
4797 PyObject
* _resultobj
;
4798 wxTreeItemId
* _result
;
4800 wxTreeItemId
* _arg1
;
4802 int _arg3
= (int ) -1;
4803 int _arg4
= (int ) -1;
4804 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4805 PyObject
* _argo0
= 0;
4806 PyObject
* _argo1
= 0;
4807 PyObject
* _obj2
= 0;
4808 PyObject
* _argo5
= 0;
4812 if(!PyArg_ParseTuple(args
,"OOO|iiO:wxTreeCtrl_AppendItem",&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4829 if (!PyString_Check(_obj2
)) {
4830 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4833 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4836 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4843 wxPy_BEGIN_ALLOW_THREADS
;
4844 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4846 wxPy_END_ALLOW_THREADS
;
4847 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4848 _resultobj
= Py_BuildValue("s",_ptemp
);
4856 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4857 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
) {
4858 PyObject
* _resultobj
;
4860 wxTreeItemId
* _arg1
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _argo1
= 0;
4865 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_Delete",&_argo0
,&_argo1
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4885 wxPy_END_ALLOW_THREADS
;
4886 } Py_INCREF(Py_None
);
4887 _resultobj
= Py_None
;
4891 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4892 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
) {
4893 PyObject
* _resultobj
;
4895 wxTreeItemId
* _arg1
;
4896 PyObject
* _argo0
= 0;
4897 PyObject
* _argo1
= 0;
4900 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_DeleteChildren",&_argo0
,&_argo1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4920 wxPy_END_ALLOW_THREADS
;
4921 } Py_INCREF(Py_None
);
4922 _resultobj
= Py_None
;
4926 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4927 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
) {
4928 PyObject
* _resultobj
;
4930 PyObject
* _argo0
= 0;
4933 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_DeleteAllItems",&_argo0
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 wxTreeCtrl_DeleteAllItems(_arg0
);
4946 wxPy_END_ALLOW_THREADS
;
4947 } Py_INCREF(Py_None
);
4948 _resultobj
= Py_None
;
4952 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4953 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
) {
4954 PyObject
* _resultobj
;
4956 wxTreeItemId
* _arg1
;
4957 PyObject
* _argo0
= 0;
4958 PyObject
* _argo1
= 0;
4961 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_Expand",&_argo0
,&_argo1
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4971 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4978 wxPy_BEGIN_ALLOW_THREADS
;
4979 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4981 wxPy_END_ALLOW_THREADS
;
4982 } Py_INCREF(Py_None
);
4983 _resultobj
= Py_None
;
4987 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4988 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
) {
4989 PyObject
* _resultobj
;
4991 wxTreeItemId
* _arg1
;
4992 PyObject
* _argo0
= 0;
4993 PyObject
* _argo1
= 0;
4996 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_Collapse",&_argo0
,&_argo1
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5016 wxPy_END_ALLOW_THREADS
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5023 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
) {
5024 PyObject
* _resultobj
;
5026 wxTreeItemId
* _arg1
;
5027 PyObject
* _argo0
= 0;
5028 PyObject
* _argo1
= 0;
5031 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_CollapseAndReset",&_argo0
,&_argo1
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5051 wxPy_END_ALLOW_THREADS
;
5052 } Py_INCREF(Py_None
);
5053 _resultobj
= Py_None
;
5057 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5058 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
) {
5059 PyObject
* _resultobj
;
5061 wxTreeItemId
* _arg1
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo1
= 0;
5066 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_Toggle",&_argo0
,&_argo1
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5083 wxPy_BEGIN_ALLOW_THREADS
;
5084 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5086 wxPy_END_ALLOW_THREADS
;
5087 } Py_INCREF(Py_None
);
5088 _resultobj
= Py_None
;
5092 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5093 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
) {
5094 PyObject
* _resultobj
;
5096 PyObject
* _argo0
= 0;
5099 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_Unselect",&_argo0
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5109 wxPy_BEGIN_ALLOW_THREADS
;
5110 wxTreeCtrl_Unselect(_arg0
);
5112 wxPy_END_ALLOW_THREADS
;
5113 } Py_INCREF(Py_None
);
5114 _resultobj
= Py_None
;
5118 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5119 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
) {
5120 PyObject
* _resultobj
;
5122 PyObject
* _argo0
= 0;
5125 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_UnselectAll",&_argo0
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5135 wxPy_BEGIN_ALLOW_THREADS
;
5136 wxTreeCtrl_UnselectAll(_arg0
);
5138 wxPy_END_ALLOW_THREADS
;
5139 } Py_INCREF(Py_None
);
5140 _resultobj
= Py_None
;
5144 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5145 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
) {
5146 PyObject
* _resultobj
;
5148 wxTreeItemId
* _arg1
;
5149 PyObject
* _argo0
= 0;
5150 PyObject
* _argo1
= 0;
5153 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_SelectItem",&_argo0
,&_argo1
))
5156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5180 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
) {
5181 PyObject
* _resultobj
;
5183 wxTreeItemId
* _arg1
;
5184 PyObject
* _argo0
= 0;
5185 PyObject
* _argo1
= 0;
5188 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_EnsureVisible",&_argo0
,&_argo1
))
5191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5205 wxPy_BEGIN_ALLOW_THREADS
;
5206 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5208 wxPy_END_ALLOW_THREADS
;
5209 } Py_INCREF(Py_None
);
5210 _resultobj
= Py_None
;
5214 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5215 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
) {
5216 PyObject
* _resultobj
;
5218 wxTreeItemId
* _arg1
;
5219 PyObject
* _argo0
= 0;
5220 PyObject
* _argo1
= 0;
5223 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_ScrollTo",&_argo0
,&_argo1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5250 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
) {
5251 PyObject
* _resultobj
;
5252 wxTextCtrl
* _result
;
5254 wxTreeItemId
* _arg1
;
5255 PyObject
* _argo0
= 0;
5256 PyObject
* _argo1
= 0;
5260 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_EditLabel",&_argo0
,&_argo1
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5277 wxPy_BEGIN_ALLOW_THREADS
;
5278 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5280 wxPy_END_ALLOW_THREADS
;
5282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5283 _resultobj
= Py_BuildValue("s",_ptemp
);
5286 _resultobj
= Py_None
;
5291 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5292 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
) {
5293 PyObject
* _resultobj
;
5294 wxTextCtrl
* _result
;
5296 PyObject
* _argo0
= 0;
5300 if(!PyArg_ParseTuple(args
,"O:wxTreeCtrl_GetEditControl",&_argo0
))
5303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5310 wxPy_BEGIN_ALLOW_THREADS
;
5311 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
5313 wxPy_END_ALLOW_THREADS
;
5315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5316 _resultobj
= Py_BuildValue("s",_ptemp
);
5319 _resultobj
= Py_None
;
5324 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5325 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
) {
5326 PyObject
* _resultobj
;
5328 wxTreeItemId
* _arg1
;
5329 bool _arg2
= (bool ) FALSE
;
5330 PyObject
* _argo0
= 0;
5331 PyObject
* _argo1
= 0;
5332 int tempbool2
= (int) FALSE
;
5335 if(!PyArg_ParseTuple(args
,"OO|i:wxTreeCtrl_EndEditLabel",&_argo0
,&_argo1
,&tempbool2
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5351 _arg2
= (bool ) tempbool2
;
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5363 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
) {
5364 PyObject
* _resultobj
;
5366 wxTreeItemId
* _arg1
;
5367 bool _arg2
= (bool ) TRUE
;
5368 PyObject
* _argo0
= 0;
5369 PyObject
* _argo1
= 0;
5370 int tempbool2
= (int) TRUE
;
5373 if(!PyArg_ParseTuple(args
,"OO|i:wxTreeCtrl_SetItemBold",&_argo0
,&_argo1
,&tempbool2
))
5376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5389 _arg2
= (bool ) tempbool2
;
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5401 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
) {
5402 PyObject
* _resultobj
;
5405 wxTreeItemId
* _arg1
;
5406 PyObject
* _argo0
= 0;
5407 PyObject
* _argo1
= 0;
5410 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_IsBold",&_argo0
,&_argo1
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5430 wxPy_END_ALLOW_THREADS
;
5431 } _resultobj
= Py_BuildValue("i",_result
);
5435 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5436 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
) {
5437 PyObject
* _resultobj
;
5438 wxTreeItemId
* _result
;
5441 PyObject
* _argo0
= 0;
5442 PyObject
* _argo1
= 0;
5446 if(!PyArg_ParseTuple(args
,"OO:wxTreeCtrl_HitTest",&_argo0
,&_argo1
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
5458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5466 wxPy_END_ALLOW_THREADS
;
5467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5468 _resultobj
= Py_BuildValue("s",_ptemp
);
5472 static PyMethodDef controls2cMethods
[] = {
5473 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
},
5474 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
},
5475 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
},
5476 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
},
5477 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
},
5478 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
},
5479 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
},
5480 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
},
5481 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
},
5482 { "wxTreeCtrl_UnselectAll", _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
},
5483 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
},
5484 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
},
5485 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
},
5486 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
},
5487 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand
, METH_VARARGS
},
5488 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
},
5489 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
},
5490 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete
, METH_VARARGS
},
5491 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
},
5492 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
},
5493 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
},
5494 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
},
5495 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
},
5496 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
},
5497 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
},
5498 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
},
5499 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
},
5500 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
},
5501 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
},
5502 { "wxTreeCtrl_GetChildrenCount", _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
},
5503 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent
, METH_VARARGS
},
5504 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
},
5505 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
},
5506 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
},
5507 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
},
5508 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
},
5509 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
},
5510 { "wxTreeCtrl_SetPyData", _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
},
5511 { "wxTreeCtrl_GetPyData", _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
},
5512 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
},
5513 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
},
5514 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
},
5515 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
},
5516 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
},
5517 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
},
5518 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
},
5519 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
},
5520 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
},
5521 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
},
5522 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
},
5523 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
},
5524 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
},
5525 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
},
5526 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
},
5527 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
},
5528 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl
, METH_VARARGS
},
5529 { "wxTreeEvent_GetLabel", _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
},
5530 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode
, METH_VARARGS
},
5531 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
},
5532 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
},
5533 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem
, METH_VARARGS
},
5534 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId
, METH_VARARGS
},
5535 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId
, METH_VARARGS
},
5536 { "wxTreeItemData_SetData", _wrap_wxTreeItemData_SetData
, METH_VARARGS
},
5537 { "wxTreeItemData_GetData", _wrap_wxTreeItemData_GetData
, METH_VARARGS
},
5538 { "new_wxTreeItemData", _wrap_new_wxTreeItemData
, METH_VARARGS
},
5539 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk
, METH_VARARGS
},
5540 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId
, METH_VARARGS
},
5541 { "new_wxTreeItemId", _wrap_new_wxTreeItemId
, METH_VARARGS
},
5542 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
},
5543 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
},
5544 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText
, METH_VARARGS
},
5545 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState
, METH_VARARGS
},
5546 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
},
5547 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
},
5548 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData
, METH_VARARGS
},
5549 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
},
5550 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem
, METH_VARARGS
},
5551 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList
, METH_VARARGS
},
5552 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
},
5553 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn
, METH_VARARGS
},
5554 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
},
5555 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList
, METH_VARARGS
},
5556 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
},
5557 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
},
5558 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
},
5559 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem
, METH_VARARGS
},
5560 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
},
5561 { "wxListCtrl_InsertColumnWith", _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
},
5562 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest
, METH_VARARGS
},
5563 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
},
5564 { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
},
5565 { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
},
5566 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
},
5567 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
},
5568 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText
, METH_VARARGS
},
5569 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
},
5570 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
},
5571 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState
, METH_VARARGS
},
5572 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
},
5573 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
},
5574 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem
, METH_VARARGS
},
5575 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData
, METH_VARARGS
},
5576 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList
, METH_VARARGS
},
5577 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
},
5578 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
},
5579 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn
, METH_VARARGS
},
5580 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
},
5581 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData
, METH_VARARGS
},
5582 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem
, METH_VARARGS
},
5583 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
},
5584 { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
},
5585 { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
},
5586 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel
, METH_VARARGS
},
5587 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll
, METH_VARARGS
},
5588 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
},
5589 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
},
5590 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
},
5591 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
},
5592 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange
, METH_VARARGS
},
5593 { "new_wxListCtrl", _wrap_new_wxListCtrl
, METH_VARARGS
},
5594 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get
, METH_VARARGS
},
5595 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set
, METH_VARARGS
},
5596 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
},
5597 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
},
5598 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
},
5599 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
},
5600 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get
, METH_VARARGS
},
5601 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set
, METH_VARARGS
},
5602 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
},
5603 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
},
5604 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
},
5605 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
},
5606 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get
, METH_VARARGS
},
5607 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set
, METH_VARARGS
},
5608 { "delete_wxListItem", _wrap_delete_wxListItem
, METH_VARARGS
},
5609 { "new_wxListItem", _wrap_new_wxListItem
, METH_VARARGS
},
5610 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get
, METH_VARARGS
},
5611 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set
, METH_VARARGS
},
5612 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get
, METH_VARARGS
},
5613 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set
, METH_VARARGS
},
5614 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get
, METH_VARARGS
},
5615 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set
, METH_VARARGS
},
5616 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get
, METH_VARARGS
},
5617 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set
, METH_VARARGS
},
5618 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get
, METH_VARARGS
},
5619 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set
, METH_VARARGS
},
5620 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
},
5621 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
},
5622 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get
, METH_VARARGS
},
5623 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set
, METH_VARARGS
},
5624 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get
, METH_VARARGS
},
5625 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set
, METH_VARARGS
},
5626 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get
, METH_VARARGS
},
5627 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set
, METH_VARARGS
},
5628 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get
, METH_VARARGS
},
5629 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set
, METH_VARARGS
},
5636 * This table is used by the pointer type-checker
5638 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5639 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5640 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5641 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5642 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5643 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5644 { "_wxEvent","_class_wxEvent",0},
5645 { "_class_wxActivateEvent","_wxActivateEvent",0},
5646 { "_signed_long","_long",0},
5647 { "_wxMenuEvent","_class_wxMenuEvent",0},
5648 { "_wxPrintQuality","_int",0},
5649 { "_wxPrintQuality","_signed_int",0},
5650 { "_wxPrintQuality","_unsigned_int",0},
5651 { "_wxPrintQuality","_wxWindowID",0},
5652 { "_wxPrintQuality","_uint",0},
5653 { "_wxPrintQuality","_EBool",0},
5654 { "_wxPrintQuality","_size_t",0},
5655 { "_class_wxRegionIterator","_wxRegionIterator",0},
5656 { "_class_wxMenuBar","_wxMenuBar",0},
5657 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5658 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5659 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5660 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5661 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5662 { "_class_wxEvtHandler","_wxEvtHandler",0},
5663 { "_wxPaintEvent","_class_wxPaintEvent",0},
5664 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5665 { "_wxCursor","_class_wxCursor",0},
5666 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5667 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5668 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5669 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5670 { "_wxMask","_class_wxMask",0},
5671 { "_wxPen","_class_wxPen",0},
5672 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5673 { "_byte","_unsigned_char",0},
5674 { "_wxStaticBox","_class_wxStaticBox",0},
5675 { "_wxChoice","_class_wxChoice",0},
5676 { "_wxSlider","_class_wxSlider",0},
5677 { "_long","_wxDash",0},
5678 { "_long","_unsigned_long",0},
5679 { "_long","_signed_long",0},
5680 { "_wxImageList","_class_wxImageList",0},
5681 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5682 { "_wxBitmapButton","_class_wxBitmapButton",0},
5683 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5684 { "_class_wxGauge","_wxGauge",0},
5685 { "_wxDC","_class_wxDC",0},
5686 { "_wxListEvent","_class_wxListEvent",0},
5687 { "_wxSpinEvent","_class_wxSpinEvent",0},
5688 { "_size_t","_wxPrintQuality",0},
5689 { "_size_t","_unsigned_int",0},
5690 { "_size_t","_int",0},
5691 { "_size_t","_wxWindowID",0},
5692 { "_size_t","_uint",0},
5693 { "_class_wxRealPoint","_wxRealPoint",0},
5694 { "_wxPrinterDC","_class_wxPrinterDC",0},
5695 { "_class_wxMenuItem","_wxMenuItem",0},
5696 { "_class_wxPaintEvent","_wxPaintEvent",0},
5697 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5698 { "_wxPanel","_class_wxPanel",0},
5699 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5700 { "_wxCheckBox","_class_wxCheckBox",0},
5701 { "_wxPyEvent","_class_wxPyEvent",0},
5702 { "_wxTextCtrl","_class_wxTextCtrl",0},
5703 { "_class_wxMask","_wxMask",0},
5704 { "_class_wxKeyEvent","_wxKeyEvent",0},
5705 { "_wxColour","_class_wxColour",0},
5706 { "_class_wxDialog","_wxDialog",0},
5707 { "_wxIdleEvent","_class_wxIdleEvent",0},
5708 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5709 { "_wxStaticLine","_class_wxStaticLine",0},
5710 { "_wxBrush","_class_wxBrush",0},
5711 { "_wxShowEvent","_class_wxShowEvent",0},
5712 { "_uint","_wxPrintQuality",0},
5713 { "_uint","_size_t",0},
5714 { "_uint","_unsigned_int",0},
5715 { "_uint","_int",0},
5716 { "_uint","_wxWindowID",0},
5717 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5718 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5719 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5720 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5721 { "_class_wxEvent","_wxEvent",0},
5722 { "_wxCheckListBox","_class_wxCheckListBox",0},
5723 { "_wxRect","_class_wxRect",0},
5724 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5725 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5726 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5727 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5728 { "_wxCommandEvent","_class_wxCommandEvent",0},
5729 { "_wxSizeEvent","_class_wxSizeEvent",0},
5730 { "_wxPoint","_class_wxPoint",0},
5731 { "_class_wxButton","_wxButton",0},
5732 { "_wxRadioBox","_class_wxRadioBox",0},
5733 { "_wxBitmap","_class_wxBitmap",0},
5734 { "_wxPyTimer","_class_wxPyTimer",0},
5735 { "_wxWindowDC","_class_wxWindowDC",0},
5736 { "_wxScrollBar","_class_wxScrollBar",0},
5737 { "_wxSpinButton","_class_wxSpinButton",0},
5738 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5739 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5740 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5741 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5742 { "_class_wxPyEvent","_wxPyEvent",0},
5743 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5744 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5745 { "_wxListItem","_class_wxListItem",0},
5746 { "_class_wxStaticLine","_wxStaticLine",0},
5747 { "_wxScrollEvent","_class_wxScrollEvent",0},
5748 { "_EBool","_wxPrintQuality",0},
5749 { "_EBool","_signed_int",0},
5750 { "_EBool","_int",0},
5751 { "_EBool","_wxWindowID",0},
5752 { "_class_wxRegion","_wxRegion",0},
5753 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5754 { "_wxStaticText","_class_wxStaticText",0},
5755 { "_wxFont","_class_wxFont",0},
5756 { "_wxCloseEvent","_class_wxCloseEvent",0},
5757 { "_unsigned_long","_wxDash",0},
5758 { "_unsigned_long","_long",0},
5759 { "_class_wxRect","_wxRect",0},
5760 { "_class_wxDC","_wxDC",0},
5761 { "_class_wxTreeEvent","_wxTreeEvent",0},
5762 { "_class_wxPyTimer","_wxPyTimer",0},
5763 { "_wxFocusEvent","_class_wxFocusEvent",0},
5764 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5765 { "_class_wxSpinButton","_wxSpinButton",0},
5766 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5767 { "_class_wxPanel","_wxPanel",0},
5768 { "_class_wxCheckBox","_wxCheckBox",0},
5769 { "_wxComboBox","_class_wxComboBox",0},
5770 { "_wxRadioButton","_class_wxRadioButton",0},
5771 { "_signed_int","_wxPrintQuality",0},
5772 { "_signed_int","_EBool",0},
5773 { "_signed_int","_wxWindowID",0},
5774 { "_signed_int","_int",0},
5775 { "_class_wxTextCtrl","_wxTextCtrl",0},
5776 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5777 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5778 { "_wxMenu","_class_wxMenu",0},
5779 { "_class_wxMoveEvent","_wxMoveEvent",0},
5780 { "_wxListBox","_class_wxListBox",0},
5781 { "_wxScreenDC","_class_wxScreenDC",0},
5782 { "_WXTYPE","_short",0},
5783 { "_WXTYPE","_signed_short",0},
5784 { "_WXTYPE","_unsigned_short",0},
5785 { "_class_wxBrush","_wxBrush",0},
5786 { "_unsigned_short","_WXTYPE",0},
5787 { "_unsigned_short","_short",0},
5788 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5789 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5790 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5791 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5792 { "_class_wxWindow","_wxWindow",0},
5793 { "_class_wxStaticText","_wxStaticText",0},
5794 { "_class_wxFont","_wxFont",0},
5795 { "_class_wxCloseEvent","_wxCloseEvent",0},
5796 { "_class_wxMenuEvent","_wxMenuEvent",0},
5797 { "_wxClientDC","_class_wxClientDC",0},
5798 { "_wxMouseEvent","_class_wxMouseEvent",0},
5799 { "_wxListCtrl","_class_wxListCtrl",0},
5800 { "_class_wxPoint","_wxPoint",0},
5801 { "_wxRealPoint","_class_wxRealPoint",0},
5802 { "_class_wxRadioBox","_wxRadioBox",0},
5803 { "_signed_short","_WXTYPE",0},
5804 { "_signed_short","_short",0},
5805 { "_wxMemoryDC","_class_wxMemoryDC",0},
5806 { "_wxPaintDC","_class_wxPaintDC",0},
5807 { "_class_wxWindowDC","_wxWindowDC",0},
5808 { "_class_wxFocusEvent","_wxFocusEvent",0},
5809 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5810 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5811 { "_class_wxCursor","_wxCursor",0},
5812 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5813 { "_wxTreeItemId","_class_wxTreeItemId",0},
5814 { "_unsigned_char","_byte",0},
5815 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5816 { "_class_wxMenu","_wxMenu",0},
5817 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5818 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5819 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5820 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5821 { "_wxControl","_class_wxControl",0},
5822 { "_class_wxListBox","_wxListBox",0},
5823 { "_unsigned_int","_wxPrintQuality",0},
5824 { "_unsigned_int","_size_t",0},
5825 { "_unsigned_int","_uint",0},
5826 { "_unsigned_int","_wxWindowID",0},
5827 { "_unsigned_int","_int",0},
5828 { "_wxIcon","_class_wxIcon",0},
5829 { "_wxDialog","_class_wxDialog",0},
5830 { "_class_wxListItem","_wxListItem",0},
5831 { "_class_wxPen","_wxPen",0},
5832 { "_short","_WXTYPE",0},
5833 { "_short","_unsigned_short",0},
5834 { "_short","_signed_short",0},
5835 { "_class_wxStaticBox","_wxStaticBox",0},
5836 { "_class_wxScrollEvent","_wxScrollEvent",0},
5837 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5838 { "_class_wxChoice","_wxChoice",0},
5839 { "_class_wxSlider","_wxSlider",0},
5840 { "_class_wxImageList","_wxImageList",0},
5841 { "_class_wxBitmapButton","_wxBitmapButton",0},
5842 { "_wxWindowID","_wxPrintQuality",0},
5843 { "_wxWindowID","_size_t",0},
5844 { "_wxWindowID","_EBool",0},
5845 { "_wxWindowID","_uint",0},
5846 { "_wxWindowID","_int",0},
5847 { "_wxWindowID","_signed_int",0},
5848 { "_wxWindowID","_unsigned_int",0},
5849 { "_int","_wxPrintQuality",0},
5850 { "_int","_size_t",0},
5851 { "_int","_EBool",0},
5852 { "_int","_uint",0},
5853 { "_int","_wxWindowID",0},
5854 { "_int","_unsigned_int",0},
5855 { "_int","_signed_int",0},
5856 { "_class_wxMouseEvent","_wxMouseEvent",0},
5857 { "_class_wxListEvent","_wxListEvent",0},
5858 { "_class_wxSpinEvent","_wxSpinEvent",0},
5859 { "_wxButton","_class_wxButton",0},
5860 { "_wxSize","_class_wxSize",0},
5861 { "_wxRegionIterator","_class_wxRegionIterator",0},
5862 { "_class_wxPrinterDC","_wxPrinterDC",0},
5863 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
5864 { "_class_wxPaintDC","_wxPaintDC",0},
5865 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5866 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5867 { "_class_wxComboBox","_wxComboBox",0},
5868 { "_class_wxRadioButton","_wxRadioButton",0},
5869 { "_class_wxTreeItemId","_wxTreeItemId",0},
5870 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
5871 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5872 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5873 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5874 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5875 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5876 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5877 { "_class_wxControl","_wxControl",0},
5878 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5879 { "_class_wxIcon","_wxIcon",0},
5880 { "_class_wxColour","_wxColour",0},
5881 { "_class_wxScreenDC","_wxScreenDC",0},
5882 { "_wxPalette","_class_wxPalette",0},
5883 { "_class_wxIdleEvent","_wxIdleEvent",0},
5884 { "_wxEraseEvent","_class_wxEraseEvent",0},
5885 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5886 { "_wxRegion","_class_wxRegion",0},
5887 { "_class_wxShowEvent","_wxShowEvent",0},
5888 { "_wxActivateEvent","_class_wxActivateEvent",0},
5889 { "_wxGauge","_class_wxGauge",0},
5890 { "_class_wxCheckListBox","_wxCheckListBox",0},
5891 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5892 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5893 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5894 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5895 { "_class_wxCommandEvent","_wxCommandEvent",0},
5896 { "_class_wxClientDC","_wxClientDC",0},
5897 { "_class_wxSizeEvent","_wxSizeEvent",0},
5898 { "_class_wxListCtrl","_wxListCtrl",0},
5899 { "_class_wxSize","_wxSize",0},
5900 { "_class_wxBitmap","_wxBitmap",0},
5901 { "_class_wxMemoryDC","_wxMemoryDC",0},
5902 { "_wxMenuBar","_class_wxMenuBar",0},
5903 { "_wxTreeEvent","_class_wxTreeEvent",0},
5904 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5905 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5906 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5907 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5908 { "_wxEvtHandler","_class_wxEvtHandler",0},
5909 { "_wxMenuItem","_class_wxMenuItem",0},
5910 { "_class_wxScrollBar","_wxScrollBar",0},
5911 { "_wxDash","_unsigned_long",0},
5912 { "_wxDash","_long",0},
5913 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5914 { "_wxKeyEvent","_class_wxKeyEvent",0},
5915 { "_wxMoveEvent","_class_wxMoveEvent",0},
5916 { "_class_wxPalette","_wxPalette",0},
5917 { "_class_wxEraseEvent","_wxEraseEvent",0},
5918 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5919 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5920 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5921 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5922 { "_wxWindow","_class_wxWindow",0},
5925 static PyObject
*SWIG_globals
;
5929 SWIGEXPORT(void) initcontrols2c() {
5931 SWIG_globals
= SWIG_newvarlink();
5932 m
= Py_InitModule("controls2c", controls2cMethods
);
5933 d
= PyModule_GetDict(m
);
5934 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5935 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5936 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5937 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5938 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5939 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
5940 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5941 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5942 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5943 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5944 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5945 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5946 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5947 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5948 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5949 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5950 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5951 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5952 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5953 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5954 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5955 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5956 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5957 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5958 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5959 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5960 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5961 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5962 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5963 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5964 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5965 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5966 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5967 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5968 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5969 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5970 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5971 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5972 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5973 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5974 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5975 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5976 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5979 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5980 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);