2 * FILE : gtk/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"
60 #include <wx/listctrl.h>
61 #include <wx/treectrl.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
112 extern wxValidator wxPyDefaultValidator
;
114 class wxPyTreeItemData
: public wxTreeItemData
{
116 wxPyTreeItemData(PyObject
* obj
= NULL
) {
123 ~wxPyTreeItemData() {
124 bool doSave
= wxPyRestoreThread();
126 wxPySaveThread(doSave
);
129 PyObject
* GetData() {
134 void SetData(PyObject
* obj
) {
145 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
146 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
147 PyObject
* _resultobj
;
151 PyObject
* _argo0
= 0;
152 char *_kwnames
[] = { "self","m_mask", NULL
};
155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
165 wxPy_BEGIN_ALLOW_THREADS
;
166 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
168 wxPy_END_ALLOW_THREADS
;
169 } _resultobj
= Py_BuildValue("l",_result
);
173 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
174 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
178 PyObject
* _argo0
= 0;
179 char *_kwnames
[] = { "self", NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (long )wxListItem_m_mask_get(_arg0
);
195 wxPy_END_ALLOW_THREADS
;
196 } _resultobj
= Py_BuildValue("l",_result
);
200 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
201 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
206 PyObject
* _argo0
= 0;
207 char *_kwnames
[] = { "self","m_itemId", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
220 wxPy_BEGIN_ALLOW_THREADS
;
221 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
223 wxPy_END_ALLOW_THREADS
;
224 } _resultobj
= Py_BuildValue("l",_result
);
228 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
229 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (long )wxListItem_m_itemId_get(_arg0
);
250 wxPy_END_ALLOW_THREADS
;
251 } _resultobj
= Py_BuildValue("l",_result
);
255 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
256 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "self","m_col", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
278 wxPy_END_ALLOW_THREADS
;
279 } _resultobj
= Py_BuildValue("i",_result
);
283 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
284 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
288 PyObject
* _argo0
= 0;
289 char *_kwnames
[] = { "self", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
302 wxPy_BEGIN_ALLOW_THREADS
;
303 _result
= (int )wxListItem_m_col_get(_arg0
);
305 wxPy_END_ALLOW_THREADS
;
306 } _resultobj
= Py_BuildValue("i",_result
);
310 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
311 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
316 PyObject
* _argo0
= 0;
317 char *_kwnames
[] = { "self","m_state", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
330 wxPy_BEGIN_ALLOW_THREADS
;
331 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
333 wxPy_END_ALLOW_THREADS
;
334 } _resultobj
= Py_BuildValue("l",_result
);
338 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
339 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 _result
= (long )wxListItem_m_state_get(_arg0
);
360 wxPy_END_ALLOW_THREADS
;
361 } _resultobj
= Py_BuildValue("l",_result
);
365 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
366 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
371 PyObject
* _argo0
= 0;
372 char *_kwnames
[] = { "self","m_stateMask", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
385 wxPy_BEGIN_ALLOW_THREADS
;
386 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
388 wxPy_END_ALLOW_THREADS
;
389 } _resultobj
= Py_BuildValue("l",_result
);
393 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
394 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
412 wxPy_BEGIN_ALLOW_THREADS
;
413 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
415 wxPy_END_ALLOW_THREADS
;
416 } _resultobj
= Py_BuildValue("l",_result
);
420 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
421 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
426 PyObject
* _argo0
= 0;
427 PyObject
* _obj1
= 0;
428 char *_kwnames
[] = { "self","m_text", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
441 if (!PyString_Check(_obj1
)) {
442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
445 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
448 wxPy_BEGIN_ALLOW_THREADS
;
449 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
451 wxPy_END_ALLOW_THREADS
;
453 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
462 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
463 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
484 wxPy_END_ALLOW_THREADS
;
486 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
491 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
492 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self","m_image", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
514 wxPy_END_ALLOW_THREADS
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
520 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (int )wxListItem_m_image_get(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
547 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self","m_data", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
569 wxPy_END_ALLOW_THREADS
;
570 } _resultobj
= Py_BuildValue("l",_result
);
574 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
575 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= (long )wxListItem_m_data_get(_arg0
);
596 wxPy_END_ALLOW_THREADS
;
597 } _resultobj
= Py_BuildValue("l",_result
);
601 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
602 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self","m_format", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
624 wxPy_END_ALLOW_THREADS
;
625 } _resultobj
= Py_BuildValue("i",_result
);
629 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
630 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (int )wxListItem_m_format_get(_arg0
);
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
657 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self","m_width", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } _resultobj
= Py_BuildValue("i",_result
);
684 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
685 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 _result
= (int )wxListItem_m_width_get(_arg0
);
706 wxPy_END_ALLOW_THREADS
;
707 } _resultobj
= Py_BuildValue("i",_result
);
711 #define new_wxListItem() (new wxListItem())
712 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxListItem
* _result
;
715 char *_kwnames
[] = { NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
722 wxPy_BEGIN_ALLOW_THREADS
;
723 _result
= (wxListItem
*)new_wxListItem();
725 wxPy_END_ALLOW_THREADS
;
727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
728 _resultobj
= Py_BuildValue("s",_ptemp
);
731 _resultobj
= Py_None
;
736 #define delete_wxListItem(_swigobj) (delete _swigobj)
737 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 delete_wxListItem(_arg0
);
757 wxPy_END_ALLOW_THREADS
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
765 wxCommandEvent
*dest
;
766 src
= (wxListEvent
*) ptr
;
767 dest
= (wxCommandEvent
*) src
;
768 return (void *) dest
;
771 static void *SwigwxListEventTowxEvent(void *ptr
) {
774 src
= (wxListEvent
*) ptr
;
775 dest
= (wxEvent
*) src
;
776 return (void *) dest
;
779 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
780 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
785 PyObject
* _argo0
= 0;
786 char *_kwnames
[] = { "self","m_code", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
799 wxPy_BEGIN_ALLOW_THREADS
;
800 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
802 wxPy_END_ALLOW_THREADS
;
803 } _resultobj
= Py_BuildValue("i",_result
);
807 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
808 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (int )wxListEvent_m_code_get(_arg0
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
835 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
857 wxPy_END_ALLOW_THREADS
;
858 } _resultobj
= Py_BuildValue("l",_result
);
862 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
863 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
884 wxPy_END_ALLOW_THREADS
;
885 } _resultobj
= Py_BuildValue("l",_result
);
889 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
890 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 } _resultobj
= Py_BuildValue("l",_result
);
917 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
918 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("l",_result
);
944 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
945 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self","m_col", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("i",_result
);
972 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
973 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= (int )wxListEvent_m_col_get(_arg0
);
994 wxPy_END_ALLOW_THREADS
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1000 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxListEvent
* _arg0
;
1005 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self","m_cancelled", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1019 _arg1
= (bool ) tempbool1
;
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1030 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxListEvent
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("i",_result
);
1056 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1057 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxListEvent
* _arg0
;
1062 PyObject
* _argo0
= 0;
1064 PyObject
* _obj1
= 0;
1065 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1080 if (! wxPoint_helper(_obj1
, &_arg1
))
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1087 wxPy_END_ALLOW_THREADS
;
1089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1090 _resultobj
= Py_BuildValue("s",_ptemp
);
1093 _resultobj
= Py_None
;
1098 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1099 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 wxListEvent
* _arg0
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1124 _resultobj
= Py_BuildValue("s",_ptemp
);
1127 _resultobj
= Py_None
;
1132 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1133 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxListItem
* _result
;
1136 wxListEvent
* _arg0
;
1138 PyObject
* _argo0
= 0;
1139 PyObject
* _argo1
= 0;
1140 char *_kwnames
[] = { "self","m_item", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1164 wxPy_END_ALLOW_THREADS
;
1166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1167 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 _resultobj
= Py_None
;
1175 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1176 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1178 wxListItem
* _result
;
1179 wxListEvent
* _arg0
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1198 wxPy_END_ALLOW_THREADS
;
1200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1201 _resultobj
= Py_BuildValue("s",_ptemp
);
1204 _resultobj
= Py_None
;
1209 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1212 src
= (wxListCtrl
*) ptr
;
1213 dest
= (wxControl
*) src
;
1214 return (void *) dest
;
1217 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1220 src
= (wxListCtrl
*) ptr
;
1221 dest
= (wxWindow
*) src
;
1222 return (void *) dest
;
1225 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1228 src
= (wxListCtrl
*) ptr
;
1229 dest
= (wxEvtHandler
*) src
;
1230 return (void *) dest
;
1233 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1234 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxListCtrl
* _result
;
1239 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1240 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1241 long _arg4
= (long ) wxLC_ICON
;
1242 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1243 char * _arg6
= (char *) "listCtrl";
1244 PyObject
* _argo0
= 0;
1246 PyObject
* _obj2
= 0;
1248 PyObject
* _obj3
= 0;
1249 PyObject
* _argo5
= 0;
1250 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1266 if (! wxPoint_helper(_obj2
, &_arg2
))
1272 if (! wxSize_helper(_obj3
, &_arg3
))
1276 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1286 wxPy_END_ALLOW_THREADS
;
1288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1289 _resultobj
= Py_BuildValue("s",_ptemp
);
1292 _resultobj
= Py_None
;
1297 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1298 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1302 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self","flag", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1326 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self","item", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } _resultobj
= Py_BuildValue("i",_result
);
1353 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1354 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1358 PyObject
* _argo0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1381 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self","col", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } _resultobj
= Py_BuildValue("i",_result
);
1408 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1409 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } _resultobj
= Py_BuildValue("i",_result
);
1435 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1436 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 wxListCtrl_ClearAll(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1463 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 PyObject
* _argo0
= 0;
1468 char *_kwnames
[] = { "self","item", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 wxListCtrl_EditLabel(_arg0
,_arg1
);
1484 wxPy_END_ALLOW_THREADS
;
1485 } Py_INCREF(Py_None
);
1486 _resultobj
= Py_None
;
1490 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1491 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1496 PyObject
* _argo0
= 0;
1497 char *_kwnames
[] = { "self","item", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
1503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1513 wxPy_END_ALLOW_THREADS
;
1514 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1519 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1525 bool _arg3
= (bool ) FALSE
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _obj2
= 0;
1528 int tempbool3
= (int) FALSE
;
1529 char *_kwnames
[] = { "self","start","str","partial", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1542 if (!PyString_Check(_obj2
)) {
1543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1546 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1548 _arg3
= (bool ) tempbool3
;
1550 wxPy_BEGIN_ALLOW_THREADS
;
1551 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1553 wxPy_END_ALLOW_THREADS
;
1554 } _resultobj
= Py_BuildValue("l",_result
);
1562 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1563 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "self","start","data", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } _resultobj
= Py_BuildValue("l",_result
);
1591 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1592 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1599 PyObject
* _argo0
= 0;
1601 PyObject
* _obj2
= 0;
1602 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1616 if (! wxPoint_helper(_obj2
, &_arg2
))
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1623 wxPy_END_ALLOW_THREADS
;
1624 } _resultobj
= Py_BuildValue("l",_result
);
1628 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1629 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1635 PyObject
* _argo0
= 0;
1636 PyObject
* _argo2
= 0;
1637 char *_kwnames
[] = { "self","col","item", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1650 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1666 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1671 PyObject
* _argo0
= 0;
1672 char *_kwnames
[] = { "self","col", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } _resultobj
= Py_BuildValue("i",_result
);
1693 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1694 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1698 PyObject
* _argo0
= 0;
1699 char *_kwnames
[] = { "self", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1712 wxPy_BEGIN_ALLOW_THREADS
;
1713 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1715 wxPy_END_ALLOW_THREADS
;
1716 } _resultobj
= Py_BuildValue("i",_result
);
1720 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1721 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxImageList
* _result
;
1726 PyObject
* _argo0
= 0;
1727 char *_kwnames
[] = { "self","which", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1744 wxPy_END_ALLOW_THREADS
;
1746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1747 _resultobj
= Py_BuildValue("s",_ptemp
);
1750 _resultobj
= Py_None
;
1755 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1756 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self","item", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1778 wxPy_END_ALLOW_THREADS
;
1779 } _resultobj
= Py_BuildValue("l",_result
);
1783 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
1784 wxListItem
* info
= new wxListItem
;
1785 info
->m_itemId
= itemId
;
1787 info
->m_mask
= 0xFFFF;
1788 self
->GetItem(*info
);
1791 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1793 wxListItem
* _result
;
1796 int _arg2
= (int ) 0;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self","itemId","col", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
1815 wxPy_END_ALLOW_THREADS
;
1817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1821 _resultobj
= Py_None
;
1826 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1827 wxPoint
* pos
= new wxPoint
;
1828 self
->GetItemPosition(item
, *pos
);
1831 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self","item", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1857 _resultobj
= Py_BuildValue("s",_ptemp
);
1860 _resultobj
= Py_None
;
1865 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1866 wxRect
* rect
= new wxRect
;
1867 self
->GetItemRect(item
, *rect
, code
);
1870 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1875 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1876 PyObject
* _argo0
= 0;
1877 char *_kwnames
[] = { "self","item","code", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1894 wxPy_END_ALLOW_THREADS
;
1896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1897 _resultobj
= Py_BuildValue("s",_ptemp
);
1900 _resultobj
= Py_None
;
1905 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1906 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1912 PyObject
* _argo0
= 0;
1913 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1926 wxPy_BEGIN_ALLOW_THREADS
;
1927 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1929 wxPy_END_ALLOW_THREADS
;
1930 } _resultobj
= Py_BuildValue("i",_result
);
1934 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1935 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1956 wxPy_END_ALLOW_THREADS
;
1957 } _resultobj
= Py_BuildValue("i",_result
);
1961 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1962 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1967 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self","isSmall", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1981 _arg1
= (bool ) tempbool1
;
1983 wxPy_BEGIN_ALLOW_THREADS
;
1984 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1986 wxPy_END_ALLOW_THREADS
;
1987 } _resultobj
= Py_BuildValue("i",_result
);
1991 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1992 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self","item", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2014 wxPy_END_ALLOW_THREADS
;
2016 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2024 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2025 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2030 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2031 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("l",_result
);
2054 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2055 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2076 wxPy_END_ALLOW_THREADS
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2082 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2100 wxPy_BEGIN_ALLOW_THREADS
;
2101 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2103 wxPy_END_ALLOW_THREADS
;
2104 } _resultobj
= Py_BuildValue("l",_result
);
2108 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2109 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2116 PyObject
* _argo0
= 0;
2118 PyObject
* _obj1
= 0;
2119 char *_kwnames
[] = { "self","point", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2136 if (! wxPoint_helper(_obj1
, &_arg1
))
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2143 wxPy_END_ALLOW_THREADS
;
2144 } _resultobj
= Py_BuildValue("l",_result
);
2147 o
= PyInt_FromLong((long) (*_arg2
));
2148 _resultobj
= t_output_helper(_resultobj
, o
);
2153 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2154 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo2
= 0;
2162 char *_kwnames
[] = { "self","col","info", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2175 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } _resultobj
= Py_BuildValue("l",_result
);
2190 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2191 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2197 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2198 int _arg4
= (int ) -1;
2199 PyObject
* _argo0
= 0;
2200 PyObject
* _obj2
= 0;
2201 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2214 if (!PyString_Check(_obj2
)) {
2215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2218 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2221 wxPy_BEGIN_ALLOW_THREADS
;
2222 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2224 wxPy_END_ALLOW_THREADS
;
2225 } _resultobj
= Py_BuildValue("l",_result
);
2233 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2234 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2239 PyObject
* _argo0
= 0;
2240 PyObject
* _argo1
= 0;
2241 char *_kwnames
[] = { "self","info", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } _resultobj
= Py_BuildValue("l",_result
);
2269 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2270 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 PyObject
* _obj2
= 0;
2278 char *_kwnames
[] = { "self","index","label", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2291 if (!PyString_Check(_obj2
)) {
2292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2295 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2301 wxPy_END_ALLOW_THREADS
;
2302 } _resultobj
= Py_BuildValue("l",_result
);
2310 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2311 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2334 wxPy_END_ALLOW_THREADS
;
2335 } _resultobj
= Py_BuildValue("l",_result
);
2339 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2340 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2347 PyObject
* _argo0
= 0;
2348 PyObject
* _obj2
= 0;
2349 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2362 if (!PyString_Check(_obj2
)) {
2363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2366 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2372 wxPy_END_ALLOW_THREADS
;
2373 } _resultobj
= Py_BuildValue("l",_result
);
2381 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2382 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self","dx","dy", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2405 wxPy_END_ALLOW_THREADS
;
2406 } _resultobj
= Py_BuildValue("i",_result
);
2410 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2411 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 PyObject
* _argo1
= 0;
2417 char *_kwnames
[] = { "self","col", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2447 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2453 PyObject
* _argo0
= 0;
2454 PyObject
* _argo2
= 0;
2455 char *_kwnames
[] = { "self","col","item", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2468 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2484 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self","col","width", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } _resultobj
= Py_BuildValue("i",_result
);
2512 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2513 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2516 wxImageList
* _arg1
;
2518 PyObject
* _argo0
= 0;
2519 PyObject
* _argo1
= 0;
2520 char *_kwnames
[] = { "self","imageList","which", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2540 wxPy_BEGIN_ALLOW_THREADS
;
2541 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2543 wxPy_END_ALLOW_THREADS
;
2544 } Py_INCREF(Py_None
);
2545 _resultobj
= Py_None
;
2549 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2550 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2555 PyObject
* _argo0
= 0;
2556 PyObject
* _argo1
= 0;
2557 char *_kwnames
[] = { "self","info", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2580 wxPy_END_ALLOW_THREADS
;
2581 } _resultobj
= Py_BuildValue("i",_result
);
2585 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2586 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2593 int _arg4
= (int ) -1;
2594 PyObject
* _argo0
= 0;
2595 PyObject
* _obj3
= 0;
2596 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2609 if (!PyString_Check(_obj3
)) {
2610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2613 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2619 wxPy_END_ALLOW_THREADS
;
2620 } _resultobj
= Py_BuildValue("l",_result
);
2628 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2629 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self","item","data", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2652 wxPy_END_ALLOW_THREADS
;
2653 } _resultobj
= Py_BuildValue("i",_result
);
2657 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2658 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } _resultobj
= Py_BuildValue("i",_result
);
2687 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2688 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2694 PyObject
* _argo0
= 0;
2696 PyObject
* _obj2
= 0;
2697 char *_kwnames
[] = { "self","item","pos", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2711 if (! wxPoint_helper(_obj2
, &_arg2
))
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2718 wxPy_END_ALLOW_THREADS
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2724 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2754 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2759 PyObject
* _argo0
= 0;
2760 PyObject
* _obj2
= 0;
2761 char *_kwnames
[] = { "self","item","text", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2774 if (!PyString_Check(_obj2
)) {
2775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2778 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2784 wxPy_END_ALLOW_THREADS
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2794 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2795 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 bool _arg2
= (bool ) TRUE
;
2800 PyObject
* _argo0
= 0;
2801 int tempbool2
= (int) TRUE
;
2802 char *_kwnames
[] = { "self","style","add", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2814 _arg2
= (bool ) tempbool2
;
2816 wxPy_BEGIN_ALLOW_THREADS
;
2817 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2819 wxPy_END_ALLOW_THREADS
;
2820 } Py_INCREF(Py_None
);
2821 _resultobj
= Py_None
;
2825 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2826 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2830 PyObject
* _argo0
= 0;
2831 char *_kwnames
[] = { "self","style", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2844 wxPy_BEGIN_ALLOW_THREADS
;
2845 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2847 wxPy_END_ALLOW_THREADS
;
2848 } Py_INCREF(Py_None
);
2849 _resultobj
= Py_None
;
2853 #define new_wxTreeItemId() (new wxTreeItemId())
2854 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2856 wxTreeItemId
* _result
;
2857 char *_kwnames
[] = { NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2867 wxPy_END_ALLOW_THREADS
;
2869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2870 _resultobj
= Py_BuildValue("s",_ptemp
);
2873 _resultobj
= Py_None
;
2878 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2879 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2881 wxTreeItemId
* _arg0
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 delete_wxTreeItemId(_arg0
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2906 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2909 wxTreeItemId
* _arg0
;
2910 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2927 wxPy_END_ALLOW_THREADS
;
2928 } _resultobj
= Py_BuildValue("i",_result
);
2932 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2933 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2935 wxPyTreeItemData
* _result
;
2936 PyObject
* _arg0
= (PyObject
*) NULL
;
2937 PyObject
* _obj0
= 0;
2938 char *_kwnames
[] = { "obj", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2952 wxPy_END_ALLOW_THREADS
;
2954 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2955 _resultobj
= Py_BuildValue("s",_ptemp
);
2958 _resultobj
= Py_None
;
2963 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2964 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2967 wxPyTreeItemData
* _arg0
;
2968 PyObject
* _argo0
= 0;
2969 char *_kwnames
[] = { "self", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2985 wxPy_END_ALLOW_THREADS
;
2987 _resultobj
= _result
;
2992 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2993 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2995 wxPyTreeItemData
* _arg0
;
2997 PyObject
* _argo0
= 0;
2998 PyObject
* _obj1
= 0;
2999 char *_kwnames
[] = { "self","obj", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 wxTreeItemData_SetData(_arg0
,_arg1
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3025 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxTreeItemId
* _result
;
3028 wxPyTreeItemData
* _arg0
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3046 _result
= (wxTreeItemId
*) &_result_ref
;
3048 wxPy_END_ALLOW_THREADS
;
3050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3051 _resultobj
= Py_BuildValue("s",_ptemp
);
3054 _resultobj
= Py_None
;
3059 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3060 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3062 wxPyTreeItemData
* _arg0
;
3063 wxTreeItemId
* _arg1
;
3064 PyObject
* _argo0
= 0;
3065 PyObject
* _argo1
= 0;
3066 char *_kwnames
[] = { "self","id", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3086 wxPy_BEGIN_ALLOW_THREADS
;
3087 wxTreeItemData_SetId(_arg0
,*_arg1
);
3089 wxPy_END_ALLOW_THREADS
;
3090 } Py_INCREF(Py_None
);
3091 _resultobj
= Py_None
;
3095 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3097 wxNotifyEvent
*dest
;
3098 src
= (wxTreeEvent
*) ptr
;
3099 dest
= (wxNotifyEvent
*) src
;
3100 return (void *) dest
;
3103 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3105 wxCommandEvent
*dest
;
3106 src
= (wxTreeEvent
*) ptr
;
3107 dest
= (wxCommandEvent
*) src
;
3108 return (void *) dest
;
3111 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3114 src
= (wxTreeEvent
*) ptr
;
3115 dest
= (wxEvent
*) src
;
3116 return (void *) dest
;
3119 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3120 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3122 wxTreeItemId
* _result
;
3123 wxTreeEvent
* _arg0
;
3124 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self", NULL
};
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3142 wxPy_END_ALLOW_THREADS
;
3143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3144 _resultobj
= Py_BuildValue("s",_ptemp
);
3148 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3149 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3151 wxTreeItemId
* _result
;
3152 wxTreeEvent
* _arg0
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3171 wxPy_END_ALLOW_THREADS
;
3172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3173 _resultobj
= Py_BuildValue("s",_ptemp
);
3177 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3178 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3181 wxTreeEvent
* _arg0
;
3182 PyObject
* _argo0
= 0;
3183 char *_kwnames
[] = { "self", NULL
};
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3197 wxPy_BEGIN_ALLOW_THREADS
;
3198 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3200 wxPy_END_ALLOW_THREADS
;
3201 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3202 _resultobj
= Py_BuildValue("s",_ptemp
);
3206 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3207 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3210 wxTreeEvent
* _arg0
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3228 wxPy_END_ALLOW_THREADS
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3234 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3237 wxTreeEvent
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3254 _result
= (wxString
*) &_result_ref
;
3256 wxPy_END_ALLOW_THREADS
;
3258 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3263 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3266 src
= (wxTreeCtrl
*) ptr
;
3267 dest
= (wxControl
*) src
;
3268 return (void *) dest
;
3271 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3274 src
= (wxTreeCtrl
*) ptr
;
3275 dest
= (wxWindow
*) src
;
3276 return (void *) dest
;
3279 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3282 src
= (wxTreeCtrl
*) ptr
;
3283 dest
= (wxEvtHandler
*) src
;
3284 return (void *) dest
;
3287 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3288 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxTreeCtrl
* _result
;
3292 wxWindowID _arg1
= (wxWindowID
) -1;
3293 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3294 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3295 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3296 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3297 char * _arg6
= (char *) "wxTreeCtrl";
3298 PyObject
* _argo0
= 0;
3300 PyObject
* _obj2
= 0;
3302 PyObject
* _obj3
= 0;
3303 PyObject
* _argo5
= 0;
3304 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3320 if (! wxPoint_helper(_obj2
, &_arg2
))
3326 if (! wxSize_helper(_obj3
, &_arg3
))
3330 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3340 wxPy_END_ALLOW_THREADS
;
3342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3346 _resultobj
= Py_None
;
3351 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3352 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3379 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 unsigned int _result
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } _resultobj
= Py_BuildValue("i",_result
);
3405 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3406 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "self","indent", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3424 wxPy_BEGIN_ALLOW_THREADS
;
3425 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3427 wxPy_END_ALLOW_THREADS
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3433 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3434 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3436 wxImageList
* _result
;
3438 PyObject
* _argo0
= 0;
3439 char *_kwnames
[] = { "self", NULL
};
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3453 wxPy_BEGIN_ALLOW_THREADS
;
3454 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3456 wxPy_END_ALLOW_THREADS
;
3458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3459 _resultobj
= Py_BuildValue("s",_ptemp
);
3462 _resultobj
= Py_None
;
3467 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3468 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3470 wxImageList
* _result
;
3472 PyObject
* _argo0
= 0;
3473 char *_kwnames
[] = { "self", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3487 wxPy_BEGIN_ALLOW_THREADS
;
3488 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3490 wxPy_END_ALLOW_THREADS
;
3492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3493 _resultobj
= Py_BuildValue("s",_ptemp
);
3496 _resultobj
= Py_None
;
3501 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3502 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3505 wxImageList
* _arg1
;
3506 PyObject
* _argo0
= 0;
3507 PyObject
* _argo1
= 0;
3508 char *_kwnames
[] = { "self","imageList", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3528 wxPy_BEGIN_ALLOW_THREADS
;
3529 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3531 wxPy_END_ALLOW_THREADS
;
3532 } Py_INCREF(Py_None
);
3533 _resultobj
= Py_None
;
3537 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3538 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
* _resultobj
;
3541 wxImageList
* _arg1
;
3542 PyObject
* _argo0
= 0;
3543 PyObject
* _argo1
= 0;
3544 char *_kwnames
[] = { "self","imageList", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
3574 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3576 unsigned int _result
;
3578 PyObject
* _argo0
= 0;
3579 char *_kwnames
[] = { "self", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p.");
3592 wxPy_BEGIN_ALLOW_THREADS
;
3593 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
3595 wxPy_END_ALLOW_THREADS
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
3601 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3605 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self","spacing", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxTreeCtrl_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
3622 wxPy_END_ALLOW_THREADS
;
3623 } Py_INCREF(Py_None
);
3624 _resultobj
= Py_None
;
3628 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3629 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3633 wxTreeItemId
* _arg1
;
3634 PyObject
* _argo0
= 0;
3635 PyObject
* _argo1
= 0;
3636 char *_kwnames
[] = { "self","item", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3659 wxPy_END_ALLOW_THREADS
;
3661 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3669 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
3670 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 wxTreeItemId
* _arg1
;
3675 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
3676 PyObject
* _argo0
= 0;
3677 PyObject
* _argo1
= 0;
3678 char *_kwnames
[] = { "self","item","which", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
3701 wxPy_END_ALLOW_THREADS
;
3702 } _resultobj
= Py_BuildValue("i",_result
);
3706 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3707 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3711 wxTreeItemId
* _arg1
;
3712 PyObject
* _argo0
= 0;
3713 PyObject
* _argo1
= 0;
3714 char *_kwnames
[] = { "self","item", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } _resultobj
= Py_BuildValue("i",_result
);
3742 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3743 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3746 wxTreeItemId
* _arg1
;
3748 PyObject
* _argo0
= 0;
3749 PyObject
* _argo1
= 0;
3750 PyObject
* _obj2
= 0;
3751 char *_kwnames
[] = { "self","item","text", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3771 if (!PyString_Check(_obj2
)) {
3772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3775 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } Py_INCREF(Py_None
);
3783 _resultobj
= Py_None
;
3791 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3792 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3795 wxTreeItemId
* _arg1
;
3797 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
3798 PyObject
* _argo0
= 0;
3799 PyObject
* _argo1
= 0;
3800 char *_kwnames
[] = { "self","item","image","which", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
3823 wxPy_END_ALLOW_THREADS
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3830 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3833 wxTreeItemId
* _arg1
;
3835 PyObject
* _argo0
= 0;
3836 PyObject
* _argo1
= 0;
3837 char *_kwnames
[] = { "self","item","image", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3857 wxPy_BEGIN_ALLOW_THREADS
;
3858 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3860 wxPy_END_ALLOW_THREADS
;
3861 } Py_INCREF(Py_None
);
3862 _resultobj
= Py_None
;
3866 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3870 wxTreeItemId
* _arg1
;
3871 bool _arg2
= (bool ) TRUE
;
3872 PyObject
* _argo0
= 0;
3873 PyObject
* _argo1
= 0;
3874 int tempbool2
= (int) TRUE
;
3875 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3894 _arg2
= (bool ) tempbool2
;
3896 wxPy_BEGIN_ALLOW_THREADS
;
3897 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3899 wxPy_END_ALLOW_THREADS
;
3900 } Py_INCREF(Py_None
);
3901 _resultobj
= Py_None
;
3905 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3906 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3908 data
= new wxPyTreeItemData();
3909 self
->SetItemData(item
, data
);
3913 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3915 wxPyTreeItemData
* _result
;
3917 wxTreeItemId
* _arg1
;
3918 PyObject
* _argo0
= 0;
3919 PyObject
* _argo1
= 0;
3920 char *_kwnames
[] = { "self","item", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3944 wxPy_END_ALLOW_THREADS
;
3946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3947 _resultobj
= Py_BuildValue("s",_ptemp
);
3950 _resultobj
= Py_None
;
3955 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3956 self
->SetItemData(item
, data
);
3958 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3961 wxTreeItemId
* _arg1
;
3962 wxPyTreeItemData
* _arg2
;
3963 PyObject
* _argo0
= 0;
3964 PyObject
* _argo1
= 0;
3965 PyObject
* _argo2
= 0;
3966 char *_kwnames
[] = { "self","item","data", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3986 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3996 wxPy_END_ALLOW_THREADS
;
3997 } Py_INCREF(Py_None
);
3998 _resultobj
= Py_None
;
4002 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4003 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4005 data
= new wxPyTreeItemData();
4006 self
->SetItemData(item
, data
);
4008 return data
->GetData();
4010 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4014 wxTreeItemId
* _arg1
;
4015 PyObject
* _argo0
= 0;
4016 PyObject
* _argo1
= 0;
4017 char *_kwnames
[] = { "self","item", NULL
};
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
4023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4037 wxPy_BEGIN_ALLOW_THREADS
;
4038 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4040 wxPy_END_ALLOW_THREADS
;
4042 _resultobj
= _result
;
4047 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4048 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4050 data
= new wxPyTreeItemData(obj
);
4051 self
->SetItemData(item
, data
);
4055 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4058 wxTreeItemId
* _arg1
;
4060 PyObject
* _argo0
= 0;
4061 PyObject
* _argo1
= 0;
4062 PyObject
* _obj2
= 0;
4063 char *_kwnames
[] = { "self","item","obj", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4089 wxPy_END_ALLOW_THREADS
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4096 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4100 wxTreeItemId
* _arg1
;
4101 PyObject
* _argo0
= 0;
4102 PyObject
* _argo1
= 0;
4103 char *_kwnames
[] = { "self","item", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4123 wxPy_BEGIN_ALLOW_THREADS
;
4124 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4126 wxPy_END_ALLOW_THREADS
;
4127 } _resultobj
= Py_BuildValue("i",_result
);
4131 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4132 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4136 wxTreeItemId
* _arg1
;
4137 PyObject
* _argo0
= 0;
4138 PyObject
* _argo1
= 0;
4139 char *_kwnames
[] = { "self","item", NULL
};
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4159 wxPy_BEGIN_ALLOW_THREADS
;
4160 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4162 wxPy_END_ALLOW_THREADS
;
4163 } _resultobj
= Py_BuildValue("i",_result
);
4167 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4168 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4172 wxTreeItemId
* _arg1
;
4173 PyObject
* _argo0
= 0;
4174 PyObject
* _argo1
= 0;
4175 char *_kwnames
[] = { "self","item", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4188 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4195 wxPy_BEGIN_ALLOW_THREADS
;
4196 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4198 wxPy_END_ALLOW_THREADS
;
4199 } _resultobj
= Py_BuildValue("i",_result
);
4203 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4204 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4208 wxTreeItemId
* _arg1
;
4209 PyObject
* _argo0
= 0;
4210 PyObject
* _argo1
= 0;
4211 char *_kwnames
[] = { "self","item", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4224 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4231 wxPy_BEGIN_ALLOW_THREADS
;
4232 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4234 wxPy_END_ALLOW_THREADS
;
4235 } _resultobj
= Py_BuildValue("i",_result
);
4239 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4240 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4242 wxTreeItemId
* _result
;
4244 PyObject
* _argo0
= 0;
4245 char *_kwnames
[] = { "self", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4259 wxPy_BEGIN_ALLOW_THREADS
;
4260 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4262 wxPy_END_ALLOW_THREADS
;
4263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4264 _resultobj
= Py_BuildValue("s",_ptemp
);
4268 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4269 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4271 wxTreeItemId
* _result
;
4273 PyObject
* _argo0
= 0;
4274 char *_kwnames
[] = { "self", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4291 wxPy_END_ALLOW_THREADS
;
4292 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4293 _resultobj
= Py_BuildValue("s",_ptemp
);
4297 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4298 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4300 wxTreeItemId
* _result
;
4302 wxTreeItemId
* _arg1
;
4303 PyObject
* _argo0
= 0;
4304 PyObject
* _argo1
= 0;
4305 char *_kwnames
[] = { "self","item", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxTreeCtrl_p.");
4319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
4329 wxPy_END_ALLOW_THREADS
;
4330 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4331 _resultobj
= Py_BuildValue("s",_ptemp
);
4335 static PyObject
* wxTreeCtrl_GetSelections(wxTreeCtrl
*self
) {
4336 PyObject
* rval
= PyList_New(0);
4337 wxArrayTreeItemIds array
;
4339 num
= self
->GetSelections(array
);
4340 for (x
=0; x
< num
; x
++) {
4341 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
4343 PyList_Append(rval
, item
);
4347 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 _result
= (PyObject
*)wxTreeCtrl_GetSelections(_arg0
);
4368 wxPy_END_ALLOW_THREADS
;
4370 _resultobj
= _result
;
4375 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4376 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 wxTreeItemId
* _arg1
;
4381 bool _arg2
= (bool ) TRUE
;
4382 PyObject
* _argo0
= 0;
4383 PyObject
* _argo1
= 0;
4384 int tempbool2
= (int) TRUE
;
4385 char *_kwnames
[] = { "self","item","recursively", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4404 _arg2
= (bool ) tempbool2
;
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4409 wxPy_END_ALLOW_THREADS
;
4410 } _resultobj
= Py_BuildValue("i",_result
);
4414 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4415 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4417 wxTreeItemId
* _result
;
4419 wxTreeItemId
* _arg1
;
4421 PyObject
* _argo0
= 0;
4422 PyObject
* _argo1
= 0;
4424 PyObject
* _obj2
= 0;
4425 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4446 temp
= (long) PyInt_AsLong(_obj2
);
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4453 wxPy_END_ALLOW_THREADS
;
4454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4455 _resultobj
= Py_BuildValue("s",_ptemp
);
4458 o
= PyInt_FromLong((long) (*_arg2
));
4459 _resultobj
= t_output_helper(_resultobj
, o
);
4464 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4465 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4467 wxTreeItemId
* _result
;
4469 wxTreeItemId
* _arg1
;
4471 PyObject
* _argo0
= 0;
4472 PyObject
* _argo1
= 0;
4474 PyObject
* _obj2
= 0;
4475 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4496 temp
= (long) PyInt_AsLong(_obj2
);
4500 wxPy_BEGIN_ALLOW_THREADS
;
4501 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4503 wxPy_END_ALLOW_THREADS
;
4504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4505 _resultobj
= Py_BuildValue("s",_ptemp
);
4508 o
= PyInt_FromLong((long) (*_arg2
));
4509 _resultobj
= t_output_helper(_resultobj
, o
);
4514 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4515 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxTreeItemId
* _result
;
4519 wxTreeItemId
* _arg1
;
4520 PyObject
* _argo0
= 0;
4521 PyObject
* _argo1
= 0;
4522 char *_kwnames
[] = { "self","item", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4543 wxPy_BEGIN_ALLOW_THREADS
;
4544 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4546 wxPy_END_ALLOW_THREADS
;
4547 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4548 _resultobj
= Py_BuildValue("s",_ptemp
);
4552 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4553 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxTreeItemId
* _result
;
4557 wxTreeItemId
* _arg1
;
4558 PyObject
* _argo0
= 0;
4559 PyObject
* _argo1
= 0;
4560 char *_kwnames
[] = { "self","item", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4574 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4584 wxPy_END_ALLOW_THREADS
;
4585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4586 _resultobj
= Py_BuildValue("s",_ptemp
);
4590 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4591 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4593 wxTreeItemId
* _result
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self", NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4610 wxPy_BEGIN_ALLOW_THREADS
;
4611 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4613 wxPy_END_ALLOW_THREADS
;
4614 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4615 _resultobj
= Py_BuildValue("s",_ptemp
);
4619 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4620 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4622 wxTreeItemId
* _result
;
4624 wxTreeItemId
* _arg1
;
4625 PyObject
* _argo0
= 0;
4626 PyObject
* _argo1
= 0;
4627 char *_kwnames
[] = { "self","item", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4648 wxPy_BEGIN_ALLOW_THREADS
;
4649 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4651 wxPy_END_ALLOW_THREADS
;
4652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4653 _resultobj
= Py_BuildValue("s",_ptemp
);
4657 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4658 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4660 wxTreeItemId
* _result
;
4662 wxTreeItemId
* _arg1
;
4663 PyObject
* _argo0
= 0;
4664 PyObject
* _argo1
= 0;
4665 char *_kwnames
[] = { "self","item", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4686 wxPy_BEGIN_ALLOW_THREADS
;
4687 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4689 wxPy_END_ALLOW_THREADS
;
4690 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4691 _resultobj
= Py_BuildValue("s",_ptemp
);
4695 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4696 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4698 wxTreeItemId
* _result
;
4700 wxTreeItemId
* _arg1
;
4701 PyObject
* _argo0
= 0;
4702 PyObject
* _argo1
= 0;
4703 char *_kwnames
[] = { "self","item", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
4727 wxPy_END_ALLOW_THREADS
;
4728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4729 _resultobj
= Py_BuildValue("s",_ptemp
);
4733 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4734 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4736 wxTreeItemId
* _result
;
4739 int _arg2
= (int ) -1;
4740 int _arg3
= (int ) -1;
4741 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4742 PyObject
* _argo0
= 0;
4743 PyObject
* _obj1
= 0;
4744 PyObject
* _argo4
= 0;
4745 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4759 if (!PyString_Check(_obj1
)) {
4760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4763 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4766 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4776 wxPy_END_ALLOW_THREADS
;
4777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4778 _resultobj
= Py_BuildValue("s",_ptemp
);
4786 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4787 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4789 wxTreeItemId
* _result
;
4791 wxTreeItemId
* _arg1
;
4793 int _arg3
= (int ) -1;
4794 int _arg4
= (int ) -1;
4795 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4796 PyObject
* _argo0
= 0;
4797 PyObject
* _argo1
= 0;
4798 PyObject
* _obj2
= 0;
4799 PyObject
* _argo5
= 0;
4800 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4821 if (!PyString_Check(_obj2
)) {
4822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4825 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4828 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4829 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4835 wxPy_BEGIN_ALLOW_THREADS
;
4836 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4838 wxPy_END_ALLOW_THREADS
;
4839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4840 _resultobj
= Py_BuildValue("s",_ptemp
);
4848 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4849 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4851 wxTreeItemId
* _result
;
4853 wxTreeItemId
* _arg1
;
4854 wxTreeItemId
* _arg2
;
4856 int _arg4
= (int ) -1;
4857 int _arg5
= (int ) -1;
4858 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4859 PyObject
* _argo0
= 0;
4860 PyObject
* _argo1
= 0;
4861 PyObject
* _argo2
= 0;
4862 PyObject
* _obj3
= 0;
4863 PyObject
* _argo6
= 0;
4864 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
4871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4885 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4892 if (!PyString_Check(_obj3
)) {
4893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4896 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4899 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4906 wxPy_BEGIN_ALLOW_THREADS
;
4907 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4909 wxPy_END_ALLOW_THREADS
;
4910 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4911 _resultobj
= Py_BuildValue("s",_ptemp
);
4919 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4920 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4922 wxTreeItemId
* _result
;
4924 wxTreeItemId
* _arg1
;
4926 int _arg3
= (int ) -1;
4927 int _arg4
= (int ) -1;
4928 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4929 PyObject
* _argo0
= 0;
4930 PyObject
* _argo1
= 0;
4931 PyObject
* _obj2
= 0;
4932 PyObject
* _argo5
= 0;
4933 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4954 if (!PyString_Check(_obj2
)) {
4955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4958 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4961 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4971 wxPy_END_ALLOW_THREADS
;
4972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4973 _resultobj
= Py_BuildValue("s",_ptemp
);
4981 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4982 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 wxTreeItemId
* _arg1
;
4986 PyObject
* _argo0
= 0;
4987 PyObject
* _argo1
= 0;
4988 char *_kwnames
[] = { "self","item", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5008 wxPy_BEGIN_ALLOW_THREADS
;
5009 wxTreeCtrl_Delete(_arg0
,*_arg1
);
5011 wxPy_END_ALLOW_THREADS
;
5012 } Py_INCREF(Py_None
);
5013 _resultobj
= Py_None
;
5017 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5018 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5021 wxTreeItemId
* _arg1
;
5022 PyObject
* _argo0
= 0;
5023 PyObject
* _argo1
= 0;
5024 char *_kwnames
[] = { "self","item", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5044 wxPy_BEGIN_ALLOW_THREADS
;
5045 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
5047 wxPy_END_ALLOW_THREADS
;
5048 } Py_INCREF(Py_None
);
5049 _resultobj
= Py_None
;
5053 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5054 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5057 PyObject
* _argo0
= 0;
5058 char *_kwnames
[] = { "self", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5071 wxPy_BEGIN_ALLOW_THREADS
;
5072 wxTreeCtrl_DeleteAllItems(_arg0
);
5074 wxPy_END_ALLOW_THREADS
;
5075 } Py_INCREF(Py_None
);
5076 _resultobj
= Py_None
;
5080 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5081 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5084 wxTreeItemId
* _arg1
;
5085 PyObject
* _argo0
= 0;
5086 PyObject
* _argo1
= 0;
5087 char *_kwnames
[] = { "self","item", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5100 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5107 wxPy_BEGIN_ALLOW_THREADS
;
5108 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5110 wxPy_END_ALLOW_THREADS
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5116 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5117 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5120 wxTreeItemId
* _arg1
;
5121 PyObject
* _argo0
= 0;
5122 PyObject
* _argo1
= 0;
5123 char *_kwnames
[] = { "self","item", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5152 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5153 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5156 wxTreeItemId
* _arg1
;
5157 PyObject
* _argo0
= 0;
5158 PyObject
* _argo1
= 0;
5159 char *_kwnames
[] = { "self","item", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5182 wxPy_END_ALLOW_THREADS
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5188 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5189 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5192 wxTreeItemId
* _arg1
;
5193 PyObject
* _argo0
= 0;
5194 PyObject
* _argo1
= 0;
5195 char *_kwnames
[] = { "self","item", NULL
};
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5215 wxPy_BEGIN_ALLOW_THREADS
;
5216 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5218 wxPy_END_ALLOW_THREADS
;
5219 } Py_INCREF(Py_None
);
5220 _resultobj
= Py_None
;
5224 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5225 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5228 PyObject
* _argo0
= 0;
5229 char *_kwnames
[] = { "self", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5242 wxPy_BEGIN_ALLOW_THREADS
;
5243 wxTreeCtrl_Unselect(_arg0
);
5245 wxPy_END_ALLOW_THREADS
;
5246 } Py_INCREF(Py_None
);
5247 _resultobj
= Py_None
;
5251 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5252 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5255 PyObject
* _argo0
= 0;
5256 char *_kwnames
[] = { "self", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5269 wxPy_BEGIN_ALLOW_THREADS
;
5270 wxTreeCtrl_UnselectAll(_arg0
);
5272 wxPy_END_ALLOW_THREADS
;
5273 } Py_INCREF(Py_None
);
5274 _resultobj
= Py_None
;
5278 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5279 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
* _resultobj
;
5282 wxTreeItemId
* _arg1
;
5283 PyObject
* _argo0
= 0;
5284 PyObject
* _argo1
= 0;
5285 char *_kwnames
[] = { "self","item", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5305 wxPy_BEGIN_ALLOW_THREADS
;
5306 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5308 wxPy_END_ALLOW_THREADS
;
5309 } Py_INCREF(Py_None
);
5310 _resultobj
= Py_None
;
5314 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5315 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5318 wxTreeItemId
* _arg1
;
5319 PyObject
* _argo0
= 0;
5320 PyObject
* _argo1
= 0;
5321 char *_kwnames
[] = { "self","item", NULL
};
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5341 wxPy_BEGIN_ALLOW_THREADS
;
5342 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5344 wxPy_END_ALLOW_THREADS
;
5345 } Py_INCREF(Py_None
);
5346 _resultobj
= Py_None
;
5350 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5351 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5354 wxTreeItemId
* _arg1
;
5355 PyObject
* _argo0
= 0;
5356 PyObject
* _argo1
= 0;
5357 char *_kwnames
[] = { "self","item", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5377 wxPy_BEGIN_ALLOW_THREADS
;
5378 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5380 wxPy_END_ALLOW_THREADS
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5386 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5387 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
* _resultobj
;
5390 wxTreeItemId
* _arg1
;
5391 PyObject
* _argo0
= 0;
5392 PyObject
* _argo1
= 0;
5393 char *_kwnames
[] = { "self","item", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5413 wxPy_BEGIN_ALLOW_THREADS
;
5414 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5416 wxPy_END_ALLOW_THREADS
;
5417 } Py_INCREF(Py_None
);
5418 _resultobj
= Py_None
;
5422 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5423 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5426 wxTreeItemId
* _arg1
;
5427 PyObject
* _argo0
= 0;
5428 PyObject
* _argo1
= 0;
5429 char *_kwnames
[] = { "self","item", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
5435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5449 wxPy_BEGIN_ALLOW_THREADS
;
5450 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
5452 wxPy_END_ALLOW_THREADS
;
5453 } Py_INCREF(Py_None
);
5454 _resultobj
= Py_None
;
5458 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5459 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5462 wxTreeItemId
* _arg1
;
5463 int _arg2
= (int ) TRUE
;
5464 PyObject
* _argo0
= 0;
5465 PyObject
* _argo1
= 0;
5466 char *_kwnames
[] = { "self","item","bold", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5486 wxPy_BEGIN_ALLOW_THREADS
;
5487 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5489 wxPy_END_ALLOW_THREADS
;
5490 } Py_INCREF(Py_None
);
5491 _resultobj
= Py_None
;
5495 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5496 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5500 wxTreeItemId
* _arg1
;
5501 PyObject
* _argo0
= 0;
5502 PyObject
* _argo1
= 0;
5503 char *_kwnames
[] = { "self","item", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5526 wxPy_END_ALLOW_THREADS
;
5527 } _resultobj
= Py_BuildValue("i",_result
);
5531 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5532 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxTreeItemId
* _result
;
5537 PyObject
* _argo0
= 0;
5539 PyObject
* _obj1
= 0;
5540 char *_kwnames
[] = { "self","point", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5555 if (! wxPoint_helper(_obj1
, &_arg1
))
5559 wxPy_BEGIN_ALLOW_THREADS
;
5560 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5562 wxPy_END_ALLOW_THREADS
;
5563 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5564 _resultobj
= Py_BuildValue("s",_ptemp
);
5568 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
5569 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5572 wxTreeItemId
* _arg1
;
5574 PyObject
* _argo0
= 0;
5575 PyObject
* _argo1
= 0;
5576 PyObject
* _argo2
= 0;
5577 char *_kwnames
[] = { "self","item","col", NULL
};
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeCtrl_p.");
5590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
5597 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemTextColour. Expected _wxColour_p.");
5604 wxPy_BEGIN_ALLOW_THREADS
;
5605 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
5607 wxPy_END_ALLOW_THREADS
;
5608 } Py_INCREF(Py_None
);
5609 _resultobj
= Py_None
;
5613 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
5614 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5617 wxTreeItemId
* _arg1
;
5619 PyObject
* _argo0
= 0;
5620 PyObject
* _argo1
= 0;
5621 PyObject
* _argo2
= 0;
5622 char *_kwnames
[] = { "self","item","col", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeCtrl_p.");
5635 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5636 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
5642 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxColour_p.");
5649 wxPy_BEGIN_ALLOW_THREADS
;
5650 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
5652 wxPy_END_ALLOW_THREADS
;
5653 } Py_INCREF(Py_None
);
5654 _resultobj
= Py_None
;
5658 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
5659 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5662 wxTreeItemId
* _arg1
;
5664 PyObject
* _argo0
= 0;
5665 PyObject
* _argo1
= 0;
5666 PyObject
* _argo2
= 0;
5667 char *_kwnames
[] = { "self","item","font", NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxTreeCtrl_p.");
5680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
5687 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5688 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
5694 wxPy_BEGIN_ALLOW_THREADS
;
5695 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
5697 wxPy_END_ALLOW_THREADS
;
5698 } Py_INCREF(Py_None
);
5699 _resultobj
= Py_None
;
5703 static PyMethodDef controls2cMethods
[] = {
5704 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
5705 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5706 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5707 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5708 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
5709 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
5710 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
5711 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5712 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
5713 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5714 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
5715 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
5716 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
5717 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
5718 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
5719 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
5720 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
5721 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5722 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
5723 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
5724 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
5725 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5726 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
5727 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
5728 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
5729 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
5730 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
5731 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
5732 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
5733 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
5734 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
5735 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
5736 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
5737 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
5738 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
5739 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5740 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
5741 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
5742 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
5743 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5744 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5745 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5746 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5747 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5748 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5749 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5750 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5751 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5752 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5753 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5754 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5755 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5756 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5757 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5758 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5759 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5760 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5761 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5762 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5763 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5764 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
5765 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5766 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5767 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
5768 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
5769 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
5770 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5771 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5772 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5773 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
5774 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
5775 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
5776 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5777 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5778 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5779 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5780 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
5781 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5782 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5783 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5784 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5785 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5786 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5787 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
5788 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5789 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5790 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5791 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5792 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
5793 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5794 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
5795 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5796 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5797 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
5798 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
5799 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5800 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
5801 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5802 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
5803 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5804 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5805 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5806 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5807 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
5808 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5809 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5810 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5811 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5812 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
5813 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5814 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5815 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
5816 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
5817 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5818 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5819 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5820 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
5821 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
5822 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
5823 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5824 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
5825 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
5826 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5827 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
5828 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
5829 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
5830 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
5831 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
5832 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
5833 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5834 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5835 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5836 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5837 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5838 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5839 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
5840 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
5841 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5842 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5843 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5844 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5845 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
5846 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
5847 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
5848 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
5849 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
5850 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
5851 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
5852 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
5853 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
5854 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
5855 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
5856 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
5857 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5858 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5859 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
5860 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
5861 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
5862 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
5869 * This table is used by the pointer type-checker
5871 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5872 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5873 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5874 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5875 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5876 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5877 { "_wxEvent","_class_wxEvent",0},
5878 { "_class_wxActivateEvent","_wxActivateEvent",0},
5879 { "_signed_long","_long",0},
5880 { "_wxMenuEvent","_class_wxMenuEvent",0},
5881 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5882 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5883 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5884 { "_wxPrintQuality","_wxCoord",0},
5885 { "_wxPrintQuality","_int",0},
5886 { "_wxPrintQuality","_signed_int",0},
5887 { "_wxPrintQuality","_unsigned_int",0},
5888 { "_wxPrintQuality","_wxWindowID",0},
5889 { "_wxPrintQuality","_uint",0},
5890 { "_wxPrintQuality","_EBool",0},
5891 { "_wxPrintQuality","_size_t",0},
5892 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5893 { "_class_wxRegionIterator","_wxRegionIterator",0},
5894 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5895 { "_class_wxMenuBar","_wxMenuBar",0},
5896 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5897 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5898 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5899 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5900 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5901 { "_class_wxEvtHandler","_wxEvtHandler",0},
5902 { "_wxPaintEvent","_class_wxPaintEvent",0},
5903 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5904 { "_wxCursor","_class_wxCursor",0},
5905 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5906 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5907 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5908 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5909 { "_wxMask","_class_wxMask",0},
5910 { "_wxPen","_class_wxPen",0},
5911 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5912 { "_byte","_unsigned_char",0},
5913 { "_wxDataObject","_class_wxDataObject",0},
5914 { "_wxStaticBox","_class_wxStaticBox",0},
5915 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5916 { "_wxPyDropSource","_class_wxPyDropSource",0},
5917 { "_wxChoice","_class_wxChoice",0},
5918 { "_wxSlider","_class_wxSlider",0},
5919 { "_long","_unsigned_long",0},
5920 { "_long","_signed_long",0},
5921 { "_wxImageList","_class_wxImageList",0},
5922 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5923 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5924 { "_wxBitmapButton","_class_wxBitmapButton",0},
5925 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5926 { "_class_wxClipboard","_wxClipboard",0},
5927 { "_class_wxGauge","_wxGauge",0},
5928 { "_wxDC","_class_wxDC",0},
5929 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5930 { "_wxListEvent","_class_wxListEvent",0},
5931 { "_wxSpinEvent","_class_wxSpinEvent",0},
5932 { "_size_t","_wxCoord",0},
5933 { "_size_t","_wxPrintQuality",0},
5934 { "_size_t","_unsigned_int",0},
5935 { "_size_t","_int",0},
5936 { "_size_t","_wxWindowID",0},
5937 { "_size_t","_uint",0},
5938 { "_class_wxRealPoint","_wxRealPoint",0},
5939 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5940 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5941 { "_class_wxMenuItem","_wxMenuItem",0},
5942 { "_class_wxPaintEvent","_wxPaintEvent",0},
5943 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5944 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5945 { "_wxPanel","_class_wxPanel",0},
5946 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5947 { "_wxCheckBox","_class_wxCheckBox",0},
5948 { "_wxPyEvent","_class_wxPyEvent",0},
5949 { "_wxTextCtrl","_class_wxTextCtrl",0},
5950 { "_class_wxMask","_wxMask",0},
5951 { "_wxTextDataObject","_class_wxTextDataObject",0},
5952 { "_class_wxKeyEvent","_wxKeyEvent",0},
5953 { "_wxColour","_class_wxColour",0},
5954 { "_class_wxDialog","_wxDialog",0},
5955 { "_class_wxFileDataObject","_wxFileDataObject",0},
5956 { "_wxIdleEvent","_class_wxIdleEvent",0},
5957 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5958 { "_class_wxDataObject","_wxDataObject",0},
5959 { "_wxStaticLine","_class_wxStaticLine",0},
5960 { "_wxBrush","_class_wxBrush",0},
5961 { "_wxDataFormat","_class_wxDataFormat",0},
5962 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5963 { "_wxShowEvent","_class_wxShowEvent",0},
5964 { "_uint","_wxCoord",0},
5965 { "_uint","_wxPrintQuality",0},
5966 { "_uint","_size_t",0},
5967 { "_uint","_unsigned_int",0},
5968 { "_uint","_int",0},
5969 { "_uint","_wxWindowID",0},
5970 { "_wxPyValidator","_class_wxPyValidator",0},
5971 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5972 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5973 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5974 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5975 { "_class_wxEvent","_wxEvent",0},
5976 { "_wxCheckListBox","_class_wxCheckListBox",0},
5977 { "_wxRect","_class_wxRect",0},
5978 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5979 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5980 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5981 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5982 { "_wxCommandEvent","_class_wxCommandEvent",0},
5983 { "_wxSizeEvent","_class_wxSizeEvent",0},
5984 { "_wxPoint","_class_wxPoint",0},
5985 { "_class_wxButton","_wxButton",0},
5986 { "_wxRadioBox","_class_wxRadioBox",0},
5987 { "_wxBitmap","_class_wxBitmap",0},
5988 { "_char","_wxDash",0},
5989 { "_wxPyTimer","_class_wxPyTimer",0},
5990 { "_wxWindowDC","_class_wxWindowDC",0},
5991 { "_wxScrollBar","_class_wxScrollBar",0},
5992 { "_wxSpinButton","_class_wxSpinButton",0},
5993 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5994 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5995 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5996 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5997 { "_class_wxValidator","_wxValidator",0},
5998 { "_class_wxPyEvent","_wxPyEvent",0},
5999 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6000 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6001 { "_wxListItem","_class_wxListItem",0},
6002 { "_wxDropTarget","_class_wxDropTarget",0},
6003 { "_class_wxStaticLine","_wxStaticLine",0},
6004 { "_wxScrollEvent","_class_wxScrollEvent",0},
6005 { "_EBool","_wxCoord",0},
6006 { "_EBool","_wxPrintQuality",0},
6007 { "_EBool","_signed_int",0},
6008 { "_EBool","_int",0},
6009 { "_EBool","_wxWindowID",0},
6010 { "_class_wxRegion","_wxRegion",0},
6011 { "_class_wxDataFormat","_wxDataFormat",0},
6012 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6013 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6014 { "_wxStaticText","_class_wxStaticText",0},
6015 { "_wxFont","_class_wxFont",0},
6016 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6017 { "_wxCloseEvent","_class_wxCloseEvent",0},
6018 { "_unsigned_long","_long",0},
6019 { "_class_wxRect","_wxRect",0},
6020 { "_class_wxDC","_wxDC",0},
6021 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6022 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6023 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6024 { "_class_wxTreeEvent","_wxTreeEvent",0},
6025 { "_class_wxPyTimer","_wxPyTimer",0},
6026 { "_wxFocusEvent","_class_wxFocusEvent",0},
6027 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6028 { "_class_wxSpinButton","_wxSpinButton",0},
6029 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6030 { "_class_wxPanel","_wxPanel",0},
6031 { "_class_wxCheckBox","_wxCheckBox",0},
6032 { "_wxComboBox","_class_wxComboBox",0},
6033 { "_wxRadioButton","_class_wxRadioButton",0},
6034 { "_signed_int","_wxCoord",0},
6035 { "_signed_int","_wxPrintQuality",0},
6036 { "_signed_int","_EBool",0},
6037 { "_signed_int","_wxWindowID",0},
6038 { "_signed_int","_int",0},
6039 { "_class_wxTextCtrl","_wxTextCtrl",0},
6040 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6041 { "_class_wxTextDataObject","_wxTextDataObject",0},
6042 { "_wxMenu","_class_wxMenu",0},
6043 { "_class_wxMoveEvent","_wxMoveEvent",0},
6044 { "_wxListBox","_class_wxListBox",0},
6045 { "_wxScreenDC","_class_wxScreenDC",0},
6046 { "_WXTYPE","_short",0},
6047 { "_WXTYPE","_signed_short",0},
6048 { "_WXTYPE","_unsigned_short",0},
6049 { "_class_wxDropTarget","_wxDropTarget",0},
6050 { "_class_wxBrush","_wxBrush",0},
6051 { "_unsigned_short","_WXTYPE",0},
6052 { "_unsigned_short","_short",0},
6053 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6054 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6055 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6056 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6057 { "_class_wxWindow","_wxWindow",0},
6058 { "_class_wxStaticText","_wxStaticText",0},
6059 { "_class_wxFont","_wxFont",0},
6060 { "_wxClipboard","_class_wxClipboard",0},
6061 { "_class_wxPyValidator","_wxPyValidator",0},
6062 { "_class_wxCloseEvent","_wxCloseEvent",0},
6063 { "_wxBusyInfo","_class_wxBusyInfo",0},
6064 { "_class_wxMenuEvent","_wxMenuEvent",0},
6065 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6066 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
6067 { "_wxClientDC","_class_wxClientDC",0},
6068 { "_wxMouseEvent","_class_wxMouseEvent",0},
6069 { "_wxListCtrl","_class_wxListCtrl",0},
6070 { "_class_wxPoint","_wxPoint",0},
6071 { "_wxRealPoint","_class_wxRealPoint",0},
6072 { "_class_wxRadioBox","_wxRadioBox",0},
6073 { "_signed_short","_WXTYPE",0},
6074 { "_signed_short","_short",0},
6075 { "_wxMemoryDC","_class_wxMemoryDC",0},
6076 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
6077 { "_wxPaintDC","_class_wxPaintDC",0},
6078 { "_class_wxWindowDC","_wxWindowDC",0},
6079 { "_class_wxFocusEvent","_wxFocusEvent",0},
6080 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6081 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6082 { "_class_wxCursor","_wxCursor",0},
6083 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6084 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6085 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6086 { "_wxTreeItemId","_class_wxTreeItemId",0},
6087 { "_unsigned_char","_byte",0},
6088 { "_class_wxMenu","_wxMenu",0},
6089 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6090 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6091 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6092 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6093 { "_wxControl","_class_wxControl",0},
6094 { "_class_wxListBox","_wxListBox",0},
6095 { "_unsigned_int","_wxCoord",0},
6096 { "_unsigned_int","_wxPrintQuality",0},
6097 { "_unsigned_int","_size_t",0},
6098 { "_unsigned_int","_uint",0},
6099 { "_unsigned_int","_wxWindowID",0},
6100 { "_unsigned_int","_int",0},
6101 { "_wxIcon","_class_wxIcon",0},
6102 { "_wxDialog","_class_wxDialog",0},
6103 { "_class_wxListItem","_wxListItem",0},
6104 { "_class_wxPen","_wxPen",0},
6105 { "_short","_WXTYPE",0},
6106 { "_short","_unsigned_short",0},
6107 { "_short","_signed_short",0},
6108 { "_class_wxStaticBox","_wxStaticBox",0},
6109 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6110 { "_class_wxPyDropSource","_wxPyDropSource",0},
6111 { "_class_wxScrollEvent","_wxScrollEvent",0},
6112 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6113 { "_class_wxChoice","_wxChoice",0},
6114 { "_class_wxSlider","_wxSlider",0},
6115 { "_class_wxImageList","_wxImageList",0},
6116 { "_class_wxBitmapButton","_wxBitmapButton",0},
6117 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6118 { "_wxWindowID","_wxCoord",0},
6119 { "_wxWindowID","_wxPrintQuality",0},
6120 { "_wxWindowID","_size_t",0},
6121 { "_wxWindowID","_EBool",0},
6122 { "_wxWindowID","_uint",0},
6123 { "_wxWindowID","_int",0},
6124 { "_wxWindowID","_signed_int",0},
6125 { "_wxWindowID","_unsigned_int",0},
6126 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6127 { "_int","_wxCoord",0},
6128 { "_int","_wxPrintQuality",0},
6129 { "_int","_size_t",0},
6130 { "_int","_EBool",0},
6131 { "_int","_uint",0},
6132 { "_int","_wxWindowID",0},
6133 { "_int","_unsigned_int",0},
6134 { "_int","_signed_int",0},
6135 { "_class_wxMouseEvent","_wxMouseEvent",0},
6136 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6137 { "_class_wxListEvent","_wxListEvent",0},
6138 { "_class_wxSpinEvent","_wxSpinEvent",0},
6139 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6140 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6141 { "_wxButton","_class_wxButton",0},
6142 { "_wxSize","_class_wxSize",0},
6143 { "_wxRegionIterator","_class_wxRegionIterator",0},
6144 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6145 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6146 { "_class_wxPaintDC","_wxPaintDC",0},
6147 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6148 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6149 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6150 { "_class_wxComboBox","_wxComboBox",0},
6151 { "_class_wxRadioButton","_wxRadioButton",0},
6152 { "_wxValidator","_class_wxValidator",0},
6153 { "_class_wxTreeItemId","_wxTreeItemId",0},
6154 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6155 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6156 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6157 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6158 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6159 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6160 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6161 { "_class_wxControl","_wxControl",0},
6162 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6163 { "_class_wxIcon","_wxIcon",0},
6164 { "_class_wxColour","_wxColour",0},
6165 { "_class_wxScreenDC","_wxScreenDC",0},
6166 { "_wxPalette","_class_wxPalette",0},
6167 { "_class_wxIdleEvent","_wxIdleEvent",0},
6168 { "_wxCoord","_int",0},
6169 { "_wxCoord","_signed_int",0},
6170 { "_wxCoord","_unsigned_int",0},
6171 { "_wxCoord","_wxWindowID",0},
6172 { "_wxCoord","_uint",0},
6173 { "_wxCoord","_EBool",0},
6174 { "_wxCoord","_size_t",0},
6175 { "_wxCoord","_wxPrintQuality",0},
6176 { "_wxEraseEvent","_class_wxEraseEvent",0},
6177 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6178 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6179 { "_wxRegion","_class_wxRegion",0},
6180 { "_class_wxShowEvent","_wxShowEvent",0},
6181 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6182 { "_wxActivateEvent","_class_wxActivateEvent",0},
6183 { "_wxGauge","_class_wxGauge",0},
6184 { "_class_wxCheckListBox","_wxCheckListBox",0},
6185 { "_class_wxBusyInfo","_wxBusyInfo",0},
6186 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6187 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6188 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6189 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6190 { "_class_wxCommandEvent","_wxCommandEvent",0},
6191 { "_class_wxClientDC","_wxClientDC",0},
6192 { "_class_wxSizeEvent","_wxSizeEvent",0},
6193 { "_class_wxListCtrl","_wxListCtrl",0},
6194 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6195 { "_class_wxSize","_wxSize",0},
6196 { "_class_wxBitmap","_wxBitmap",0},
6197 { "_class_wxMemoryDC","_wxMemoryDC",0},
6198 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6199 { "_wxMenuBar","_class_wxMenuBar",0},
6200 { "_wxTreeEvent","_class_wxTreeEvent",0},
6201 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6202 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6203 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6204 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6205 { "_wxEvtHandler","_class_wxEvtHandler",0},
6206 { "_wxMenuItem","_class_wxMenuItem",0},
6207 { "_class_wxScrollBar","_wxScrollBar",0},
6208 { "_wxDash","_char",0},
6209 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6210 { "_wxKeyEvent","_class_wxKeyEvent",0},
6211 { "_wxMoveEvent","_class_wxMoveEvent",0},
6212 { "_class_wxPalette","_wxPalette",0},
6213 { "_wxFileDataObject","_class_wxFileDataObject",0},
6214 { "_class_wxEraseEvent","_wxEraseEvent",0},
6215 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6216 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6217 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6218 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6219 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6220 { "_wxWindow","_class_wxWindow",0},
6221 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6224 static PyObject
*SWIG_globals
;
6228 SWIGEXPORT(void) initcontrols2c() {
6230 SWIG_globals
= SWIG_newvarlink();
6231 m
= Py_InitModule("controls2c", controls2cMethods
);
6232 d
= PyModule_GetDict(m
);
6233 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
6234 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
6235 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
6236 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
6237 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
6238 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
6239 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
6240 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
6241 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
6242 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
6243 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
6244 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
6245 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
6246 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
6247 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
6248 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
6249 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
6250 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
6251 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
6252 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
6253 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
6254 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
6255 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6256 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6257 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6258 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6259 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6260 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6261 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6262 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6263 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6264 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6265 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6266 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6267 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6268 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6269 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6270 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6271 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6272 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6273 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6274 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6275 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6276 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
6277 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
6278 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
6279 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
6280 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
6283 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6284 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);