2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
60 #include <wx/listctrl.h>
61 #include <wx/treectrl.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
112 extern wxValidator wxPyDefaultValidator
;
114 class wxPyTreeItemData
: public wxTreeItemData
{
116 wxPyTreeItemData(PyObject
* obj
= NULL
) {
123 ~wxPyTreeItemData() {
124 bool doSave
= wxPyRestoreThread();
126 wxPySaveThread(doSave
);
129 PyObject
* GetData() {
134 void SetData(PyObject
* obj
) {
145 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
146 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
147 PyObject
* _resultobj
;
151 PyObject
* _argo0
= 0;
152 char *_kwnames
[] = { "self","m_mask", NULL
};
155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
165 wxPy_BEGIN_ALLOW_THREADS
;
166 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
168 wxPy_END_ALLOW_THREADS
;
169 } _resultobj
= Py_BuildValue("l",_result
);
173 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
174 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
178 PyObject
* _argo0
= 0;
179 char *_kwnames
[] = { "self", NULL
};
182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (long )wxListItem_m_mask_get(_arg0
);
195 wxPy_END_ALLOW_THREADS
;
196 } _resultobj
= Py_BuildValue("l",_result
);
200 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
201 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
206 PyObject
* _argo0
= 0;
207 char *_kwnames
[] = { "self","m_itemId", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
220 wxPy_BEGIN_ALLOW_THREADS
;
221 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
223 wxPy_END_ALLOW_THREADS
;
224 } _resultobj
= Py_BuildValue("l",_result
);
228 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
229 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (long )wxListItem_m_itemId_get(_arg0
);
250 wxPy_END_ALLOW_THREADS
;
251 } _resultobj
= Py_BuildValue("l",_result
);
255 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
256 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "self","m_col", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
278 wxPy_END_ALLOW_THREADS
;
279 } _resultobj
= Py_BuildValue("i",_result
);
283 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
284 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
288 PyObject
* _argo0
= 0;
289 char *_kwnames
[] = { "self", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
302 wxPy_BEGIN_ALLOW_THREADS
;
303 _result
= (int )wxListItem_m_col_get(_arg0
);
305 wxPy_END_ALLOW_THREADS
;
306 } _resultobj
= Py_BuildValue("i",_result
);
310 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
311 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
316 PyObject
* _argo0
= 0;
317 char *_kwnames
[] = { "self","m_state", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
330 wxPy_BEGIN_ALLOW_THREADS
;
331 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
333 wxPy_END_ALLOW_THREADS
;
334 } _resultobj
= Py_BuildValue("l",_result
);
338 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
339 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 _result
= (long )wxListItem_m_state_get(_arg0
);
360 wxPy_END_ALLOW_THREADS
;
361 } _resultobj
= Py_BuildValue("l",_result
);
365 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
366 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
371 PyObject
* _argo0
= 0;
372 char *_kwnames
[] = { "self","m_stateMask", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
385 wxPy_BEGIN_ALLOW_THREADS
;
386 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
388 wxPy_END_ALLOW_THREADS
;
389 } _resultobj
= Py_BuildValue("l",_result
);
393 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
394 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
412 wxPy_BEGIN_ALLOW_THREADS
;
413 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
415 wxPy_END_ALLOW_THREADS
;
416 } _resultobj
= Py_BuildValue("l",_result
);
420 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
421 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
426 PyObject
* _argo0
= 0;
427 PyObject
* _obj1
= 0;
428 char *_kwnames
[] = { "self","m_text", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
441 if (!PyString_Check(_obj1
)) {
442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
445 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
448 wxPy_BEGIN_ALLOW_THREADS
;
449 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
451 wxPy_END_ALLOW_THREADS
;
453 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
462 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
463 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
484 wxPy_END_ALLOW_THREADS
;
486 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
491 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
492 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self","m_image", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
514 wxPy_END_ALLOW_THREADS
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
520 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (int )wxListItem_m_image_get(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
547 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self","m_data", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
569 wxPy_END_ALLOW_THREADS
;
570 } _resultobj
= Py_BuildValue("l",_result
);
574 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
575 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= (long )wxListItem_m_data_get(_arg0
);
596 wxPy_END_ALLOW_THREADS
;
597 } _resultobj
= Py_BuildValue("l",_result
);
601 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
602 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self","m_format", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
624 wxPy_END_ALLOW_THREADS
;
625 } _resultobj
= Py_BuildValue("i",_result
);
629 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
630 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (int )wxListItem_m_format_get(_arg0
);
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
657 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self","m_width", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } _resultobj
= Py_BuildValue("i",_result
);
684 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
685 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 _result
= (int )wxListItem_m_width_get(_arg0
);
706 wxPy_END_ALLOW_THREADS
;
707 } _resultobj
= Py_BuildValue("i",_result
);
711 #define new_wxListItem() (new wxListItem())
712 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxListItem
* _result
;
715 char *_kwnames
[] = { NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
722 wxPy_BEGIN_ALLOW_THREADS
;
723 _result
= (wxListItem
*)new_wxListItem();
725 wxPy_END_ALLOW_THREADS
;
727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
728 _resultobj
= Py_BuildValue("s",_ptemp
);
731 _resultobj
= Py_None
;
736 #define delete_wxListItem(_swigobj) (delete _swigobj)
737 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 delete_wxListItem(_arg0
);
757 wxPy_END_ALLOW_THREADS
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
765 wxCommandEvent
*dest
;
766 src
= (wxListEvent
*) ptr
;
767 dest
= (wxCommandEvent
*) src
;
768 return (void *) dest
;
771 static void *SwigwxListEventTowxEvent(void *ptr
) {
774 src
= (wxListEvent
*) ptr
;
775 dest
= (wxEvent
*) src
;
776 return (void *) dest
;
779 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
780 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
785 PyObject
* _argo0
= 0;
786 char *_kwnames
[] = { "self","m_code", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
799 wxPy_BEGIN_ALLOW_THREADS
;
800 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
802 wxPy_END_ALLOW_THREADS
;
803 } _resultobj
= Py_BuildValue("i",_result
);
807 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
808 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (int )wxListEvent_m_code_get(_arg0
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
835 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
857 wxPy_END_ALLOW_THREADS
;
858 } _resultobj
= Py_BuildValue("l",_result
);
862 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
863 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
884 wxPy_END_ALLOW_THREADS
;
885 } _resultobj
= Py_BuildValue("l",_result
);
889 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
890 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 } _resultobj
= Py_BuildValue("l",_result
);
917 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
918 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("l",_result
);
944 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
945 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self","m_col", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("i",_result
);
972 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
973 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= (int )wxListEvent_m_col_get(_arg0
);
994 wxPy_END_ALLOW_THREADS
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1000 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxListEvent
* _arg0
;
1005 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self","m_cancelled", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1019 _arg1
= (bool ) tempbool1
;
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1030 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxListEvent
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("i",_result
);
1056 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1057 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxListEvent
* _arg0
;
1062 PyObject
* _argo0
= 0;
1064 PyObject
* _obj1
= 0;
1065 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1080 if (! wxPoint_helper(_obj1
, &_arg1
))
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1087 wxPy_END_ALLOW_THREADS
;
1089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1090 _resultobj
= Py_BuildValue("s",_ptemp
);
1093 _resultobj
= Py_None
;
1098 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1099 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 wxListEvent
* _arg0
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1124 _resultobj
= Py_BuildValue("s",_ptemp
);
1127 _resultobj
= Py_None
;
1132 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1133 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxListItem
* _result
;
1136 wxListEvent
* _arg0
;
1138 PyObject
* _argo0
= 0;
1139 PyObject
* _argo1
= 0;
1140 char *_kwnames
[] = { "self","m_item", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1164 wxPy_END_ALLOW_THREADS
;
1166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1167 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 _resultobj
= Py_None
;
1175 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1176 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1178 wxListItem
* _result
;
1179 wxListEvent
* _arg0
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1198 wxPy_END_ALLOW_THREADS
;
1200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1201 _resultobj
= Py_BuildValue("s",_ptemp
);
1204 _resultobj
= Py_None
;
1209 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1212 src
= (wxListCtrl
*) ptr
;
1213 dest
= (wxControl
*) src
;
1214 return (void *) dest
;
1217 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1220 src
= (wxListCtrl
*) ptr
;
1221 dest
= (wxWindow
*) src
;
1222 return (void *) dest
;
1225 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1228 src
= (wxListCtrl
*) ptr
;
1229 dest
= (wxEvtHandler
*) src
;
1230 return (void *) dest
;
1233 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1234 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxListCtrl
* _result
;
1239 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1240 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1241 long _arg4
= (long ) wxLC_ICON
;
1242 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1243 char * _arg6
= (char *) "listCtrl";
1244 PyObject
* _argo0
= 0;
1246 PyObject
* _obj2
= 0;
1248 PyObject
* _obj3
= 0;
1249 PyObject
* _argo5
= 0;
1250 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1266 if (! wxPoint_helper(_obj2
, &_arg2
))
1272 if (! wxSize_helper(_obj3
, &_arg3
))
1276 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1286 wxPy_END_ALLOW_THREADS
;
1288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1289 _resultobj
= Py_BuildValue("s",_ptemp
);
1292 _resultobj
= Py_None
;
1297 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1298 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1302 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self","flag", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1326 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self","item", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } _resultobj
= Py_BuildValue("i",_result
);
1353 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1354 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1358 PyObject
* _argo0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1381 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self","col", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } _resultobj
= Py_BuildValue("i",_result
);
1408 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1409 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } _resultobj
= Py_BuildValue("i",_result
);
1435 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1436 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 wxListCtrl_ClearAll(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1463 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1465 wxTextCtrl
* _result
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","item", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1486 wxPy_END_ALLOW_THREADS
;
1488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1492 _resultobj
= Py_None
;
1497 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1498 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1503 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self","cancel", NULL
};
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
1511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1517 _arg1
= (bool ) tempbool1
;
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } _resultobj
= Py_BuildValue("i",_result
);
1527 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1528 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 wxTextCtrl
* _result
;
1532 PyObject
* _argo0
= 0;
1533 char *_kwnames
[] = { "self", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1550 wxPy_END_ALLOW_THREADS
;
1552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1553 _resultobj
= Py_BuildValue("s",_ptemp
);
1556 _resultobj
= Py_None
;
1561 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1562 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self","item", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1584 wxPy_END_ALLOW_THREADS
;
1585 } _resultobj
= Py_BuildValue("i",_result
);
1589 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1590 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1596 bool _arg3
= (bool ) FALSE
;
1597 PyObject
* _argo0
= 0;
1598 PyObject
* _obj2
= 0;
1599 int tempbool3
= (int) FALSE
;
1600 char *_kwnames
[] = { "self","start","str","partial", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1613 if (!PyString_Check(_obj2
)) {
1614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1617 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1619 _arg3
= (bool ) tempbool3
;
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } _resultobj
= Py_BuildValue("l",_result
);
1633 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1634 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self","start","data", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } _resultobj
= Py_BuildValue("l",_result
);
1662 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1663 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1672 PyObject
* _obj2
= 0;
1673 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1687 if (! wxPoint_helper(_obj2
, &_arg2
))
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } _resultobj
= Py_BuildValue("l",_result
);
1699 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1700 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 PyObject
* _argo2
= 0;
1708 char *_kwnames
[] = { "self","col","item", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1721 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1737 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self","col", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1759 wxPy_END_ALLOW_THREADS
;
1760 } _resultobj
= Py_BuildValue("i",_result
);
1764 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1765 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } _resultobj
= Py_BuildValue("i",_result
);
1791 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1792 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxImageList
* _result
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self","which", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1815 wxPy_END_ALLOW_THREADS
;
1817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1821 _resultobj
= Py_None
;
1826 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1827 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1832 PyObject
* _argo0
= 0;
1833 char *_kwnames
[] = { "self","item", NULL
};
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
1839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1846 wxPy_BEGIN_ALLOW_THREADS
;
1847 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1849 wxPy_END_ALLOW_THREADS
;
1850 } _resultobj
= Py_BuildValue("l",_result
);
1854 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
1855 wxListItem
* info
= new wxListItem
;
1856 info
->m_itemId
= itemId
;
1858 info
->m_mask
= 0xFFFF;
1859 self
->GetItem(*info
);
1862 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1864 wxListItem
* _result
;
1867 int _arg2
= (int ) 0;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self","itemId","col", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
1886 wxPy_END_ALLOW_THREADS
;
1888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1889 _resultobj
= Py_BuildValue("s",_ptemp
);
1892 _resultobj
= Py_None
;
1897 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1898 wxPoint
* pos
= new wxPoint
;
1899 self
->GetItemPosition(item
, *pos
);
1902 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1907 PyObject
* _argo0
= 0;
1908 char *_kwnames
[] = { "self","item", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1925 wxPy_END_ALLOW_THREADS
;
1927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1928 _resultobj
= Py_BuildValue("s",_ptemp
);
1931 _resultobj
= Py_None
;
1936 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1937 wxRect
* rect
= new wxRect
;
1938 self
->GetItemRect(item
, *rect
, code
);
1941 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1946 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self","item","code", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1965 wxPy_END_ALLOW_THREADS
;
1967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1968 _resultobj
= Py_BuildValue("s",_ptemp
);
1971 _resultobj
= Py_None
;
1976 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1977 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
2000 wxPy_END_ALLOW_THREADS
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
2006 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2010 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
2027 wxPy_END_ALLOW_THREADS
;
2028 } _resultobj
= Py_BuildValue("i",_result
);
2032 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
2033 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2038 PyObject
* _argo0
= 0;
2040 char *_kwnames
[] = { "self","isSmall", NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
2046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2052 _arg1
= (bool ) tempbool1
;
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2062 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2063 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self","item", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2085 wxPy_END_ALLOW_THREADS
;
2087 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2095 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2096 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2101 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2102 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } _resultobj
= Py_BuildValue("l",_result
);
2125 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2126 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2153 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
2165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2172 wxPy_BEGIN_ALLOW_THREADS
;
2173 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
2175 wxPy_END_ALLOW_THREADS
;
2176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2177 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2182 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2186 PyObject
* _argo0
= 0;
2187 PyObject
* _argo1
= 0;
2188 char *_kwnames
[] = { "self","col", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2208 wxPy_BEGIN_ALLOW_THREADS
;
2209 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2211 wxPy_END_ALLOW_THREADS
;
2212 } Py_INCREF(Py_None
);
2213 _resultobj
= Py_None
;
2217 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2218 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2222 PyObject
* _argo0
= 0;
2223 char *_kwnames
[] = { "self", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2236 wxPy_BEGIN_ALLOW_THREADS
;
2237 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2239 wxPy_END_ALLOW_THREADS
;
2240 } _resultobj
= Py_BuildValue("l",_result
);
2244 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2245 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
* _resultobj
;
2252 PyObject
* _argo0
= 0;
2254 PyObject
* _obj1
= 0;
2255 char *_kwnames
[] = { "self","point", NULL
};
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
2264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2272 if (! wxPoint_helper(_obj1
, &_arg1
))
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2279 wxPy_END_ALLOW_THREADS
;
2280 } _resultobj
= Py_BuildValue("l",_result
);
2283 o
= PyInt_FromLong((long) (*_arg2
));
2284 _resultobj
= t_output_helper(_resultobj
, o
);
2289 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2290 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2296 PyObject
* _argo0
= 0;
2297 PyObject
* _argo2
= 0;
2298 char *_kwnames
[] = { "self","col","info", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2311 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2321 wxPy_END_ALLOW_THREADS
;
2322 } _resultobj
= Py_BuildValue("l",_result
);
2326 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2327 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2333 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2334 int _arg4
= (int ) -1;
2335 PyObject
* _argo0
= 0;
2336 PyObject
* _obj2
= 0;
2337 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2350 if (!PyString_Check(_obj2
)) {
2351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2354 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2357 wxPy_BEGIN_ALLOW_THREADS
;
2358 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2360 wxPy_END_ALLOW_THREADS
;
2361 } _resultobj
= Py_BuildValue("l",_result
);
2369 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2370 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2375 PyObject
* _argo0
= 0;
2376 PyObject
* _argo1
= 0;
2377 char *_kwnames
[] = { "self","info", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2400 wxPy_END_ALLOW_THREADS
;
2401 } _resultobj
= Py_BuildValue("l",_result
);
2405 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2406 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 PyObject
* _obj2
= 0;
2414 char *_kwnames
[] = { "self","index","label", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2427 if (!PyString_Check(_obj2
)) {
2428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2431 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } _resultobj
= Py_BuildValue("l",_result
);
2446 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2447 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_InsertImageItem. Expected _wxListCtrl_p.");
2467 wxPy_BEGIN_ALLOW_THREADS
;
2468 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2470 wxPy_END_ALLOW_THREADS
;
2471 } _resultobj
= Py_BuildValue("l",_result
);
2475 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2476 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2483 PyObject
* _argo0
= 0;
2484 PyObject
* _obj2
= 0;
2485 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2498 if (!PyString_Check(_obj2
)) {
2499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2502 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } _resultobj
= Py_BuildValue("l",_result
);
2517 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2518 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self","dx","dy", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2547 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _argo1
= 0;
2553 char *_kwnames
[] = { "self","col", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2573 wxPy_BEGIN_ALLOW_THREADS
;
2574 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2576 wxPy_END_ALLOW_THREADS
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2582 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2583 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 PyObject
* _argo2
= 0;
2591 char *_kwnames
[] = { "self","col","item", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2604 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2614 wxPy_END_ALLOW_THREADS
;
2615 } _resultobj
= Py_BuildValue("i",_result
);
2619 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2620 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2626 PyObject
* _argo0
= 0;
2627 char *_kwnames
[] = { "self","col","width", NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2640 wxPy_BEGIN_ALLOW_THREADS
;
2641 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2643 wxPy_END_ALLOW_THREADS
;
2644 } _resultobj
= Py_BuildValue("i",_result
);
2648 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2649 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2652 wxImageList
* _arg1
;
2654 PyObject
* _argo0
= 0;
2655 PyObject
* _argo1
= 0;
2656 char *_kwnames
[] = { "self","imageList","which", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2676 wxPy_BEGIN_ALLOW_THREADS
;
2677 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2679 wxPy_END_ALLOW_THREADS
;
2680 } Py_INCREF(Py_None
);
2681 _resultobj
= Py_None
;
2685 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2686 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2691 PyObject
* _argo0
= 0;
2692 PyObject
* _argo1
= 0;
2693 char *_kwnames
[] = { "self","info", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2716 wxPy_END_ALLOW_THREADS
;
2717 } _resultobj
= Py_BuildValue("i",_result
);
2721 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2722 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2729 int _arg4
= (int ) -1;
2730 PyObject
* _argo0
= 0;
2731 PyObject
* _obj3
= 0;
2732 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2745 if (!PyString_Check(_obj3
)) {
2746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2749 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2755 wxPy_END_ALLOW_THREADS
;
2756 } _resultobj
= Py_BuildValue("l",_result
);
2764 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2765 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self","item","data", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2788 wxPy_END_ALLOW_THREADS
;
2789 } _resultobj
= Py_BuildValue("i",_result
);
2793 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2794 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } _resultobj
= Py_BuildValue("i",_result
);
2823 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2824 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2830 PyObject
* _argo0
= 0;
2832 PyObject
* _obj2
= 0;
2833 char *_kwnames
[] = { "self","item","pos", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2847 if (! wxPoint_helper(_obj2
, &_arg2
))
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2854 wxPy_END_ALLOW_THREADS
;
2855 } _resultobj
= Py_BuildValue("i",_result
);
2859 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2860 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2881 wxPy_BEGIN_ALLOW_THREADS
;
2882 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2884 wxPy_END_ALLOW_THREADS
;
2885 } _resultobj
= Py_BuildValue("i",_result
);
2889 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2890 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 PyObject
* _obj2
= 0;
2897 char *_kwnames
[] = { "self","item","text", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2910 if (!PyString_Check(_obj2
)) {
2911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2914 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2917 wxPy_BEGIN_ALLOW_THREADS
;
2918 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2920 wxPy_END_ALLOW_THREADS
;
2921 } Py_INCREF(Py_None
);
2922 _resultobj
= Py_None
;
2930 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2931 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2935 bool _arg2
= (bool ) TRUE
;
2936 PyObject
* _argo0
= 0;
2937 int tempbool2
= (int) TRUE
;
2938 char *_kwnames
[] = { "self","style","add", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2950 _arg2
= (bool ) tempbool2
;
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2955 wxPy_END_ALLOW_THREADS
;
2956 } Py_INCREF(Py_None
);
2957 _resultobj
= Py_None
;
2961 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2962 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self","style", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2983 wxPy_END_ALLOW_THREADS
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 #define new_wxTreeItemId() (new wxTreeItemId())
2990 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2992 wxTreeItemId
* _result
;
2993 char *_kwnames
[] = { NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 _result
= (wxTreeItemId
*)new_wxTreeItemId();
3003 wxPy_END_ALLOW_THREADS
;
3005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3006 _resultobj
= Py_BuildValue("s",_ptemp
);
3009 _resultobj
= Py_None
;
3014 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
3015 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3017 wxTreeItemId
* _arg0
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
3032 wxPy_BEGIN_ALLOW_THREADS
;
3033 delete_wxTreeItemId(_arg0
);
3035 wxPy_END_ALLOW_THREADS
;
3036 } Py_INCREF(Py_None
);
3037 _resultobj
= Py_None
;
3041 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
3042 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3045 wxTreeItemId
* _arg0
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
3063 wxPy_END_ALLOW_THREADS
;
3064 } _resultobj
= Py_BuildValue("i",_result
);
3068 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
3069 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3071 wxPyTreeItemData
* _result
;
3072 PyObject
* _arg0
= (PyObject
*) NULL
;
3073 PyObject
* _obj0
= 0;
3074 char *_kwnames
[] = { "obj", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
3088 wxPy_END_ALLOW_THREADS
;
3090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3091 _resultobj
= Py_BuildValue("s",_ptemp
);
3094 _resultobj
= Py_None
;
3099 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3100 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3103 wxPyTreeItemData
* _arg0
;
3104 PyObject
* _argo0
= 0;
3105 char *_kwnames
[] = { "self", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3118 wxPy_BEGIN_ALLOW_THREADS
;
3119 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
3121 wxPy_END_ALLOW_THREADS
;
3123 _resultobj
= _result
;
3128 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3129 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxPyTreeItemData
* _arg0
;
3133 PyObject
* _argo0
= 0;
3134 PyObject
* _obj1
= 0;
3135 char *_kwnames
[] = { "self","obj", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3151 wxPy_BEGIN_ALLOW_THREADS
;
3152 wxTreeItemData_SetData(_arg0
,_arg1
);
3154 wxPy_END_ALLOW_THREADS
;
3155 } Py_INCREF(Py_None
);
3156 _resultobj
= Py_None
;
3160 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3161 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3163 wxTreeItemId
* _result
;
3164 wxPyTreeItemData
* _arg0
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3182 _result
= (wxTreeItemId
*) &_result_ref
;
3184 wxPy_END_ALLOW_THREADS
;
3186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3187 _resultobj
= Py_BuildValue("s",_ptemp
);
3190 _resultobj
= Py_None
;
3195 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3196 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxPyTreeItemData
* _arg0
;
3199 wxTreeItemId
* _arg1
;
3200 PyObject
* _argo0
= 0;
3201 PyObject
* _argo1
= 0;
3202 char *_kwnames
[] = { "self","id", NULL
};
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 wxTreeItemData_SetId(_arg0
,*_arg1
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3233 wxNotifyEvent
*dest
;
3234 src
= (wxTreeEvent
*) ptr
;
3235 dest
= (wxNotifyEvent
*) src
;
3236 return (void *) dest
;
3239 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3241 wxCommandEvent
*dest
;
3242 src
= (wxTreeEvent
*) ptr
;
3243 dest
= (wxCommandEvent
*) src
;
3244 return (void *) dest
;
3247 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3250 src
= (wxTreeEvent
*) ptr
;
3251 dest
= (wxEvent
*) src
;
3252 return (void *) dest
;
3255 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3256 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
* _resultobj
;
3258 wxTreeItemId
* _result
;
3259 wxTreeEvent
* _arg0
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self", NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3275 wxPy_BEGIN_ALLOW_THREADS
;
3276 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3278 wxPy_END_ALLOW_THREADS
;
3279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3280 _resultobj
= Py_BuildValue("s",_ptemp
);
3284 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3285 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3287 wxTreeItemId
* _result
;
3288 wxTreeEvent
* _arg0
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3307 wxPy_END_ALLOW_THREADS
;
3308 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3309 _resultobj
= Py_BuildValue("s",_ptemp
);
3313 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3314 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3317 wxTreeEvent
* _arg0
;
3318 PyObject
* _argo0
= 0;
3319 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3336 wxPy_END_ALLOW_THREADS
;
3337 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3338 _resultobj
= Py_BuildValue("s",_ptemp
);
3342 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3343 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3346 wxTreeEvent
* _arg0
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3364 wxPy_END_ALLOW_THREADS
;
3365 } _resultobj
= Py_BuildValue("i",_result
);
3369 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3370 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3373 wxTreeEvent
* _arg0
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3390 _result
= (wxString
*) &_result_ref
;
3392 wxPy_END_ALLOW_THREADS
;
3394 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3399 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3402 src
= (wxTreeCtrl
*) ptr
;
3403 dest
= (wxControl
*) src
;
3404 return (void *) dest
;
3407 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3410 src
= (wxTreeCtrl
*) ptr
;
3411 dest
= (wxWindow
*) src
;
3412 return (void *) dest
;
3415 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3418 src
= (wxTreeCtrl
*) ptr
;
3419 dest
= (wxEvtHandler
*) src
;
3420 return (void *) dest
;
3423 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3424 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3426 wxTreeCtrl
* _result
;
3428 wxWindowID _arg1
= (wxWindowID
) -1;
3429 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3430 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3431 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3432 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3433 char * _arg6
= (char *) "wxTreeCtrl";
3434 PyObject
* _argo0
= 0;
3436 PyObject
* _obj2
= 0;
3438 PyObject
* _obj3
= 0;
3439 PyObject
* _argo5
= 0;
3440 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3456 if (! wxPoint_helper(_obj2
, &_arg2
))
3462 if (! wxSize_helper(_obj3
, &_arg3
))
3466 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3473 wxPy_BEGIN_ALLOW_THREADS
;
3474 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3476 wxPy_END_ALLOW_THREADS
;
3478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3479 _resultobj
= Py_BuildValue("s",_ptemp
);
3482 _resultobj
= Py_None
;
3487 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3488 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3509 wxPy_END_ALLOW_THREADS
;
3510 } _resultobj
= Py_BuildValue("i",_result
);
3514 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3515 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3517 unsigned int _result
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } _resultobj
= Py_BuildValue("i",_result
);
3541 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3542 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self","indent", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } Py_INCREF(Py_None
);
3565 _resultobj
= Py_None
;
3569 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3570 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3572 wxImageList
* _result
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3589 wxPy_BEGIN_ALLOW_THREADS
;
3590 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3592 wxPy_END_ALLOW_THREADS
;
3594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3595 _resultobj
= Py_BuildValue("s",_ptemp
);
3598 _resultobj
= Py_None
;
3603 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3604 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3606 wxImageList
* _result
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3626 wxPy_END_ALLOW_THREADS
;
3628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3629 _resultobj
= Py_BuildValue("s",_ptemp
);
3632 _resultobj
= Py_None
;
3637 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3638 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3641 wxImageList
* _arg1
;
3642 PyObject
* _argo0
= 0;
3643 PyObject
* _argo1
= 0;
3644 char *_kwnames
[] = { "self","imageList", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3667 wxPy_END_ALLOW_THREADS
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3673 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3674 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3677 wxImageList
* _arg1
;
3678 PyObject
* _argo0
= 0;
3679 PyObject
* _argo1
= 0;
3680 char *_kwnames
[] = { "self","imageList", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3709 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
3710 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3712 unsigned int _result
;
3714 PyObject
* _argo0
= 0;
3715 char *_kwnames
[] = { "self", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } _resultobj
= Py_BuildValue("i",_result
);
3736 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
3737 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3741 PyObject
* _argo0
= 0;
3742 char *_kwnames
[] = { "self","spacing", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
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_SetSpacing. Expected _wxTreeCtrl_p.");
3755 wxPy_BEGIN_ALLOW_THREADS
;
3756 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
3758 wxPy_END_ALLOW_THREADS
;
3759 } Py_INCREF(Py_None
);
3760 _resultobj
= Py_None
;
3764 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3765 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
* _resultobj
;
3769 wxTreeItemId
* _arg1
;
3770 PyObject
* _argo0
= 0;
3771 PyObject
* _argo1
= 0;
3772 char *_kwnames
[] = { "self","item", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3795 wxPy_END_ALLOW_THREADS
;
3797 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3805 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
3806 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3810 wxTreeItemId
* _arg1
;
3811 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
3812 PyObject
* _argo0
= 0;
3813 PyObject
* _argo1
= 0;
3814 char *_kwnames
[] = { "self","item","which", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } _resultobj
= Py_BuildValue("i",_result
);
3842 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3843 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3847 wxTreeItemId
* _arg1
;
3848 PyObject
* _argo0
= 0;
3849 PyObject
* _argo1
= 0;
3850 char *_kwnames
[] = { "self","item", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3873 wxPy_END_ALLOW_THREADS
;
3874 } _resultobj
= Py_BuildValue("i",_result
);
3878 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3879 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxTreeItemId
* _arg1
;
3884 PyObject
* _argo0
= 0;
3885 PyObject
* _argo1
= 0;
3886 PyObject
* _obj2
= 0;
3887 char *_kwnames
[] = { "self","item","text", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3907 if (!PyString_Check(_obj2
)) {
3908 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3911 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3914 wxPy_BEGIN_ALLOW_THREADS
;
3915 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3917 wxPy_END_ALLOW_THREADS
;
3918 } Py_INCREF(Py_None
);
3919 _resultobj
= Py_None
;
3927 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3928 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3931 wxTreeItemId
* _arg1
;
3933 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
3934 PyObject
* _argo0
= 0;
3935 PyObject
* _argo1
= 0;
3936 char *_kwnames
[] = { "self","item","image","which", NULL
};
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
3959 wxPy_END_ALLOW_THREADS
;
3960 } Py_INCREF(Py_None
);
3961 _resultobj
= Py_None
;
3965 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3966 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3969 wxTreeItemId
* _arg1
;
3971 PyObject
* _argo0
= 0;
3972 PyObject
* _argo1
= 0;
3973 char *_kwnames
[] = { "self","item","image", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3996 wxPy_END_ALLOW_THREADS
;
3997 } Py_INCREF(Py_None
);
3998 _resultobj
= Py_None
;
4002 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
4003 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4006 wxTreeItemId
* _arg1
;
4007 bool _arg2
= (bool ) TRUE
;
4008 PyObject
* _argo0
= 0;
4009 PyObject
* _argo1
= 0;
4010 int tempbool2
= (int) TRUE
;
4011 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
4024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
4030 _arg2
= (bool ) tempbool2
;
4032 wxPy_BEGIN_ALLOW_THREADS
;
4033 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
4035 wxPy_END_ALLOW_THREADS
;
4036 } Py_INCREF(Py_None
);
4037 _resultobj
= Py_None
;
4041 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4042 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4044 data
= new wxPyTreeItemData();
4045 self
->SetItemData(item
, data
);
4049 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4051 wxPyTreeItemData
* _result
;
4053 wxTreeItemId
* _arg1
;
4054 PyObject
* _argo0
= 0;
4055 PyObject
* _argo1
= 0;
4056 char *_kwnames
[] = { "self","item", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4077 wxPy_BEGIN_ALLOW_THREADS
;
4078 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
4080 wxPy_END_ALLOW_THREADS
;
4082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4083 _resultobj
= Py_BuildValue("s",_ptemp
);
4086 _resultobj
= Py_None
;
4091 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
4092 self
->SetItemData(item
, data
);
4094 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4097 wxTreeItemId
* _arg1
;
4098 wxPyTreeItemData
* _arg2
;
4099 PyObject
* _argo0
= 0;
4100 PyObject
* _argo1
= 0;
4101 PyObject
* _argo2
= 0;
4102 char *_kwnames
[] = { "self","item","data", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
4115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4122 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
4132 wxPy_END_ALLOW_THREADS
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4139 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4141 data
= new wxPyTreeItemData();
4142 self
->SetItemData(item
, data
);
4144 return data
->GetData();
4146 static PyObject
*_wrap_wxTreeCtrl_GetPyData(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_GetPyData",_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_GetPyData. 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_GetPyData. Expected _wxTreeItemId_p.");
4173 wxPy_BEGIN_ALLOW_THREADS
;
4174 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4176 wxPy_END_ALLOW_THREADS
;
4178 _resultobj
= _result
;
4183 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4184 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4186 data
= new wxPyTreeItemData(obj
);
4187 self
->SetItemData(item
, data
);
4191 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4194 wxTreeItemId
* _arg1
;
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _argo1
= 0;
4198 PyObject
* _obj2
= 0;
4199 char *_kwnames
[] = { "self","item","obj", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } Py_INCREF(Py_None
);
4227 _resultobj
= Py_None
;
4231 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4232 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4236 wxTreeItemId
* _arg1
;
4237 PyObject
* _argo0
= 0;
4238 PyObject
* _argo1
= 0;
4239 char *_kwnames
[] = { "self","item", NULL
};
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4252 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4259 wxPy_BEGIN_ALLOW_THREADS
;
4260 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4262 wxPy_END_ALLOW_THREADS
;
4263 } _resultobj
= Py_BuildValue("i",_result
);
4267 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4268 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4272 wxTreeItemId
* _arg1
;
4273 PyObject
* _argo0
= 0;
4274 PyObject
* _argo1
= 0;
4275 char *_kwnames
[] = { "self","item", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4298 wxPy_END_ALLOW_THREADS
;
4299 } _resultobj
= Py_BuildValue("i",_result
);
4303 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4304 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4308 wxTreeItemId
* _arg1
;
4309 PyObject
* _argo0
= 0;
4310 PyObject
* _argo1
= 0;
4311 char *_kwnames
[] = { "self","item", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4334 wxPy_END_ALLOW_THREADS
;
4335 } _resultobj
= Py_BuildValue("i",_result
);
4339 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4340 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4344 wxTreeItemId
* _arg1
;
4345 PyObject
* _argo0
= 0;
4346 PyObject
* _argo1
= 0;
4347 char *_kwnames
[] = { "self","item", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4370 wxPy_END_ALLOW_THREADS
;
4371 } _resultobj
= Py_BuildValue("i",_result
);
4375 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4376 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4378 wxTreeItemId
* _result
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4398 wxPy_END_ALLOW_THREADS
;
4399 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4400 _resultobj
= Py_BuildValue("s",_ptemp
);
4404 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4405 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4407 wxTreeItemId
* _result
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4424 wxPy_BEGIN_ALLOW_THREADS
;
4425 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4427 wxPy_END_ALLOW_THREADS
;
4428 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4429 _resultobj
= Py_BuildValue("s",_ptemp
);
4433 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4434 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
* _resultobj
;
4436 wxTreeItemId
* _result
;
4438 wxTreeItemId
* _arg1
;
4439 PyObject
* _argo0
= 0;
4440 PyObject
* _argo1
= 0;
4441 char *_kwnames
[] = { "self","item", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxTreeCtrl_p.");
4455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
4462 wxPy_BEGIN_ALLOW_THREADS
;
4463 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
4465 wxPy_END_ALLOW_THREADS
;
4466 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4467 _resultobj
= Py_BuildValue("s",_ptemp
);
4471 static PyObject
* wxTreeCtrl_GetSelections(wxTreeCtrl
*self
) {
4472 bool doSave
= wxPyRestoreThread();
4473 PyObject
* rval
= PyList_New(0);
4474 wxArrayTreeItemIds array
;
4476 num
= self
->GetSelections(array
);
4477 for (x
=0; x
< num
; x
++) {
4478 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
4480 PyList_Append(rval
, item
);
4482 wxPySaveThread(doSave
);
4485 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4490 char *_kwnames
[] = { "self", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4503 wxPy_BEGIN_ALLOW_THREADS
;
4504 _result
= (PyObject
*)wxTreeCtrl_GetSelections(_arg0
);
4506 wxPy_END_ALLOW_THREADS
;
4508 _resultobj
= _result
;
4513 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4514 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4518 wxTreeItemId
* _arg1
;
4519 bool _arg2
= (bool ) TRUE
;
4520 PyObject
* _argo0
= 0;
4521 PyObject
* _argo1
= 0;
4522 int tempbool2
= (int) TRUE
;
4523 char *_kwnames
[] = { "self","item","recursively", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4542 _arg2
= (bool ) tempbool2
;
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4547 wxPy_END_ALLOW_THREADS
;
4548 } _resultobj
= Py_BuildValue("i",_result
);
4552 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4553 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxTreeItemId
* _result
;
4557 wxTreeItemId
* _arg1
;
4559 PyObject
* _argo0
= 0;
4560 PyObject
* _argo1
= 0;
4562 PyObject
* _obj2
= 0;
4563 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4584 temp
= (long) PyInt_AsLong(_obj2
);
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4591 wxPy_END_ALLOW_THREADS
;
4592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4593 _resultobj
= Py_BuildValue("s",_ptemp
);
4596 o
= PyInt_FromLong((long) (*_arg2
));
4597 _resultobj
= t_output_helper(_resultobj
, o
);
4602 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4603 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4605 wxTreeItemId
* _result
;
4607 wxTreeItemId
* _arg1
;
4609 PyObject
* _argo0
= 0;
4610 PyObject
* _argo1
= 0;
4612 PyObject
* _obj2
= 0;
4613 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4634 temp
= (long) PyInt_AsLong(_obj2
);
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4641 wxPy_END_ALLOW_THREADS
;
4642 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4643 _resultobj
= Py_BuildValue("s",_ptemp
);
4646 o
= PyInt_FromLong((long) (*_arg2
));
4647 _resultobj
= t_output_helper(_resultobj
, o
);
4652 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4653 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4655 wxTreeItemId
* _result
;
4657 wxTreeItemId
* _arg1
;
4658 PyObject
* _argo0
= 0;
4659 PyObject
* _argo1
= 0;
4660 char *_kwnames
[] = { "self","item", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4681 wxPy_BEGIN_ALLOW_THREADS
;
4682 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4684 wxPy_END_ALLOW_THREADS
;
4685 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4686 _resultobj
= Py_BuildValue("s",_ptemp
);
4690 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4691 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
* _resultobj
;
4693 wxTreeItemId
* _result
;
4695 wxTreeItemId
* _arg1
;
4696 PyObject
* _argo0
= 0;
4697 PyObject
* _argo1
= 0;
4698 char *_kwnames
[] = { "self","item", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4719 wxPy_BEGIN_ALLOW_THREADS
;
4720 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4722 wxPy_END_ALLOW_THREADS
;
4723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4724 _resultobj
= Py_BuildValue("s",_ptemp
);
4728 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4729 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4731 wxTreeItemId
* _result
;
4733 PyObject
* _argo0
= 0;
4734 char *_kwnames
[] = { "self", NULL
};
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4748 wxPy_BEGIN_ALLOW_THREADS
;
4749 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4751 wxPy_END_ALLOW_THREADS
;
4752 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4753 _resultobj
= Py_BuildValue("s",_ptemp
);
4757 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4758 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
* _resultobj
;
4760 wxTreeItemId
* _result
;
4762 wxTreeItemId
* _arg1
;
4763 PyObject
* _argo0
= 0;
4764 PyObject
* _argo1
= 0;
4765 char *_kwnames
[] = { "self","item", NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4786 wxPy_BEGIN_ALLOW_THREADS
;
4787 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4789 wxPy_END_ALLOW_THREADS
;
4790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4791 _resultobj
= Py_BuildValue("s",_ptemp
);
4795 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4796 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4798 wxTreeItemId
* _result
;
4800 wxTreeItemId
* _arg1
;
4801 PyObject
* _argo0
= 0;
4802 PyObject
* _argo1
= 0;
4803 char *_kwnames
[] = { "self","item", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4824 wxPy_BEGIN_ALLOW_THREADS
;
4825 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4827 wxPy_END_ALLOW_THREADS
;
4828 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4829 _resultobj
= Py_BuildValue("s",_ptemp
);
4833 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4834 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4836 wxTreeItemId
* _result
;
4838 wxTreeItemId
* _arg1
;
4839 PyObject
* _argo0
= 0;
4840 PyObject
* _argo1
= 0;
4841 char *_kwnames
[] = { "self","item", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
4865 wxPy_END_ALLOW_THREADS
;
4866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4867 _resultobj
= Py_BuildValue("s",_ptemp
);
4871 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4872 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4874 wxTreeItemId
* _result
;
4877 int _arg2
= (int ) -1;
4878 int _arg3
= (int ) -1;
4879 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4880 PyObject
* _argo0
= 0;
4881 PyObject
* _obj1
= 0;
4882 PyObject
* _argo4
= 0;
4883 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4897 if (!PyString_Check(_obj1
)) {
4898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4901 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4904 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4914 wxPy_END_ALLOW_THREADS
;
4915 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4916 _resultobj
= Py_BuildValue("s",_ptemp
);
4924 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4925 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 wxTreeItemId
* _result
;
4929 wxTreeItemId
* _arg1
;
4931 int _arg3
= (int ) -1;
4932 int _arg4
= (int ) -1;
4933 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4934 PyObject
* _argo0
= 0;
4935 PyObject
* _argo1
= 0;
4936 PyObject
* _obj2
= 0;
4937 PyObject
* _argo5
= 0;
4938 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4959 if (!PyString_Check(_obj2
)) {
4960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4963 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4966 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4976 wxPy_END_ALLOW_THREADS
;
4977 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4978 _resultobj
= Py_BuildValue("s",_ptemp
);
4986 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4987 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4989 wxTreeItemId
* _result
;
4991 wxTreeItemId
* _arg1
;
4992 wxTreeItemId
* _arg2
;
4994 int _arg4
= (int ) -1;
4995 int _arg5
= (int ) -1;
4996 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4997 PyObject
* _argo0
= 0;
4998 PyObject
* _argo1
= 0;
4999 PyObject
* _argo2
= 0;
5000 PyObject
* _obj3
= 0;
5001 PyObject
* _argo6
= 0;
5002 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
5016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5023 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5030 if (!PyString_Check(_obj3
)) {
5031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5034 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5037 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
5044 wxPy_BEGIN_ALLOW_THREADS
;
5045 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
5047 wxPy_END_ALLOW_THREADS
;
5048 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5049 _resultobj
= Py_BuildValue("s",_ptemp
);
5057 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5058 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5060 wxTreeItemId
* _result
;
5062 wxTreeItemId
* _arg1
;
5064 int _arg3
= (int ) -1;
5065 int _arg4
= (int ) -1;
5066 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
5067 PyObject
* _argo0
= 0;
5068 PyObject
* _argo1
= 0;
5069 PyObject
* _obj2
= 0;
5070 PyObject
* _argo5
= 0;
5071 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
5085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
5092 if (!PyString_Check(_obj2
)) {
5093 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5096 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5099 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
5106 wxPy_BEGIN_ALLOW_THREADS
;
5107 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5109 wxPy_END_ALLOW_THREADS
;
5110 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5111 _resultobj
= Py_BuildValue("s",_ptemp
);
5119 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5120 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5123 wxTreeItemId
* _arg1
;
5124 PyObject
* _argo0
= 0;
5125 PyObject
* _argo1
= 0;
5126 char *_kwnames
[] = { "self","item", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5139 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 wxTreeCtrl_Delete(_arg0
,*_arg1
);
5149 wxPy_END_ALLOW_THREADS
;
5150 } Py_INCREF(Py_None
);
5151 _resultobj
= Py_None
;
5155 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5156 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
* _resultobj
;
5159 wxTreeItemId
* _arg1
;
5160 PyObject
* _argo0
= 0;
5161 PyObject
* _argo1
= 0;
5162 char *_kwnames
[] = { "self","item", NULL
};
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5182 wxPy_BEGIN_ALLOW_THREADS
;
5183 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
5185 wxPy_END_ALLOW_THREADS
;
5186 } Py_INCREF(Py_None
);
5187 _resultobj
= Py_None
;
5191 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5192 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
* _resultobj
;
5195 PyObject
* _argo0
= 0;
5196 char *_kwnames
[] = { "self", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5209 wxPy_BEGIN_ALLOW_THREADS
;
5210 wxTreeCtrl_DeleteAllItems(_arg0
);
5212 wxPy_END_ALLOW_THREADS
;
5213 } Py_INCREF(Py_None
);
5214 _resultobj
= Py_None
;
5218 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5219 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5222 wxTreeItemId
* _arg1
;
5223 PyObject
* _argo0
= 0;
5224 PyObject
* _argo1
= 0;
5225 char *_kwnames
[] = { "self","item", NULL
};
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5245 wxPy_BEGIN_ALLOW_THREADS
;
5246 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5248 wxPy_END_ALLOW_THREADS
;
5249 } Py_INCREF(Py_None
);
5250 _resultobj
= Py_None
;
5254 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5255 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
* _resultobj
;
5258 wxTreeItemId
* _arg1
;
5259 PyObject
* _argo0
= 0;
5260 PyObject
* _argo1
= 0;
5261 char *_kwnames
[] = { "self","item", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } Py_INCREF(Py_None
);
5286 _resultobj
= Py_None
;
5290 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5291 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5294 wxTreeItemId
* _arg1
;
5295 PyObject
* _argo0
= 0;
5296 PyObject
* _argo1
= 0;
5297 char *_kwnames
[] = { "self","item", NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5317 wxPy_BEGIN_ALLOW_THREADS
;
5318 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5320 wxPy_END_ALLOW_THREADS
;
5321 } Py_INCREF(Py_None
);
5322 _resultobj
= Py_None
;
5326 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5327 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5330 wxTreeItemId
* _arg1
;
5331 PyObject
* _argo0
= 0;
5332 PyObject
* _argo1
= 0;
5333 char *_kwnames
[] = { "self","item", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5363 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5366 PyObject
* _argo0
= 0;
5367 char *_kwnames
[] = { "self", NULL
};
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5380 wxPy_BEGIN_ALLOW_THREADS
;
5381 wxTreeCtrl_Unselect(_arg0
);
5383 wxPy_END_ALLOW_THREADS
;
5384 } Py_INCREF(Py_None
);
5385 _resultobj
= Py_None
;
5389 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5390 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 wxTreeCtrl_UnselectAll(_arg0
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5416 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5417 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5420 wxTreeItemId
* _arg1
;
5421 PyObject
* _argo0
= 0;
5422 PyObject
* _argo1
= 0;
5423 char *_kwnames
[] = { "self","item", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5443 wxPy_BEGIN_ALLOW_THREADS
;
5444 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5446 wxPy_END_ALLOW_THREADS
;
5447 } Py_INCREF(Py_None
);
5448 _resultobj
= Py_None
;
5452 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5453 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
* _resultobj
;
5456 wxTreeItemId
* _arg1
;
5457 PyObject
* _argo0
= 0;
5458 PyObject
* _argo1
= 0;
5459 char *_kwnames
[] = { "self","item", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5488 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5489 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5492 wxTreeItemId
* _arg1
;
5493 PyObject
* _argo0
= 0;
5494 PyObject
* _argo1
= 0;
5495 char *_kwnames
[] = { "self","item", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5524 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5525 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5527 wxTextCtrl
* _result
;
5529 wxTreeItemId
* _arg1
;
5530 PyObject
* _argo0
= 0;
5531 PyObject
* _argo1
= 0;
5532 char *_kwnames
[] = { "self","item", NULL
};
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5553 wxPy_BEGIN_ALLOW_THREADS
;
5554 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5556 wxPy_END_ALLOW_THREADS
;
5558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5559 _resultobj
= Py_BuildValue("s",_ptemp
);
5562 _resultobj
= Py_None
;
5567 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5568 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5570 wxTextCtrl
* _result
;
5572 PyObject
* _argo0
= 0;
5573 char *_kwnames
[] = { "self", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
5580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5587 wxPy_BEGIN_ALLOW_THREADS
;
5588 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
5590 wxPy_END_ALLOW_THREADS
;
5592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5593 _resultobj
= Py_BuildValue("s",_ptemp
);
5596 _resultobj
= Py_None
;
5601 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5602 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5605 wxTreeItemId
* _arg1
;
5606 int _arg2
= (int ) FALSE
;
5607 PyObject
* _argo0
= 0;
5608 PyObject
* _argo1
= 0;
5609 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5629 wxPy_BEGIN_ALLOW_THREADS
;
5630 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
5632 wxPy_END_ALLOW_THREADS
;
5633 } Py_INCREF(Py_None
);
5634 _resultobj
= Py_None
;
5638 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5639 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
* _resultobj
;
5642 wxTreeItemId
* _arg1
;
5643 PyObject
* _argo0
= 0;
5644 PyObject
* _argo1
= 0;
5645 char *_kwnames
[] = { "self","item", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5665 wxPy_BEGIN_ALLOW_THREADS
;
5666 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
5668 wxPy_END_ALLOW_THREADS
;
5669 } Py_INCREF(Py_None
);
5670 _resultobj
= Py_None
;
5674 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5675 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
* _resultobj
;
5678 wxTreeItemId
* _arg1
;
5679 int _arg2
= (int ) TRUE
;
5680 PyObject
* _argo0
= 0;
5681 PyObject
* _argo1
= 0;
5682 char *_kwnames
[] = { "self","item","bold", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5705 wxPy_END_ALLOW_THREADS
;
5706 } Py_INCREF(Py_None
);
5707 _resultobj
= Py_None
;
5711 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5712 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5716 wxTreeItemId
* _arg1
;
5717 PyObject
* _argo0
= 0;
5718 PyObject
* _argo1
= 0;
5719 char *_kwnames
[] = { "self","item", NULL
};
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5739 wxPy_BEGIN_ALLOW_THREADS
;
5740 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5742 wxPy_END_ALLOW_THREADS
;
5743 } _resultobj
= Py_BuildValue("i",_result
);
5747 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5748 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxTreeItemId
* _result
;
5755 PyObject
* _argo0
= 0;
5757 PyObject
* _obj1
= 0;
5758 char *_kwnames
[] = { "self","point", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5776 if (! wxPoint_helper(_obj1
, &_arg1
))
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
5783 wxPy_END_ALLOW_THREADS
;
5784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5785 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 o
= PyInt_FromLong((long) (*_arg2
));
5789 _resultobj
= t_output_helper(_resultobj
, o
);
5794 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
5795 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5798 wxTreeItemId
* _arg1
;
5800 PyObject
* _argo0
= 0;
5801 PyObject
* _argo1
= 0;
5802 PyObject
* _argo2
= 0;
5803 char *_kwnames
[] = { "self","item","col", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeCtrl_p.");
5816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
5823 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemTextColour. Expected _wxColour_p.");
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5839 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
5840 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5843 wxTreeItemId
* _arg1
;
5845 PyObject
* _argo0
= 0;
5846 PyObject
* _argo1
= 0;
5847 PyObject
* _argo2
= 0;
5848 char *_kwnames
[] = { "self","item","col", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeCtrl_p.");
5861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
5868 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxColour_p.");
5875 wxPy_BEGIN_ALLOW_THREADS
;
5876 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
5878 wxPy_END_ALLOW_THREADS
;
5879 } Py_INCREF(Py_None
);
5880 _resultobj
= Py_None
;
5884 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
5885 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5888 wxTreeItemId
* _arg1
;
5890 PyObject
* _argo0
= 0;
5891 PyObject
* _argo1
= 0;
5892 PyObject
* _argo2
= 0;
5893 char *_kwnames
[] = { "self","item","font", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxTreeCtrl_p.");
5906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
5913 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
5920 wxPy_BEGIN_ALLOW_THREADS
;
5921 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
5923 wxPy_END_ALLOW_THREADS
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5929 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
5930 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5933 wxTreeItemId
* _arg1
;
5934 int _arg2
= (int ) TRUE
;
5935 PyObject
* _argo0
= 0;
5936 PyObject
* _argo1
= 0;
5937 char *_kwnames
[] = { "self","item","highlight", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeCtrl_p.");
5950 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
5957 wxPy_BEGIN_ALLOW_THREADS
;
5958 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
5960 wxPy_END_ALLOW_THREADS
;
5961 } Py_INCREF(Py_None
);
5962 _resultobj
= Py_None
;
5966 static PyObject
* wxTreeCtrl_GetBoundingRect(wxTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
5968 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
5969 bool doSave
= wxPyRestoreThread();
5970 wxRect
* r
= new wxRect(rect
);
5971 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
5972 wxPySaveThread(doSave
);
5980 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5984 wxTreeItemId
* _arg1
;
5985 int _arg2
= (int ) FALSE
;
5986 PyObject
* _argo0
= 0;
5987 PyObject
* _argo1
= 0;
5988 char *_kwnames
[] = { "self","item","textOnly", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_p.");
6001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 _result
= (PyObject
*)wxTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
6011 wxPy_END_ALLOW_THREADS
;
6013 _resultobj
= _result
;
6018 static PyMethodDef controls2cMethods
[] = {
6019 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
6020 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
6021 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
6022 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6023 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6024 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
6025 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
6026 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
6027 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
6028 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6029 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
6030 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6031 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
6032 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
6033 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
6034 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
6035 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
6036 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
6037 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
6038 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
6039 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
6040 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
6041 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
6042 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
6043 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
6044 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
6045 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
6046 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
6047 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
6048 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
6049 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
6050 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
6051 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
6052 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
6053 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
6054 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
6055 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
6056 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
6057 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
6058 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6059 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
6060 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
6061 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
6062 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
6063 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6064 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
6065 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
6066 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6067 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6068 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
6069 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6070 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6071 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6072 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6073 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6074 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6075 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6076 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6077 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6078 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6079 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6080 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6081 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6082 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6083 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
6084 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6085 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6086 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
6087 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
6088 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
6089 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
6090 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6091 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6092 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
6093 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
6094 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
6095 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6096 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
6097 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
6098 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
6099 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
6100 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6101 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
6192 * This table is used by the pointer type-checker
6194 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6195 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6196 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6197 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6198 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6199 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6200 { "_wxEvent","_class_wxEvent",0},
6201 { "_class_wxActivateEvent","_wxActivateEvent",0},
6202 { "_signed_long","_long",0},
6203 { "_wxMenuEvent","_class_wxMenuEvent",0},
6204 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6205 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6206 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6207 { "_wxPrintQuality","_wxCoord",0},
6208 { "_wxPrintQuality","_int",0},
6209 { "_wxPrintQuality","_signed_int",0},
6210 { "_wxPrintQuality","_unsigned_int",0},
6211 { "_wxPrintQuality","_wxWindowID",0},
6212 { "_wxPrintQuality","_uint",0},
6213 { "_wxPrintQuality","_EBool",0},
6214 { "_wxPrintQuality","_size_t",0},
6215 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6216 { "_class_wxRegionIterator","_wxRegionIterator",0},
6217 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6218 { "_class_wxMenuBar","_wxMenuBar",0},
6219 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
6220 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6221 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6222 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6223 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6224 { "_class_wxEvtHandler","_wxEvtHandler",0},
6225 { "_wxPaintEvent","_class_wxPaintEvent",0},
6226 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6227 { "_wxCursor","_class_wxCursor",0},
6228 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6229 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6230 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6231 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
6232 { "_wxMask","_class_wxMask",0},
6233 { "_wxPen","_class_wxPen",0},
6234 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6235 { "_byte","_unsigned_char",0},
6236 { "_wxDataObject","_class_wxDataObject",0},
6237 { "_wxStaticBox","_class_wxStaticBox",0},
6238 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6239 { "_wxPyDropSource","_class_wxPyDropSource",0},
6240 { "_wxChoice","_class_wxChoice",0},
6241 { "_wxSlider","_class_wxSlider",0},
6242 { "_long","_wxDash",0},
6243 { "_long","_unsigned_long",0},
6244 { "_long","_signed_long",0},
6245 { "_wxImageList","_class_wxImageList",0},
6246 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6247 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6248 { "_wxBitmapButton","_class_wxBitmapButton",0},
6249 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6250 { "_class_wxClipboard","_wxClipboard",0},
6251 { "_class_wxGauge","_wxGauge",0},
6252 { "_wxDC","_class_wxDC",0},
6253 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6254 { "_wxListEvent","_class_wxListEvent",0},
6255 { "_wxSpinEvent","_class_wxSpinEvent",0},
6256 { "_size_t","_wxCoord",0},
6257 { "_size_t","_wxPrintQuality",0},
6258 { "_size_t","_unsigned_int",0},
6259 { "_size_t","_int",0},
6260 { "_size_t","_wxWindowID",0},
6261 { "_size_t","_uint",0},
6262 { "_class_wxRealPoint","_wxRealPoint",0},
6263 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6264 { "_wxPrinterDC","_class_wxPrinterDC",0},
6265 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6266 { "_class_wxMenuItem","_wxMenuItem",0},
6267 { "_class_wxPaintEvent","_wxPaintEvent",0},
6268 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6269 { "_wxPanel","_class_wxPanel",0},
6270 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6271 { "_wxCheckBox","_class_wxCheckBox",0},
6272 { "_wxPyEvent","_class_wxPyEvent",0},
6273 { "_wxTextCtrl","_class_wxTextCtrl",0},
6274 { "_class_wxMask","_wxMask",0},
6275 { "_wxTextDataObject","_class_wxTextDataObject",0},
6276 { "_class_wxKeyEvent","_wxKeyEvent",0},
6277 { "_wxColour","_class_wxColour",0},
6278 { "_class_wxDialog","_wxDialog",0},
6279 { "_class_wxFileDataObject","_wxFileDataObject",0},
6280 { "_wxIdleEvent","_class_wxIdleEvent",0},
6281 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6282 { "_class_wxDataObject","_wxDataObject",0},
6283 { "_wxStaticLine","_class_wxStaticLine",0},
6284 { "_wxBrush","_class_wxBrush",0},
6285 { "_wxDataFormat","_class_wxDataFormat",0},
6286 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6287 { "_wxShowEvent","_class_wxShowEvent",0},
6288 { "_uint","_wxCoord",0},
6289 { "_uint","_wxPrintQuality",0},
6290 { "_uint","_size_t",0},
6291 { "_uint","_unsigned_int",0},
6292 { "_uint","_int",0},
6293 { "_uint","_wxWindowID",0},
6294 { "_wxPyValidator","_class_wxPyValidator",0},
6295 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6296 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6297 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6298 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6299 { "_class_wxEvent","_wxEvent",0},
6300 { "_wxCheckListBox","_class_wxCheckListBox",0},
6301 { "_wxRect","_class_wxRect",0},
6302 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6303 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6304 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6305 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6306 { "_wxCommandEvent","_class_wxCommandEvent",0},
6307 { "_wxSizeEvent","_class_wxSizeEvent",0},
6308 { "_wxPoint","_class_wxPoint",0},
6309 { "_class_wxButton","_wxButton",0},
6310 { "_wxRadioBox","_class_wxRadioBox",0},
6311 { "_wxBitmap","_class_wxBitmap",0},
6312 { "_wxPyTimer","_class_wxPyTimer",0},
6313 { "_wxWindowDC","_class_wxWindowDC",0},
6314 { "_wxScrollBar","_class_wxScrollBar",0},
6315 { "_wxSpinButton","_class_wxSpinButton",0},
6316 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6317 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6318 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6319 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6320 { "_class_wxValidator","_wxValidator",0},
6321 { "_class_wxPyEvent","_wxPyEvent",0},
6322 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6323 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6324 { "_wxListItem","_class_wxListItem",0},
6325 { "_wxDropTarget","_class_wxDropTarget",0},
6326 { "_class_wxStaticLine","_wxStaticLine",0},
6327 { "_wxScrollEvent","_class_wxScrollEvent",0},
6328 { "_EBool","_wxCoord",0},
6329 { "_EBool","_wxPrintQuality",0},
6330 { "_EBool","_signed_int",0},
6331 { "_EBool","_int",0},
6332 { "_EBool","_wxWindowID",0},
6333 { "_class_wxRegion","_wxRegion",0},
6334 { "_class_wxDataFormat","_wxDataFormat",0},
6335 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6336 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6337 { "_wxStaticText","_class_wxStaticText",0},
6338 { "_wxFont","_class_wxFont",0},
6339 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6340 { "_wxCloseEvent","_class_wxCloseEvent",0},
6341 { "_unsigned_long","_wxDash",0},
6342 { "_unsigned_long","_long",0},
6343 { "_class_wxRect","_wxRect",0},
6344 { "_class_wxDC","_wxDC",0},
6345 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6346 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6347 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6348 { "_class_wxTreeEvent","_wxTreeEvent",0},
6349 { "_class_wxPyTimer","_wxPyTimer",0},
6350 { "_wxFocusEvent","_class_wxFocusEvent",0},
6351 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6352 { "_class_wxSpinButton","_wxSpinButton",0},
6353 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6354 { "_class_wxPanel","_wxPanel",0},
6355 { "_class_wxCheckBox","_wxCheckBox",0},
6356 { "_wxComboBox","_class_wxComboBox",0},
6357 { "_wxRadioButton","_class_wxRadioButton",0},
6358 { "_signed_int","_wxCoord",0},
6359 { "_signed_int","_wxPrintQuality",0},
6360 { "_signed_int","_EBool",0},
6361 { "_signed_int","_wxWindowID",0},
6362 { "_signed_int","_int",0},
6363 { "_class_wxTextCtrl","_wxTextCtrl",0},
6364 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6365 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6366 { "_class_wxTextDataObject","_wxTextDataObject",0},
6367 { "_wxMenu","_class_wxMenu",0},
6368 { "_class_wxMoveEvent","_wxMoveEvent",0},
6369 { "_wxListBox","_class_wxListBox",0},
6370 { "_wxScreenDC","_class_wxScreenDC",0},
6371 { "_WXTYPE","_short",0},
6372 { "_WXTYPE","_signed_short",0},
6373 { "_WXTYPE","_unsigned_short",0},
6374 { "_class_wxDropTarget","_wxDropTarget",0},
6375 { "_class_wxBrush","_wxBrush",0},
6376 { "_unsigned_short","_WXTYPE",0},
6377 { "_unsigned_short","_short",0},
6378 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6379 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6380 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6381 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6382 { "_class_wxWindow","_wxWindow",0},
6383 { "_class_wxStaticText","_wxStaticText",0},
6384 { "_class_wxFont","_wxFont",0},
6385 { "_wxClipboard","_class_wxClipboard",0},
6386 { "_class_wxPyValidator","_wxPyValidator",0},
6387 { "_class_wxCloseEvent","_wxCloseEvent",0},
6388 { "_wxBusyInfo","_class_wxBusyInfo",0},
6389 { "_class_wxMenuEvent","_wxMenuEvent",0},
6390 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6391 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
6392 { "_wxClientDC","_class_wxClientDC",0},
6393 { "_wxMouseEvent","_class_wxMouseEvent",0},
6394 { "_wxListCtrl","_class_wxListCtrl",0},
6395 { "_class_wxPoint","_wxPoint",0},
6396 { "_wxRealPoint","_class_wxRealPoint",0},
6397 { "_class_wxRadioBox","_wxRadioBox",0},
6398 { "_signed_short","_WXTYPE",0},
6399 { "_signed_short","_short",0},
6400 { "_wxMemoryDC","_class_wxMemoryDC",0},
6401 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
6402 { "_wxPaintDC","_class_wxPaintDC",0},
6403 { "_class_wxWindowDC","_wxWindowDC",0},
6404 { "_class_wxFocusEvent","_wxFocusEvent",0},
6405 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6406 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6407 { "_class_wxCursor","_wxCursor",0},
6408 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6409 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6410 { "_wxTreeItemId","_class_wxTreeItemId",0},
6411 { "_unsigned_char","_byte",0},
6412 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6413 { "_class_wxMenu","_wxMenu",0},
6414 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6415 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6416 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6417 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6418 { "_wxControl","_class_wxControl",0},
6419 { "_class_wxListBox","_wxListBox",0},
6420 { "_unsigned_int","_wxCoord",0},
6421 { "_unsigned_int","_wxPrintQuality",0},
6422 { "_unsigned_int","_size_t",0},
6423 { "_unsigned_int","_uint",0},
6424 { "_unsigned_int","_wxWindowID",0},
6425 { "_unsigned_int","_int",0},
6426 { "_wxIcon","_class_wxIcon",0},
6427 { "_wxDialog","_class_wxDialog",0},
6428 { "_class_wxListItem","_wxListItem",0},
6429 { "_class_wxPen","_wxPen",0},
6430 { "_short","_WXTYPE",0},
6431 { "_short","_unsigned_short",0},
6432 { "_short","_signed_short",0},
6433 { "_class_wxStaticBox","_wxStaticBox",0},
6434 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6435 { "_class_wxPyDropSource","_wxPyDropSource",0},
6436 { "_class_wxScrollEvent","_wxScrollEvent",0},
6437 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6438 { "_class_wxChoice","_wxChoice",0},
6439 { "_class_wxSlider","_wxSlider",0},
6440 { "_class_wxImageList","_wxImageList",0},
6441 { "_class_wxBitmapButton","_wxBitmapButton",0},
6442 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6443 { "_wxWindowID","_wxCoord",0},
6444 { "_wxWindowID","_wxPrintQuality",0},
6445 { "_wxWindowID","_size_t",0},
6446 { "_wxWindowID","_EBool",0},
6447 { "_wxWindowID","_uint",0},
6448 { "_wxWindowID","_int",0},
6449 { "_wxWindowID","_signed_int",0},
6450 { "_wxWindowID","_unsigned_int",0},
6451 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6452 { "_int","_wxCoord",0},
6453 { "_int","_wxPrintQuality",0},
6454 { "_int","_size_t",0},
6455 { "_int","_EBool",0},
6456 { "_int","_uint",0},
6457 { "_int","_wxWindowID",0},
6458 { "_int","_unsigned_int",0},
6459 { "_int","_signed_int",0},
6460 { "_class_wxMouseEvent","_wxMouseEvent",0},
6461 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6462 { "_class_wxListEvent","_wxListEvent",0},
6463 { "_class_wxSpinEvent","_wxSpinEvent",0},
6464 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6465 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6466 { "_wxButton","_class_wxButton",0},
6467 { "_wxSize","_class_wxSize",0},
6468 { "_wxRegionIterator","_class_wxRegionIterator",0},
6469 { "_class_wxPrinterDC","_wxPrinterDC",0},
6470 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6471 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6472 { "_class_wxPaintDC","_wxPaintDC",0},
6473 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6474 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6475 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6476 { "_class_wxComboBox","_wxComboBox",0},
6477 { "_class_wxRadioButton","_wxRadioButton",0},
6478 { "_wxValidator","_class_wxValidator",0},
6479 { "_class_wxTreeItemId","_wxTreeItemId",0},
6480 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6481 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6482 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6483 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6484 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6485 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6486 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6487 { "_class_wxControl","_wxControl",0},
6488 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6489 { "_class_wxIcon","_wxIcon",0},
6490 { "_class_wxColour","_wxColour",0},
6491 { "_class_wxScreenDC","_wxScreenDC",0},
6492 { "_wxPalette","_class_wxPalette",0},
6493 { "_class_wxIdleEvent","_wxIdleEvent",0},
6494 { "_wxCoord","_int",0},
6495 { "_wxCoord","_signed_int",0},
6496 { "_wxCoord","_unsigned_int",0},
6497 { "_wxCoord","_wxWindowID",0},
6498 { "_wxCoord","_uint",0},
6499 { "_wxCoord","_EBool",0},
6500 { "_wxCoord","_size_t",0},
6501 { "_wxCoord","_wxPrintQuality",0},
6502 { "_wxEraseEvent","_class_wxEraseEvent",0},
6503 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6504 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6505 { "_wxRegion","_class_wxRegion",0},
6506 { "_class_wxShowEvent","_wxShowEvent",0},
6507 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6508 { "_wxActivateEvent","_class_wxActivateEvent",0},
6509 { "_wxGauge","_class_wxGauge",0},
6510 { "_class_wxCheckListBox","_wxCheckListBox",0},
6511 { "_class_wxBusyInfo","_wxBusyInfo",0},
6512 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6513 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6514 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6515 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6516 { "_class_wxCommandEvent","_wxCommandEvent",0},
6517 { "_class_wxClientDC","_wxClientDC",0},
6518 { "_class_wxSizeEvent","_wxSizeEvent",0},
6519 { "_class_wxListCtrl","_wxListCtrl",0},
6520 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6521 { "_class_wxSize","_wxSize",0},
6522 { "_class_wxBitmap","_wxBitmap",0},
6523 { "_class_wxMemoryDC","_wxMemoryDC",0},
6524 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6525 { "_wxMenuBar","_class_wxMenuBar",0},
6526 { "_wxTreeEvent","_class_wxTreeEvent",0},
6527 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6528 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6529 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6530 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6531 { "_wxEvtHandler","_class_wxEvtHandler",0},
6532 { "_wxMenuItem","_class_wxMenuItem",0},
6533 { "_class_wxScrollBar","_wxScrollBar",0},
6534 { "_wxDash","_unsigned_long",0},
6535 { "_wxDash","_long",0},
6536 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6537 { "_wxKeyEvent","_class_wxKeyEvent",0},
6538 { "_wxMoveEvent","_class_wxMoveEvent",0},
6539 { "_class_wxPalette","_wxPalette",0},
6540 { "_wxFileDataObject","_class_wxFileDataObject",0},
6541 { "_class_wxEraseEvent","_wxEraseEvent",0},
6542 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6543 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6544 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6545 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6546 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6547 { "_wxWindow","_class_wxWindow",0},
6548 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6551 static PyObject
*SWIG_globals
;
6555 SWIGEXPORT(void) initcontrols2c() {
6557 SWIG_globals
= SWIG_newvarlink();
6558 m
= Py_InitModule("controls2c", controls2cMethods
);
6559 d
= PyModule_GetDict(m
);
6560 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
6561 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
6562 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
6563 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
6564 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
6565 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
6566 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
6567 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
6568 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
6569 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
6570 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
6571 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
6572 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
6573 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
6574 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
6575 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
6576 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
6577 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
6578 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
6579 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
6580 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
6581 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
6582 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6583 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6584 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6585 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6586 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6587 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6588 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6589 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6590 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6591 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6592 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6593 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6594 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6595 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6596 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6597 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6598 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6599 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6600 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6601 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6602 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6603 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
6604 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
6605 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
6606 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
6607 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
6608 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
6609 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
6610 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
6611 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
6612 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
6613 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
6614 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
6615 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
6616 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
6617 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
6618 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
6619 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
6620 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
6621 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
6624 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6625 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);