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_FromString(WXSTRINGCAST (*_result
));
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_FromString(WXSTRINGCAST (*_result
));
491 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
492 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, 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 self
->GetItem(*info
);
1790 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1792 wxListItem
* _result
;
1795 int _arg2
= (int ) 0;
1796 PyObject
* _argo0
= 0;
1797 char *_kwnames
[] = { "self","itemId","col", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
1814 wxPy_END_ALLOW_THREADS
;
1816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1817 _resultobj
= Py_BuildValue("s",_ptemp
);
1820 _resultobj
= Py_None
;
1825 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1826 wxPoint
* pos
= new wxPoint
;
1827 self
->GetItemPosition(item
, *pos
);
1830 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","item", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1853 wxPy_END_ALLOW_THREADS
;
1855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1856 _resultobj
= Py_BuildValue("s",_ptemp
);
1859 _resultobj
= Py_None
;
1864 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1865 wxRect
* rect
= new wxRect
;
1866 self
->GetItemRect(item
, *rect
, code
);
1869 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1874 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self","item","code", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1893 wxPy_END_ALLOW_THREADS
;
1895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1896 _resultobj
= Py_BuildValue("s",_ptemp
);
1899 _resultobj
= Py_None
;
1904 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1905 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1934 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1952 wxPy_BEGIN_ALLOW_THREADS
;
1953 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1955 wxPy_END_ALLOW_THREADS
;
1956 } _resultobj
= Py_BuildValue("i",_result
);
1960 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1961 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1966 PyObject
* _argo0
= 0;
1968 char *_kwnames
[] = { "self","isSmall", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1980 _arg1
= (bool ) tempbool1
;
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } _resultobj
= Py_BuildValue("i",_result
);
1990 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1991 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1996 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self","item", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2013 wxPy_END_ALLOW_THREADS
;
2015 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2023 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2024 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2029 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2030 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } _resultobj
= Py_BuildValue("l",_result
);
2053 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2054 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2075 wxPy_END_ALLOW_THREADS
;
2076 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2081 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2085 PyObject
* _argo0
= 0;
2086 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2102 wxPy_END_ALLOW_THREADS
;
2103 } _resultobj
= Py_BuildValue("l",_result
);
2107 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2108 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2117 PyObject
* _obj1
= 0;
2118 char *_kwnames
[] = { "self","point", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2135 if (! wxPoint_helper(_obj1
, &_arg1
))
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2142 wxPy_END_ALLOW_THREADS
;
2143 } _resultobj
= Py_BuildValue("l",_result
);
2146 o
= PyInt_FromLong((long) (*_arg2
));
2147 _resultobj
= t_output_helper(_resultobj
, o
);
2152 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2153 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2159 PyObject
* _argo0
= 0;
2160 PyObject
* _argo2
= 0;
2161 char *_kwnames
[] = { "self","col","info", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2174 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } _resultobj
= Py_BuildValue("l",_result
);
2189 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2190 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2196 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2197 int _arg4
= (int ) -1;
2198 PyObject
* _argo0
= 0;
2199 PyObject
* _obj2
= 0;
2200 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2213 if (!PyString_Check(_obj2
)) {
2214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2217 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2220 wxPy_BEGIN_ALLOW_THREADS
;
2221 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2223 wxPy_END_ALLOW_THREADS
;
2224 } _resultobj
= Py_BuildValue("l",_result
);
2232 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2233 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2238 PyObject
* _argo0
= 0;
2239 PyObject
* _argo1
= 0;
2240 char *_kwnames
[] = { "self","info", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2260 wxPy_BEGIN_ALLOW_THREADS
;
2261 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2263 wxPy_END_ALLOW_THREADS
;
2264 } _resultobj
= Py_BuildValue("l",_result
);
2268 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2269 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2276 PyObject
* _obj2
= 0;
2277 char *_kwnames
[] = { "self","index","label", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2290 if (!PyString_Check(_obj2
)) {
2291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2294 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2297 wxPy_BEGIN_ALLOW_THREADS
;
2298 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2300 wxPy_END_ALLOW_THREADS
;
2301 } _resultobj
= Py_BuildValue("l",_result
);
2309 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2310 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } _resultobj
= Py_BuildValue("l",_result
);
2338 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2339 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2346 PyObject
* _argo0
= 0;
2347 PyObject
* _obj2
= 0;
2348 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2361 if (!PyString_Check(_obj2
)) {
2362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2365 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } _resultobj
= Py_BuildValue("l",_result
);
2380 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2381 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self","dx","dy", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } _resultobj
= Py_BuildValue("i",_result
);
2409 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2410 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2414 PyObject
* _argo0
= 0;
2415 PyObject
* _argo1
= 0;
2416 char *_kwnames
[] = { "self","col", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2446 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2452 PyObject
* _argo0
= 0;
2453 PyObject
* _argo2
= 0;
2454 char *_kwnames
[] = { "self","col","item", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2467 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2468 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2474 wxPy_BEGIN_ALLOW_THREADS
;
2475 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2477 wxPy_END_ALLOW_THREADS
;
2478 } _resultobj
= Py_BuildValue("i",_result
);
2482 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2483 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self","col","width", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } _resultobj
= Py_BuildValue("i",_result
);
2511 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2512 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
* _resultobj
;
2515 wxImageList
* _arg1
;
2517 PyObject
* _argo0
= 0;
2518 PyObject
* _argo1
= 0;
2519 char *_kwnames
[] = { "self","imageList","which", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2549 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2554 PyObject
* _argo0
= 0;
2555 PyObject
* _argo1
= 0;
2556 char *_kwnames
[] = { "self","info", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2579 wxPy_END_ALLOW_THREADS
;
2580 } _resultobj
= Py_BuildValue("i",_result
);
2584 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2585 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2592 int _arg4
= (int ) -1;
2593 PyObject
* _argo0
= 0;
2594 PyObject
* _obj3
= 0;
2595 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2608 if (!PyString_Check(_obj3
)) {
2609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2612 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2618 wxPy_END_ALLOW_THREADS
;
2619 } _resultobj
= Py_BuildValue("l",_result
);
2627 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2628 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self","item","data", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2651 wxPy_END_ALLOW_THREADS
;
2652 } _resultobj
= Py_BuildValue("i",_result
);
2656 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2657 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2681 wxPy_END_ALLOW_THREADS
;
2682 } _resultobj
= Py_BuildValue("i",_result
);
2686 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2687 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2695 PyObject
* _obj2
= 0;
2696 char *_kwnames
[] = { "self","item","pos", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2710 if (! wxPoint_helper(_obj2
, &_arg2
))
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2717 wxPy_END_ALLOW_THREADS
;
2718 } _resultobj
= Py_BuildValue("i",_result
);
2722 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2723 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } _resultobj
= Py_BuildValue("i",_result
);
2752 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2753 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2758 PyObject
* _argo0
= 0;
2759 PyObject
* _obj2
= 0;
2760 char *_kwnames
[] = { "self","item","text", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2773 if (!PyString_Check(_obj2
)) {
2774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2777 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2783 wxPy_END_ALLOW_THREADS
;
2784 } Py_INCREF(Py_None
);
2785 _resultobj
= Py_None
;
2793 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2794 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2798 bool _arg2
= (bool ) TRUE
;
2799 PyObject
* _argo0
= 0;
2800 int tempbool2
= (int) TRUE
;
2801 char *_kwnames
[] = { "self","style","add", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2813 _arg2
= (bool ) tempbool2
;
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2825 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self","style", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2843 wxPy_BEGIN_ALLOW_THREADS
;
2844 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2846 wxPy_END_ALLOW_THREADS
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define new_wxTreeItemId() (new wxTreeItemId())
2853 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2855 wxTreeItemId
* _result
;
2856 char *_kwnames
[] = { NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2866 wxPy_END_ALLOW_THREADS
;
2868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2869 _resultobj
= Py_BuildValue("s",_ptemp
);
2872 _resultobj
= Py_None
;
2877 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2878 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2880 wxTreeItemId
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 delete_wxTreeItemId(_arg0
);
2898 wxPy_END_ALLOW_THREADS
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2904 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2905 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 wxTreeItemId
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 } _resultobj
= Py_BuildValue("i",_result
);
2931 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2932 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxPyTreeItemData
* _result
;
2935 PyObject
* _arg0
= (PyObject
*) NULL
;
2936 PyObject
* _obj0
= 0;
2937 char *_kwnames
[] = { "obj", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
2948 wxPy_BEGIN_ALLOW_THREADS
;
2949 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2951 wxPy_END_ALLOW_THREADS
;
2953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2954 _resultobj
= Py_BuildValue("s",_ptemp
);
2957 _resultobj
= Py_None
;
2962 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2963 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2966 wxPyTreeItemData
* _arg0
;
2967 PyObject
* _argo0
= 0;
2968 char *_kwnames
[] = { "self", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2981 wxPy_BEGIN_ALLOW_THREADS
;
2982 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2984 wxPy_END_ALLOW_THREADS
;
2986 _resultobj
= _result
;
2991 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
2992 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxPyTreeItemData
* _arg0
;
2996 PyObject
* _argo0
= 0;
2997 PyObject
* _obj1
= 0;
2998 char *_kwnames
[] = { "self","obj", NULL
};
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 wxTreeItemData_SetData(_arg0
,_arg1
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } Py_INCREF(Py_None
);
3019 _resultobj
= Py_None
;
3023 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3024 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxTreeItemId
* _result
;
3027 wxPyTreeItemData
* _arg0
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3045 _result
= (wxTreeItemId
*) &_result_ref
;
3047 wxPy_END_ALLOW_THREADS
;
3049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3050 _resultobj
= Py_BuildValue("s",_ptemp
);
3053 _resultobj
= Py_None
;
3058 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3059 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3061 wxPyTreeItemData
* _arg0
;
3062 wxTreeItemId
* _arg1
;
3063 PyObject
* _argo0
= 0;
3064 PyObject
* _argo1
= 0;
3065 char *_kwnames
[] = { "self","id", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 wxTreeItemData_SetId(_arg0
,*_arg1
);
3088 wxPy_END_ALLOW_THREADS
;
3089 } Py_INCREF(Py_None
);
3090 _resultobj
= Py_None
;
3094 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3096 wxNotifyEvent
*dest
;
3097 src
= (wxTreeEvent
*) ptr
;
3098 dest
= (wxNotifyEvent
*) src
;
3099 return (void *) dest
;
3102 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3104 wxCommandEvent
*dest
;
3105 src
= (wxTreeEvent
*) ptr
;
3106 dest
= (wxCommandEvent
*) src
;
3107 return (void *) dest
;
3110 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3113 src
= (wxTreeEvent
*) ptr
;
3114 dest
= (wxEvent
*) src
;
3115 return (void *) dest
;
3118 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3119 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxTreeItemId
* _result
;
3122 wxTreeEvent
* _arg0
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3138 wxPy_BEGIN_ALLOW_THREADS
;
3139 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3141 wxPy_END_ALLOW_THREADS
;
3142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3143 _resultobj
= Py_BuildValue("s",_ptemp
);
3147 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3148 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
* _resultobj
;
3150 wxTreeItemId
* _result
;
3151 wxTreeEvent
* _arg0
;
3152 PyObject
* _argo0
= 0;
3153 char *_kwnames
[] = { "self", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3167 wxPy_BEGIN_ALLOW_THREADS
;
3168 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3170 wxPy_END_ALLOW_THREADS
;
3171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3172 _resultobj
= Py_BuildValue("s",_ptemp
);
3176 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3177 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3180 wxTreeEvent
* _arg0
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3199 wxPy_END_ALLOW_THREADS
;
3200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3201 _resultobj
= Py_BuildValue("s",_ptemp
);
3205 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3206 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3209 wxTreeEvent
* _arg0
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3224 wxPy_BEGIN_ALLOW_THREADS
;
3225 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3227 wxPy_END_ALLOW_THREADS
;
3228 } _resultobj
= Py_BuildValue("i",_result
);
3232 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3233 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 wxTreeEvent
* _arg0
;
3237 PyObject
* _argo0
= 0;
3238 char *_kwnames
[] = { "self", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3253 _result
= (wxString
*) &_result_ref
;
3255 wxPy_END_ALLOW_THREADS
;
3257 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3262 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3265 src
= (wxTreeCtrl
*) ptr
;
3266 dest
= (wxControl
*) src
;
3267 return (void *) dest
;
3270 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3273 src
= (wxTreeCtrl
*) ptr
;
3274 dest
= (wxWindow
*) src
;
3275 return (void *) dest
;
3278 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3281 src
= (wxTreeCtrl
*) ptr
;
3282 dest
= (wxEvtHandler
*) src
;
3283 return (void *) dest
;
3286 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3287 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3289 wxTreeCtrl
* _result
;
3291 wxWindowID _arg1
= (wxWindowID
) -1;
3292 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3293 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3294 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3295 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3296 char * _arg6
= (char *) "wxTreeCtrl";
3297 PyObject
* _argo0
= 0;
3299 PyObject
* _obj2
= 0;
3301 PyObject
* _obj3
= 0;
3302 PyObject
* _argo5
= 0;
3303 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3319 if (! wxPoint_helper(_obj2
, &_arg2
))
3325 if (! wxSize_helper(_obj3
, &_arg3
))
3329 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3339 wxPy_END_ALLOW_THREADS
;
3341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3342 _resultobj
= Py_BuildValue("s",_ptemp
);
3345 _resultobj
= Py_None
;
3350 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3351 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3372 wxPy_END_ALLOW_THREADS
;
3373 } _resultobj
= Py_BuildValue("i",_result
);
3377 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3378 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3380 unsigned int _result
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3399 wxPy_END_ALLOW_THREADS
;
3400 } _resultobj
= Py_BuildValue("i",_result
);
3404 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3405 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3409 PyObject
* _argo0
= 0;
3410 char *_kwnames
[] = { "self","indent", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3423 wxPy_BEGIN_ALLOW_THREADS
;
3424 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3426 wxPy_END_ALLOW_THREADS
;
3427 } Py_INCREF(Py_None
);
3428 _resultobj
= Py_None
;
3432 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3433 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3435 wxImageList
* _result
;
3437 PyObject
* _argo0
= 0;
3438 char *_kwnames
[] = { "self", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3452 wxPy_BEGIN_ALLOW_THREADS
;
3453 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3455 wxPy_END_ALLOW_THREADS
;
3457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3458 _resultobj
= Py_BuildValue("s",_ptemp
);
3461 _resultobj
= Py_None
;
3466 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3467 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3469 wxImageList
* _result
;
3471 PyObject
* _argo0
= 0;
3472 char *_kwnames
[] = { "self", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3489 wxPy_END_ALLOW_THREADS
;
3491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3495 _resultobj
= Py_None
;
3500 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3501 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3504 wxImageList
* _arg1
;
3505 PyObject
* _argo0
= 0;
3506 PyObject
* _argo1
= 0;
3507 char *_kwnames
[] = { "self","imageList", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3530 wxPy_END_ALLOW_THREADS
;
3531 } Py_INCREF(Py_None
);
3532 _resultobj
= Py_None
;
3536 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3537 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3540 wxImageList
* _arg1
;
3541 PyObject
* _argo0
= 0;
3542 PyObject
* _argo1
= 0;
3543 char *_kwnames
[] = { "self","imageList", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3566 wxPy_END_ALLOW_THREADS
;
3567 } Py_INCREF(Py_None
);
3568 _resultobj
= Py_None
;
3572 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3573 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3577 wxTreeItemId
* _arg1
;
3578 PyObject
* _argo0
= 0;
3579 PyObject
* _argo1
= 0;
3580 char *_kwnames
[] = { "self","item", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3603 wxPy_END_ALLOW_THREADS
;
3605 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3613 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3614 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 wxTreeItemId
* _arg1
;
3619 PyObject
* _argo0
= 0;
3620 PyObject
* _argo1
= 0;
3621 char *_kwnames
[] = { "self","item", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3641 wxPy_BEGIN_ALLOW_THREADS
;
3642 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3644 wxPy_END_ALLOW_THREADS
;
3645 } _resultobj
= Py_BuildValue("i",_result
);
3649 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3650 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3654 wxTreeItemId
* _arg1
;
3655 PyObject
* _argo0
= 0;
3656 PyObject
* _argo1
= 0;
3657 char *_kwnames
[] = { "self","item", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } _resultobj
= Py_BuildValue("i",_result
);
3685 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3686 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3689 wxTreeItemId
* _arg1
;
3691 PyObject
* _argo0
= 0;
3692 PyObject
* _argo1
= 0;
3693 PyObject
* _obj2
= 0;
3694 char *_kwnames
[] = { "self","item","text", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3714 if (!PyString_Check(_obj2
)) {
3715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3718 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3721 wxPy_BEGIN_ALLOW_THREADS
;
3722 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3724 wxPy_END_ALLOW_THREADS
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3734 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3735 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3738 wxTreeItemId
* _arg1
;
3740 PyObject
* _argo0
= 0;
3741 PyObject
* _argo1
= 0;
3742 char *_kwnames
[] = { "self","item","image", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3765 wxPy_END_ALLOW_THREADS
;
3766 } Py_INCREF(Py_None
);
3767 _resultobj
= Py_None
;
3771 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3772 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3775 wxTreeItemId
* _arg1
;
3777 PyObject
* _argo0
= 0;
3778 PyObject
* _argo1
= 0;
3779 char *_kwnames
[] = { "self","item","image", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3799 wxPy_BEGIN_ALLOW_THREADS
;
3800 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3802 wxPy_END_ALLOW_THREADS
;
3803 } Py_INCREF(Py_None
);
3804 _resultobj
= Py_None
;
3808 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3809 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3812 wxTreeItemId
* _arg1
;
3813 bool _arg2
= (bool ) TRUE
;
3814 PyObject
* _argo0
= 0;
3815 PyObject
* _argo1
= 0;
3816 int tempbool2
= (int) TRUE
;
3817 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
3823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3836 _arg2
= (bool ) tempbool2
;
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3841 wxPy_END_ALLOW_THREADS
;
3842 } Py_INCREF(Py_None
);
3843 _resultobj
= Py_None
;
3847 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3848 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3850 data
= new wxPyTreeItemData();
3851 self
->SetItemData(item
, data
);
3855 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3857 wxPyTreeItemData
* _result
;
3859 wxTreeItemId
* _arg1
;
3860 PyObject
* _argo0
= 0;
3861 PyObject
* _argo1
= 0;
3862 char *_kwnames
[] = { "self","item", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3883 wxPy_BEGIN_ALLOW_THREADS
;
3884 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3886 wxPy_END_ALLOW_THREADS
;
3888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3889 _resultobj
= Py_BuildValue("s",_ptemp
);
3892 _resultobj
= Py_None
;
3897 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3898 self
->SetItemData(item
, data
);
3900 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3903 wxTreeItemId
* _arg1
;
3904 wxPyTreeItemData
* _arg2
;
3905 PyObject
* _argo0
= 0;
3906 PyObject
* _argo1
= 0;
3907 PyObject
* _argo2
= 0;
3908 char *_kwnames
[] = { "self","item","data", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3928 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } Py_INCREF(Py_None
);
3940 _resultobj
= Py_None
;
3944 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3945 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3947 data
= new wxPyTreeItemData();
3948 self
->SetItemData(item
, data
);
3950 return data
->GetData();
3952 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3956 wxTreeItemId
* _arg1
;
3957 PyObject
* _argo0
= 0;
3958 PyObject
* _argo1
= 0;
3959 char *_kwnames
[] = { "self","item", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3979 wxPy_BEGIN_ALLOW_THREADS
;
3980 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3982 wxPy_END_ALLOW_THREADS
;
3984 _resultobj
= _result
;
3989 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
3990 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3992 data
= new wxPyTreeItemData(obj
);
3993 self
->SetItemData(item
, data
);
3997 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
4000 wxTreeItemId
* _arg1
;
4002 PyObject
* _argo0
= 0;
4003 PyObject
* _argo1
= 0;
4004 PyObject
* _obj2
= 0;
4005 char *_kwnames
[] = { "self","item","obj", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4028 wxPy_BEGIN_ALLOW_THREADS
;
4029 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4031 wxPy_END_ALLOW_THREADS
;
4032 } Py_INCREF(Py_None
);
4033 _resultobj
= Py_None
;
4037 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4038 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4042 wxTreeItemId
* _arg1
;
4043 PyObject
* _argo0
= 0;
4044 PyObject
* _argo1
= 0;
4045 char *_kwnames
[] = { "self","item", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4065 wxPy_BEGIN_ALLOW_THREADS
;
4066 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4068 wxPy_END_ALLOW_THREADS
;
4069 } _resultobj
= Py_BuildValue("i",_result
);
4073 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4074 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4078 wxTreeItemId
* _arg1
;
4079 PyObject
* _argo0
= 0;
4080 PyObject
* _argo1
= 0;
4081 char *_kwnames
[] = { "self","item", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } _resultobj
= Py_BuildValue("i",_result
);
4109 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4110 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4114 wxTreeItemId
* _arg1
;
4115 PyObject
* _argo0
= 0;
4116 PyObject
* _argo1
= 0;
4117 char *_kwnames
[] = { "self","item", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4137 wxPy_BEGIN_ALLOW_THREADS
;
4138 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4140 wxPy_END_ALLOW_THREADS
;
4141 } _resultobj
= Py_BuildValue("i",_result
);
4145 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4146 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4150 wxTreeItemId
* _arg1
;
4151 PyObject
* _argo0
= 0;
4152 PyObject
* _argo1
= 0;
4153 char *_kwnames
[] = { "self","item", NULL
};
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4173 wxPy_BEGIN_ALLOW_THREADS
;
4174 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4176 wxPy_END_ALLOW_THREADS
;
4177 } _resultobj
= Py_BuildValue("i",_result
);
4181 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4182 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4184 wxTreeItemId
* _result
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4204 wxPy_END_ALLOW_THREADS
;
4205 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4206 _resultobj
= Py_BuildValue("s",_ptemp
);
4210 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4211 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4213 wxTreeItemId
* _result
;
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4233 wxPy_END_ALLOW_THREADS
;
4234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4235 _resultobj
= Py_BuildValue("s",_ptemp
);
4239 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4240 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4242 wxTreeItemId
* _result
;
4244 wxTreeItemId
* _arg1
;
4245 PyObject
* _argo0
= 0;
4246 PyObject
* _argo1
= 0;
4247 char *_kwnames
[] = { "self","item", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetParent",_kwnames
,&_argo0
,&_argo1
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4268 wxPy_BEGIN_ALLOW_THREADS
;
4269 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4271 wxPy_END_ALLOW_THREADS
;
4272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4273 _resultobj
= Py_BuildValue("s",_ptemp
);
4277 static PyObject
* wxTreeCtrl_GetSelections(wxTreeCtrl
*self
) {
4278 PyObject
* rval
= PyList_New(0);
4279 wxArrayTreeItemIds array
;
4281 num
= self
->GetSelections(array
);
4282 for (x
=0; x
< num
; x
++) {
4283 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
4285 PyList_Append(rval
, item
);
4289 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 PyObject
* _argo0
= 0;
4294 char *_kwnames
[] = { "self", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4307 wxPy_BEGIN_ALLOW_THREADS
;
4308 _result
= (PyObject
*)wxTreeCtrl_GetSelections(_arg0
);
4310 wxPy_END_ALLOW_THREADS
;
4312 _resultobj
= _result
;
4317 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4318 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4322 wxTreeItemId
* _arg1
;
4323 bool _arg2
= (bool ) TRUE
;
4324 PyObject
* _argo0
= 0;
4325 PyObject
* _argo1
= 0;
4326 int tempbool2
= (int) TRUE
;
4327 char *_kwnames
[] = { "self","item","recursively", NULL
};
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4346 _arg2
= (bool ) tempbool2
;
4348 wxPy_BEGIN_ALLOW_THREADS
;
4349 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4351 wxPy_END_ALLOW_THREADS
;
4352 } _resultobj
= Py_BuildValue("i",_result
);
4356 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4357 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4359 wxTreeItemId
* _result
;
4361 wxTreeItemId
* _arg1
;
4363 PyObject
* _argo0
= 0;
4364 PyObject
* _argo1
= 0;
4366 PyObject
* _obj2
= 0;
4367 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4388 temp
= (long) PyInt_AsLong(_obj2
);
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4395 wxPy_END_ALLOW_THREADS
;
4396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4397 _resultobj
= Py_BuildValue("s",_ptemp
);
4400 o
= PyInt_FromLong((long) (*_arg2
));
4401 _resultobj
= t_output_helper(_resultobj
, o
);
4406 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4407 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
* _resultobj
;
4409 wxTreeItemId
* _result
;
4411 wxTreeItemId
* _arg1
;
4413 PyObject
* _argo0
= 0;
4414 PyObject
* _argo1
= 0;
4416 PyObject
* _obj2
= 0;
4417 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4438 temp
= (long) PyInt_AsLong(_obj2
);
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4445 wxPy_END_ALLOW_THREADS
;
4446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4447 _resultobj
= Py_BuildValue("s",_ptemp
);
4450 o
= PyInt_FromLong((long) (*_arg2
));
4451 _resultobj
= t_output_helper(_resultobj
, o
);
4456 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4457 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4459 wxTreeItemId
* _result
;
4461 wxTreeItemId
* _arg1
;
4462 PyObject
* _argo0
= 0;
4463 PyObject
* _argo1
= 0;
4464 char *_kwnames
[] = { "self","item", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4485 wxPy_BEGIN_ALLOW_THREADS
;
4486 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4488 wxPy_END_ALLOW_THREADS
;
4489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4490 _resultobj
= Py_BuildValue("s",_ptemp
);
4494 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4495 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4497 wxTreeItemId
* _result
;
4499 wxTreeItemId
* _arg1
;
4500 PyObject
* _argo0
= 0;
4501 PyObject
* _argo1
= 0;
4502 char *_kwnames
[] = { "self","item", NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4523 wxPy_BEGIN_ALLOW_THREADS
;
4524 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4526 wxPy_END_ALLOW_THREADS
;
4527 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4528 _resultobj
= Py_BuildValue("s",_ptemp
);
4532 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4533 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxTreeItemId
* _result
;
4537 PyObject
* _argo0
= 0;
4538 char *_kwnames
[] = { "self", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4552 wxPy_BEGIN_ALLOW_THREADS
;
4553 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4555 wxPy_END_ALLOW_THREADS
;
4556 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4557 _resultobj
= Py_BuildValue("s",_ptemp
);
4561 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4562 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4564 wxTreeItemId
* _result
;
4566 wxTreeItemId
* _arg1
;
4567 PyObject
* _argo0
= 0;
4568 PyObject
* _argo1
= 0;
4569 char *_kwnames
[] = { "self","item", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4593 wxPy_END_ALLOW_THREADS
;
4594 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4595 _resultobj
= Py_BuildValue("s",_ptemp
);
4599 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4600 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4602 wxTreeItemId
* _result
;
4604 wxTreeItemId
* _arg1
;
4605 PyObject
* _argo0
= 0;
4606 PyObject
* _argo1
= 0;
4607 char *_kwnames
[] = { "self","item", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4628 wxPy_BEGIN_ALLOW_THREADS
;
4629 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4631 wxPy_END_ALLOW_THREADS
;
4632 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4633 _resultobj
= Py_BuildValue("s",_ptemp
);
4637 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4638 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4640 wxTreeItemId
* _result
;
4642 wxTreeItemId
* _arg1
;
4643 PyObject
* _argo0
= 0;
4644 PyObject
* _argo1
= 0;
4645 char *_kwnames
[] = { "self","item", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4666 wxPy_BEGIN_ALLOW_THREADS
;
4667 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
4669 wxPy_END_ALLOW_THREADS
;
4670 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4671 _resultobj
= Py_BuildValue("s",_ptemp
);
4675 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4676 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4678 wxTreeItemId
* _result
;
4681 int _arg2
= (int ) -1;
4682 int _arg3
= (int ) -1;
4683 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4684 PyObject
* _argo0
= 0;
4685 PyObject
* _obj1
= 0;
4686 PyObject
* _argo4
= 0;
4687 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4701 if (!PyString_Check(_obj1
)) {
4702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4705 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4708 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4715 wxPy_BEGIN_ALLOW_THREADS
;
4716 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4718 wxPy_END_ALLOW_THREADS
;
4719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4720 _resultobj
= Py_BuildValue("s",_ptemp
);
4728 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4729 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4731 wxTreeItemId
* _result
;
4733 wxTreeItemId
* _arg1
;
4735 int _arg3
= (int ) -1;
4736 int _arg4
= (int ) -1;
4737 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4738 PyObject
* _argo0
= 0;
4739 PyObject
* _argo1
= 0;
4740 PyObject
* _obj2
= 0;
4741 PyObject
* _argo5
= 0;
4742 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4763 if (!PyString_Check(_obj2
)) {
4764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4767 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4770 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4780 wxPy_END_ALLOW_THREADS
;
4781 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4782 _resultobj
= Py_BuildValue("s",_ptemp
);
4790 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4791 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4793 wxTreeItemId
* _result
;
4795 wxTreeItemId
* _arg1
;
4796 wxTreeItemId
* _arg2
;
4798 int _arg4
= (int ) -1;
4799 int _arg5
= (int ) -1;
4800 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4801 PyObject
* _argo0
= 0;
4802 PyObject
* _argo1
= 0;
4803 PyObject
* _argo2
= 0;
4804 PyObject
* _obj3
= 0;
4805 PyObject
* _argo6
= 0;
4806 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4827 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4834 if (!PyString_Check(_obj3
)) {
4835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4838 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4841 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4851 wxPy_END_ALLOW_THREADS
;
4852 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4853 _resultobj
= Py_BuildValue("s",_ptemp
);
4861 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4862 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
* _resultobj
;
4864 wxTreeItemId
* _result
;
4866 wxTreeItemId
* _arg1
;
4868 int _arg3
= (int ) -1;
4869 int _arg4
= (int ) -1;
4870 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4871 PyObject
* _argo0
= 0;
4872 PyObject
* _argo1
= 0;
4873 PyObject
* _obj2
= 0;
4874 PyObject
* _argo5
= 0;
4875 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4896 if (!PyString_Check(_obj2
)) {
4897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4900 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4903 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4910 wxPy_BEGIN_ALLOW_THREADS
;
4911 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4913 wxPy_END_ALLOW_THREADS
;
4914 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4915 _resultobj
= Py_BuildValue("s",_ptemp
);
4923 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4924 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4927 wxTreeItemId
* _arg1
;
4928 PyObject
* _argo0
= 0;
4929 PyObject
* _argo1
= 0;
4930 char *_kwnames
[] = { "self","item", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4950 wxPy_BEGIN_ALLOW_THREADS
;
4951 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4953 wxPy_END_ALLOW_THREADS
;
4954 } Py_INCREF(Py_None
);
4955 _resultobj
= Py_None
;
4959 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4960 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
* _resultobj
;
4963 wxTreeItemId
* _arg1
;
4964 PyObject
* _argo0
= 0;
4965 PyObject
* _argo1
= 0;
4966 char *_kwnames
[] = { "self","item", NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
4972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4986 wxPy_BEGIN_ALLOW_THREADS
;
4987 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4989 wxPy_END_ALLOW_THREADS
;
4990 } Py_INCREF(Py_None
);
4991 _resultobj
= Py_None
;
4995 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4996 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxTreeCtrl_DeleteAllItems(_arg0
);
5016 wxPy_END_ALLOW_THREADS
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5023 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5026 wxTreeItemId
* _arg1
;
5027 PyObject
* _argo0
= 0;
5028 PyObject
* _argo1
= 0;
5029 char *_kwnames
[] = { "self","item", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5049 wxPy_BEGIN_ALLOW_THREADS
;
5050 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5052 wxPy_END_ALLOW_THREADS
;
5053 } Py_INCREF(Py_None
);
5054 _resultobj
= Py_None
;
5058 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5059 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5062 wxTreeItemId
* _arg1
;
5063 PyObject
* _argo0
= 0;
5064 PyObject
* _argo1
= 0;
5065 char *_kwnames
[] = { "self","item", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5088 wxPy_END_ALLOW_THREADS
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5095 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5098 wxTreeItemId
* _arg1
;
5099 PyObject
* _argo0
= 0;
5100 PyObject
* _argo1
= 0;
5101 char *_kwnames
[] = { "self","item", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } Py_INCREF(Py_None
);
5126 _resultobj
= Py_None
;
5130 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5131 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5134 wxTreeItemId
* _arg1
;
5135 PyObject
* _argo0
= 0;
5136 PyObject
* _argo1
= 0;
5137 char *_kwnames
[] = { "self","item", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5157 wxPy_BEGIN_ALLOW_THREADS
;
5158 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5160 wxPy_END_ALLOW_THREADS
;
5161 } Py_INCREF(Py_None
);
5162 _resultobj
= Py_None
;
5166 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5167 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5170 PyObject
* _argo0
= 0;
5171 char *_kwnames
[] = { "self", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5184 wxPy_BEGIN_ALLOW_THREADS
;
5185 wxTreeCtrl_Unselect(_arg0
);
5187 wxPy_END_ALLOW_THREADS
;
5188 } Py_INCREF(Py_None
);
5189 _resultobj
= Py_None
;
5193 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5194 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5197 PyObject
* _argo0
= 0;
5198 char *_kwnames
[] = { "self", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5211 wxPy_BEGIN_ALLOW_THREADS
;
5212 wxTreeCtrl_UnselectAll(_arg0
);
5214 wxPy_END_ALLOW_THREADS
;
5215 } Py_INCREF(Py_None
);
5216 _resultobj
= Py_None
;
5220 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5221 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5224 wxTreeItemId
* _arg1
;
5225 PyObject
* _argo0
= 0;
5226 PyObject
* _argo1
= 0;
5227 char *_kwnames
[] = { "self","item", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5247 wxPy_BEGIN_ALLOW_THREADS
;
5248 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5250 wxPy_END_ALLOW_THREADS
;
5251 } Py_INCREF(Py_None
);
5252 _resultobj
= Py_None
;
5256 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5257 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
* _resultobj
;
5260 wxTreeItemId
* _arg1
;
5261 PyObject
* _argo0
= 0;
5262 PyObject
* _argo1
= 0;
5263 char *_kwnames
[] = { "self","item", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5286 wxPy_END_ALLOW_THREADS
;
5287 } Py_INCREF(Py_None
);
5288 _resultobj
= Py_None
;
5292 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5293 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5296 wxTreeItemId
* _arg1
;
5297 PyObject
* _argo0
= 0;
5298 PyObject
* _argo1
= 0;
5299 char *_kwnames
[] = { "self","item", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5319 wxPy_BEGIN_ALLOW_THREADS
;
5320 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5322 wxPy_END_ALLOW_THREADS
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5328 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5329 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
* _resultobj
;
5332 wxTreeItemId
* _arg1
;
5333 PyObject
* _argo0
= 0;
5334 PyObject
* _argo1
= 0;
5335 char *_kwnames
[] = { "self","item", NULL
};
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5355 wxPy_BEGIN_ALLOW_THREADS
;
5356 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5358 wxPy_END_ALLOW_THREADS
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5365 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5368 wxTreeItemId
* _arg1
;
5369 PyObject
* _argo0
= 0;
5370 PyObject
* _argo1
= 0;
5371 char *_kwnames
[] = { "self","item", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5401 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5404 wxTreeItemId
* _arg1
;
5405 bool _arg2
= (bool ) TRUE
;
5406 PyObject
* _argo0
= 0;
5407 PyObject
* _argo1
= 0;
5408 int tempbool2
= (int) TRUE
;
5409 char *_kwnames
[] = { "self","item","bold", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5428 _arg2
= (bool ) tempbool2
;
5430 wxPy_BEGIN_ALLOW_THREADS
;
5431 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5433 wxPy_END_ALLOW_THREADS
;
5434 } Py_INCREF(Py_None
);
5435 _resultobj
= Py_None
;
5439 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5440 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5444 wxTreeItemId
* _arg1
;
5445 PyObject
* _argo0
= 0;
5446 PyObject
* _argo1
= 0;
5447 char *_kwnames
[] = { "self","item", NULL
};
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5470 wxPy_END_ALLOW_THREADS
;
5471 } _resultobj
= Py_BuildValue("i",_result
);
5475 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5476 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
* _resultobj
;
5478 wxTreeItemId
* _result
;
5481 PyObject
* _argo0
= 0;
5483 PyObject
* _obj1
= 0;
5484 char *_kwnames
[] = { "self","point", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5499 if (! wxPoint_helper(_obj1
, &_arg1
))
5503 wxPy_BEGIN_ALLOW_THREADS
;
5504 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5506 wxPy_END_ALLOW_THREADS
;
5507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5508 _resultobj
= Py_BuildValue("s",_ptemp
);
5512 static PyMethodDef controls2cMethods
[] = {
5513 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxTreeCtrl_GetParent", (PyCFunction
) _wrap_wxTreeCtrl_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5618 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5619 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
5620 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
5621 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5622 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5623 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5624 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
5625 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
5626 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
5627 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5628 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
5629 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
5630 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5631 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
5632 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
5633 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
5634 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
5635 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
5636 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
5637 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5638 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5639 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5640 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5641 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5642 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5643 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
5644 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
5645 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5646 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5647 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5648 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5649 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
5650 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
5651 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
5652 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
5653 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
5654 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
5655 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
5656 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
5657 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
5658 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
5659 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
5660 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
5661 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5662 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5663 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
5664 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
5665 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
5666 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
5673 * This table is used by the pointer type-checker
5675 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5676 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5677 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5678 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5679 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5680 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5681 { "_wxEvent","_class_wxEvent",0},
5682 { "_class_wxActivateEvent","_wxActivateEvent",0},
5683 { "_signed_long","_long",0},
5684 { "_wxMenuEvent","_class_wxMenuEvent",0},
5685 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5686 { "_wxPrintQuality","_int",0},
5687 { "_wxPrintQuality","_signed_int",0},
5688 { "_wxPrintQuality","_unsigned_int",0},
5689 { "_wxPrintQuality","_wxWindowID",0},
5690 { "_wxPrintQuality","_uint",0},
5691 { "_wxPrintQuality","_EBool",0},
5692 { "_wxPrintQuality","_size_t",0},
5693 { "_class_wxRegionIterator","_wxRegionIterator",0},
5694 { "_class_wxMenuBar","_wxMenuBar",0},
5695 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5696 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5697 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5698 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5699 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5700 { "_class_wxEvtHandler","_wxEvtHandler",0},
5701 { "_wxPaintEvent","_class_wxPaintEvent",0},
5702 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5703 { "_wxCursor","_class_wxCursor",0},
5704 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5705 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5706 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5707 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5708 { "_wxMask","_class_wxMask",0},
5709 { "_wxPen","_class_wxPen",0},
5710 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5711 { "_byte","_unsigned_char",0},
5712 { "_wxStaticBox","_class_wxStaticBox",0},
5713 { "_wxChoice","_class_wxChoice",0},
5714 { "_wxSlider","_class_wxSlider",0},
5715 { "_long","_wxDash",0},
5716 { "_long","_unsigned_long",0},
5717 { "_long","_signed_long",0},
5718 { "_wxImageList","_class_wxImageList",0},
5719 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5720 { "_wxBitmapButton","_class_wxBitmapButton",0},
5721 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5722 { "_class_wxGauge","_wxGauge",0},
5723 { "_wxDC","_class_wxDC",0},
5724 { "_wxListEvent","_class_wxListEvent",0},
5725 { "_wxSpinEvent","_class_wxSpinEvent",0},
5726 { "_size_t","_wxPrintQuality",0},
5727 { "_size_t","_unsigned_int",0},
5728 { "_size_t","_int",0},
5729 { "_size_t","_wxWindowID",0},
5730 { "_size_t","_uint",0},
5731 { "_class_wxRealPoint","_wxRealPoint",0},
5732 { "_class_wxMenuItem","_wxMenuItem",0},
5733 { "_class_wxPaintEvent","_wxPaintEvent",0},
5734 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5735 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5736 { "_wxPanel","_class_wxPanel",0},
5737 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5738 { "_wxCheckBox","_class_wxCheckBox",0},
5739 { "_wxPyEvent","_class_wxPyEvent",0},
5740 { "_wxTextCtrl","_class_wxTextCtrl",0},
5741 { "_class_wxMask","_wxMask",0},
5742 { "_class_wxKeyEvent","_wxKeyEvent",0},
5743 { "_wxColour","_class_wxColour",0},
5744 { "_class_wxDialog","_wxDialog",0},
5745 { "_wxIdleEvent","_class_wxIdleEvent",0},
5746 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5747 { "_wxStaticLine","_class_wxStaticLine",0},
5748 { "_wxBrush","_class_wxBrush",0},
5749 { "_wxShowEvent","_class_wxShowEvent",0},
5750 { "_uint","_wxPrintQuality",0},
5751 { "_uint","_size_t",0},
5752 { "_uint","_unsigned_int",0},
5753 { "_uint","_int",0},
5754 { "_uint","_wxWindowID",0},
5755 { "_wxPyValidator","_class_wxPyValidator",0},
5756 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5757 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5758 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5759 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5760 { "_class_wxEvent","_wxEvent",0},
5761 { "_wxCheckListBox","_class_wxCheckListBox",0},
5762 { "_wxRect","_class_wxRect",0},
5763 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5764 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5765 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5766 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5767 { "_wxCommandEvent","_class_wxCommandEvent",0},
5768 { "_wxSizeEvent","_class_wxSizeEvent",0},
5769 { "_wxPoint","_class_wxPoint",0},
5770 { "_class_wxButton","_wxButton",0},
5771 { "_wxRadioBox","_class_wxRadioBox",0},
5772 { "_wxBitmap","_class_wxBitmap",0},
5773 { "_wxPyTimer","_class_wxPyTimer",0},
5774 { "_wxWindowDC","_class_wxWindowDC",0},
5775 { "_wxScrollBar","_class_wxScrollBar",0},
5776 { "_wxSpinButton","_class_wxSpinButton",0},
5777 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5778 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5779 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5780 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5781 { "_class_wxValidator","_wxValidator",0},
5782 { "_class_wxPyEvent","_wxPyEvent",0},
5783 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5784 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5785 { "_wxListItem","_class_wxListItem",0},
5786 { "_class_wxStaticLine","_wxStaticLine",0},
5787 { "_wxScrollEvent","_class_wxScrollEvent",0},
5788 { "_EBool","_wxPrintQuality",0},
5789 { "_EBool","_signed_int",0},
5790 { "_EBool","_int",0},
5791 { "_EBool","_wxWindowID",0},
5792 { "_class_wxRegion","_wxRegion",0},
5793 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5794 { "_wxStaticText","_class_wxStaticText",0},
5795 { "_wxFont","_class_wxFont",0},
5796 { "_wxCloseEvent","_class_wxCloseEvent",0},
5797 { "_unsigned_long","_wxDash",0},
5798 { "_unsigned_long","_long",0},
5799 { "_class_wxRect","_wxRect",0},
5800 { "_class_wxDC","_wxDC",0},
5801 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5802 { "_class_wxTreeEvent","_wxTreeEvent",0},
5803 { "_class_wxPyTimer","_wxPyTimer",0},
5804 { "_wxFocusEvent","_class_wxFocusEvent",0},
5805 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5806 { "_class_wxSpinButton","_wxSpinButton",0},
5807 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5808 { "_class_wxPanel","_wxPanel",0},
5809 { "_class_wxCheckBox","_wxCheckBox",0},
5810 { "_wxComboBox","_class_wxComboBox",0},
5811 { "_wxRadioButton","_class_wxRadioButton",0},
5812 { "_signed_int","_wxPrintQuality",0},
5813 { "_signed_int","_EBool",0},
5814 { "_signed_int","_wxWindowID",0},
5815 { "_signed_int","_int",0},
5816 { "_class_wxTextCtrl","_wxTextCtrl",0},
5817 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5818 { "_wxMenu","_class_wxMenu",0},
5819 { "_class_wxMoveEvent","_wxMoveEvent",0},
5820 { "_wxListBox","_class_wxListBox",0},
5821 { "_wxScreenDC","_class_wxScreenDC",0},
5822 { "_WXTYPE","_short",0},
5823 { "_WXTYPE","_signed_short",0},
5824 { "_WXTYPE","_unsigned_short",0},
5825 { "_class_wxBrush","_wxBrush",0},
5826 { "_unsigned_short","_WXTYPE",0},
5827 { "_unsigned_short","_short",0},
5828 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5829 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5830 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5831 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5832 { "_class_wxWindow","_wxWindow",0},
5833 { "_class_wxStaticText","_wxStaticText",0},
5834 { "_class_wxFont","_wxFont",0},
5835 { "_class_wxPyValidator","_wxPyValidator",0},
5836 { "_class_wxCloseEvent","_wxCloseEvent",0},
5837 { "_class_wxMenuEvent","_wxMenuEvent",0},
5838 { "_wxClientDC","_class_wxClientDC",0},
5839 { "_wxMouseEvent","_class_wxMouseEvent",0},
5840 { "_wxListCtrl","_class_wxListCtrl",0},
5841 { "_class_wxPoint","_wxPoint",0},
5842 { "_wxRealPoint","_class_wxRealPoint",0},
5843 { "_class_wxRadioBox","_wxRadioBox",0},
5844 { "_signed_short","_WXTYPE",0},
5845 { "_signed_short","_short",0},
5846 { "_wxMemoryDC","_class_wxMemoryDC",0},
5847 { "_wxPaintDC","_class_wxPaintDC",0},
5848 { "_class_wxWindowDC","_wxWindowDC",0},
5849 { "_class_wxFocusEvent","_wxFocusEvent",0},
5850 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5851 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5852 { "_class_wxCursor","_wxCursor",0},
5853 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5854 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5855 { "_wxTreeItemId","_class_wxTreeItemId",0},
5856 { "_unsigned_char","_byte",0},
5857 { "_class_wxMenu","_wxMenu",0},
5858 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5859 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5860 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5861 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5862 { "_wxControl","_class_wxControl",0},
5863 { "_class_wxListBox","_wxListBox",0},
5864 { "_unsigned_int","_wxPrintQuality",0},
5865 { "_unsigned_int","_size_t",0},
5866 { "_unsigned_int","_uint",0},
5867 { "_unsigned_int","_wxWindowID",0},
5868 { "_unsigned_int","_int",0},
5869 { "_wxIcon","_class_wxIcon",0},
5870 { "_wxDialog","_class_wxDialog",0},
5871 { "_class_wxListItem","_wxListItem",0},
5872 { "_class_wxPen","_wxPen",0},
5873 { "_short","_WXTYPE",0},
5874 { "_short","_unsigned_short",0},
5875 { "_short","_signed_short",0},
5876 { "_class_wxStaticBox","_wxStaticBox",0},
5877 { "_class_wxScrollEvent","_wxScrollEvent",0},
5878 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5879 { "_class_wxChoice","_wxChoice",0},
5880 { "_class_wxSlider","_wxSlider",0},
5881 { "_class_wxImageList","_wxImageList",0},
5882 { "_class_wxBitmapButton","_wxBitmapButton",0},
5883 { "_wxWindowID","_wxPrintQuality",0},
5884 { "_wxWindowID","_size_t",0},
5885 { "_wxWindowID","_EBool",0},
5886 { "_wxWindowID","_uint",0},
5887 { "_wxWindowID","_int",0},
5888 { "_wxWindowID","_signed_int",0},
5889 { "_wxWindowID","_unsigned_int",0},
5890 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5891 { "_int","_wxPrintQuality",0},
5892 { "_int","_size_t",0},
5893 { "_int","_EBool",0},
5894 { "_int","_uint",0},
5895 { "_int","_wxWindowID",0},
5896 { "_int","_unsigned_int",0},
5897 { "_int","_signed_int",0},
5898 { "_class_wxMouseEvent","_wxMouseEvent",0},
5899 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5900 { "_class_wxListEvent","_wxListEvent",0},
5901 { "_class_wxSpinEvent","_wxSpinEvent",0},
5902 { "_wxButton","_class_wxButton",0},
5903 { "_wxSize","_class_wxSize",0},
5904 { "_wxRegionIterator","_class_wxRegionIterator",0},
5905 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
5906 { "_class_wxPaintDC","_wxPaintDC",0},
5907 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5908 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5909 { "_class_wxComboBox","_wxComboBox",0},
5910 { "_class_wxRadioButton","_wxRadioButton",0},
5911 { "_wxValidator","_class_wxValidator",0},
5912 { "_class_wxTreeItemId","_wxTreeItemId",0},
5913 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
5914 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5915 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5916 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5917 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5918 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5919 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5920 { "_class_wxControl","_wxControl",0},
5921 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5922 { "_class_wxIcon","_wxIcon",0},
5923 { "_class_wxColour","_wxColour",0},
5924 { "_class_wxScreenDC","_wxScreenDC",0},
5925 { "_wxPalette","_class_wxPalette",0},
5926 { "_class_wxIdleEvent","_wxIdleEvent",0},
5927 { "_wxEraseEvent","_class_wxEraseEvent",0},
5928 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5929 { "_wxRegion","_class_wxRegion",0},
5930 { "_class_wxShowEvent","_wxShowEvent",0},
5931 { "_wxActivateEvent","_class_wxActivateEvent",0},
5932 { "_wxGauge","_class_wxGauge",0},
5933 { "_class_wxCheckListBox","_wxCheckListBox",0},
5934 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5935 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5936 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5937 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5938 { "_class_wxCommandEvent","_wxCommandEvent",0},
5939 { "_class_wxClientDC","_wxClientDC",0},
5940 { "_class_wxSizeEvent","_wxSizeEvent",0},
5941 { "_class_wxListCtrl","_wxListCtrl",0},
5942 { "_class_wxSize","_wxSize",0},
5943 { "_class_wxBitmap","_wxBitmap",0},
5944 { "_class_wxMemoryDC","_wxMemoryDC",0},
5945 { "_wxMenuBar","_class_wxMenuBar",0},
5946 { "_wxTreeEvent","_class_wxTreeEvent",0},
5947 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5948 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5949 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5950 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5951 { "_wxEvtHandler","_class_wxEvtHandler",0},
5952 { "_wxMenuItem","_class_wxMenuItem",0},
5953 { "_class_wxScrollBar","_wxScrollBar",0},
5954 { "_wxDash","_unsigned_long",0},
5955 { "_wxDash","_long",0},
5956 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5957 { "_wxKeyEvent","_class_wxKeyEvent",0},
5958 { "_wxMoveEvent","_class_wxMoveEvent",0},
5959 { "_class_wxPalette","_wxPalette",0},
5960 { "_class_wxEraseEvent","_wxEraseEvent",0},
5961 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5962 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5963 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5964 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5965 { "_wxWindow","_class_wxWindow",0},
5968 static PyObject
*SWIG_globals
;
5972 SWIGEXPORT(void) initcontrols2c() {
5974 SWIG_globals
= SWIG_newvarlink();
5975 m
= Py_InitModule("controls2c", controls2cMethods
);
5976 d
= PyModule_GetDict(m
);
5977 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5978 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5979 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5980 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5981 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5982 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
5983 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5984 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5985 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5986 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5987 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5988 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5989 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5990 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5991 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5992 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5993 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5994 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5995 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5996 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5997 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5998 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5999 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6000 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6001 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6002 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6003 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6004 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6005 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6006 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6007 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6008 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6009 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6010 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6011 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6012 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6013 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6014 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6015 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6016 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6017 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6018 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6019 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6022 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6023 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);