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_FromString(WXSTRINGCAST (*_result
));
462 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
463 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
484 wxPy_END_ALLOW_THREADS
;
486 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
491 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
492 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self","m_image", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
514 wxPy_END_ALLOW_THREADS
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
520 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (int )wxListItem_m_image_get(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
547 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self","m_data", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
569 wxPy_END_ALLOW_THREADS
;
570 } _resultobj
= Py_BuildValue("l",_result
);
574 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
575 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= (long )wxListItem_m_data_get(_arg0
);
596 wxPy_END_ALLOW_THREADS
;
597 } _resultobj
= Py_BuildValue("l",_result
);
601 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
602 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self","m_format", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
624 wxPy_END_ALLOW_THREADS
;
625 } _resultobj
= Py_BuildValue("i",_result
);
629 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
630 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (int )wxListItem_m_format_get(_arg0
);
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
657 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self","m_width", NULL
};
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
676 wxPy_BEGIN_ALLOW_THREADS
;
677 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
679 wxPy_END_ALLOW_THREADS
;
680 } _resultobj
= Py_BuildValue("i",_result
);
684 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
685 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 _result
= (int )wxListItem_m_width_get(_arg0
);
706 wxPy_END_ALLOW_THREADS
;
707 } _resultobj
= Py_BuildValue("i",_result
);
711 #define new_wxListItem() (new wxListItem())
712 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 wxListItem
* _result
;
715 char *_kwnames
[] = { NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
722 wxPy_BEGIN_ALLOW_THREADS
;
723 _result
= (wxListItem
*)new_wxListItem();
725 wxPy_END_ALLOW_THREADS
;
727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
728 _resultobj
= Py_BuildValue("s",_ptemp
);
731 _resultobj
= Py_None
;
736 #define delete_wxListItem(_swigobj) (delete _swigobj)
737 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 delete_wxListItem(_arg0
);
757 wxPy_END_ALLOW_THREADS
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
765 wxCommandEvent
*dest
;
766 src
= (wxListEvent
*) ptr
;
767 dest
= (wxCommandEvent
*) src
;
768 return (void *) dest
;
771 static void *SwigwxListEventTowxEvent(void *ptr
) {
774 src
= (wxListEvent
*) ptr
;
775 dest
= (wxEvent
*) src
;
776 return (void *) dest
;
779 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
780 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
785 PyObject
* _argo0
= 0;
786 char *_kwnames
[] = { "self","m_code", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
799 wxPy_BEGIN_ALLOW_THREADS
;
800 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
802 wxPy_END_ALLOW_THREADS
;
803 } _resultobj
= Py_BuildValue("i",_result
);
807 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
808 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (int )wxListEvent_m_code_get(_arg0
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
834 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
835 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
857 wxPy_END_ALLOW_THREADS
;
858 } _resultobj
= Py_BuildValue("l",_result
);
862 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
863 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
867 PyObject
* _argo0
= 0;
868 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
884 wxPy_END_ALLOW_THREADS
;
885 } _resultobj
= Py_BuildValue("l",_result
);
889 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
890 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
895 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 } _resultobj
= Py_BuildValue("l",_result
);
917 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
918 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
923 char *_kwnames
[] = { "self", NULL
};
926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("l",_result
);
944 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
945 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
950 PyObject
* _argo0
= 0;
951 char *_kwnames
[] = { "self","m_col", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("i",_result
);
972 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
973 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= (int )wxListEvent_m_col_get(_arg0
);
994 wxPy_END_ALLOW_THREADS
;
995 } _resultobj
= Py_BuildValue("i",_result
);
999 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1000 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 wxListEvent
* _arg0
;
1005 PyObject
* _argo0
= 0;
1007 char *_kwnames
[] = { "self","m_cancelled", NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
1013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1019 _arg1
= (bool ) tempbool1
;
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } _resultobj
= Py_BuildValue("i",_result
);
1029 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1030 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxListEvent
* _arg0
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("i",_result
);
1056 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1057 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 wxListEvent
* _arg0
;
1062 PyObject
* _argo0
= 0;
1064 PyObject
* _obj1
= 0;
1065 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
1072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1080 if (! wxPoint_helper(_obj1
, &_arg1
))
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1087 wxPy_END_ALLOW_THREADS
;
1089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1090 _resultobj
= Py_BuildValue("s",_ptemp
);
1093 _resultobj
= Py_None
;
1098 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1099 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 wxListEvent
* _arg0
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1124 _resultobj
= Py_BuildValue("s",_ptemp
);
1127 _resultobj
= Py_None
;
1132 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1133 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxListItem
* _result
;
1136 wxListEvent
* _arg0
;
1138 PyObject
* _argo0
= 0;
1139 PyObject
* _argo1
= 0;
1140 char *_kwnames
[] = { "self","m_item", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1164 wxPy_END_ALLOW_THREADS
;
1166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1167 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 _resultobj
= Py_None
;
1175 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1176 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1178 wxListItem
* _result
;
1179 wxListEvent
* _arg0
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1198 wxPy_END_ALLOW_THREADS
;
1200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1201 _resultobj
= Py_BuildValue("s",_ptemp
);
1204 _resultobj
= Py_None
;
1209 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1212 src
= (wxListCtrl
*) ptr
;
1213 dest
= (wxControl
*) src
;
1214 return (void *) dest
;
1217 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1220 src
= (wxListCtrl
*) ptr
;
1221 dest
= (wxWindow
*) src
;
1222 return (void *) dest
;
1225 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1228 src
= (wxListCtrl
*) ptr
;
1229 dest
= (wxEvtHandler
*) src
;
1230 return (void *) dest
;
1233 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1234 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxListCtrl
* _result
;
1239 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1240 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1241 long _arg4
= (long ) wxLC_ICON
;
1242 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1243 char * _arg6
= (char *) "listCtrl";
1244 PyObject
* _argo0
= 0;
1246 PyObject
* _obj2
= 0;
1248 PyObject
* _obj3
= 0;
1249 PyObject
* _argo5
= 0;
1250 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1266 if (! wxPoint_helper(_obj2
, &_arg2
))
1272 if (! wxSize_helper(_obj3
, &_arg3
))
1276 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1286 wxPy_END_ALLOW_THREADS
;
1288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1289 _resultobj
= Py_BuildValue("s",_ptemp
);
1292 _resultobj
= Py_None
;
1297 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1298 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1302 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self","flag", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1326 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
* _resultobj
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self","item", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } _resultobj
= Py_BuildValue("i",_result
);
1353 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1354 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1358 PyObject
* _argo0
= 0;
1359 char *_kwnames
[] = { "self", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1375 wxPy_END_ALLOW_THREADS
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1381 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self","col", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } _resultobj
= Py_BuildValue("i",_result
);
1408 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1409 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } _resultobj
= Py_BuildValue("i",_result
);
1435 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1436 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 wxListCtrl_ClearAll(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1463 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
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 self
->GetItem(*info
);
1861 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1863 wxListItem
* _result
;
1866 int _arg2
= (int ) 0;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self","itemId","col", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
1885 wxPy_END_ALLOW_THREADS
;
1887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1888 _resultobj
= Py_BuildValue("s",_ptemp
);
1891 _resultobj
= Py_None
;
1896 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1897 wxPoint
* pos
= new wxPoint
;
1898 self
->GetItemPosition(item
, *pos
);
1901 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1906 PyObject
* _argo0
= 0;
1907 char *_kwnames
[] = { "self","item", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1921 wxPy_BEGIN_ALLOW_THREADS
;
1922 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1924 wxPy_END_ALLOW_THREADS
;
1926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1927 _resultobj
= Py_BuildValue("s",_ptemp
);
1930 _resultobj
= Py_None
;
1935 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1936 wxRect
* rect
= new wxRect
;
1937 self
->GetItemRect(item
, *rect
, code
);
1940 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1945 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1946 PyObject
* _argo0
= 0;
1947 char *_kwnames
[] = { "self","item","code", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1964 wxPy_END_ALLOW_THREADS
;
1966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1967 _resultobj
= Py_BuildValue("s",_ptemp
);
1970 _resultobj
= Py_None
;
1975 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1976 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1999 wxPy_END_ALLOW_THREADS
;
2000 } _resultobj
= Py_BuildValue("i",_result
);
2004 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
2005 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2009 PyObject
* _argo0
= 0;
2010 char *_kwnames
[] = { "self", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
2026 wxPy_END_ALLOW_THREADS
;
2027 } _resultobj
= Py_BuildValue("i",_result
);
2031 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
2032 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
* _resultobj
;
2037 PyObject
* _argo0
= 0;
2039 char *_kwnames
[] = { "self","isSmall", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2051 _arg1
= (bool ) tempbool1
;
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
2056 wxPy_END_ALLOW_THREADS
;
2057 } _resultobj
= Py_BuildValue("i",_result
);
2061 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2062 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2067 PyObject
* _argo0
= 0;
2068 char *_kwnames
[] = { "self","item", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2084 wxPy_END_ALLOW_THREADS
;
2086 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2094 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2095 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2100 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2101 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } _resultobj
= Py_BuildValue("l",_result
);
2124 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2125 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2129 PyObject
* _argo0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2146 wxPy_END_ALLOW_THREADS
;
2147 } _resultobj
= Py_BuildValue("i",_result
);
2151 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2152 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
* _resultobj
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
2174 wxPy_END_ALLOW_THREADS
;
2175 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2176 _resultobj
= Py_BuildValue("s",_ptemp
);
2180 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2181 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2185 PyObject
* _argo0
= 0;
2186 PyObject
* _argo1
= 0;
2187 char *_kwnames
[] = { "self","col", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2216 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2217 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2221 PyObject
* _argo0
= 0;
2222 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2235 wxPy_BEGIN_ALLOW_THREADS
;
2236 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2238 wxPy_END_ALLOW_THREADS
;
2239 } _resultobj
= Py_BuildValue("l",_result
);
2243 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2244 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2251 PyObject
* _argo0
= 0;
2253 PyObject
* _obj1
= 0;
2254 char *_kwnames
[] = { "self","point", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2271 if (! wxPoint_helper(_obj1
, &_arg1
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } _resultobj
= Py_BuildValue("l",_result
);
2282 o
= PyInt_FromLong((long) (*_arg2
));
2283 _resultobj
= t_output_helper(_resultobj
, o
);
2288 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2289 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2295 PyObject
* _argo0
= 0;
2296 PyObject
* _argo2
= 0;
2297 char *_kwnames
[] = { "self","col","info", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2310 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2320 wxPy_END_ALLOW_THREADS
;
2321 } _resultobj
= Py_BuildValue("l",_result
);
2325 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2326 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2332 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2333 int _arg4
= (int ) -1;
2334 PyObject
* _argo0
= 0;
2335 PyObject
* _obj2
= 0;
2336 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2349 if (!PyString_Check(_obj2
)) {
2350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2353 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2356 wxPy_BEGIN_ALLOW_THREADS
;
2357 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2359 wxPy_END_ALLOW_THREADS
;
2360 } _resultobj
= Py_BuildValue("l",_result
);
2368 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2369 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2376 char *_kwnames
[] = { "self","info", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2399 wxPy_END_ALLOW_THREADS
;
2400 } _resultobj
= Py_BuildValue("l",_result
);
2404 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2405 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2411 PyObject
* _argo0
= 0;
2412 PyObject
* _obj2
= 0;
2413 char *_kwnames
[] = { "self","index","label", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2426 if (!PyString_Check(_obj2
)) {
2427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2430 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2433 wxPy_BEGIN_ALLOW_THREADS
;
2434 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2436 wxPy_END_ALLOW_THREADS
;
2437 } _resultobj
= Py_BuildValue("l",_result
);
2445 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2446 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2452 PyObject
* _argo0
= 0;
2453 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2466 wxPy_BEGIN_ALLOW_THREADS
;
2467 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2469 wxPy_END_ALLOW_THREADS
;
2470 } _resultobj
= Py_BuildValue("l",_result
);
2474 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2475 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2482 PyObject
* _argo0
= 0;
2483 PyObject
* _obj2
= 0;
2484 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2497 if (!PyString_Check(_obj2
)) {
2498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2501 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } _resultobj
= Py_BuildValue("l",_result
);
2516 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2517 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2523 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self","dx","dy", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2546 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2550 PyObject
* _argo0
= 0;
2551 PyObject
* _argo1
= 0;
2552 char *_kwnames
[] = { "self","col", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } Py_INCREF(Py_None
);
2577 _resultobj
= Py_None
;
2581 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2582 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2588 PyObject
* _argo0
= 0;
2589 PyObject
* _argo2
= 0;
2590 char *_kwnames
[] = { "self","col","item", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2603 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2610 wxPy_BEGIN_ALLOW_THREADS
;
2611 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2613 wxPy_END_ALLOW_THREADS
;
2614 } _resultobj
= Py_BuildValue("i",_result
);
2618 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2619 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2625 PyObject
* _argo0
= 0;
2626 char *_kwnames
[] = { "self","col","width", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2642 wxPy_END_ALLOW_THREADS
;
2643 } _resultobj
= Py_BuildValue("i",_result
);
2647 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2648 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
* _resultobj
;
2651 wxImageList
* _arg1
;
2653 PyObject
* _argo0
= 0;
2654 PyObject
* _argo1
= 0;
2655 char *_kwnames
[] = { "self","imageList","which", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2675 wxPy_BEGIN_ALLOW_THREADS
;
2676 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2678 wxPy_END_ALLOW_THREADS
;
2679 } Py_INCREF(Py_None
);
2680 _resultobj
= Py_None
;
2684 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2685 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2690 PyObject
* _argo0
= 0;
2691 PyObject
* _argo1
= 0;
2692 char *_kwnames
[] = { "self","info", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2715 wxPy_END_ALLOW_THREADS
;
2716 } _resultobj
= Py_BuildValue("i",_result
);
2720 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2721 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2728 int _arg4
= (int ) -1;
2729 PyObject
* _argo0
= 0;
2730 PyObject
* _obj3
= 0;
2731 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2744 if (!PyString_Check(_obj3
)) {
2745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2748 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } _resultobj
= Py_BuildValue("l",_result
);
2763 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2764 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self","item","data", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2784 wxPy_BEGIN_ALLOW_THREADS
;
2785 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2787 wxPy_END_ALLOW_THREADS
;
2788 } _resultobj
= Py_BuildValue("i",_result
);
2792 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2793 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2817 wxPy_END_ALLOW_THREADS
;
2818 } _resultobj
= Py_BuildValue("i",_result
);
2822 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2823 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2831 PyObject
* _obj2
= 0;
2832 char *_kwnames
[] = { "self","item","pos", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2846 if (! wxPoint_helper(_obj2
, &_arg2
))
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } _resultobj
= Py_BuildValue("i",_result
);
2858 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2859 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2880 wxPy_BEGIN_ALLOW_THREADS
;
2881 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2883 wxPy_END_ALLOW_THREADS
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2888 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2889 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 PyObject
* _obj2
= 0;
2896 char *_kwnames
[] = { "self","item","text", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2909 if (!PyString_Check(_obj2
)) {
2910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2913 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } Py_INCREF(Py_None
);
2921 _resultobj
= Py_None
;
2929 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2930 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2934 bool _arg2
= (bool ) TRUE
;
2935 PyObject
* _argo0
= 0;
2936 int tempbool2
= (int) TRUE
;
2937 char *_kwnames
[] = { "self","style","add", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2949 _arg2
= (bool ) tempbool2
;
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2954 wxPy_END_ALLOW_THREADS
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2961 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self","style", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2982 wxPy_END_ALLOW_THREADS
;
2983 } Py_INCREF(Py_None
);
2984 _resultobj
= Py_None
;
2988 #define new_wxTreeItemId() (new wxTreeItemId())
2989 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2991 wxTreeItemId
* _result
;
2992 char *_kwnames
[] = { NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (wxTreeItemId
*)new_wxTreeItemId();
3002 wxPy_END_ALLOW_THREADS
;
3004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 _resultobj
= Py_None
;
3013 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
3014 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3016 wxTreeItemId
* _arg0
;
3017 PyObject
* _argo0
= 0;
3018 char *_kwnames
[] = { "self", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 delete_wxTreeItemId(_arg0
);
3034 wxPy_END_ALLOW_THREADS
;
3035 } Py_INCREF(Py_None
);
3036 _resultobj
= Py_None
;
3040 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
3041 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3044 wxTreeItemId
* _arg0
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
3068 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3070 wxPyTreeItemData
* _result
;
3071 PyObject
* _arg0
= (PyObject
*) NULL
;
3072 PyObject
* _obj0
= 0;
3073 char *_kwnames
[] = { "obj", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
3084 wxPy_BEGIN_ALLOW_THREADS
;
3085 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
3087 wxPy_END_ALLOW_THREADS
;
3089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3090 _resultobj
= Py_BuildValue("s",_ptemp
);
3093 _resultobj
= Py_None
;
3098 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3099 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3102 wxPyTreeItemData
* _arg0
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
3120 wxPy_END_ALLOW_THREADS
;
3122 _resultobj
= _result
;
3127 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3128 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
* _resultobj
;
3130 wxPyTreeItemData
* _arg0
;
3132 PyObject
* _argo0
= 0;
3133 PyObject
* _obj1
= 0;
3134 char *_kwnames
[] = { "self","obj", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 wxTreeItemData_SetData(_arg0
,_arg1
);
3153 wxPy_END_ALLOW_THREADS
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3159 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3160 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxTreeItemId
* _result
;
3163 wxPyTreeItemData
* _arg0
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3181 _result
= (wxTreeItemId
*) &_result_ref
;
3183 wxPy_END_ALLOW_THREADS
;
3185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3186 _resultobj
= Py_BuildValue("s",_ptemp
);
3189 _resultobj
= Py_None
;
3194 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3195 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxPyTreeItemData
* _arg0
;
3198 wxTreeItemId
* _arg1
;
3199 PyObject
* _argo0
= 0;
3200 PyObject
* _argo1
= 0;
3201 char *_kwnames
[] = { "self","id", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 wxTreeItemData_SetId(_arg0
,*_arg1
);
3224 wxPy_END_ALLOW_THREADS
;
3225 } Py_INCREF(Py_None
);
3226 _resultobj
= Py_None
;
3230 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3232 wxNotifyEvent
*dest
;
3233 src
= (wxTreeEvent
*) ptr
;
3234 dest
= (wxNotifyEvent
*) src
;
3235 return (void *) dest
;
3238 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3240 wxCommandEvent
*dest
;
3241 src
= (wxTreeEvent
*) ptr
;
3242 dest
= (wxCommandEvent
*) src
;
3243 return (void *) dest
;
3246 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3249 src
= (wxTreeEvent
*) ptr
;
3250 dest
= (wxEvent
*) src
;
3251 return (void *) dest
;
3254 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3255 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3257 wxTreeItemId
* _result
;
3258 wxTreeEvent
* _arg0
;
3259 PyObject
* _argo0
= 0;
3260 char *_kwnames
[] = { "self", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3277 wxPy_END_ALLOW_THREADS
;
3278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3279 _resultobj
= Py_BuildValue("s",_ptemp
);
3283 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3284 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxTreeItemId
* _result
;
3287 wxTreeEvent
* _arg0
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3303 wxPy_BEGIN_ALLOW_THREADS
;
3304 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3306 wxPy_END_ALLOW_THREADS
;
3307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3308 _resultobj
= Py_BuildValue("s",_ptemp
);
3312 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3313 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3316 wxTreeEvent
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3332 wxPy_BEGIN_ALLOW_THREADS
;
3333 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3335 wxPy_END_ALLOW_THREADS
;
3336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3337 _resultobj
= Py_BuildValue("s",_ptemp
);
3341 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3342 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3345 wxTreeEvent
* _arg0
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3360 wxPy_BEGIN_ALLOW_THREADS
;
3361 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3363 wxPy_END_ALLOW_THREADS
;
3364 } _resultobj
= Py_BuildValue("i",_result
);
3368 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3369 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3372 wxTreeEvent
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3389 _result
= (wxString
*) &_result_ref
;
3391 wxPy_END_ALLOW_THREADS
;
3393 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3398 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3401 src
= (wxTreeCtrl
*) ptr
;
3402 dest
= (wxControl
*) src
;
3403 return (void *) dest
;
3406 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3409 src
= (wxTreeCtrl
*) ptr
;
3410 dest
= (wxWindow
*) src
;
3411 return (void *) dest
;
3414 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3417 src
= (wxTreeCtrl
*) ptr
;
3418 dest
= (wxEvtHandler
*) src
;
3419 return (void *) dest
;
3422 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3423 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxTreeCtrl
* _result
;
3427 wxWindowID _arg1
= (wxWindowID
) -1;
3428 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3429 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3430 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3431 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3432 char * _arg6
= (char *) "wxTreeCtrl";
3433 PyObject
* _argo0
= 0;
3435 PyObject
* _obj2
= 0;
3437 PyObject
* _obj3
= 0;
3438 PyObject
* _argo5
= 0;
3439 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3455 if (! wxPoint_helper(_obj2
, &_arg2
))
3461 if (! wxSize_helper(_obj3
, &_arg3
))
3465 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3475 wxPy_END_ALLOW_THREADS
;
3477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3478 _resultobj
= Py_BuildValue("s",_ptemp
);
3481 _resultobj
= Py_None
;
3486 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3487 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } _resultobj
= Py_BuildValue("i",_result
);
3513 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3514 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3516 unsigned int _result
;
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3532 wxPy_BEGIN_ALLOW_THREADS
;
3533 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3535 wxPy_END_ALLOW_THREADS
;
3536 } _resultobj
= Py_BuildValue("i",_result
);
3540 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3541 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3545 PyObject
* _argo0
= 0;
3546 char *_kwnames
[] = { "self","indent", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3559 wxPy_BEGIN_ALLOW_THREADS
;
3560 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3562 wxPy_END_ALLOW_THREADS
;
3563 } Py_INCREF(Py_None
);
3564 _resultobj
= Py_None
;
3568 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3569 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxImageList
* _result
;
3573 PyObject
* _argo0
= 0;
3574 char *_kwnames
[] = { "self", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3591 wxPy_END_ALLOW_THREADS
;
3593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3594 _resultobj
= Py_BuildValue("s",_ptemp
);
3597 _resultobj
= Py_None
;
3602 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3603 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxImageList
* _result
;
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3625 wxPy_END_ALLOW_THREADS
;
3627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3628 _resultobj
= Py_BuildValue("s",_ptemp
);
3631 _resultobj
= Py_None
;
3636 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3637 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 wxImageList
* _arg1
;
3641 PyObject
* _argo0
= 0;
3642 PyObject
* _argo1
= 0;
3643 char *_kwnames
[] = { "self","imageList", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3663 wxPy_BEGIN_ALLOW_THREADS
;
3664 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3666 wxPy_END_ALLOW_THREADS
;
3667 } Py_INCREF(Py_None
);
3668 _resultobj
= Py_None
;
3672 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3673 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3676 wxImageList
* _arg1
;
3677 PyObject
* _argo0
= 0;
3678 PyObject
* _argo1
= 0;
3679 char *_kwnames
[] = { "self","imageList", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3699 wxPy_BEGIN_ALLOW_THREADS
;
3700 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3702 wxPy_END_ALLOW_THREADS
;
3703 } Py_INCREF(Py_None
);
3704 _resultobj
= Py_None
;
3708 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
3709 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3711 unsigned int _result
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p.");
3727 wxPy_BEGIN_ALLOW_THREADS
;
3728 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
3730 wxPy_END_ALLOW_THREADS
;
3731 } _resultobj
= Py_BuildValue("i",_result
);
3735 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
3736 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3740 PyObject
* _argo0
= 0;
3741 char *_kwnames
[] = { "self","spacing", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxTreeCtrl_p.");
3754 wxPy_BEGIN_ALLOW_THREADS
;
3755 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
3757 wxPy_END_ALLOW_THREADS
;
3758 } Py_INCREF(Py_None
);
3759 _resultobj
= Py_None
;
3763 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3764 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3768 wxTreeItemId
* _arg1
;
3769 PyObject
* _argo0
= 0;
3770 PyObject
* _argo1
= 0;
3771 char *_kwnames
[] = { "self","item", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3791 wxPy_BEGIN_ALLOW_THREADS
;
3792 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3794 wxPy_END_ALLOW_THREADS
;
3796 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3804 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3805 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3809 wxTreeItemId
* _arg1
;
3810 PyObject
* _argo0
= 0;
3811 PyObject
* _argo1
= 0;
3812 char *_kwnames
[] = { "self","item", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } _resultobj
= Py_BuildValue("i",_result
);
3840 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3841 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3845 wxTreeItemId
* _arg1
;
3846 PyObject
* _argo0
= 0;
3847 PyObject
* _argo1
= 0;
3848 char *_kwnames
[] = { "self","item", NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3868 wxPy_BEGIN_ALLOW_THREADS
;
3869 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3871 wxPy_END_ALLOW_THREADS
;
3872 } _resultobj
= Py_BuildValue("i",_result
);
3876 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3877 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxTreeItemId
* _arg1
;
3882 PyObject
* _argo0
= 0;
3883 PyObject
* _argo1
= 0;
3884 PyObject
* _obj2
= 0;
3885 char *_kwnames
[] = { "self","item","text", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3905 if (!PyString_Check(_obj2
)) {
3906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3909 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } Py_INCREF(Py_None
);
3917 _resultobj
= Py_None
;
3925 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3926 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3929 wxTreeItemId
* _arg1
;
3931 PyObject
* _argo0
= 0;
3932 PyObject
* _argo1
= 0;
3933 char *_kwnames
[] = { "self","item","image", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3953 wxPy_BEGIN_ALLOW_THREADS
;
3954 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3956 wxPy_END_ALLOW_THREADS
;
3957 } Py_INCREF(Py_None
);
3958 _resultobj
= Py_None
;
3962 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3963 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3966 wxTreeItemId
* _arg1
;
3968 PyObject
* _argo0
= 0;
3969 PyObject
* _argo1
= 0;
3970 char *_kwnames
[] = { "self","item","image", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3983 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3990 wxPy_BEGIN_ALLOW_THREADS
;
3991 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3993 wxPy_END_ALLOW_THREADS
;
3994 } Py_INCREF(Py_None
);
3995 _resultobj
= Py_None
;
3999 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
4000 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4003 wxTreeItemId
* _arg1
;
4004 bool _arg2
= (bool ) TRUE
;
4005 PyObject
* _argo0
= 0;
4006 PyObject
* _argo1
= 0;
4007 int tempbool2
= (int) TRUE
;
4008 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
4021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
4027 _arg2
= (bool ) tempbool2
;
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
4032 wxPy_END_ALLOW_THREADS
;
4033 } Py_INCREF(Py_None
);
4034 _resultobj
= Py_None
;
4038 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4039 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4041 data
= new wxPyTreeItemData();
4042 self
->SetItemData(item
, data
);
4046 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4048 wxPyTreeItemData
* _result
;
4050 wxTreeItemId
* _arg1
;
4051 PyObject
* _argo0
= 0;
4052 PyObject
* _argo1
= 0;
4053 char *_kwnames
[] = { "self","item", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
4077 wxPy_END_ALLOW_THREADS
;
4079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4080 _resultobj
= Py_BuildValue("s",_ptemp
);
4083 _resultobj
= Py_None
;
4088 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
4089 self
->SetItemData(item
, data
);
4091 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4094 wxTreeItemId
* _arg1
;
4095 wxPyTreeItemData
* _arg2
;
4096 PyObject
* _argo0
= 0;
4097 PyObject
* _argo1
= 0;
4098 PyObject
* _argo2
= 0;
4099 char *_kwnames
[] = { "self","item","data", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
4112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4119 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4120 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
4121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
4129 wxPy_END_ALLOW_THREADS
;
4130 } Py_INCREF(Py_None
);
4131 _resultobj
= Py_None
;
4135 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4136 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4138 data
= new wxPyTreeItemData();
4139 self
->SetItemData(item
, data
);
4141 return data
->GetData();
4143 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
* _resultobj
;
4147 wxTreeItemId
* _arg1
;
4148 PyObject
* _argo0
= 0;
4149 PyObject
* _argo1
= 0;
4150 char *_kwnames
[] = { "self","item", NULL
};
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
4156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4170 wxPy_BEGIN_ALLOW_THREADS
;
4171 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4173 wxPy_END_ALLOW_THREADS
;
4175 _resultobj
= _result
;
4180 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4181 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4183 data
= new wxPyTreeItemData(obj
);
4184 self
->SetItemData(item
, data
);
4188 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4191 wxTreeItemId
* _arg1
;
4193 PyObject
* _argo0
= 0;
4194 PyObject
* _argo1
= 0;
4195 PyObject
* _obj2
= 0;
4196 char *_kwnames
[] = { "self","item","obj", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4228 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4229 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4233 wxTreeItemId
* _arg1
;
4234 PyObject
* _argo0
= 0;
4235 PyObject
* _argo1
= 0;
4236 char *_kwnames
[] = { "self","item", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4256 wxPy_BEGIN_ALLOW_THREADS
;
4257 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4259 wxPy_END_ALLOW_THREADS
;
4260 } _resultobj
= Py_BuildValue("i",_result
);
4264 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4265 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4269 wxTreeItemId
* _arg1
;
4270 PyObject
* _argo0
= 0;
4271 PyObject
* _argo1
= 0;
4272 char *_kwnames
[] = { "self","item", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4292 wxPy_BEGIN_ALLOW_THREADS
;
4293 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4295 wxPy_END_ALLOW_THREADS
;
4296 } _resultobj
= Py_BuildValue("i",_result
);
4300 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4301 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4305 wxTreeItemId
* _arg1
;
4306 PyObject
* _argo0
= 0;
4307 PyObject
* _argo1
= 0;
4308 char *_kwnames
[] = { "self","item", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4328 wxPy_BEGIN_ALLOW_THREADS
;
4329 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4331 wxPy_END_ALLOW_THREADS
;
4332 } _resultobj
= Py_BuildValue("i",_result
);
4336 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4337 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4341 wxTreeItemId
* _arg1
;
4342 PyObject
* _argo0
= 0;
4343 PyObject
* _argo1
= 0;
4344 char *_kwnames
[] = { "self","item", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4367 wxPy_END_ALLOW_THREADS
;
4368 } _resultobj
= Py_BuildValue("i",_result
);
4372 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4373 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4375 wxTreeItemId
* _result
;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4395 wxPy_END_ALLOW_THREADS
;
4396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4397 _resultobj
= Py_BuildValue("s",_ptemp
);
4401 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4402 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4404 wxTreeItemId
* _result
;
4406 PyObject
* _argo0
= 0;
4407 char *_kwnames
[] = { "self", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4424 wxPy_END_ALLOW_THREADS
;
4425 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4426 _resultobj
= Py_BuildValue("s",_ptemp
);
4430 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4431 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 wxTreeItemId
* _result
;
4435 wxTreeItemId
* _arg1
;
4436 PyObject
* _argo0
= 0;
4437 PyObject
* _argo1
= 0;
4438 char *_kwnames
[] = { "self","item", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetParent",_kwnames
,&_argo0
,&_argo1
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4462 wxPy_END_ALLOW_THREADS
;
4463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4464 _resultobj
= Py_BuildValue("s",_ptemp
);
4468 static PyObject
* wxTreeCtrl_GetSelections(wxTreeCtrl
*self
) {
4469 PyObject
* rval
= PyList_New(0);
4470 wxArrayTreeItemIds array
;
4472 num
= self
->GetSelections(array
);
4473 for (x
=0; x
< num
; x
++) {
4474 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
4476 PyList_Append(rval
, item
);
4480 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
* _resultobj
;
4484 PyObject
* _argo0
= 0;
4485 char *_kwnames
[] = { "self", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4498 wxPy_BEGIN_ALLOW_THREADS
;
4499 _result
= (PyObject
*)wxTreeCtrl_GetSelections(_arg0
);
4501 wxPy_END_ALLOW_THREADS
;
4503 _resultobj
= _result
;
4508 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4509 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4513 wxTreeItemId
* _arg1
;
4514 bool _arg2
= (bool ) TRUE
;
4515 PyObject
* _argo0
= 0;
4516 PyObject
* _argo1
= 0;
4517 int tempbool2
= (int) TRUE
;
4518 char *_kwnames
[] = { "self","item","recursively", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4537 _arg2
= (bool ) tempbool2
;
4539 wxPy_BEGIN_ALLOW_THREADS
;
4540 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4542 wxPy_END_ALLOW_THREADS
;
4543 } _resultobj
= Py_BuildValue("i",_result
);
4547 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4548 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4550 wxTreeItemId
* _result
;
4552 wxTreeItemId
* _arg1
;
4554 PyObject
* _argo0
= 0;
4555 PyObject
* _argo1
= 0;
4557 PyObject
* _obj2
= 0;
4558 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4579 temp
= (long) PyInt_AsLong(_obj2
);
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4586 wxPy_END_ALLOW_THREADS
;
4587 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 o
= PyInt_FromLong((long) (*_arg2
));
4592 _resultobj
= t_output_helper(_resultobj
, o
);
4597 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4598 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4600 wxTreeItemId
* _result
;
4602 wxTreeItemId
* _arg1
;
4604 PyObject
* _argo0
= 0;
4605 PyObject
* _argo1
= 0;
4607 PyObject
* _obj2
= 0;
4608 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4629 temp
= (long) PyInt_AsLong(_obj2
);
4633 wxPy_BEGIN_ALLOW_THREADS
;
4634 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4636 wxPy_END_ALLOW_THREADS
;
4637 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4638 _resultobj
= Py_BuildValue("s",_ptemp
);
4641 o
= PyInt_FromLong((long) (*_arg2
));
4642 _resultobj
= t_output_helper(_resultobj
, o
);
4647 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4648 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 wxTreeItemId
* _result
;
4652 wxTreeItemId
* _arg1
;
4653 PyObject
* _argo0
= 0;
4654 PyObject
* _argo1
= 0;
4655 char *_kwnames
[] = { "self","item", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4679 wxPy_END_ALLOW_THREADS
;
4680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4685 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4686 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4688 wxTreeItemId
* _result
;
4690 wxTreeItemId
* _arg1
;
4691 PyObject
* _argo0
= 0;
4692 PyObject
* _argo1
= 0;
4693 char *_kwnames
[] = { "self","item", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4714 wxPy_BEGIN_ALLOW_THREADS
;
4715 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4717 wxPy_END_ALLOW_THREADS
;
4718 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4719 _resultobj
= Py_BuildValue("s",_ptemp
);
4723 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4724 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4726 wxTreeItemId
* _result
;
4728 PyObject
* _argo0
= 0;
4729 char *_kwnames
[] = { "self", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4743 wxPy_BEGIN_ALLOW_THREADS
;
4744 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4746 wxPy_END_ALLOW_THREADS
;
4747 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4748 _resultobj
= Py_BuildValue("s",_ptemp
);
4752 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4753 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4755 wxTreeItemId
* _result
;
4757 wxTreeItemId
* _arg1
;
4758 PyObject
* _argo0
= 0;
4759 PyObject
* _argo1
= 0;
4760 char *_kwnames
[] = { "self","item", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4781 wxPy_BEGIN_ALLOW_THREADS
;
4782 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4784 wxPy_END_ALLOW_THREADS
;
4785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4786 _resultobj
= Py_BuildValue("s",_ptemp
);
4790 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4791 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4793 wxTreeItemId
* _result
;
4795 wxTreeItemId
* _arg1
;
4796 PyObject
* _argo0
= 0;
4797 PyObject
* _argo1
= 0;
4798 char *_kwnames
[] = { "self","item", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4822 wxPy_END_ALLOW_THREADS
;
4823 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4824 _resultobj
= Py_BuildValue("s",_ptemp
);
4828 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4829 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4831 wxTreeItemId
* _result
;
4833 wxTreeItemId
* _arg1
;
4834 PyObject
* _argo0
= 0;
4835 PyObject
* _argo1
= 0;
4836 char *_kwnames
[] = { "self","item", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4857 wxPy_BEGIN_ALLOW_THREADS
;
4858 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
4860 wxPy_END_ALLOW_THREADS
;
4861 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4862 _resultobj
= Py_BuildValue("s",_ptemp
);
4866 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4867 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4869 wxTreeItemId
* _result
;
4872 int _arg2
= (int ) -1;
4873 int _arg3
= (int ) -1;
4874 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4875 PyObject
* _argo0
= 0;
4876 PyObject
* _obj1
= 0;
4877 PyObject
* _argo4
= 0;
4878 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4892 if (!PyString_Check(_obj1
)) {
4893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4896 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4899 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4906 wxPy_BEGIN_ALLOW_THREADS
;
4907 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4909 wxPy_END_ALLOW_THREADS
;
4910 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4911 _resultobj
= Py_BuildValue("s",_ptemp
);
4919 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4920 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4922 wxTreeItemId
* _result
;
4924 wxTreeItemId
* _arg1
;
4926 int _arg3
= (int ) -1;
4927 int _arg4
= (int ) -1;
4928 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4929 PyObject
* _argo0
= 0;
4930 PyObject
* _argo1
= 0;
4931 PyObject
* _obj2
= 0;
4932 PyObject
* _argo5
= 0;
4933 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4954 if (!PyString_Check(_obj2
)) {
4955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4958 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4961 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4971 wxPy_END_ALLOW_THREADS
;
4972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4973 _resultobj
= Py_BuildValue("s",_ptemp
);
4981 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4982 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4984 wxTreeItemId
* _result
;
4986 wxTreeItemId
* _arg1
;
4987 wxTreeItemId
* _arg2
;
4989 int _arg4
= (int ) -1;
4990 int _arg5
= (int ) -1;
4991 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4992 PyObject
* _argo0
= 0;
4993 PyObject
* _argo1
= 0;
4994 PyObject
* _argo2
= 0;
4995 PyObject
* _obj3
= 0;
4996 PyObject
* _argo6
= 0;
4997 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
5004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
5011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5018 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5025 if (!PyString_Check(_obj3
)) {
5026 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5029 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5032 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
5042 wxPy_END_ALLOW_THREADS
;
5043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5052 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5053 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5055 wxTreeItemId
* _result
;
5057 wxTreeItemId
* _arg1
;
5059 int _arg3
= (int ) -1;
5060 int _arg4
= (int ) -1;
5061 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo1
= 0;
5064 PyObject
* _obj2
= 0;
5065 PyObject
* _argo5
= 0;
5066 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
5080 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
5087 if (!PyString_Check(_obj2
)) {
5088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5091 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5094 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
5101 wxPy_BEGIN_ALLOW_THREADS
;
5102 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5104 wxPy_END_ALLOW_THREADS
;
5105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5114 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5115 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5118 wxTreeItemId
* _arg1
;
5119 PyObject
* _argo0
= 0;
5120 PyObject
* _argo1
= 0;
5121 char *_kwnames
[] = { "self","item", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 wxTreeCtrl_Delete(_arg0
,*_arg1
);
5144 wxPy_END_ALLOW_THREADS
;
5145 } Py_INCREF(Py_None
);
5146 _resultobj
= Py_None
;
5150 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5151 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
* _resultobj
;
5154 wxTreeItemId
* _arg1
;
5155 PyObject
* _argo0
= 0;
5156 PyObject
* _argo1
= 0;
5157 char *_kwnames
[] = { "self","item", NULL
};
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
5180 wxPy_END_ALLOW_THREADS
;
5181 } Py_INCREF(Py_None
);
5182 _resultobj
= Py_None
;
5186 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5187 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5190 PyObject
* _argo0
= 0;
5191 char *_kwnames
[] = { "self", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 wxTreeCtrl_DeleteAllItems(_arg0
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } Py_INCREF(Py_None
);
5209 _resultobj
= Py_None
;
5213 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5214 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5217 wxTreeItemId
* _arg1
;
5218 PyObject
* _argo0
= 0;
5219 PyObject
* _argo1
= 0;
5220 char *_kwnames
[] = { "self","item", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5250 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5253 wxTreeItemId
* _arg1
;
5254 PyObject
* _argo0
= 0;
5255 PyObject
* _argo1
= 0;
5256 char *_kwnames
[] = { "self","item", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5276 wxPy_BEGIN_ALLOW_THREADS
;
5277 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5279 wxPy_END_ALLOW_THREADS
;
5280 } Py_INCREF(Py_None
);
5281 _resultobj
= Py_None
;
5285 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5286 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5289 wxTreeItemId
* _arg1
;
5290 PyObject
* _argo0
= 0;
5291 PyObject
* _argo1
= 0;
5292 char *_kwnames
[] = { "self","item", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5315 wxPy_END_ALLOW_THREADS
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5321 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5322 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5325 wxTreeItemId
* _arg1
;
5326 PyObject
* _argo0
= 0;
5327 PyObject
* _argo1
= 0;
5328 char *_kwnames
[] = { "self","item", NULL
};
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5348 wxPy_BEGIN_ALLOW_THREADS
;
5349 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5351 wxPy_END_ALLOW_THREADS
;
5352 } Py_INCREF(Py_None
);
5353 _resultobj
= Py_None
;
5357 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5358 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5361 PyObject
* _argo0
= 0;
5362 char *_kwnames
[] = { "self", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 wxTreeCtrl_Unselect(_arg0
);
5378 wxPy_END_ALLOW_THREADS
;
5379 } Py_INCREF(Py_None
);
5380 _resultobj
= Py_None
;
5384 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5385 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5388 PyObject
* _argo0
= 0;
5389 char *_kwnames
[] = { "self", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5402 wxPy_BEGIN_ALLOW_THREADS
;
5403 wxTreeCtrl_UnselectAll(_arg0
);
5405 wxPy_END_ALLOW_THREADS
;
5406 } Py_INCREF(Py_None
);
5407 _resultobj
= Py_None
;
5411 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5412 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5415 wxTreeItemId
* _arg1
;
5416 PyObject
* _argo0
= 0;
5417 PyObject
* _argo1
= 0;
5418 char *_kwnames
[] = { "self","item", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5438 wxPy_BEGIN_ALLOW_THREADS
;
5439 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5441 wxPy_END_ALLOW_THREADS
;
5442 } Py_INCREF(Py_None
);
5443 _resultobj
= Py_None
;
5447 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5448 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5451 wxTreeItemId
* _arg1
;
5452 PyObject
* _argo0
= 0;
5453 PyObject
* _argo1
= 0;
5454 char *_kwnames
[] = { "self","item", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5467 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5474 wxPy_BEGIN_ALLOW_THREADS
;
5475 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5477 wxPy_END_ALLOW_THREADS
;
5478 } Py_INCREF(Py_None
);
5479 _resultobj
= Py_None
;
5483 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5484 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
* _resultobj
;
5487 wxTreeItemId
* _arg1
;
5488 PyObject
* _argo0
= 0;
5489 PyObject
* _argo1
= 0;
5490 char *_kwnames
[] = { "self","item", NULL
};
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5510 wxPy_BEGIN_ALLOW_THREADS
;
5511 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5513 wxPy_END_ALLOW_THREADS
;
5514 } Py_INCREF(Py_None
);
5515 _resultobj
= Py_None
;
5519 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5520 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5522 wxTextCtrl
* _result
;
5524 wxTreeItemId
* _arg1
;
5525 PyObject
* _argo0
= 0;
5526 PyObject
* _argo1
= 0;
5527 char *_kwnames
[] = { "self","item", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5548 wxPy_BEGIN_ALLOW_THREADS
;
5549 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5551 wxPy_END_ALLOW_THREADS
;
5553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5554 _resultobj
= Py_BuildValue("s",_ptemp
);
5557 _resultobj
= Py_None
;
5562 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5563 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5565 wxTextCtrl
* _result
;
5567 PyObject
* _argo0
= 0;
5568 char *_kwnames
[] = { "self", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5582 wxPy_BEGIN_ALLOW_THREADS
;
5583 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
5585 wxPy_END_ALLOW_THREADS
;
5587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5588 _resultobj
= Py_BuildValue("s",_ptemp
);
5591 _resultobj
= Py_None
;
5596 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5597 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5600 wxTreeItemId
* _arg1
;
5601 int _arg2
= (int ) FALSE
;
5602 PyObject
* _argo0
= 0;
5603 PyObject
* _argo1
= 0;
5604 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5624 wxPy_BEGIN_ALLOW_THREADS
;
5625 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
5627 wxPy_END_ALLOW_THREADS
;
5628 } Py_INCREF(Py_None
);
5629 _resultobj
= Py_None
;
5633 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5634 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5637 wxTreeItemId
* _arg1
;
5638 PyObject
* _argo0
= 0;
5639 PyObject
* _argo1
= 0;
5640 char *_kwnames
[] = { "self","item", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
5663 wxPy_END_ALLOW_THREADS
;
5664 } Py_INCREF(Py_None
);
5665 _resultobj
= Py_None
;
5669 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5670 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5673 wxTreeItemId
* _arg1
;
5674 int _arg2
= (int ) TRUE
;
5675 PyObject
* _argo0
= 0;
5676 PyObject
* _argo1
= 0;
5677 char *_kwnames
[] = { "self","item","bold", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5697 wxPy_BEGIN_ALLOW_THREADS
;
5698 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5700 wxPy_END_ALLOW_THREADS
;
5701 } Py_INCREF(Py_None
);
5702 _resultobj
= Py_None
;
5706 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5707 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5711 wxTreeItemId
* _arg1
;
5712 PyObject
* _argo0
= 0;
5713 PyObject
* _argo1
= 0;
5714 char *_kwnames
[] = { "self","item", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } _resultobj
= Py_BuildValue("i",_result
);
5742 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5743 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5745 wxTreeItemId
* _result
;
5748 PyObject
* _argo0
= 0;
5750 PyObject
* _obj1
= 0;
5751 char *_kwnames
[] = { "self","point", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
5758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5766 if (! wxPoint_helper(_obj1
, &_arg1
))
5770 wxPy_BEGIN_ALLOW_THREADS
;
5771 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5773 wxPy_END_ALLOW_THREADS
;
5774 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5775 _resultobj
= Py_BuildValue("s",_ptemp
);
5779 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
5780 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
* _resultobj
;
5783 wxTreeItemId
* _arg1
;
5784 int _arg2
= (int ) TRUE
;
5785 PyObject
* _argo0
= 0;
5786 PyObject
* _argo1
= 0;
5787 char *_kwnames
[] = { "self","item","highlight", NULL
};
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeCtrl_p.");
5800 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
5807 wxPy_BEGIN_ALLOW_THREADS
;
5808 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
5810 wxPy_END_ALLOW_THREADS
;
5811 } Py_INCREF(Py_None
);
5812 _resultobj
= Py_None
;
5816 static PyObject
* wxTreeCtrl_GetBoundingRect(wxTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
5818 if (self
->GetBoundingRect(item
, rect
, textOnly
))
5819 return wxPyConstructObject((void*)&rect
, "wxRect");
5825 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5829 wxTreeItemId
* _arg1
;
5830 int _arg2
= (int ) FALSE
;
5831 PyObject
* _argo0
= 0;
5832 PyObject
* _argo1
= 0;
5833 char *_kwnames
[] = { "self","item","textOnly", NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_p.");
5846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
5853 wxPy_BEGIN_ALLOW_THREADS
;
5854 _result
= (PyObject
*)wxTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
5856 wxPy_END_ALLOW_THREADS
;
5858 _resultobj
= _result
;
5863 static PyMethodDef controls2cMethods
[] = {
5864 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
5865 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
5866 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5867 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
5868 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
5869 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
5870 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5871 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
5872 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5873 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
5874 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5875 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
5876 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
5877 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
5878 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
5879 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
5880 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
5881 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
5882 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5883 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
5884 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
5885 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
5886 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5887 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
5888 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
5889 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
5890 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
5891 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
5892 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
5893 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
5894 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
5895 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
5896 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
5897 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
5898 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
5899 { "wxTreeCtrl_GetParent", (PyCFunction
) _wrap_wxTreeCtrl_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
5900 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5901 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
5902 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
5903 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
5904 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5905 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5906 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5907 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5908 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5909 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5910 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5911 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5912 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5913 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5914 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5915 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5916 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5917 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5918 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5919 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5920 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5921 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5922 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5923 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5924 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5925 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
5926 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5927 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5928 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
5929 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
5930 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
5931 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5932 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5933 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5934 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
5935 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
5936 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
5937 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5938 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5939 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5940 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5941 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
5942 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5943 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5944 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5945 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5946 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5947 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5948 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
5949 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5950 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5951 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5952 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5953 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
5954 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5955 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
5956 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5957 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5958 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
5959 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
5960 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5961 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
5962 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5963 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5964 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5965 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
5966 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5967 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5968 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5969 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5970 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
5971 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5972 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5973 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5974 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5975 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
5976 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5977 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5978 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
5979 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
5980 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5981 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5982 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
5983 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5984 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5985 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
5986 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
5987 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
5988 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5989 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
5990 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
5991 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5992 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
5993 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
5994 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
5995 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
5996 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
5997 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
5998 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5999 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
6000 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
6001 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
6002 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
6003 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
6004 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
6005 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
6006 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
6007 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
6008 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
6009 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
6010 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
6011 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
6012 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
6013 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
6014 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
6015 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
6016 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
6017 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
6018 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
6019 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
6020 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
6021 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
6022 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
6023 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
6024 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
6025 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
6026 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
6027 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
6034 * This table is used by the pointer type-checker
6036 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6037 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6038 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6039 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6040 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6041 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6042 { "_wxEvent","_class_wxEvent",0},
6043 { "_class_wxActivateEvent","_wxActivateEvent",0},
6044 { "_signed_long","_long",0},
6045 { "_wxMenuEvent","_class_wxMenuEvent",0},
6046 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6047 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6048 { "_wxPrintQuality","_wxCoord",0},
6049 { "_wxPrintQuality","_int",0},
6050 { "_wxPrintQuality","_signed_int",0},
6051 { "_wxPrintQuality","_unsigned_int",0},
6052 { "_wxPrintQuality","_wxWindowID",0},
6053 { "_wxPrintQuality","_uint",0},
6054 { "_wxPrintQuality","_EBool",0},
6055 { "_wxPrintQuality","_size_t",0},
6056 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6057 { "_class_wxRegionIterator","_wxRegionIterator",0},
6058 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6059 { "_class_wxMenuBar","_wxMenuBar",0},
6060 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
6061 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6062 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6063 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6064 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6065 { "_class_wxEvtHandler","_wxEvtHandler",0},
6066 { "_wxPaintEvent","_class_wxPaintEvent",0},
6067 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6068 { "_wxCursor","_class_wxCursor",0},
6069 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6070 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6071 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6072 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
6073 { "_wxMask","_class_wxMask",0},
6074 { "_wxPen","_class_wxPen",0},
6075 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6076 { "_byte","_unsigned_char",0},
6077 { "_wxDataObject","_class_wxDataObject",0},
6078 { "_wxStaticBox","_class_wxStaticBox",0},
6079 { "_wxChoice","_class_wxChoice",0},
6080 { "_wxSlider","_class_wxSlider",0},
6081 { "_long","_wxDash",0},
6082 { "_long","_unsigned_long",0},
6083 { "_long","_signed_long",0},
6084 { "_wxImageList","_class_wxImageList",0},
6085 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6086 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6087 { "_wxBitmapButton","_class_wxBitmapButton",0},
6088 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6089 { "_class_wxClipboard","_wxClipboard",0},
6090 { "_class_wxGauge","_wxGauge",0},
6091 { "_wxDC","_class_wxDC",0},
6092 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6093 { "_wxListEvent","_class_wxListEvent",0},
6094 { "_wxSpinEvent","_class_wxSpinEvent",0},
6095 { "_size_t","_wxCoord",0},
6096 { "_size_t","_wxPrintQuality",0},
6097 { "_size_t","_unsigned_int",0},
6098 { "_size_t","_int",0},
6099 { "_size_t","_wxWindowID",0},
6100 { "_size_t","_uint",0},
6101 { "_class_wxRealPoint","_wxRealPoint",0},
6102 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6103 { "_wxPrinterDC","_class_wxPrinterDC",0},
6104 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6105 { "_class_wxMenuItem","_wxMenuItem",0},
6106 { "_class_wxPaintEvent","_wxPaintEvent",0},
6107 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6108 { "_wxPanel","_class_wxPanel",0},
6109 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6110 { "_wxCheckBox","_class_wxCheckBox",0},
6111 { "_wxPyEvent","_class_wxPyEvent",0},
6112 { "_wxTextCtrl","_class_wxTextCtrl",0},
6113 { "_class_wxMask","_wxMask",0},
6114 { "_wxTextDataObject","_class_wxTextDataObject",0},
6115 { "_class_wxKeyEvent","_wxKeyEvent",0},
6116 { "_wxColour","_class_wxColour",0},
6117 { "_class_wxDialog","_wxDialog",0},
6118 { "_class_wxFileDataObject","_wxFileDataObject",0},
6119 { "_wxIdleEvent","_class_wxIdleEvent",0},
6120 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6121 { "_class_wxDataObject","_wxDataObject",0},
6122 { "_wxStaticLine","_class_wxStaticLine",0},
6123 { "_wxBrush","_class_wxBrush",0},
6124 { "_wxDataFormat","_class_wxDataFormat",0},
6125 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6126 { "_wxShowEvent","_class_wxShowEvent",0},
6127 { "_uint","_wxCoord",0},
6128 { "_uint","_wxPrintQuality",0},
6129 { "_uint","_size_t",0},
6130 { "_uint","_unsigned_int",0},
6131 { "_uint","_int",0},
6132 { "_uint","_wxWindowID",0},
6133 { "_wxPyValidator","_class_wxPyValidator",0},
6134 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6135 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6136 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6137 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6138 { "_class_wxEvent","_wxEvent",0},
6139 { "_wxCheckListBox","_class_wxCheckListBox",0},
6140 { "_wxRect","_class_wxRect",0},
6141 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6142 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6143 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6144 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6145 { "_wxCommandEvent","_class_wxCommandEvent",0},
6146 { "_wxSizeEvent","_class_wxSizeEvent",0},
6147 { "_wxPoint","_class_wxPoint",0},
6148 { "_class_wxButton","_wxButton",0},
6149 { "_wxRadioBox","_class_wxRadioBox",0},
6150 { "_wxBitmap","_class_wxBitmap",0},
6151 { "_wxPyTimer","_class_wxPyTimer",0},
6152 { "_wxWindowDC","_class_wxWindowDC",0},
6153 { "_wxScrollBar","_class_wxScrollBar",0},
6154 { "_wxSpinButton","_class_wxSpinButton",0},
6155 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6156 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6157 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6158 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6159 { "_class_wxValidator","_wxValidator",0},
6160 { "_class_wxPyEvent","_wxPyEvent",0},
6161 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6162 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6163 { "_wxListItem","_class_wxListItem",0},
6164 { "_wxDropTarget","_class_wxDropTarget",0},
6165 { "_class_wxStaticLine","_wxStaticLine",0},
6166 { "_wxScrollEvent","_class_wxScrollEvent",0},
6167 { "_EBool","_wxCoord",0},
6168 { "_EBool","_wxPrintQuality",0},
6169 { "_EBool","_signed_int",0},
6170 { "_EBool","_int",0},
6171 { "_EBool","_wxWindowID",0},
6172 { "_class_wxRegion","_wxRegion",0},
6173 { "_class_wxDataFormat","_wxDataFormat",0},
6174 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6175 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6176 { "_wxStaticText","_class_wxStaticText",0},
6177 { "_wxFont","_class_wxFont",0},
6178 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6179 { "_wxCloseEvent","_class_wxCloseEvent",0},
6180 { "_unsigned_long","_wxDash",0},
6181 { "_unsigned_long","_long",0},
6182 { "_class_wxRect","_wxRect",0},
6183 { "_class_wxDC","_wxDC",0},
6184 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6185 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6186 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6187 { "_class_wxTreeEvent","_wxTreeEvent",0},
6188 { "_class_wxPyTimer","_wxPyTimer",0},
6189 { "_wxFocusEvent","_class_wxFocusEvent",0},
6190 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6191 { "_class_wxSpinButton","_wxSpinButton",0},
6192 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6193 { "_class_wxPanel","_wxPanel",0},
6194 { "_class_wxCheckBox","_wxCheckBox",0},
6195 { "_wxComboBox","_class_wxComboBox",0},
6196 { "_wxRadioButton","_class_wxRadioButton",0},
6197 { "_signed_int","_wxCoord",0},
6198 { "_signed_int","_wxPrintQuality",0},
6199 { "_signed_int","_EBool",0},
6200 { "_signed_int","_wxWindowID",0},
6201 { "_signed_int","_int",0},
6202 { "_class_wxTextCtrl","_wxTextCtrl",0},
6203 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6204 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6205 { "_class_wxTextDataObject","_wxTextDataObject",0},
6206 { "_wxMenu","_class_wxMenu",0},
6207 { "_class_wxMoveEvent","_wxMoveEvent",0},
6208 { "_wxListBox","_class_wxListBox",0},
6209 { "_wxScreenDC","_class_wxScreenDC",0},
6210 { "_WXTYPE","_short",0},
6211 { "_WXTYPE","_signed_short",0},
6212 { "_WXTYPE","_unsigned_short",0},
6213 { "_class_wxDropTarget","_wxDropTarget",0},
6214 { "_class_wxBrush","_wxBrush",0},
6215 { "_unsigned_short","_WXTYPE",0},
6216 { "_unsigned_short","_short",0},
6217 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6218 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6219 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6220 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6221 { "_class_wxWindow","_wxWindow",0},
6222 { "_class_wxStaticText","_wxStaticText",0},
6223 { "_class_wxFont","_wxFont",0},
6224 { "_wxClipboard","_class_wxClipboard",0},
6225 { "_class_wxPyValidator","_wxPyValidator",0},
6226 { "_class_wxCloseEvent","_wxCloseEvent",0},
6227 { "_wxBusyInfo","_class_wxBusyInfo",0},
6228 { "_class_wxMenuEvent","_wxMenuEvent",0},
6229 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6230 { "_wxClientDC","_class_wxClientDC",0},
6231 { "_wxMouseEvent","_class_wxMouseEvent",0},
6232 { "_wxListCtrl","_class_wxListCtrl",0},
6233 { "_class_wxPoint","_wxPoint",0},
6234 { "_wxRealPoint","_class_wxRealPoint",0},
6235 { "_class_wxRadioBox","_wxRadioBox",0},
6236 { "_signed_short","_WXTYPE",0},
6237 { "_signed_short","_short",0},
6238 { "_wxMemoryDC","_class_wxMemoryDC",0},
6239 { "_wxPaintDC","_class_wxPaintDC",0},
6240 { "_class_wxWindowDC","_wxWindowDC",0},
6241 { "_class_wxFocusEvent","_wxFocusEvent",0},
6242 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6243 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6244 { "_class_wxCursor","_wxCursor",0},
6245 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6246 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6247 { "_wxTreeItemId","_class_wxTreeItemId",0},
6248 { "_unsigned_char","_byte",0},
6249 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6250 { "_wxDropSource","_class_wxDropSource",0},
6251 { "_class_wxMenu","_wxMenu",0},
6252 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6253 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6254 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6255 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6256 { "_wxControl","_class_wxControl",0},
6257 { "_class_wxListBox","_wxListBox",0},
6258 { "_unsigned_int","_wxCoord",0},
6259 { "_unsigned_int","_wxPrintQuality",0},
6260 { "_unsigned_int","_size_t",0},
6261 { "_unsigned_int","_uint",0},
6262 { "_unsigned_int","_wxWindowID",0},
6263 { "_unsigned_int","_int",0},
6264 { "_wxIcon","_class_wxIcon",0},
6265 { "_wxDialog","_class_wxDialog",0},
6266 { "_class_wxListItem","_wxListItem",0},
6267 { "_class_wxPen","_wxPen",0},
6268 { "_short","_WXTYPE",0},
6269 { "_short","_unsigned_short",0},
6270 { "_short","_signed_short",0},
6271 { "_class_wxStaticBox","_wxStaticBox",0},
6272 { "_class_wxScrollEvent","_wxScrollEvent",0},
6273 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6274 { "_class_wxChoice","_wxChoice",0},
6275 { "_class_wxSlider","_wxSlider",0},
6276 { "_class_wxImageList","_wxImageList",0},
6277 { "_class_wxBitmapButton","_wxBitmapButton",0},
6278 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6279 { "_wxWindowID","_wxCoord",0},
6280 { "_wxWindowID","_wxPrintQuality",0},
6281 { "_wxWindowID","_size_t",0},
6282 { "_wxWindowID","_EBool",0},
6283 { "_wxWindowID","_uint",0},
6284 { "_wxWindowID","_int",0},
6285 { "_wxWindowID","_signed_int",0},
6286 { "_wxWindowID","_unsigned_int",0},
6287 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6288 { "_int","_wxCoord",0},
6289 { "_int","_wxPrintQuality",0},
6290 { "_int","_size_t",0},
6291 { "_int","_EBool",0},
6292 { "_int","_uint",0},
6293 { "_int","_wxWindowID",0},
6294 { "_int","_unsigned_int",0},
6295 { "_int","_signed_int",0},
6296 { "_class_wxMouseEvent","_wxMouseEvent",0},
6297 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6298 { "_class_wxListEvent","_wxListEvent",0},
6299 { "_class_wxSpinEvent","_wxSpinEvent",0},
6300 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6301 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6302 { "_wxButton","_class_wxButton",0},
6303 { "_wxSize","_class_wxSize",0},
6304 { "_wxRegionIterator","_class_wxRegionIterator",0},
6305 { "_class_wxPrinterDC","_wxPrinterDC",0},
6306 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6307 { "_class_wxPaintDC","_wxPaintDC",0},
6308 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6309 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6310 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6311 { "_class_wxComboBox","_wxComboBox",0},
6312 { "_class_wxRadioButton","_wxRadioButton",0},
6313 { "_wxValidator","_class_wxValidator",0},
6314 { "_class_wxTreeItemId","_wxTreeItemId",0},
6315 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6316 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6317 { "_class_wxDropSource","_wxDropSource",0},
6318 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6319 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6320 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6321 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6322 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6323 { "_class_wxControl","_wxControl",0},
6324 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6325 { "_class_wxIcon","_wxIcon",0},
6326 { "_class_wxColour","_wxColour",0},
6327 { "_class_wxScreenDC","_wxScreenDC",0},
6328 { "_wxPalette","_class_wxPalette",0},
6329 { "_class_wxIdleEvent","_wxIdleEvent",0},
6330 { "_wxCoord","_int",0},
6331 { "_wxCoord","_signed_int",0},
6332 { "_wxCoord","_unsigned_int",0},
6333 { "_wxCoord","_wxWindowID",0},
6334 { "_wxCoord","_uint",0},
6335 { "_wxCoord","_EBool",0},
6336 { "_wxCoord","_size_t",0},
6337 { "_wxCoord","_wxPrintQuality",0},
6338 { "_wxEraseEvent","_class_wxEraseEvent",0},
6339 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6340 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6341 { "_wxRegion","_class_wxRegion",0},
6342 { "_class_wxShowEvent","_wxShowEvent",0},
6343 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6344 { "_wxActivateEvent","_class_wxActivateEvent",0},
6345 { "_wxGauge","_class_wxGauge",0},
6346 { "_class_wxCheckListBox","_wxCheckListBox",0},
6347 { "_class_wxBusyInfo","_wxBusyInfo",0},
6348 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6349 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6350 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6351 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6352 { "_class_wxCommandEvent","_wxCommandEvent",0},
6353 { "_class_wxClientDC","_wxClientDC",0},
6354 { "_class_wxSizeEvent","_wxSizeEvent",0},
6355 { "_class_wxListCtrl","_wxListCtrl",0},
6356 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6357 { "_class_wxSize","_wxSize",0},
6358 { "_class_wxBitmap","_wxBitmap",0},
6359 { "_class_wxMemoryDC","_wxMemoryDC",0},
6360 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6361 { "_wxMenuBar","_class_wxMenuBar",0},
6362 { "_wxTreeEvent","_class_wxTreeEvent",0},
6363 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6364 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6365 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6366 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6367 { "_wxEvtHandler","_class_wxEvtHandler",0},
6368 { "_wxMenuItem","_class_wxMenuItem",0},
6369 { "_class_wxScrollBar","_wxScrollBar",0},
6370 { "_wxDash","_unsigned_long",0},
6371 { "_wxDash","_long",0},
6372 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6373 { "_wxKeyEvent","_class_wxKeyEvent",0},
6374 { "_wxMoveEvent","_class_wxMoveEvent",0},
6375 { "_class_wxPalette","_wxPalette",0},
6376 { "_wxFileDataObject","_class_wxFileDataObject",0},
6377 { "_class_wxEraseEvent","_wxEraseEvent",0},
6378 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6379 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6380 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6381 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6382 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6383 { "_wxWindow","_class_wxWindow",0},
6384 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6387 static PyObject
*SWIG_globals
;
6391 SWIGEXPORT(void) initcontrols2c() {
6393 SWIG_globals
= SWIG_newvarlink();
6394 m
= Py_InitModule("controls2c", controls2cMethods
);
6395 d
= PyModule_GetDict(m
);
6396 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
6397 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
6398 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
6399 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
6400 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
6401 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
6402 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
6403 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
6404 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
6405 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
6406 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
6407 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
6408 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
6409 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
6410 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
6411 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
6412 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
6413 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
6414 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
6415 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
6416 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
6417 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
6418 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6419 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6420 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6421 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6422 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6423 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6424 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6425 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6426 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6427 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6428 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6429 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6430 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6431 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6432 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6433 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6434 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6435 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6436 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6437 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6438 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6441 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6442 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);