2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
111 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
115 HELPEREXPORT 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 bool doSave
= wxPyRestoreThread();
134 wxPySaveThread(doSave
);
137 PyObject
* GetData() {
142 void SetData(PyObject
* obj
) {
153 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
154 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
159 PyObject
* _argo0
= 0;
160 char *_kwnames
[] = { "self","m_mask", NULL
};
163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
173 wxPy_BEGIN_ALLOW_THREADS
;
174 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
176 wxPy_END_ALLOW_THREADS
;
177 } _resultobj
= Py_BuildValue("l",_result
);
181 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
182 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
186 PyObject
* _argo0
= 0;
187 char *_kwnames
[] = { "self", NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
200 wxPy_BEGIN_ALLOW_THREADS
;
201 _result
= (long )wxListItem_m_mask_get(_arg0
);
203 wxPy_END_ALLOW_THREADS
;
204 } _resultobj
= Py_BuildValue("l",_result
);
208 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
209 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self","m_itemId", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
231 wxPy_END_ALLOW_THREADS
;
232 } _resultobj
= Py_BuildValue("l",_result
);
236 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
237 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "self", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_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
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
269 PyObject
* _argo0
= 0;
270 char *_kwnames
[] = { "self","m_col", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
286 wxPy_END_ALLOW_THREADS
;
287 } _resultobj
= Py_BuildValue("i",_result
);
291 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
292 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
310 wxPy_BEGIN_ALLOW_THREADS
;
311 _result
= (int )wxListItem_m_col_get(_arg0
);
313 wxPy_END_ALLOW_THREADS
;
314 } _resultobj
= Py_BuildValue("i",_result
);
318 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
319 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self","m_state", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
341 wxPy_END_ALLOW_THREADS
;
342 } _resultobj
= Py_BuildValue("l",_result
);
346 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
347 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= (long )wxListItem_m_state_get(_arg0
);
368 wxPy_END_ALLOW_THREADS
;
369 } _resultobj
= Py_BuildValue("l",_result
);
373 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
374 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
379 PyObject
* _argo0
= 0;
380 char *_kwnames
[] = { "self","m_stateMask", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("l",_result
);
401 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
402 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
406 PyObject
* _argo0
= 0;
407 char *_kwnames
[] = { "self", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
420 wxPy_BEGIN_ALLOW_THREADS
;
421 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
423 wxPy_END_ALLOW_THREADS
;
424 } _resultobj
= Py_BuildValue("l",_result
);
428 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
429 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
434 PyObject
* _argo0
= 0;
435 PyObject
* _obj1
= 0;
436 char *_kwnames
[] = { "self","m_text", NULL
};
439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
449 if (!PyString_Check(_obj1
)) {
450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
453 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
456 wxPy_BEGIN_ALLOW_THREADS
;
457 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
459 wxPy_END_ALLOW_THREADS
;
461 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
470 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
471 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 PyObject
* _resultobj
;
475 PyObject
* _argo0
= 0;
476 char *_kwnames
[] = { "self", NULL
};
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
489 wxPy_BEGIN_ALLOW_THREADS
;
490 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
492 wxPy_END_ALLOW_THREADS
;
494 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
499 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
500 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
505 PyObject
* _argo0
= 0;
506 char *_kwnames
[] = { "self","m_image", NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
522 wxPy_END_ALLOW_THREADS
;
523 } _resultobj
= Py_BuildValue("i",_result
);
527 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
528 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
532 PyObject
* _argo0
= 0;
533 char *_kwnames
[] = { "self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
546 wxPy_BEGIN_ALLOW_THREADS
;
547 _result
= (int )wxListItem_m_image_get(_arg0
);
549 wxPy_END_ALLOW_THREADS
;
550 } _resultobj
= Py_BuildValue("i",_result
);
554 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
555 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self","m_data", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
574 wxPy_BEGIN_ALLOW_THREADS
;
575 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
577 wxPy_END_ALLOW_THREADS
;
578 } _resultobj
= Py_BuildValue("l",_result
);
582 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
583 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
587 PyObject
* _argo0
= 0;
588 char *_kwnames
[] = { "self", NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
601 wxPy_BEGIN_ALLOW_THREADS
;
602 _result
= (long )wxListItem_m_data_get(_arg0
);
604 wxPy_END_ALLOW_THREADS
;
605 } _resultobj
= Py_BuildValue("l",_result
);
609 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
610 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
615 PyObject
* _argo0
= 0;
616 char *_kwnames
[] = { "self","m_format", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
629 wxPy_BEGIN_ALLOW_THREADS
;
630 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
632 wxPy_END_ALLOW_THREADS
;
633 } _resultobj
= Py_BuildValue("i",_result
);
637 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
638 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (int )wxListItem_m_format_get(_arg0
);
659 wxPy_END_ALLOW_THREADS
;
660 } _resultobj
= Py_BuildValue("i",_result
);
664 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
665 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
670 PyObject
* _argo0
= 0;
671 char *_kwnames
[] = { "self","m_width", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
684 wxPy_BEGIN_ALLOW_THREADS
;
685 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
687 wxPy_END_ALLOW_THREADS
;
688 } _resultobj
= Py_BuildValue("i",_result
);
692 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
693 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
694 PyObject
* _resultobj
;
697 PyObject
* _argo0
= 0;
698 char *_kwnames
[] = { "self", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= (int )wxListItem_m_width_get(_arg0
);
714 wxPy_END_ALLOW_THREADS
;
715 } _resultobj
= Py_BuildValue("i",_result
);
719 #define new_wxListItem() (new wxListItem())
720 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
722 wxListItem
* _result
;
723 char *_kwnames
[] = { NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= (wxListItem
*)new_wxListItem();
733 wxPy_END_ALLOW_THREADS
;
735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
736 _resultobj
= Py_BuildValue("s",_ptemp
);
739 _resultobj
= Py_None
;
744 #define delete_wxListItem(_swigobj) (delete _swigobj)
745 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
762 wxPy_BEGIN_ALLOW_THREADS
;
763 delete_wxListItem(_arg0
);
765 wxPy_END_ALLOW_THREADS
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
773 wxCommandEvent
*dest
;
774 src
= (wxListEvent
*) ptr
;
775 dest
= (wxCommandEvent
*) src
;
776 return (void *) dest
;
779 static void *SwigwxListEventTowxEvent(void *ptr
) {
782 src
= (wxListEvent
*) ptr
;
783 dest
= (wxEvent
*) src
;
784 return (void *) dest
;
787 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
788 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
793 PyObject
* _argo0
= 0;
794 char *_kwnames
[] = { "self","m_code", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
810 wxPy_END_ALLOW_THREADS
;
811 } _resultobj
= Py_BuildValue("i",_result
);
815 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
816 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 _result
= (int )wxListEvent_m_code_get(_arg0
);
837 wxPy_END_ALLOW_THREADS
;
838 } _resultobj
= Py_BuildValue("i",_result
);
842 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
843 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
848 PyObject
* _argo0
= 0;
849 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
862 wxPy_BEGIN_ALLOW_THREADS
;
863 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
865 wxPy_END_ALLOW_THREADS
;
866 } _resultobj
= Py_BuildValue("l",_result
);
870 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
871 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
889 wxPy_BEGIN_ALLOW_THREADS
;
890 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
892 wxPy_END_ALLOW_THREADS
;
893 } _resultobj
= Py_BuildValue("l",_result
);
897 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
898 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
903 PyObject
* _argo0
= 0;
904 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
917 wxPy_BEGIN_ALLOW_THREADS
;
918 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
920 wxPy_END_ALLOW_THREADS
;
921 } _resultobj
= Py_BuildValue("l",_result
);
925 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
926 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
947 wxPy_END_ALLOW_THREADS
;
948 } _resultobj
= Py_BuildValue("l",_result
);
952 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
953 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self","m_col", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
975 wxPy_END_ALLOW_THREADS
;
976 } _resultobj
= Py_BuildValue("i",_result
);
980 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
981 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
999 wxPy_BEGIN_ALLOW_THREADS
;
1000 _result
= (int )wxListEvent_m_col_get(_arg0
);
1002 wxPy_END_ALLOW_THREADS
;
1003 } _resultobj
= Py_BuildValue("i",_result
);
1007 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1008 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 wxListEvent
* _arg0
;
1013 PyObject
* _argo0
= 0;
1015 char *_kwnames
[] = { "self","m_cancelled", NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
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_set. Expected _wxListEvent_p.");
1027 _arg1
= (bool ) tempbool1
;
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1032 wxPy_END_ALLOW_THREADS
;
1033 } _resultobj
= Py_BuildValue("i",_result
);
1037 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1038 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1041 wxListEvent
* _arg0
;
1042 PyObject
* _argo0
= 0;
1043 char *_kwnames
[] = { "self", NULL
};
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
1049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1056 wxPy_BEGIN_ALLOW_THREADS
;
1057 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1059 wxPy_END_ALLOW_THREADS
;
1060 } _resultobj
= Py_BuildValue("i",_result
);
1064 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1065 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 wxListEvent
* _arg0
;
1070 PyObject
* _argo0
= 0;
1071 PyObject
* _argo1
= 0;
1072 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_argo1
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1096 wxPy_END_ALLOW_THREADS
;
1098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1099 _resultobj
= Py_BuildValue("s",_ptemp
);
1102 _resultobj
= Py_None
;
1107 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1108 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1111 wxListEvent
* _arg0
;
1112 PyObject
* _argo0
= 0;
1113 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1130 wxPy_END_ALLOW_THREADS
;
1132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1133 _resultobj
= Py_BuildValue("s",_ptemp
);
1136 _resultobj
= Py_None
;
1141 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1142 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1144 wxListItem
* _result
;
1145 wxListEvent
* _arg0
;
1147 PyObject
* _argo0
= 0;
1148 PyObject
* _argo1
= 0;
1149 char *_kwnames
[] = { "self","m_item", NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
1156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1173 wxPy_END_ALLOW_THREADS
;
1175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1176 _resultobj
= Py_BuildValue("s",_ptemp
);
1179 _resultobj
= Py_None
;
1184 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1185 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1187 wxListItem
* _result
;
1188 wxListEvent
* _arg0
;
1189 PyObject
* _argo0
= 0;
1190 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1204 wxPy_BEGIN_ALLOW_THREADS
;
1205 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1207 wxPy_END_ALLOW_THREADS
;
1209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1210 _resultobj
= Py_BuildValue("s",_ptemp
);
1213 _resultobj
= Py_None
;
1218 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1221 src
= (wxListCtrl
*) ptr
;
1222 dest
= (wxControl
*) src
;
1223 return (void *) dest
;
1226 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1229 src
= (wxListCtrl
*) ptr
;
1230 dest
= (wxWindow
*) src
;
1231 return (void *) dest
;
1234 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1237 src
= (wxListCtrl
*) ptr
;
1238 dest
= (wxEvtHandler
*) src
;
1239 return (void *) dest
;
1242 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1243 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxListCtrl
* _result
;
1248 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1249 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1250 long _arg4
= (long ) wxLC_ICON
;
1251 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1252 char * _arg6
= (char *) "listCtrl";
1253 PyObject
* _argo0
= 0;
1254 PyObject
* _argo2
= 0;
1255 PyObject
* _argo3
= 0;
1256 PyObject
* _argo5
= 0;
1257 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
1264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1271 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1278 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1285 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1295 wxPy_END_ALLOW_THREADS
;
1297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1298 _resultobj
= Py_BuildValue("s",_ptemp
);
1301 _resultobj
= Py_None
;
1306 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1307 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1311 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1312 PyObject
* _argo0
= 0;
1313 char *_kwnames
[] = { "self","flag", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1329 wxPy_END_ALLOW_THREADS
;
1330 } _resultobj
= Py_BuildValue("i",_result
);
1334 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1335 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1340 PyObject
* _argo0
= 0;
1341 char *_kwnames
[] = { "self","item", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1357 wxPy_END_ALLOW_THREADS
;
1358 } _resultobj
= Py_BuildValue("i",_result
);
1362 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1363 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1367 PyObject
* _argo0
= 0;
1368 char *_kwnames
[] = { "self", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1381 wxPy_BEGIN_ALLOW_THREADS
;
1382 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1384 wxPy_END_ALLOW_THREADS
;
1385 } _resultobj
= Py_BuildValue("i",_result
);
1389 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1390 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1395 PyObject
* _argo0
= 0;
1396 char *_kwnames
[] = { "self","col", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
1402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1409 wxPy_BEGIN_ALLOW_THREADS
;
1410 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1412 wxPy_END_ALLOW_THREADS
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1418 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1445 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "self", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 wxListCtrl_ClearAll(_arg0
);
1465 wxPy_END_ALLOW_THREADS
;
1466 } Py_INCREF(Py_None
);
1467 _resultobj
= Py_None
;
1471 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1472 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 wxTextCtrl
* _result
;
1477 PyObject
* _argo0
= 0;
1478 char *_kwnames
[] = { "self","item", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1495 wxPy_END_ALLOW_THREADS
;
1497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1498 _resultobj
= Py_BuildValue("s",_ptemp
);
1501 _resultobj
= Py_None
;
1506 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1507 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1512 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","cancel", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1526 _arg1
= (bool ) tempbool1
;
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1531 wxPy_END_ALLOW_THREADS
;
1532 } _resultobj
= Py_BuildValue("i",_result
);
1536 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1537 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1539 wxTextCtrl
* _result
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1559 wxPy_END_ALLOW_THREADS
;
1561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1562 _resultobj
= Py_BuildValue("s",_ptemp
);
1565 _resultobj
= Py_None
;
1570 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1571 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self","item", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1593 wxPy_END_ALLOW_THREADS
;
1594 } _resultobj
= Py_BuildValue("i",_result
);
1598 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1599 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1605 bool _arg3
= (bool ) FALSE
;
1606 PyObject
* _argo0
= 0;
1607 PyObject
* _obj2
= 0;
1608 int tempbool3
= (int) FALSE
;
1609 char *_kwnames
[] = { "self","start","str","partial", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1622 if (!PyString_Check(_obj2
)) {
1623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1626 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1628 _arg3
= (bool ) tempbool3
;
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } _resultobj
= Py_BuildValue("l",_result
);
1642 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1643 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self","start","data", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1666 wxPy_END_ALLOW_THREADS
;
1667 } _resultobj
= Py_BuildValue("l",_result
);
1671 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1672 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1679 PyObject
* _argo0
= 0;
1680 PyObject
* _argo2
= 0;
1681 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1694 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1695 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1701 wxPy_BEGIN_ALLOW_THREADS
;
1702 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1704 wxPy_END_ALLOW_THREADS
;
1705 } _resultobj
= Py_BuildValue("l",_result
);
1709 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1710 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 PyObject
* _argo2
= 0;
1718 char *_kwnames
[] = { "self","col","item", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1731 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } _resultobj
= Py_BuildValue("i",_result
);
1746 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1747 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self","col", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1769 wxPy_END_ALLOW_THREADS
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1774 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1775 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1796 wxPy_END_ALLOW_THREADS
;
1797 } _resultobj
= Py_BuildValue("i",_result
);
1801 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1802 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 wxImageList
* _result
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self","which", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1825 wxPy_END_ALLOW_THREADS
;
1827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1828 _resultobj
= Py_BuildValue("s",_ptemp
);
1831 _resultobj
= Py_None
;
1836 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1837 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self","item", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1859 wxPy_END_ALLOW_THREADS
;
1860 } _resultobj
= Py_BuildValue("l",_result
);
1864 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1865 wxListItem
* info
= new wxListItem
;
1866 info
->m_itemId
= itemId
;
1867 self
->GetItem(*info
);
1870 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1872 wxListItem
* _result
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self","itemId", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1893 wxPy_END_ALLOW_THREADS
;
1895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1896 _resultobj
= Py_BuildValue("s",_ptemp
);
1899 _resultobj
= Py_None
;
1904 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1905 wxPoint
* pos
= new wxPoint
;
1906 self
->GetItemPosition(item
, *pos
);
1909 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self","item", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1929 wxPy_BEGIN_ALLOW_THREADS
;
1930 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1932 wxPy_END_ALLOW_THREADS
;
1934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1935 _resultobj
= Py_BuildValue("s",_ptemp
);
1938 _resultobj
= Py_None
;
1943 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1944 wxRect
* rect
= new wxRect
;
1945 self
->GetItemRect(item
, *rect
, code
);
1948 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1953 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self","item","code", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1972 wxPy_END_ALLOW_THREADS
;
1974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1975 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 _resultobj
= Py_None
;
1983 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1984 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2012 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
2013 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2017 PyObject
* _argo0
= 0;
2018 char *_kwnames
[] = { "self", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
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_GetItemCount. Expected _wxListCtrl_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
2040 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self","isSmall", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2059 _arg1
= (bool ) tempbool1
;
2061 wxPy_BEGIN_ALLOW_THREADS
;
2062 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
2064 wxPy_END_ALLOW_THREADS
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2070 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self","item", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2092 wxPy_END_ALLOW_THREADS
;
2094 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2102 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2103 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2108 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2109 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2124 wxPy_BEGIN_ALLOW_THREADS
;
2125 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2127 wxPy_END_ALLOW_THREADS
;
2128 } _resultobj
= Py_BuildValue("l",_result
);
2132 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2133 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "self", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } _resultobj
= Py_BuildValue("i",_result
);
2159 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2160 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2164 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
2182 wxPy_END_ALLOW_THREADS
;
2183 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2184 _resultobj
= Py_BuildValue("s",_ptemp
);
2188 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2189 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2193 PyObject
* _argo0
= 0;
2194 PyObject
* _argo1
= 0;
2195 char *_kwnames
[] = { "self","col", NULL
};
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
2201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2224 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2225 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2246 wxPy_END_ALLOW_THREADS
;
2247 } _resultobj
= Py_BuildValue("l",_result
);
2251 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2252 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 PyObject
* _argo1
= 0;
2261 char *_kwnames
[] = { "self","point", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_argo1
))
2270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
2284 wxPy_BEGIN_ALLOW_THREADS
;
2285 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2287 wxPy_END_ALLOW_THREADS
;
2288 } _resultobj
= Py_BuildValue("l",_result
);
2291 o
= PyInt_FromLong((long) (*_arg2
));
2292 _resultobj
= t_output_helper(_resultobj
, o
);
2297 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2298 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2304 PyObject
* _argo0
= 0;
2305 PyObject
* _argo2
= 0;
2306 char *_kwnames
[] = { "self","col","info", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2319 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } _resultobj
= Py_BuildValue("l",_result
);
2334 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2335 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2341 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2342 int _arg4
= (int ) -1;
2343 PyObject
* _argo0
= 0;
2344 PyObject
* _obj2
= 0;
2345 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2358 if (!PyString_Check(_obj2
)) {
2359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2362 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } _resultobj
= Py_BuildValue("l",_result
);
2377 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2378 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 PyObject
* _argo1
= 0;
2385 char *_kwnames
[] = { "self","info", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } _resultobj
= Py_BuildValue("l",_result
);
2413 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2414 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2420 PyObject
* _argo0
= 0;
2421 PyObject
* _obj2
= 0;
2422 char *_kwnames
[] = { "self","index","label", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2435 if (!PyString_Check(_obj2
)) {
2436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2439 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2445 wxPy_END_ALLOW_THREADS
;
2446 } _resultobj
= Py_BuildValue("l",_result
);
2454 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2455 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_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_InsertImageItem. Expected _wxListCtrl_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("l",_result
);
2483 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2484 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2491 PyObject
* _argo0
= 0;
2492 PyObject
* _obj2
= 0;
2493 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2506 if (!PyString_Check(_obj2
)) {
2507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2510 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2516 wxPy_END_ALLOW_THREADS
;
2517 } _resultobj
= Py_BuildValue("l",_result
);
2525 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2526 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self","dx","dy", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } _resultobj
= Py_BuildValue("i",_result
);
2554 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2555 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2559 PyObject
* _argo0
= 0;
2560 PyObject
* _argo1
= 0;
2561 char *_kwnames
[] = { "self","col", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
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_SetBackgroundColour. Expected _wxListCtrl_p.");
2574 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } Py_INCREF(Py_None
);
2586 _resultobj
= Py_None
;
2590 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2591 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2597 PyObject
* _argo0
= 0;
2598 PyObject
* _argo2
= 0;
2599 char *_kwnames
[] = { "self","col","item", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2612 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } _resultobj
= Py_BuildValue("i",_result
);
2627 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2628 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self","col","width", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2651 wxPy_END_ALLOW_THREADS
;
2652 } _resultobj
= Py_BuildValue("i",_result
);
2656 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2657 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2660 wxImageList
* _arg1
;
2662 PyObject
* _argo0
= 0;
2663 PyObject
* _argo1
= 0;
2664 char *_kwnames
[] = { "self","imageList","which", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2687 wxPy_END_ALLOW_THREADS
;
2688 } Py_INCREF(Py_None
);
2689 _resultobj
= Py_None
;
2693 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2694 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2699 PyObject
* _argo0
= 0;
2700 PyObject
* _argo1
= 0;
2701 char *_kwnames
[] = { "self","info", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } _resultobj
= Py_BuildValue("i",_result
);
2729 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2730 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
* _resultobj
;
2737 int _arg4
= (int ) -1;
2738 PyObject
* _argo0
= 0;
2739 PyObject
* _obj3
= 0;
2740 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2753 if (!PyString_Check(_obj3
)) {
2754 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2757 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } _resultobj
= Py_BuildValue("l",_result
);
2772 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2773 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self","item","data", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2796 wxPy_END_ALLOW_THREADS
;
2797 } _resultobj
= Py_BuildValue("i",_result
);
2801 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2802 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2826 wxPy_END_ALLOW_THREADS
;
2827 } _resultobj
= Py_BuildValue("i",_result
);
2831 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2832 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2838 PyObject
* _argo0
= 0;
2839 PyObject
* _argo2
= 0;
2840 char *_kwnames
[] = { "self","item","pos", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2853 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2869 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2876 PyObject
* _argo0
= 0;
2877 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2893 wxPy_END_ALLOW_THREADS
;
2894 } _resultobj
= Py_BuildValue("i",_result
);
2898 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2899 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2904 PyObject
* _argo0
= 0;
2905 PyObject
* _obj2
= 0;
2906 char *_kwnames
[] = { "self","item","text", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2919 if (!PyString_Check(_obj2
)) {
2920 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2923 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2939 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2940 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2944 bool _arg2
= (bool ) TRUE
;
2945 PyObject
* _argo0
= 0;
2946 int tempbool2
= (int) TRUE
;
2947 char *_kwnames
[] = { "self","style","add", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2959 _arg2
= (bool ) tempbool2
;
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2970 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2971 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 char *_kwnames
[] = { "self","style", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2992 wxPy_END_ALLOW_THREADS
;
2993 } Py_INCREF(Py_None
);
2994 _resultobj
= Py_None
;
2998 #define new_wxTreeItemId() (new wxTreeItemId())
2999 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3001 wxTreeItemId
* _result
;
3002 char *_kwnames
[] = { NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
3009 wxPy_BEGIN_ALLOW_THREADS
;
3010 _result
= (wxTreeItemId
*)new_wxTreeItemId();
3012 wxPy_END_ALLOW_THREADS
;
3014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3015 _resultobj
= Py_BuildValue("s",_ptemp
);
3018 _resultobj
= Py_None
;
3023 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
3024 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxTreeItemId
* _arg0
;
3027 PyObject
* _argo0
= 0;
3028 char *_kwnames
[] = { "self", NULL
};
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
3034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
3041 wxPy_BEGIN_ALLOW_THREADS
;
3042 delete_wxTreeItemId(_arg0
);
3044 wxPy_END_ALLOW_THREADS
;
3045 } Py_INCREF(Py_None
);
3046 _resultobj
= Py_None
;
3050 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
3051 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3054 wxTreeItemId
* _arg0
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
3069 wxPy_BEGIN_ALLOW_THREADS
;
3070 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
3072 wxPy_END_ALLOW_THREADS
;
3073 } _resultobj
= Py_BuildValue("i",_result
);
3077 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
3078 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3080 wxPyTreeItemData
* _result
;
3081 PyObject
* _arg0
= (PyObject
*) NULL
;
3082 PyObject
* _obj0
= 0;
3083 char *_kwnames
[] = { "obj", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
3097 wxPy_END_ALLOW_THREADS
;
3099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3100 _resultobj
= Py_BuildValue("s",_ptemp
);
3103 _resultobj
= Py_None
;
3108 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3109 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3112 wxPyTreeItemData
* _arg0
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
3130 wxPy_END_ALLOW_THREADS
;
3132 _resultobj
= _result
;
3137 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3138 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3140 wxPyTreeItemData
* _arg0
;
3142 PyObject
* _argo0
= 0;
3143 PyObject
* _obj1
= 0;
3144 char *_kwnames
[] = { "self","obj", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 wxTreeItemData_SetData(_arg0
,_arg1
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3169 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3170 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3172 wxTreeItemId
* _result
;
3173 wxPyTreeItemData
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 char *_kwnames
[] = { "self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3191 _result
= (wxTreeItemId
*) &_result_ref
;
3193 wxPy_END_ALLOW_THREADS
;
3195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3196 _resultobj
= Py_BuildValue("s",_ptemp
);
3199 _resultobj
= Py_None
;
3204 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3205 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3207 wxPyTreeItemData
* _arg0
;
3208 wxTreeItemId
* _arg1
;
3209 PyObject
* _argo0
= 0;
3210 PyObject
* _argo1
= 0;
3211 char *_kwnames
[] = { "self","id", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 wxTreeItemData_SetId(_arg0
,*_arg1
);
3234 wxPy_END_ALLOW_THREADS
;
3235 } Py_INCREF(Py_None
);
3236 _resultobj
= Py_None
;
3240 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3242 wxNotifyEvent
*dest
;
3243 src
= (wxTreeEvent
*) ptr
;
3244 dest
= (wxNotifyEvent
*) src
;
3245 return (void *) dest
;
3248 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3250 wxCommandEvent
*dest
;
3251 src
= (wxTreeEvent
*) ptr
;
3252 dest
= (wxCommandEvent
*) src
;
3253 return (void *) dest
;
3256 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3259 src
= (wxTreeEvent
*) ptr
;
3260 dest
= (wxEvent
*) src
;
3261 return (void *) dest
;
3264 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3265 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3267 wxTreeItemId
* _result
;
3268 wxTreeEvent
* _arg0
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3287 wxPy_END_ALLOW_THREADS
;
3288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3289 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3294 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3296 wxTreeItemId
* _result
;
3297 wxTreeEvent
* _arg0
;
3298 PyObject
* _argo0
= 0;
3299 char *_kwnames
[] = { "self", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3313 wxPy_BEGIN_ALLOW_THREADS
;
3314 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3316 wxPy_END_ALLOW_THREADS
;
3317 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3318 _resultobj
= Py_BuildValue("s",_ptemp
);
3322 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3323 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3326 wxTreeEvent
* _arg0
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3345 wxPy_END_ALLOW_THREADS
;
3346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3347 _resultobj
= Py_BuildValue("s",_ptemp
);
3351 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3352 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxTreeEvent
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3379 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 wxTreeEvent
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3399 _result
= (wxString
*) &_result_ref
;
3401 wxPy_END_ALLOW_THREADS
;
3403 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3408 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3411 src
= (wxTreeCtrl
*) ptr
;
3412 dest
= (wxControl
*) src
;
3413 return (void *) dest
;
3416 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3419 src
= (wxTreeCtrl
*) ptr
;
3420 dest
= (wxWindow
*) src
;
3421 return (void *) dest
;
3424 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3427 src
= (wxTreeCtrl
*) ptr
;
3428 dest
= (wxEvtHandler
*) src
;
3429 return (void *) dest
;
3432 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3433 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3435 wxTreeCtrl
* _result
;
3437 wxWindowID _arg1
= (wxWindowID
) -1;
3438 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3439 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3440 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3441 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3442 char * _arg6
= (char *) "wxTreeCtrl";
3443 PyObject
* _argo0
= 0;
3444 PyObject
* _argo2
= 0;
3445 PyObject
* _argo3
= 0;
3446 PyObject
* _argo5
= 0;
3447 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3461 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3468 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3475 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3482 wxPy_BEGIN_ALLOW_THREADS
;
3483 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3485 wxPy_END_ALLOW_THREADS
;
3487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3488 _resultobj
= Py_BuildValue("s",_ptemp
);
3491 _resultobj
= Py_None
;
3496 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3497 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3501 PyObject
* _argo0
= 0;
3502 char *_kwnames
[] = { "self", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3518 wxPy_END_ALLOW_THREADS
;
3519 } _resultobj
= Py_BuildValue("i",_result
);
3523 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3524 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 unsigned int _result
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3542 wxPy_BEGIN_ALLOW_THREADS
;
3543 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3545 wxPy_END_ALLOW_THREADS
;
3546 } _resultobj
= Py_BuildValue("i",_result
);
3550 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3551 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3555 PyObject
* _argo0
= 0;
3556 char *_kwnames
[] = { "self","indent", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3572 wxPy_END_ALLOW_THREADS
;
3573 } Py_INCREF(Py_None
);
3574 _resultobj
= Py_None
;
3578 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3579 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
* _resultobj
;
3581 wxImageList
* _result
;
3583 PyObject
* _argo0
= 0;
3584 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3601 wxPy_END_ALLOW_THREADS
;
3603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3604 _resultobj
= Py_BuildValue("s",_ptemp
);
3607 _resultobj
= Py_None
;
3612 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3613 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3615 wxImageList
* _result
;
3617 PyObject
* _argo0
= 0;
3618 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3635 wxPy_END_ALLOW_THREADS
;
3637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3638 _resultobj
= Py_BuildValue("s",_ptemp
);
3641 _resultobj
= Py_None
;
3646 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3647 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3650 wxImageList
* _arg1
;
3651 PyObject
* _argo0
= 0;
3652 PyObject
* _argo1
= 0;
3653 char *_kwnames
[] = { "self","imageList", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3676 wxPy_END_ALLOW_THREADS
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3683 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxImageList
* _arg1
;
3687 PyObject
* _argo0
= 0;
3688 PyObject
* _argo1
= 0;
3689 char *_kwnames
[] = { "self","imageList", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } Py_INCREF(Py_None
);
3714 _resultobj
= Py_None
;
3718 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3719 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3723 wxTreeItemId
* _arg1
;
3724 PyObject
* _argo0
= 0;
3725 PyObject
* _argo1
= 0;
3726 char *_kwnames
[] = { "self","item", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3746 wxPy_BEGIN_ALLOW_THREADS
;
3747 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3749 wxPy_END_ALLOW_THREADS
;
3751 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3759 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3760 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3764 wxTreeItemId
* _arg1
;
3765 PyObject
* _argo0
= 0;
3766 PyObject
* _argo1
= 0;
3767 char *_kwnames
[] = { "self","item", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3787 wxPy_BEGIN_ALLOW_THREADS
;
3788 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3790 wxPy_END_ALLOW_THREADS
;
3791 } _resultobj
= Py_BuildValue("i",_result
);
3795 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3796 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
* _resultobj
;
3800 wxTreeItemId
* _arg1
;
3801 PyObject
* _argo0
= 0;
3802 PyObject
* _argo1
= 0;
3803 char *_kwnames
[] = { "self","item", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3823 wxPy_BEGIN_ALLOW_THREADS
;
3824 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3826 wxPy_END_ALLOW_THREADS
;
3827 } _resultobj
= Py_BuildValue("i",_result
);
3831 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3832 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxTreeItemId
* _arg1
;
3837 PyObject
* _argo0
= 0;
3838 PyObject
* _argo1
= 0;
3839 PyObject
* _obj2
= 0;
3840 char *_kwnames
[] = { "self","item","text", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3860 if (!PyString_Check(_obj2
)) {
3861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3864 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3880 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3881 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3884 wxTreeItemId
* _arg1
;
3886 PyObject
* _argo0
= 0;
3887 PyObject
* _argo1
= 0;
3888 char *_kwnames
[] = { "self","item","image", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3908 wxPy_BEGIN_ALLOW_THREADS
;
3909 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3911 wxPy_END_ALLOW_THREADS
;
3912 } Py_INCREF(Py_None
);
3913 _resultobj
= Py_None
;
3917 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3918 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxTreeItemId
* _arg1
;
3923 PyObject
* _argo0
= 0;
3924 PyObject
* _argo1
= 0;
3925 char *_kwnames
[] = { "self","item","image", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3945 wxPy_BEGIN_ALLOW_THREADS
;
3946 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3948 wxPy_END_ALLOW_THREADS
;
3949 } Py_INCREF(Py_None
);
3950 _resultobj
= Py_None
;
3954 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3955 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3958 wxTreeItemId
* _arg1
;
3959 bool _arg2
= (bool ) TRUE
;
3960 PyObject
* _argo0
= 0;
3961 PyObject
* _argo1
= 0;
3962 int tempbool2
= (int) TRUE
;
3963 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3982 _arg2
= (bool ) tempbool2
;
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } Py_INCREF(Py_None
);
3989 _resultobj
= Py_None
;
3993 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3994 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3996 data
= new wxPyTreeItemData();
3997 self
->SetItemData(item
, data
);
4001 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxPyTreeItemData
* _result
;
4005 wxTreeItemId
* _arg1
;
4006 PyObject
* _argo0
= 0;
4007 PyObject
* _argo1
= 0;
4008 char *_kwnames
[] = { "self","item", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
4032 wxPy_END_ALLOW_THREADS
;
4034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4035 _resultobj
= Py_BuildValue("s",_ptemp
);
4038 _resultobj
= Py_None
;
4043 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
4044 self
->SetItemData(item
, data
);
4046 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4049 wxTreeItemId
* _arg1
;
4050 wxPyTreeItemData
* _arg2
;
4051 PyObject
* _argo0
= 0;
4052 PyObject
* _argo1
= 0;
4053 PyObject
* _argo2
= 0;
4054 char *_kwnames
[] = { "self","item","data", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
4067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4074 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
4084 wxPy_END_ALLOW_THREADS
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4091 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4093 data
= new wxPyTreeItemData();
4094 self
->SetItemData(item
, data
);
4096 return data
->GetData();
4098 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4102 wxTreeItemId
* _arg1
;
4103 PyObject
* _argo0
= 0;
4104 PyObject
* _argo1
= 0;
4105 char *_kwnames
[] = { "self","item", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4125 wxPy_BEGIN_ALLOW_THREADS
;
4126 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4128 wxPy_END_ALLOW_THREADS
;
4130 _resultobj
= _result
;
4135 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4136 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4138 data
= new wxPyTreeItemData(obj
);
4139 self
->SetItemData(item
, data
);
4143 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
* _resultobj
;
4146 wxTreeItemId
* _arg1
;
4148 PyObject
* _argo0
= 0;
4149 PyObject
* _argo1
= 0;
4150 PyObject
* _obj2
= 0;
4151 char *_kwnames
[] = { "self","item","obj", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4177 wxPy_END_ALLOW_THREADS
;
4178 } Py_INCREF(Py_None
);
4179 _resultobj
= Py_None
;
4183 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4184 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4188 wxTreeItemId
* _arg1
;
4189 PyObject
* _argo0
= 0;
4190 PyObject
* _argo1
= 0;
4191 char *_kwnames
[] = { "self","item", NULL
};
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4211 wxPy_BEGIN_ALLOW_THREADS
;
4212 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4214 wxPy_END_ALLOW_THREADS
;
4215 } _resultobj
= Py_BuildValue("i",_result
);
4219 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4220 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4224 wxTreeItemId
* _arg1
;
4225 PyObject
* _argo0
= 0;
4226 PyObject
* _argo1
= 0;
4227 char *_kwnames
[] = { "self","item", NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4250 wxPy_END_ALLOW_THREADS
;
4251 } _resultobj
= Py_BuildValue("i",_result
);
4255 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4256 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4260 wxTreeItemId
* _arg1
;
4261 PyObject
* _argo0
= 0;
4262 PyObject
* _argo1
= 0;
4263 char *_kwnames
[] = { "self","item", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4283 wxPy_BEGIN_ALLOW_THREADS
;
4284 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4286 wxPy_END_ALLOW_THREADS
;
4287 } _resultobj
= Py_BuildValue("i",_result
);
4291 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4292 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4296 wxTreeItemId
* _arg1
;
4297 PyObject
* _argo0
= 0;
4298 PyObject
* _argo1
= 0;
4299 char *_kwnames
[] = { "self","item", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4319 wxPy_BEGIN_ALLOW_THREADS
;
4320 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4322 wxPy_END_ALLOW_THREADS
;
4323 } _resultobj
= Py_BuildValue("i",_result
);
4327 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4328 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4330 wxTreeItemId
* _result
;
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4347 wxPy_BEGIN_ALLOW_THREADS
;
4348 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4350 wxPy_END_ALLOW_THREADS
;
4351 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4352 _resultobj
= Py_BuildValue("s",_ptemp
);
4356 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4357 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4359 wxTreeItemId
* _result
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4376 wxPy_BEGIN_ALLOW_THREADS
;
4377 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4379 wxPy_END_ALLOW_THREADS
;
4380 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4381 _resultobj
= Py_BuildValue("s",_ptemp
);
4385 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4386 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 wxTreeItemId
* _result
;
4390 wxTreeItemId
* _arg1
;
4391 PyObject
* _argo0
= 0;
4392 PyObject
* _argo1
= 0;
4393 char *_kwnames
[] = { "self","item", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetParent",_kwnames
,&_argo0
,&_argo1
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4414 wxPy_BEGIN_ALLOW_THREADS
;
4415 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4417 wxPy_END_ALLOW_THREADS
;
4418 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4419 _resultobj
= Py_BuildValue("s",_ptemp
);
4423 static PyObject
* wxTreeCtrl_GetSelections(wxTreeCtrl
*self
) {
4424 PyObject
* rval
= PyList_New(0);
4425 wxArrayTreeItemIds array
;
4427 num
= self
->GetSelections(array
);
4428 for (x
=0; x
< num
; x
++) {
4429 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
4431 PyList_Append(rval
, item
);
4435 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4439 PyObject
* _argo0
= 0;
4440 char *_kwnames
[] = { "self", NULL
};
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
4446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4453 wxPy_BEGIN_ALLOW_THREADS
;
4454 _result
= (PyObject
*)wxTreeCtrl_GetSelections(_arg0
);
4456 wxPy_END_ALLOW_THREADS
;
4458 _resultobj
= _result
;
4463 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4464 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4468 wxTreeItemId
* _arg1
;
4469 bool _arg2
= (bool ) TRUE
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _argo1
= 0;
4472 int tempbool2
= (int) TRUE
;
4473 char *_kwnames
[] = { "self","item","recursively", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4492 _arg2
= (bool ) tempbool2
;
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } _resultobj
= Py_BuildValue("i",_result
);
4502 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4503 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4505 wxTreeItemId
* _result
;
4507 wxTreeItemId
* _arg1
;
4509 PyObject
* _argo0
= 0;
4510 PyObject
* _argo1
= 0;
4512 PyObject
* _obj2
= 0;
4513 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4534 temp
= (long) PyInt_AsLong(_obj2
);
4538 wxPy_BEGIN_ALLOW_THREADS
;
4539 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4541 wxPy_END_ALLOW_THREADS
;
4542 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4543 _resultobj
= Py_BuildValue("s",_ptemp
);
4546 o
= PyInt_FromLong((long) (*_arg2
));
4547 _resultobj
= t_output_helper(_resultobj
, o
);
4552 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4553 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxTreeItemId
* _result
;
4557 wxTreeItemId
* _arg1
;
4559 PyObject
* _argo0
= 0;
4560 PyObject
* _argo1
= 0;
4562 PyObject
* _obj2
= 0;
4563 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4584 temp
= (long) PyInt_AsLong(_obj2
);
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4591 wxPy_END_ALLOW_THREADS
;
4592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4593 _resultobj
= Py_BuildValue("s",_ptemp
);
4596 o
= PyInt_FromLong((long) (*_arg2
));
4597 _resultobj
= t_output_helper(_resultobj
, o
);
4602 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4603 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4605 wxTreeItemId
* _result
;
4607 wxTreeItemId
* _arg1
;
4608 PyObject
* _argo0
= 0;
4609 PyObject
* _argo1
= 0;
4610 char *_kwnames
[] = { "self","item", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4631 wxPy_BEGIN_ALLOW_THREADS
;
4632 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4634 wxPy_END_ALLOW_THREADS
;
4635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4636 _resultobj
= Py_BuildValue("s",_ptemp
);
4640 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4641 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
* _resultobj
;
4643 wxTreeItemId
* _result
;
4645 wxTreeItemId
* _arg1
;
4646 PyObject
* _argo0
= 0;
4647 PyObject
* _argo1
= 0;
4648 char *_kwnames
[] = { "self","item", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4669 wxPy_BEGIN_ALLOW_THREADS
;
4670 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4672 wxPy_END_ALLOW_THREADS
;
4673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4674 _resultobj
= Py_BuildValue("s",_ptemp
);
4678 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4679 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4681 wxTreeItemId
* _result
;
4683 PyObject
* _argo0
= 0;
4684 char *_kwnames
[] = { "self", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4701 wxPy_END_ALLOW_THREADS
;
4702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4703 _resultobj
= Py_BuildValue("s",_ptemp
);
4707 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4708 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4710 wxTreeItemId
* _result
;
4712 wxTreeItemId
* _arg1
;
4713 PyObject
* _argo0
= 0;
4714 PyObject
* _argo1
= 0;
4715 char *_kwnames
[] = { "self","item", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4739 wxPy_END_ALLOW_THREADS
;
4740 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4741 _resultobj
= Py_BuildValue("s",_ptemp
);
4745 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4746 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4748 wxTreeItemId
* _result
;
4750 wxTreeItemId
* _arg1
;
4751 PyObject
* _argo0
= 0;
4752 PyObject
* _argo1
= 0;
4753 char *_kwnames
[] = { "self","item", NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4767 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4777 wxPy_END_ALLOW_THREADS
;
4778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4779 _resultobj
= Py_BuildValue("s",_ptemp
);
4783 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4784 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 wxTreeItemId
* _result
;
4788 wxTreeItemId
* _arg1
;
4789 PyObject
* _argo0
= 0;
4790 PyObject
* _argo1
= 0;
4791 char *_kwnames
[] = { "self","item", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
4815 wxPy_END_ALLOW_THREADS
;
4816 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4817 _resultobj
= Py_BuildValue("s",_ptemp
);
4821 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4822 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4824 wxTreeItemId
* _result
;
4827 int _arg2
= (int ) -1;
4828 int _arg3
= (int ) -1;
4829 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4830 PyObject
* _argo0
= 0;
4831 PyObject
* _obj1
= 0;
4832 PyObject
* _argo4
= 0;
4833 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4847 if (!PyString_Check(_obj1
)) {
4848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4851 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4854 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4864 wxPy_END_ALLOW_THREADS
;
4865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4866 _resultobj
= Py_BuildValue("s",_ptemp
);
4874 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4875 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4877 wxTreeItemId
* _result
;
4879 wxTreeItemId
* _arg1
;
4881 int _arg3
= (int ) -1;
4882 int _arg4
= (int ) -1;
4883 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4884 PyObject
* _argo0
= 0;
4885 PyObject
* _argo1
= 0;
4886 PyObject
* _obj2
= 0;
4887 PyObject
* _argo5
= 0;
4888 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4909 if (!PyString_Check(_obj2
)) {
4910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4913 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4916 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4923 wxPy_BEGIN_ALLOW_THREADS
;
4924 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4926 wxPy_END_ALLOW_THREADS
;
4927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4936 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4937 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4939 wxTreeItemId
* _result
;
4941 wxTreeItemId
* _arg1
;
4942 wxTreeItemId
* _arg2
;
4944 int _arg4
= (int ) -1;
4945 int _arg5
= (int ) -1;
4946 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4947 PyObject
* _argo0
= 0;
4948 PyObject
* _argo1
= 0;
4949 PyObject
* _argo2
= 0;
4950 PyObject
* _obj3
= 0;
4951 PyObject
* _argo6
= 0;
4952 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4973 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4974 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4980 if (!PyString_Check(_obj3
)) {
4981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4984 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4987 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4994 wxPy_BEGIN_ALLOW_THREADS
;
4995 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4997 wxPy_END_ALLOW_THREADS
;
4998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4999 _resultobj
= Py_BuildValue("s",_ptemp
);
5007 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5008 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5010 wxTreeItemId
* _result
;
5012 wxTreeItemId
* _arg1
;
5014 int _arg3
= (int ) -1;
5015 int _arg4
= (int ) -1;
5016 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
5017 PyObject
* _argo0
= 0;
5018 PyObject
* _argo1
= 0;
5019 PyObject
* _obj2
= 0;
5020 PyObject
* _argo5
= 0;
5021 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
5035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
5042 if (!PyString_Check(_obj2
)) {
5043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5046 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5049 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
5056 wxPy_BEGIN_ALLOW_THREADS
;
5057 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5059 wxPy_END_ALLOW_THREADS
;
5060 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5061 _resultobj
= Py_BuildValue("s",_ptemp
);
5069 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5070 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5073 wxTreeItemId
* _arg1
;
5074 PyObject
* _argo0
= 0;
5075 PyObject
* _argo1
= 0;
5076 char *_kwnames
[] = { "self","item", NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
5082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5096 wxPy_BEGIN_ALLOW_THREADS
;
5097 wxTreeCtrl_Delete(_arg0
,*_arg1
);
5099 wxPy_END_ALLOW_THREADS
;
5100 } Py_INCREF(Py_None
);
5101 _resultobj
= Py_None
;
5105 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5106 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5109 wxTreeItemId
* _arg1
;
5110 PyObject
* _argo0
= 0;
5111 PyObject
* _argo1
= 0;
5112 char *_kwnames
[] = { "self","item", NULL
};
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5132 wxPy_BEGIN_ALLOW_THREADS
;
5133 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
5135 wxPy_END_ALLOW_THREADS
;
5136 } Py_INCREF(Py_None
);
5137 _resultobj
= Py_None
;
5141 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5142 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5145 PyObject
* _argo0
= 0;
5146 char *_kwnames
[] = { "self", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5159 wxPy_BEGIN_ALLOW_THREADS
;
5160 wxTreeCtrl_DeleteAllItems(_arg0
);
5162 wxPy_END_ALLOW_THREADS
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5168 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5169 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5172 wxTreeItemId
* _arg1
;
5173 PyObject
* _argo0
= 0;
5174 PyObject
* _argo1
= 0;
5175 char *_kwnames
[] = { "self","item", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5195 wxPy_BEGIN_ALLOW_THREADS
;
5196 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5198 wxPy_END_ALLOW_THREADS
;
5199 } Py_INCREF(Py_None
);
5200 _resultobj
= Py_None
;
5204 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5205 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
* _resultobj
;
5208 wxTreeItemId
* _arg1
;
5209 PyObject
* _argo0
= 0;
5210 PyObject
* _argo1
= 0;
5211 char *_kwnames
[] = { "self","item", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5231 wxPy_BEGIN_ALLOW_THREADS
;
5232 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5234 wxPy_END_ALLOW_THREADS
;
5235 } Py_INCREF(Py_None
);
5236 _resultobj
= Py_None
;
5240 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5241 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 wxTreeItemId
* _arg1
;
5245 PyObject
* _argo0
= 0;
5246 PyObject
* _argo1
= 0;
5247 char *_kwnames
[] = { "self","item", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5267 wxPy_BEGIN_ALLOW_THREADS
;
5268 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5270 wxPy_END_ALLOW_THREADS
;
5271 } Py_INCREF(Py_None
);
5272 _resultobj
= Py_None
;
5276 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5277 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5280 wxTreeItemId
* _arg1
;
5281 PyObject
* _argo0
= 0;
5282 PyObject
* _argo1
= 0;
5283 char *_kwnames
[] = { "self","item", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5296 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5303 wxPy_BEGIN_ALLOW_THREADS
;
5304 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5306 wxPy_END_ALLOW_THREADS
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5313 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 wxTreeCtrl_Unselect(_arg0
);
5333 wxPy_END_ALLOW_THREADS
;
5334 } Py_INCREF(Py_None
);
5335 _resultobj
= Py_None
;
5339 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5340 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5357 wxPy_BEGIN_ALLOW_THREADS
;
5358 wxTreeCtrl_UnselectAll(_arg0
);
5360 wxPy_END_ALLOW_THREADS
;
5361 } Py_INCREF(Py_None
);
5362 _resultobj
= Py_None
;
5366 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5367 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5370 wxTreeItemId
* _arg1
;
5371 PyObject
* _argo0
= 0;
5372 PyObject
* _argo1
= 0;
5373 char *_kwnames
[] = { "self","item", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5393 wxPy_BEGIN_ALLOW_THREADS
;
5394 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5396 wxPy_END_ALLOW_THREADS
;
5397 } Py_INCREF(Py_None
);
5398 _resultobj
= Py_None
;
5402 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5403 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5406 wxTreeItemId
* _arg1
;
5407 PyObject
* _argo0
= 0;
5408 PyObject
* _argo1
= 0;
5409 char *_kwnames
[] = { "self","item", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5439 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5442 wxTreeItemId
* _arg1
;
5443 PyObject
* _argo0
= 0;
5444 PyObject
* _argo1
= 0;
5445 char *_kwnames
[] = { "self","item", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5465 wxPy_BEGIN_ALLOW_THREADS
;
5466 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5468 wxPy_END_ALLOW_THREADS
;
5469 } Py_INCREF(Py_None
);
5470 _resultobj
= Py_None
;
5474 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5475 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5477 wxTextCtrl
* _result
;
5479 wxTreeItemId
* _arg1
;
5480 PyObject
* _argo0
= 0;
5481 PyObject
* _argo1
= 0;
5482 char *_kwnames
[] = { "self","item", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5503 wxPy_BEGIN_ALLOW_THREADS
;
5504 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5506 wxPy_END_ALLOW_THREADS
;
5508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5509 _resultobj
= Py_BuildValue("s",_ptemp
);
5512 _resultobj
= Py_None
;
5517 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5518 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5520 wxTextCtrl
* _result
;
5522 PyObject
* _argo0
= 0;
5523 char *_kwnames
[] = { "self", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5537 wxPy_BEGIN_ALLOW_THREADS
;
5538 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
5540 wxPy_END_ALLOW_THREADS
;
5542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5543 _resultobj
= Py_BuildValue("s",_ptemp
);
5546 _resultobj
= Py_None
;
5551 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5552 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5555 wxTreeItemId
* _arg1
;
5556 bool _arg2
= (bool ) FALSE
;
5557 PyObject
* _argo0
= 0;
5558 PyObject
* _argo1
= 0;
5559 int tempbool2
= (int) FALSE
;
5560 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5579 _arg2
= (bool ) tempbool2
;
5581 wxPy_BEGIN_ALLOW_THREADS
;
5582 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
5584 wxPy_END_ALLOW_THREADS
;
5585 } Py_INCREF(Py_None
);
5586 _resultobj
= Py_None
;
5590 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5591 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5594 wxTreeItemId
* _arg1
;
5595 PyObject
* _argo0
= 0;
5596 PyObject
* _argo1
= 0;
5597 char *_kwnames
[] = { "self","item", NULL
};
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
5603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5617 wxPy_BEGIN_ALLOW_THREADS
;
5618 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
5620 wxPy_END_ALLOW_THREADS
;
5621 } Py_INCREF(Py_None
);
5622 _resultobj
= Py_None
;
5626 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5627 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5630 wxTreeItemId
* _arg1
;
5631 bool _arg2
= (bool ) TRUE
;
5632 PyObject
* _argo0
= 0;
5633 PyObject
* _argo1
= 0;
5634 int tempbool2
= (int) TRUE
;
5635 char *_kwnames
[] = { "self","item","bold", NULL
};
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5654 _arg2
= (bool ) tempbool2
;
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5659 wxPy_END_ALLOW_THREADS
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5665 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5666 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5670 wxTreeItemId
* _arg1
;
5671 PyObject
* _argo0
= 0;
5672 PyObject
* _argo1
= 0;
5673 char *_kwnames
[] = { "self","item", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5693 wxPy_BEGIN_ALLOW_THREADS
;
5694 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5696 wxPy_END_ALLOW_THREADS
;
5697 } _resultobj
= Py_BuildValue("i",_result
);
5701 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5702 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5704 wxTreeItemId
* _result
;
5707 PyObject
* _argo0
= 0;
5708 PyObject
* _argo1
= 0;
5709 char *_kwnames
[] = { "self","point", NULL
};
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_argo1
))
5716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
5730 wxPy_BEGIN_ALLOW_THREADS
;
5731 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5733 wxPy_END_ALLOW_THREADS
;
5734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5735 _resultobj
= Py_BuildValue("s",_ptemp
);
5739 static PyObject
* wxTreeCtrl_GetBoundingRect(wxTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
5741 if (self
->GetBoundingRect(item
, rect
, textOnly
))
5742 return wxPyConstructObject((void*)&rect
, "wxRect");
5748 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5752 wxTreeItemId
* _arg1
;
5753 int _arg2
= (int ) FALSE
;
5754 PyObject
* _argo0
= 0;
5755 PyObject
* _argo1
= 0;
5756 char *_kwnames
[] = { "self","item","textOnly", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_p.");
5769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 _result
= (PyObject
*)wxTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
5779 wxPy_END_ALLOW_THREADS
;
5781 _resultobj
= _result
;
5786 static PyMethodDef controls2cMethods
[] = {
5787 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
5788 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5789 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
5790 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
5791 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
5792 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5793 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
5794 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5795 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
5796 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5797 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
5798 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
5799 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
5800 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
5801 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
5802 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
5803 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
5804 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5805 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
5806 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
5807 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
5808 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5809 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
5810 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
5811 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
5812 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
5813 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
5814 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
5815 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
5816 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
5817 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
5818 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
5819 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
5820 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
5821 { "wxTreeCtrl_GetParent", (PyCFunction
) _wrap_wxTreeCtrl_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
5822 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5823 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
5824 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
5825 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
5826 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5827 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5828 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5829 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5830 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5831 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5832 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5833 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5834 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5835 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5836 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5837 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5838 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5839 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5840 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5841 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5842 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5843 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5844 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5845 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
5846 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5847 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5848 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
5849 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
5850 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
5851 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5852 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5853 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5854 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
5855 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
5856 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
5857 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5858 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5859 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5860 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5861 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
5862 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5863 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5864 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5865 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5866 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5867 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5868 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
5869 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5870 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5871 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5872 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5873 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
5874 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5875 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
5876 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5877 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5878 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
5879 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
5880 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5881 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
5882 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5883 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5884 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5885 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
5886 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5887 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5888 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5889 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5890 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
5891 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5892 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5893 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5894 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5895 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
5896 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5897 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5898 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
5899 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
5900 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5901 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5902 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
5903 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5904 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5905 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
5906 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
5907 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
5908 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5909 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
5910 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
5911 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5912 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
5913 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
5914 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
5915 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
5916 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
5917 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
5918 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5919 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5920 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5921 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5922 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5923 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5924 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
5925 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
5926 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5927 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5928 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5929 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5930 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
5931 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
5932 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
5933 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
5934 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
5935 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
5936 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
5937 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
5938 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
5939 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
5940 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
5941 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
5942 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5943 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5944 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
5945 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
5946 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
5947 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
5954 * This table is used by the pointer type-checker
5956 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5957 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5958 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5959 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5960 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5961 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5962 { "_wxEvent","_class_wxEvent",0},
5963 { "_class_wxActivateEvent","_wxActivateEvent",0},
5964 { "_signed_long","_long",0},
5965 { "_wxMenuEvent","_class_wxMenuEvent",0},
5966 { "_wxPrintQuality","_int",0},
5967 { "_wxPrintQuality","_signed_int",0},
5968 { "_wxPrintQuality","_unsigned_int",0},
5969 { "_wxPrintQuality","_wxWindowID",0},
5970 { "_wxPrintQuality","_uint",0},
5971 { "_wxPrintQuality","_EBool",0},
5972 { "_wxPrintQuality","_size_t",0},
5973 { "_class_wxRegionIterator","_wxRegionIterator",0},
5974 { "_class_wxMenuBar","_wxMenuBar",0},
5975 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5976 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5977 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5978 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5979 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5980 { "_class_wxEvtHandler","_wxEvtHandler",0},
5981 { "_wxPaintEvent","_class_wxPaintEvent",0},
5982 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5983 { "_wxCursor","_class_wxCursor",0},
5984 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5985 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5986 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5987 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5988 { "_wxMask","_class_wxMask",0},
5989 { "_wxPen","_class_wxPen",0},
5990 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5991 { "_byte","_unsigned_char",0},
5992 { "_wxStaticBox","_class_wxStaticBox",0},
5993 { "_wxChoice","_class_wxChoice",0},
5994 { "_wxSlider","_class_wxSlider",0},
5995 { "_long","_wxDash",0},
5996 { "_long","_unsigned_long",0},
5997 { "_long","_signed_long",0},
5998 { "_wxImageList","_class_wxImageList",0},
5999 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6000 { "_wxBitmapButton","_class_wxBitmapButton",0},
6001 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6002 { "_class_wxGauge","_wxGauge",0},
6003 { "_wxDC","_class_wxDC",0},
6004 { "_wxListEvent","_class_wxListEvent",0},
6005 { "_wxSpinEvent","_class_wxSpinEvent",0},
6006 { "_size_t","_wxPrintQuality",0},
6007 { "_size_t","_unsigned_int",0},
6008 { "_size_t","_int",0},
6009 { "_size_t","_wxWindowID",0},
6010 { "_size_t","_uint",0},
6011 { "_class_wxRealPoint","_wxRealPoint",0},
6012 { "_wxPrinterDC","_class_wxPrinterDC",0},
6013 { "_class_wxMenuItem","_wxMenuItem",0},
6014 { "_class_wxPaintEvent","_wxPaintEvent",0},
6015 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6016 { "_wxPanel","_class_wxPanel",0},
6017 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6018 { "_wxCheckBox","_class_wxCheckBox",0},
6019 { "_wxPyEvent","_class_wxPyEvent",0},
6020 { "_wxTextCtrl","_class_wxTextCtrl",0},
6021 { "_class_wxMask","_wxMask",0},
6022 { "_class_wxKeyEvent","_wxKeyEvent",0},
6023 { "_wxColour","_class_wxColour",0},
6024 { "_class_wxDialog","_wxDialog",0},
6025 { "_wxIdleEvent","_class_wxIdleEvent",0},
6026 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6027 { "_wxStaticLine","_class_wxStaticLine",0},
6028 { "_wxBrush","_class_wxBrush",0},
6029 { "_wxShowEvent","_class_wxShowEvent",0},
6030 { "_uint","_wxPrintQuality",0},
6031 { "_uint","_size_t",0},
6032 { "_uint","_unsigned_int",0},
6033 { "_uint","_int",0},
6034 { "_uint","_wxWindowID",0},
6035 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6036 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6037 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6038 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6039 { "_class_wxEvent","_wxEvent",0},
6040 { "_wxCheckListBox","_class_wxCheckListBox",0},
6041 { "_wxRect","_class_wxRect",0},
6042 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6043 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6044 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6045 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6046 { "_wxCommandEvent","_class_wxCommandEvent",0},
6047 { "_wxSizeEvent","_class_wxSizeEvent",0},
6048 { "_wxPoint","_class_wxPoint",0},
6049 { "_class_wxButton","_wxButton",0},
6050 { "_wxRadioBox","_class_wxRadioBox",0},
6051 { "_wxBitmap","_class_wxBitmap",0},
6052 { "_wxPyTimer","_class_wxPyTimer",0},
6053 { "_wxWindowDC","_class_wxWindowDC",0},
6054 { "_wxScrollBar","_class_wxScrollBar",0},
6055 { "_wxSpinButton","_class_wxSpinButton",0},
6056 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6057 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6058 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6059 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6060 { "_class_wxPyEvent","_wxPyEvent",0},
6061 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6062 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6063 { "_wxListItem","_class_wxListItem",0},
6064 { "_class_wxStaticLine","_wxStaticLine",0},
6065 { "_wxScrollEvent","_class_wxScrollEvent",0},
6066 { "_EBool","_wxPrintQuality",0},
6067 { "_EBool","_signed_int",0},
6068 { "_EBool","_int",0},
6069 { "_EBool","_wxWindowID",0},
6070 { "_class_wxRegion","_wxRegion",0},
6071 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6072 { "_wxStaticText","_class_wxStaticText",0},
6073 { "_wxFont","_class_wxFont",0},
6074 { "_wxCloseEvent","_class_wxCloseEvent",0},
6075 { "_unsigned_long","_wxDash",0},
6076 { "_unsigned_long","_long",0},
6077 { "_class_wxRect","_wxRect",0},
6078 { "_class_wxDC","_wxDC",0},
6079 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6080 { "_class_wxTreeEvent","_wxTreeEvent",0},
6081 { "_class_wxPyTimer","_wxPyTimer",0},
6082 { "_wxFocusEvent","_class_wxFocusEvent",0},
6083 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6084 { "_class_wxSpinButton","_wxSpinButton",0},
6085 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6086 { "_class_wxPanel","_wxPanel",0},
6087 { "_class_wxCheckBox","_wxCheckBox",0},
6088 { "_wxComboBox","_class_wxComboBox",0},
6089 { "_wxRadioButton","_class_wxRadioButton",0},
6090 { "_signed_int","_wxPrintQuality",0},
6091 { "_signed_int","_EBool",0},
6092 { "_signed_int","_wxWindowID",0},
6093 { "_signed_int","_int",0},
6094 { "_class_wxTextCtrl","_wxTextCtrl",0},
6095 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6096 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6097 { "_wxMenu","_class_wxMenu",0},
6098 { "_class_wxMoveEvent","_wxMoveEvent",0},
6099 { "_wxListBox","_class_wxListBox",0},
6100 { "_wxScreenDC","_class_wxScreenDC",0},
6101 { "_WXTYPE","_short",0},
6102 { "_WXTYPE","_signed_short",0},
6103 { "_WXTYPE","_unsigned_short",0},
6104 { "_class_wxBrush","_wxBrush",0},
6105 { "_unsigned_short","_WXTYPE",0},
6106 { "_unsigned_short","_short",0},
6107 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6108 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6109 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6110 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6111 { "_class_wxWindow","_wxWindow",0},
6112 { "_class_wxStaticText","_wxStaticText",0},
6113 { "_class_wxFont","_wxFont",0},
6114 { "_class_wxCloseEvent","_wxCloseEvent",0},
6115 { "_class_wxMenuEvent","_wxMenuEvent",0},
6116 { "_wxClientDC","_class_wxClientDC",0},
6117 { "_wxMouseEvent","_class_wxMouseEvent",0},
6118 { "_wxListCtrl","_class_wxListCtrl",0},
6119 { "_class_wxPoint","_wxPoint",0},
6120 { "_wxRealPoint","_class_wxRealPoint",0},
6121 { "_class_wxRadioBox","_wxRadioBox",0},
6122 { "_signed_short","_WXTYPE",0},
6123 { "_signed_short","_short",0},
6124 { "_wxMemoryDC","_class_wxMemoryDC",0},
6125 { "_wxPaintDC","_class_wxPaintDC",0},
6126 { "_class_wxWindowDC","_wxWindowDC",0},
6127 { "_class_wxFocusEvent","_wxFocusEvent",0},
6128 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6129 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6130 { "_class_wxCursor","_wxCursor",0},
6131 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6132 { "_wxTreeItemId","_class_wxTreeItemId",0},
6133 { "_unsigned_char","_byte",0},
6134 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6135 { "_class_wxMenu","_wxMenu",0},
6136 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6137 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6138 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6139 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6140 { "_wxControl","_class_wxControl",0},
6141 { "_class_wxListBox","_wxListBox",0},
6142 { "_unsigned_int","_wxPrintQuality",0},
6143 { "_unsigned_int","_size_t",0},
6144 { "_unsigned_int","_uint",0},
6145 { "_unsigned_int","_wxWindowID",0},
6146 { "_unsigned_int","_int",0},
6147 { "_wxIcon","_class_wxIcon",0},
6148 { "_wxDialog","_class_wxDialog",0},
6149 { "_class_wxListItem","_wxListItem",0},
6150 { "_class_wxPen","_wxPen",0},
6151 { "_short","_WXTYPE",0},
6152 { "_short","_unsigned_short",0},
6153 { "_short","_signed_short",0},
6154 { "_class_wxStaticBox","_wxStaticBox",0},
6155 { "_class_wxScrollEvent","_wxScrollEvent",0},
6156 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6157 { "_class_wxChoice","_wxChoice",0},
6158 { "_class_wxSlider","_wxSlider",0},
6159 { "_class_wxImageList","_wxImageList",0},
6160 { "_class_wxBitmapButton","_wxBitmapButton",0},
6161 { "_wxWindowID","_wxPrintQuality",0},
6162 { "_wxWindowID","_size_t",0},
6163 { "_wxWindowID","_EBool",0},
6164 { "_wxWindowID","_uint",0},
6165 { "_wxWindowID","_int",0},
6166 { "_wxWindowID","_signed_int",0},
6167 { "_wxWindowID","_unsigned_int",0},
6168 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6169 { "_int","_wxPrintQuality",0},
6170 { "_int","_size_t",0},
6171 { "_int","_EBool",0},
6172 { "_int","_uint",0},
6173 { "_int","_wxWindowID",0},
6174 { "_int","_unsigned_int",0},
6175 { "_int","_signed_int",0},
6176 { "_class_wxMouseEvent","_wxMouseEvent",0},
6177 { "_class_wxListEvent","_wxListEvent",0},
6178 { "_class_wxSpinEvent","_wxSpinEvent",0},
6179 { "_wxButton","_class_wxButton",0},
6180 { "_wxSize","_class_wxSize",0},
6181 { "_wxRegionIterator","_class_wxRegionIterator",0},
6182 { "_class_wxPrinterDC","_wxPrinterDC",0},
6183 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6184 { "_class_wxPaintDC","_wxPaintDC",0},
6185 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6186 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6187 { "_class_wxComboBox","_wxComboBox",0},
6188 { "_class_wxRadioButton","_wxRadioButton",0},
6189 { "_class_wxTreeItemId","_wxTreeItemId",0},
6190 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6191 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6192 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6193 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6194 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6195 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6196 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6197 { "_class_wxControl","_wxControl",0},
6198 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6199 { "_class_wxIcon","_wxIcon",0},
6200 { "_class_wxColour","_wxColour",0},
6201 { "_class_wxScreenDC","_wxScreenDC",0},
6202 { "_wxPalette","_class_wxPalette",0},
6203 { "_class_wxIdleEvent","_wxIdleEvent",0},
6204 { "_wxEraseEvent","_class_wxEraseEvent",0},
6205 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6206 { "_wxRegion","_class_wxRegion",0},
6207 { "_class_wxShowEvent","_wxShowEvent",0},
6208 { "_wxActivateEvent","_class_wxActivateEvent",0},
6209 { "_wxGauge","_class_wxGauge",0},
6210 { "_class_wxCheckListBox","_wxCheckListBox",0},
6211 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6212 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6213 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6214 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6215 { "_class_wxCommandEvent","_wxCommandEvent",0},
6216 { "_class_wxClientDC","_wxClientDC",0},
6217 { "_class_wxSizeEvent","_wxSizeEvent",0},
6218 { "_class_wxListCtrl","_wxListCtrl",0},
6219 { "_class_wxSize","_wxSize",0},
6220 { "_class_wxBitmap","_wxBitmap",0},
6221 { "_class_wxMemoryDC","_wxMemoryDC",0},
6222 { "_wxMenuBar","_class_wxMenuBar",0},
6223 { "_wxTreeEvent","_class_wxTreeEvent",0},
6224 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6225 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6226 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6227 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6228 { "_wxEvtHandler","_class_wxEvtHandler",0},
6229 { "_wxMenuItem","_class_wxMenuItem",0},
6230 { "_class_wxScrollBar","_wxScrollBar",0},
6231 { "_wxDash","_unsigned_long",0},
6232 { "_wxDash","_long",0},
6233 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6234 { "_wxKeyEvent","_class_wxKeyEvent",0},
6235 { "_wxMoveEvent","_class_wxMoveEvent",0},
6236 { "_class_wxPalette","_wxPalette",0},
6237 { "_class_wxEraseEvent","_wxEraseEvent",0},
6238 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6239 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6240 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6241 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6242 { "_wxWindow","_class_wxWindow",0},
6245 static PyObject
*SWIG_globals
;
6249 SWIGEXPORT(void) initcontrols2c() {
6251 SWIG_globals
= SWIG_newvarlink();
6252 m
= Py_InitModule("controls2c", controls2cMethods
);
6253 d
= PyModule_GetDict(m
);
6254 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
6255 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
6256 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
6257 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
6258 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
6259 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
6260 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
6261 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
6262 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
6263 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
6264 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
6265 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
6266 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
6267 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
6268 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
6269 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
6270 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
6271 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
6272 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
6273 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
6274 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
6275 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
6276 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6277 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6278 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6279 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6280 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6281 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6282 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6283 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6284 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6285 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6286 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6287 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6288 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6289 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6290 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6291 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6292 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6293 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6294 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6295 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6296 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6299 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6300 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);