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 int wxCALLBACK
wxPyTreeCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
116 PyObject
* func
= (PyObject
*)funcPtr
;
117 bool doSave
= wxPyRestoreThread();
119 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
120 PyObject
* result
= PyEval_CallObject(func
, args
);
123 retval
= PyInt_AsLong(result
);
127 wxPySaveThread(doSave
);
132 class wxPyTreeItemData
: public wxTreeItemData
{
134 wxPyTreeItemData(PyObject
* obj
= NULL
) {
141 ~wxPyTreeItemData() {
142 bool doSave
= wxPyRestoreThread();
144 wxPySaveThread(doSave
);
147 PyObject
* GetData() {
152 void SetData(PyObject
* obj
) {
163 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
164 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
169 PyObject
* _argo0
= 0;
170 char *_kwnames
[] = { "self","m_mask", NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
186 wxPy_END_ALLOW_THREADS
;
187 } _resultobj
= Py_BuildValue("l",_result
);
191 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
192 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
196 PyObject
* _argo0
= 0;
197 char *_kwnames
[] = { "self", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
210 wxPy_BEGIN_ALLOW_THREADS
;
211 _result
= (long )wxListItem_m_mask_get(_arg0
);
213 wxPy_END_ALLOW_THREADS
;
214 } _resultobj
= Py_BuildValue("l",_result
);
218 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
219 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
224 PyObject
* _argo0
= 0;
225 char *_kwnames
[] = { "self","m_itemId", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
238 wxPy_BEGIN_ALLOW_THREADS
;
239 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
241 wxPy_END_ALLOW_THREADS
;
242 } _resultobj
= Py_BuildValue("l",_result
);
246 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
247 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 PyObject
* _argo0
= 0;
252 char *_kwnames
[] = { "self", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (long )wxListItem_m_itemId_get(_arg0
);
268 wxPy_END_ALLOW_THREADS
;
269 } _resultobj
= Py_BuildValue("l",_result
);
273 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
274 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
279 PyObject
* _argo0
= 0;
280 char *_kwnames
[] = { "self","m_col", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
293 wxPy_BEGIN_ALLOW_THREADS
;
294 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
296 wxPy_END_ALLOW_THREADS
;
297 } _resultobj
= Py_BuildValue("i",_result
);
301 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
302 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
303 PyObject
* _resultobj
;
306 PyObject
* _argo0
= 0;
307 char *_kwnames
[] = { "self", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
320 wxPy_BEGIN_ALLOW_THREADS
;
321 _result
= (int )wxListItem_m_col_get(_arg0
);
323 wxPy_END_ALLOW_THREADS
;
324 } _resultobj
= Py_BuildValue("i",_result
);
328 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
329 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
334 PyObject
* _argo0
= 0;
335 char *_kwnames
[] = { "self","m_state", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
348 wxPy_BEGIN_ALLOW_THREADS
;
349 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
351 wxPy_END_ALLOW_THREADS
;
352 } _resultobj
= Py_BuildValue("l",_result
);
356 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
357 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
358 PyObject
* _resultobj
;
361 PyObject
* _argo0
= 0;
362 char *_kwnames
[] = { "self", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 _result
= (long )wxListItem_m_state_get(_arg0
);
378 wxPy_END_ALLOW_THREADS
;
379 } _resultobj
= Py_BuildValue("l",_result
);
383 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
384 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
389 PyObject
* _argo0
= 0;
390 char *_kwnames
[] = { "self","m_stateMask", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
403 wxPy_BEGIN_ALLOW_THREADS
;
404 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
406 wxPy_END_ALLOW_THREADS
;
407 } _resultobj
= Py_BuildValue("l",_result
);
411 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
412 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
416 PyObject
* _argo0
= 0;
417 char *_kwnames
[] = { "self", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
430 wxPy_BEGIN_ALLOW_THREADS
;
431 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
433 wxPy_END_ALLOW_THREADS
;
434 } _resultobj
= Py_BuildValue("l",_result
);
438 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
439 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
444 PyObject
* _argo0
= 0;
445 PyObject
* _obj1
= 0;
446 char *_kwnames
[] = { "self","m_text", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
459 if (!PyString_Check(_obj1
)) {
460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
463 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
466 wxPy_BEGIN_ALLOW_THREADS
;
467 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
469 wxPy_END_ALLOW_THREADS
;
471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
480 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
481 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
485 PyObject
* _argo0
= 0;
486 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
499 wxPy_BEGIN_ALLOW_THREADS
;
500 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
502 wxPy_END_ALLOW_THREADS
;
504 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
509 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
510 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
515 PyObject
* _argo0
= 0;
516 char *_kwnames
[] = { "self","m_image", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
532 wxPy_END_ALLOW_THREADS
;
533 } _resultobj
= Py_BuildValue("i",_result
);
537 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
538 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
542 PyObject
* _argo0
= 0;
543 char *_kwnames
[] = { "self", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= (int )wxListItem_m_image_get(_arg0
);
559 wxPy_END_ALLOW_THREADS
;
560 } _resultobj
= Py_BuildValue("i",_result
);
564 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
565 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "self","m_data", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
584 wxPy_BEGIN_ALLOW_THREADS
;
585 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
587 wxPy_END_ALLOW_THREADS
;
588 } _resultobj
= Py_BuildValue("l",_result
);
592 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
593 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (long )wxListItem_m_data_get(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 } _resultobj
= Py_BuildValue("l",_result
);
619 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
620 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self","m_format", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
642 wxPy_END_ALLOW_THREADS
;
643 } _resultobj
= Py_BuildValue("i",_result
);
647 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
648 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
649 PyObject
* _resultobj
;
652 PyObject
* _argo0
= 0;
653 char *_kwnames
[] = { "self", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
666 wxPy_BEGIN_ALLOW_THREADS
;
667 _result
= (int )wxListItem_m_format_get(_arg0
);
669 wxPy_END_ALLOW_THREADS
;
670 } _resultobj
= Py_BuildValue("i",_result
);
674 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
675 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 PyObject
* _resultobj
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self","m_width", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
697 wxPy_END_ALLOW_THREADS
;
698 } _resultobj
= Py_BuildValue("i",_result
);
702 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
703 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
707 PyObject
* _argo0
= 0;
708 char *_kwnames
[] = { "self", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 _result
= (int )wxListItem_m_width_get(_arg0
);
724 wxPy_END_ALLOW_THREADS
;
725 } _resultobj
= Py_BuildValue("i",_result
);
729 #define new_wxListItem() (new wxListItem())
730 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
732 wxListItem
* _result
;
733 char *_kwnames
[] = { NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
740 wxPy_BEGIN_ALLOW_THREADS
;
741 _result
= (wxListItem
*)new_wxListItem();
743 wxPy_END_ALLOW_THREADS
;
745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
746 _resultobj
= Py_BuildValue("s",_ptemp
);
749 _resultobj
= Py_None
;
754 #define delete_wxListItem(_swigobj) (delete _swigobj)
755 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
758 PyObject
* _argo0
= 0;
759 char *_kwnames
[] = { "self", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
772 wxPy_BEGIN_ALLOW_THREADS
;
773 delete_wxListItem(_arg0
);
775 wxPy_END_ALLOW_THREADS
;
776 } Py_INCREF(Py_None
);
777 _resultobj
= Py_None
;
781 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
783 wxCommandEvent
*dest
;
784 src
= (wxListEvent
*) ptr
;
785 dest
= (wxCommandEvent
*) src
;
786 return (void *) dest
;
789 static void *SwigwxListEventTowxEvent(void *ptr
) {
792 src
= (wxListEvent
*) ptr
;
793 dest
= (wxEvent
*) src
;
794 return (void *) dest
;
797 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
798 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self","m_code", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
820 wxPy_END_ALLOW_THREADS
;
821 } _resultobj
= Py_BuildValue("i",_result
);
825 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
826 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (int )wxListEvent_m_code_get(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
853 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
858 PyObject
* _argo0
= 0;
859 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
872 wxPy_BEGIN_ALLOW_THREADS
;
873 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
875 wxPy_END_ALLOW_THREADS
;
876 } _resultobj
= Py_BuildValue("l",_result
);
880 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
881 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
885 PyObject
* _argo0
= 0;
886 char *_kwnames
[] = { "self", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
899 wxPy_BEGIN_ALLOW_THREADS
;
900 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
902 wxPy_END_ALLOW_THREADS
;
903 } _resultobj
= Py_BuildValue("l",_result
);
907 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
908 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
927 wxPy_BEGIN_ALLOW_THREADS
;
928 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
930 wxPy_END_ALLOW_THREADS
;
931 } _resultobj
= Py_BuildValue("l",_result
);
935 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
936 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
957 wxPy_END_ALLOW_THREADS
;
958 } _resultobj
= Py_BuildValue("l",_result
);
962 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
963 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
968 PyObject
* _argo0
= 0;
969 char *_kwnames
[] = { "self","m_col", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
985 wxPy_END_ALLOW_THREADS
;
986 } _resultobj
= Py_BuildValue("i",_result
);
990 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
991 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
995 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (int )wxListEvent_m_col_get(_arg0
);
1012 wxPy_END_ALLOW_THREADS
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1017 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1018 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1021 wxListEvent
* _arg0
;
1023 PyObject
* _argo0
= 0;
1025 char *_kwnames
[] = { "self","m_cancelled", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1037 _arg1
= (bool ) tempbool1
;
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1042 wxPy_END_ALLOW_THREADS
;
1043 } _resultobj
= Py_BuildValue("i",_result
);
1047 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1048 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxListEvent
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1069 wxPy_END_ALLOW_THREADS
;
1070 } _resultobj
= Py_BuildValue("i",_result
);
1074 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1075 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1078 wxListEvent
* _arg0
;
1080 PyObject
* _argo0
= 0;
1082 PyObject
* _obj1
= 0;
1083 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1098 if (! wxPoint_helper(_obj1
, &_arg1
))
1102 wxPy_BEGIN_ALLOW_THREADS
;
1103 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1105 wxPy_END_ALLOW_THREADS
;
1107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1108 _resultobj
= Py_BuildValue("s",_ptemp
);
1111 _resultobj
= Py_None
;
1116 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1117 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 wxListEvent
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 char *_kwnames
[] = { "self", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1136 wxPy_BEGIN_ALLOW_THREADS
;
1137 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1139 wxPy_END_ALLOW_THREADS
;
1141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1142 _resultobj
= Py_BuildValue("s",_ptemp
);
1145 _resultobj
= Py_None
;
1150 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1151 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1153 wxListItem
* _result
;
1154 wxListEvent
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 PyObject
* _argo1
= 0;
1158 char *_kwnames
[] = { "self","m_item", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1182 wxPy_END_ALLOW_THREADS
;
1184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1185 _resultobj
= Py_BuildValue("s",_ptemp
);
1188 _resultobj
= Py_None
;
1193 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1194 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1196 wxListItem
* _result
;
1197 wxListEvent
* _arg0
;
1198 PyObject
* _argo0
= 0;
1199 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1219 _resultobj
= Py_BuildValue("s",_ptemp
);
1222 _resultobj
= Py_None
;
1227 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1230 src
= (wxListCtrl
*) ptr
;
1231 dest
= (wxControl
*) src
;
1232 return (void *) dest
;
1235 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1238 src
= (wxListCtrl
*) ptr
;
1239 dest
= (wxWindow
*) src
;
1240 return (void *) dest
;
1243 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1246 src
= (wxListCtrl
*) ptr
;
1247 dest
= (wxEvtHandler
*) src
;
1248 return (void *) dest
;
1251 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1252 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1254 wxListCtrl
* _result
;
1257 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1258 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1259 long _arg4
= (long ) wxLC_ICON
;
1260 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1261 char * _arg6
= (char *) "listCtrl";
1262 PyObject
* _argo0
= 0;
1264 PyObject
* _obj2
= 0;
1266 PyObject
* _obj3
= 0;
1267 PyObject
* _argo5
= 0;
1268 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
1275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1284 if (! wxPoint_helper(_obj2
, &_arg2
))
1290 if (! wxSize_helper(_obj3
, &_arg3
))
1294 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1304 wxPy_END_ALLOW_THREADS
;
1306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1307 _resultobj
= Py_BuildValue("s",_ptemp
);
1310 _resultobj
= Py_None
;
1315 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1316 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1320 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self","flag", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1344 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self","item", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1366 wxPy_END_ALLOW_THREADS
;
1367 } _resultobj
= Py_BuildValue("i",_result
);
1371 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1372 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1393 wxPy_END_ALLOW_THREADS
;
1394 } _resultobj
= Py_BuildValue("i",_result
);
1398 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1399 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1404 PyObject
* _argo0
= 0;
1405 char *_kwnames
[] = { "self","col", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } _resultobj
= Py_BuildValue("i",_result
);
1426 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1427 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } _resultobj
= Py_BuildValue("i",_result
);
1453 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1454 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 wxListCtrl_ClearAll(_arg0
);
1474 wxPy_END_ALLOW_THREADS
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1481 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxTextCtrl
* _result
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self","item", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1504 wxPy_END_ALLOW_THREADS
;
1506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1507 _resultobj
= Py_BuildValue("s",_ptemp
);
1510 _resultobj
= Py_None
;
1515 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1516 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self","cancel", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1535 _arg1
= (bool ) tempbool1
;
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } _resultobj
= Py_BuildValue("i",_result
);
1545 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1546 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxTextCtrl
* _result
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 _resultobj
= Py_None
;
1579 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1580 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self","item", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } _resultobj
= Py_BuildValue("i",_result
);
1607 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1608 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1614 bool _arg3
= (bool ) FALSE
;
1615 PyObject
* _argo0
= 0;
1616 PyObject
* _obj2
= 0;
1617 int tempbool3
= (int) FALSE
;
1618 char *_kwnames
[] = { "self","start","str","partial", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1631 if (!PyString_Check(_obj2
)) {
1632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1635 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1637 _arg3
= (bool ) tempbool3
;
1639 wxPy_BEGIN_ALLOW_THREADS
;
1640 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1642 wxPy_END_ALLOW_THREADS
;
1643 } _resultobj
= Py_BuildValue("l",_result
);
1651 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1652 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1658 PyObject
* _argo0
= 0;
1659 char *_kwnames
[] = { "self","start","data", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1675 wxPy_END_ALLOW_THREADS
;
1676 } _resultobj
= Py_BuildValue("l",_result
);
1680 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1681 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1688 PyObject
* _argo0
= 0;
1690 PyObject
* _obj2
= 0;
1691 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1705 if (! wxPoint_helper(_obj2
, &_arg2
))
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } _resultobj
= Py_BuildValue("l",_result
);
1717 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1718 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo2
= 0;
1726 char *_kwnames
[] = { "self","col","item", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1739 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("i",_result
);
1754 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1755 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1760 PyObject
* _argo0
= 0;
1761 char *_kwnames
[] = { "self","col", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1777 wxPy_END_ALLOW_THREADS
;
1778 } _resultobj
= Py_BuildValue("i",_result
);
1782 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1783 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1787 PyObject
* _argo0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1804 wxPy_END_ALLOW_THREADS
;
1805 } _resultobj
= Py_BuildValue("i",_result
);
1809 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1810 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1812 wxImageList
* _result
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self","which", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1833 wxPy_END_ALLOW_THREADS
;
1835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1836 _resultobj
= Py_BuildValue("s",_ptemp
);
1839 _resultobj
= Py_None
;
1844 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1845 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1850 PyObject
* _argo0
= 0;
1851 char *_kwnames
[] = { "self","item", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1864 wxPy_BEGIN_ALLOW_THREADS
;
1865 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1867 wxPy_END_ALLOW_THREADS
;
1868 } _resultobj
= Py_BuildValue("l",_result
);
1872 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
1873 wxListItem
* info
= new wxListItem
;
1874 info
->m_itemId
= itemId
;
1876 info
->m_mask
= 0xFFFF;
1877 self
->GetItem(*info
);
1880 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1882 wxListItem
* _result
;
1885 int _arg2
= (int ) 0;
1886 PyObject
* _argo0
= 0;
1887 char *_kwnames
[] = { "self","itemId","col", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
1904 wxPy_END_ALLOW_THREADS
;
1906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1907 _resultobj
= Py_BuildValue("s",_ptemp
);
1910 _resultobj
= Py_None
;
1915 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1916 wxPoint
* pos
= new wxPoint
;
1917 self
->GetItemPosition(item
, *pos
);
1920 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1925 PyObject
* _argo0
= 0;
1926 char *_kwnames
[] = { "self","item", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1943 wxPy_END_ALLOW_THREADS
;
1945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1946 _resultobj
= Py_BuildValue("s",_ptemp
);
1949 _resultobj
= Py_None
;
1954 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1955 wxRect
* rect
= new wxRect
;
1956 self
->GetItemRect(item
, *rect
, code
);
1959 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1964 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1965 PyObject
* _argo0
= 0;
1966 char *_kwnames
[] = { "self","item","code", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1983 wxPy_END_ALLOW_THREADS
;
1985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1986 _resultobj
= Py_BuildValue("s",_ptemp
);
1989 _resultobj
= Py_None
;
1994 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1995 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self","item","stateMask", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
2024 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
2051 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2056 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self","isSmall", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2070 _arg1
= (bool ) tempbool1
;
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
2075 wxPy_END_ALLOW_THREADS
;
2076 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2081 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self","item", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2100 wxPy_BEGIN_ALLOW_THREADS
;
2101 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2103 wxPy_END_ALLOW_THREADS
;
2105 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2113 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2114 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2119 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2120 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2138 wxPy_END_ALLOW_THREADS
;
2139 } _resultobj
= Py_BuildValue("l",_result
);
2143 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2144 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2148 PyObject
* _argo0
= 0;
2149 char *_kwnames
[] = { "self", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } _resultobj
= Py_BuildValue("i",_result
);
2170 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2171 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2190 wxPy_BEGIN_ALLOW_THREADS
;
2191 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
2193 wxPy_END_ALLOW_THREADS
;
2194 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2195 _resultobj
= Py_BuildValue("s",_ptemp
);
2199 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2200 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2204 PyObject
* _argo0
= 0;
2205 PyObject
* _argo1
= 0;
2206 char *_kwnames
[] = { "self","col", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2229 wxPy_END_ALLOW_THREADS
;
2230 } Py_INCREF(Py_None
);
2231 _resultobj
= Py_None
;
2235 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2236 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2254 wxPy_BEGIN_ALLOW_THREADS
;
2255 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2257 wxPy_END_ALLOW_THREADS
;
2258 } _resultobj
= Py_BuildValue("l",_result
);
2262 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2263 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2272 PyObject
* _obj1
= 0;
2273 char *_kwnames
[] = { "self","point", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2290 if (! wxPoint_helper(_obj1
, &_arg1
))
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } _resultobj
= Py_BuildValue("l",_result
);
2301 o
= PyInt_FromLong((long) (*_arg2
));
2302 _resultobj
= t_output_helper(_resultobj
, o
);
2307 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2308 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 PyObject
* _argo2
= 0;
2316 char *_kwnames
[] = { "self","col","info", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2329 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } _resultobj
= Py_BuildValue("l",_result
);
2344 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2345 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2351 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2352 int _arg4
= (int ) -1;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _obj2
= 0;
2355 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2368 if (!PyString_Check(_obj2
)) {
2369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2372 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } _resultobj
= Py_BuildValue("l",_result
);
2387 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2388 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2394 PyObject
* _argo1
= 0;
2395 char *_kwnames
[] = { "self","info", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2415 wxPy_BEGIN_ALLOW_THREADS
;
2416 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2418 wxPy_END_ALLOW_THREADS
;
2419 } _resultobj
= Py_BuildValue("l",_result
);
2423 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2424 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2430 PyObject
* _argo0
= 0;
2431 PyObject
* _obj2
= 0;
2432 char *_kwnames
[] = { "self","index","label", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2445 if (!PyString_Check(_obj2
)) {
2446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2449 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2452 wxPy_BEGIN_ALLOW_THREADS
;
2453 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2455 wxPy_END_ALLOW_THREADS
;
2456 } _resultobj
= Py_BuildValue("l",_result
);
2464 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2465 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2471 PyObject
* _argo0
= 0;
2472 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2485 wxPy_BEGIN_ALLOW_THREADS
;
2486 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2488 wxPy_END_ALLOW_THREADS
;
2489 } _resultobj
= Py_BuildValue("l",_result
);
2493 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2494 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2501 PyObject
* _argo0
= 0;
2502 PyObject
* _obj2
= 0;
2503 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2516 if (!PyString_Check(_obj2
)) {
2517 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2520 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2526 wxPy_END_ALLOW_THREADS
;
2527 } _resultobj
= Py_BuildValue("l",_result
);
2535 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2536 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self","dx","dy", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } _resultobj
= Py_BuildValue("i",_result
);
2564 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2565 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2569 PyObject
* _argo0
= 0;
2570 PyObject
* _argo1
= 0;
2571 char *_kwnames
[] = { "self","col", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } Py_INCREF(Py_None
);
2596 _resultobj
= Py_None
;
2600 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2601 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2607 PyObject
* _argo0
= 0;
2608 PyObject
* _argo2
= 0;
2609 char *_kwnames
[] = { "self","col","item", NULL
};
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2622 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2632 wxPy_END_ALLOW_THREADS
;
2633 } _resultobj
= Py_BuildValue("i",_result
);
2637 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2638 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self","col","width", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2661 wxPy_END_ALLOW_THREADS
;
2662 } _resultobj
= Py_BuildValue("i",_result
);
2666 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2667 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
* _resultobj
;
2670 wxImageList
* _arg1
;
2672 PyObject
* _argo0
= 0;
2673 PyObject
* _argo1
= 0;
2674 char *_kwnames
[] = { "self","imageList","which", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2694 wxPy_BEGIN_ALLOW_THREADS
;
2695 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2697 wxPy_END_ALLOW_THREADS
;
2698 } Py_INCREF(Py_None
);
2699 _resultobj
= Py_None
;
2703 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2704 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 PyObject
* _argo1
= 0;
2711 char *_kwnames
[] = { "self","info", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2734 wxPy_END_ALLOW_THREADS
;
2735 } _resultobj
= Py_BuildValue("i",_result
);
2739 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2740 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2747 int _arg4
= (int ) -1;
2748 PyObject
* _argo0
= 0;
2749 PyObject
* _obj3
= 0;
2750 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2763 if (!PyString_Check(_obj3
)) {
2764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2767 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2773 wxPy_END_ALLOW_THREADS
;
2774 } _resultobj
= Py_BuildValue("l",_result
);
2782 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2783 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self","item","data", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2803 wxPy_BEGIN_ALLOW_THREADS
;
2804 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2806 wxPy_END_ALLOW_THREADS
;
2807 } _resultobj
= Py_BuildValue("i",_result
);
2811 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2812 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
* _resultobj
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } _resultobj
= Py_BuildValue("i",_result
);
2841 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2842 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2848 PyObject
* _argo0
= 0;
2850 PyObject
* _obj2
= 0;
2851 char *_kwnames
[] = { "self","item","pos", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2865 if (! wxPoint_helper(_obj2
, &_arg2
))
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2872 wxPy_END_ALLOW_THREADS
;
2873 } _resultobj
= Py_BuildValue("i",_result
);
2877 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2878 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2902 wxPy_END_ALLOW_THREADS
;
2903 } _resultobj
= Py_BuildValue("i",_result
);
2907 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2908 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2914 PyObject
* _obj2
= 0;
2915 char *_kwnames
[] = { "self","item","text", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2928 if (!PyString_Check(_obj2
)) {
2929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2932 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2948 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2949 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2953 bool _arg2
= (bool ) TRUE
;
2954 PyObject
* _argo0
= 0;
2955 int tempbool2
= (int) TRUE
;
2956 char *_kwnames
[] = { "self","style","add", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2968 _arg2
= (bool ) tempbool2
;
2970 wxPy_BEGIN_ALLOW_THREADS
;
2971 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2973 wxPy_END_ALLOW_THREADS
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2980 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2984 PyObject
* _argo0
= 0;
2985 char *_kwnames
[] = { "self","style", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
3008 if (!PyCallable_Check(func
))
3011 return self
->SortItems(wxPyTreeCtrl_SortItems
, (long)func
);
3013 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3019 PyObject
* _obj1
= 0;
3020 char *_kwnames
[] = { "self","func", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
3039 wxPy_END_ALLOW_THREADS
;
3040 } _resultobj
= Py_BuildValue("i",_result
);
3044 #define new_wxTreeItemId() (new wxTreeItemId())
3045 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3047 wxTreeItemId
* _result
;
3048 char *_kwnames
[] = { NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 _result
= (wxTreeItemId
*)new_wxTreeItemId();
3058 wxPy_END_ALLOW_THREADS
;
3060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3061 _resultobj
= Py_BuildValue("s",_ptemp
);
3064 _resultobj
= Py_None
;
3069 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
3070 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3072 wxTreeItemId
* _arg0
;
3073 PyObject
* _argo0
= 0;
3074 char *_kwnames
[] = { "self", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
3087 wxPy_BEGIN_ALLOW_THREADS
;
3088 delete_wxTreeItemId(_arg0
);
3090 wxPy_END_ALLOW_THREADS
;
3091 } Py_INCREF(Py_None
);
3092 _resultobj
= Py_None
;
3096 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
3097 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3100 wxTreeItemId
* _arg0
;
3101 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
3118 wxPy_END_ALLOW_THREADS
;
3119 } _resultobj
= Py_BuildValue("i",_result
);
3123 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
3124 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3126 wxPyTreeItemData
* _result
;
3127 PyObject
* _arg0
= (PyObject
*) NULL
;
3128 PyObject
* _obj0
= 0;
3129 char *_kwnames
[] = { "obj", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
3143 wxPy_END_ALLOW_THREADS
;
3145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3146 _resultobj
= Py_BuildValue("s",_ptemp
);
3149 _resultobj
= Py_None
;
3154 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3155 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3158 wxPyTreeItemData
* _arg0
;
3159 PyObject
* _argo0
= 0;
3160 char *_kwnames
[] = { "self", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
3176 wxPy_END_ALLOW_THREADS
;
3178 _resultobj
= _result
;
3183 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3184 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3186 wxPyTreeItemData
* _arg0
;
3188 PyObject
* _argo0
= 0;
3189 PyObject
* _obj1
= 0;
3190 char *_kwnames
[] = { "self","obj", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxTreeItemData_SetData(_arg0
,_arg1
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3216 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3218 wxTreeItemId
* _result
;
3219 wxPyTreeItemData
* _arg0
;
3220 PyObject
* _argo0
= 0;
3221 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3237 _result
= (wxTreeItemId
*) &_result_ref
;
3239 wxPy_END_ALLOW_THREADS
;
3241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3242 _resultobj
= Py_BuildValue("s",_ptemp
);
3245 _resultobj
= Py_None
;
3250 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3251 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxPyTreeItemData
* _arg0
;
3254 wxTreeItemId
* _arg1
;
3255 PyObject
* _argo0
= 0;
3256 PyObject
* _argo1
= 0;
3257 char *_kwnames
[] = { "self","id", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 wxTreeItemData_SetId(_arg0
,*_arg1
);
3280 wxPy_END_ALLOW_THREADS
;
3281 } Py_INCREF(Py_None
);
3282 _resultobj
= Py_None
;
3286 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3288 wxNotifyEvent
*dest
;
3289 src
= (wxTreeEvent
*) ptr
;
3290 dest
= (wxNotifyEvent
*) src
;
3291 return (void *) dest
;
3294 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3296 wxCommandEvent
*dest
;
3297 src
= (wxTreeEvent
*) ptr
;
3298 dest
= (wxCommandEvent
*) src
;
3299 return (void *) dest
;
3302 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3305 src
= (wxTreeEvent
*) ptr
;
3306 dest
= (wxEvent
*) src
;
3307 return (void *) dest
;
3310 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3311 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3313 wxTreeItemId
* _result
;
3314 wxTreeEvent
* _arg0
;
3315 PyObject
* _argo0
= 0;
3316 char *_kwnames
[] = { "self", NULL
};
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3330 wxPy_BEGIN_ALLOW_THREADS
;
3331 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3333 wxPy_END_ALLOW_THREADS
;
3334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3335 _resultobj
= Py_BuildValue("s",_ptemp
);
3339 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3340 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxTreeItemId
* _result
;
3343 wxTreeEvent
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3362 wxPy_END_ALLOW_THREADS
;
3363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3364 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3369 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3372 wxTreeEvent
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3391 wxPy_END_ALLOW_THREADS
;
3392 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3393 _resultobj
= Py_BuildValue("s",_ptemp
);
3397 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3398 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3401 wxTreeEvent
* _arg0
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3419 wxPy_END_ALLOW_THREADS
;
3420 } _resultobj
= Py_BuildValue("i",_result
);
3424 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3425 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3428 wxTreeEvent
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3445 _result
= (wxString
*) &_result_ref
;
3447 wxPy_END_ALLOW_THREADS
;
3449 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3454 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3457 src
= (wxTreeCtrl
*) ptr
;
3458 dest
= (wxControl
*) src
;
3459 return (void *) dest
;
3462 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3465 src
= (wxTreeCtrl
*) ptr
;
3466 dest
= (wxWindow
*) src
;
3467 return (void *) dest
;
3470 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3473 src
= (wxTreeCtrl
*) ptr
;
3474 dest
= (wxEvtHandler
*) src
;
3475 return (void *) dest
;
3478 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3479 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3481 wxTreeCtrl
* _result
;
3483 wxWindowID _arg1
= (wxWindowID
) -1;
3484 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3485 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3486 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3487 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3488 char * _arg6
= (char *) "wxTreeCtrl";
3489 PyObject
* _argo0
= 0;
3491 PyObject
* _obj2
= 0;
3493 PyObject
* _obj3
= 0;
3494 PyObject
* _argo5
= 0;
3495 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3511 if (! wxPoint_helper(_obj2
, &_arg2
))
3517 if (! wxSize_helper(_obj3
, &_arg3
))
3521 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3528 wxPy_BEGIN_ALLOW_THREADS
;
3529 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3531 wxPy_END_ALLOW_THREADS
;
3533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3534 _resultobj
= Py_BuildValue("s",_ptemp
);
3537 _resultobj
= Py_None
;
3542 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3543 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3561 wxPy_BEGIN_ALLOW_THREADS
;
3562 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3564 wxPy_END_ALLOW_THREADS
;
3565 } _resultobj
= Py_BuildValue("i",_result
);
3569 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3570 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3572 unsigned int _result
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_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_GetIndent. Expected _wxTreeCtrl_p.");
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3591 wxPy_END_ALLOW_THREADS
;
3592 } _resultobj
= Py_BuildValue("i",_result
);
3596 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3597 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3601 PyObject
* _argo0
= 0;
3602 char *_kwnames
[] = { "self","indent", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3618 wxPy_END_ALLOW_THREADS
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3624 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3625 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3627 wxImageList
* _result
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3647 wxPy_END_ALLOW_THREADS
;
3649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3650 _resultobj
= Py_BuildValue("s",_ptemp
);
3653 _resultobj
= Py_None
;
3658 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3659 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3661 wxImageList
* _result
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3681 wxPy_END_ALLOW_THREADS
;
3683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3684 _resultobj
= Py_BuildValue("s",_ptemp
);
3687 _resultobj
= Py_None
;
3692 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3693 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxImageList
* _arg1
;
3697 PyObject
* _argo0
= 0;
3698 PyObject
* _argo1
= 0;
3699 char *_kwnames
[] = { "self","imageList", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3719 wxPy_BEGIN_ALLOW_THREADS
;
3720 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3722 wxPy_END_ALLOW_THREADS
;
3723 } Py_INCREF(Py_None
);
3724 _resultobj
= Py_None
;
3728 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3729 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3732 wxImageList
* _arg1
;
3733 PyObject
* _argo0
= 0;
3734 PyObject
* _argo1
= 0;
3735 char *_kwnames
[] = { "self","imageList", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3755 wxPy_BEGIN_ALLOW_THREADS
;
3756 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3758 wxPy_END_ALLOW_THREADS
;
3759 } Py_INCREF(Py_None
);
3760 _resultobj
= Py_None
;
3764 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
3765 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
* _resultobj
;
3767 unsigned int _result
;
3769 PyObject
* _argo0
= 0;
3770 char *_kwnames
[] = { "self", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p.");
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
3786 wxPy_END_ALLOW_THREADS
;
3787 } _resultobj
= Py_BuildValue("i",_result
);
3791 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
3792 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3796 PyObject
* _argo0
= 0;
3797 char *_kwnames
[] = { "self","spacing", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxTreeCtrl_p.");
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
3813 wxPy_END_ALLOW_THREADS
;
3814 } Py_INCREF(Py_None
);
3815 _resultobj
= Py_None
;
3819 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3820 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3824 wxTreeItemId
* _arg1
;
3825 PyObject
* _argo0
= 0;
3826 PyObject
* _argo1
= 0;
3827 char *_kwnames
[] = { "self","item", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3850 wxPy_END_ALLOW_THREADS
;
3852 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3860 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
3861 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3865 wxTreeItemId
* _arg1
;
3866 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
3867 PyObject
* _argo0
= 0;
3868 PyObject
* _argo1
= 0;
3869 char *_kwnames
[] = { "self","item","which", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3889 wxPy_BEGIN_ALLOW_THREADS
;
3890 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
3892 wxPy_END_ALLOW_THREADS
;
3893 } _resultobj
= Py_BuildValue("i",_result
);
3897 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3898 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
* _resultobj
;
3902 wxTreeItemId
* _arg1
;
3903 PyObject
* _argo0
= 0;
3904 PyObject
* _argo1
= 0;
3905 char *_kwnames
[] = { "self","item", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3925 wxPy_BEGIN_ALLOW_THREADS
;
3926 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3928 wxPy_END_ALLOW_THREADS
;
3929 } _resultobj
= Py_BuildValue("i",_result
);
3933 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3934 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3937 wxTreeItemId
* _arg1
;
3939 PyObject
* _argo0
= 0;
3940 PyObject
* _argo1
= 0;
3941 PyObject
* _obj2
= 0;
3942 char *_kwnames
[] = { "self","item","text", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3962 if (!PyString_Check(_obj2
)) {
3963 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3966 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3969 wxPy_BEGIN_ALLOW_THREADS
;
3970 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3972 wxPy_END_ALLOW_THREADS
;
3973 } Py_INCREF(Py_None
);
3974 _resultobj
= Py_None
;
3982 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3983 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3986 wxTreeItemId
* _arg1
;
3988 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
3989 PyObject
* _argo0
= 0;
3990 PyObject
* _argo1
= 0;
3991 char *_kwnames
[] = { "self","item","image","which", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
4004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
4014 wxPy_END_ALLOW_THREADS
;
4015 } Py_INCREF(Py_None
);
4016 _resultobj
= Py_None
;
4020 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
4021 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4024 wxTreeItemId
* _arg1
;
4026 PyObject
* _argo0
= 0;
4027 PyObject
* _argo1
= 0;
4028 char *_kwnames
[] = { "self","item","image", NULL
};
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
4041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
4048 wxPy_BEGIN_ALLOW_THREADS
;
4049 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
4051 wxPy_END_ALLOW_THREADS
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4057 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
4058 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
* _resultobj
;
4061 wxTreeItemId
* _arg1
;
4062 bool _arg2
= (bool ) TRUE
;
4063 PyObject
* _argo0
= 0;
4064 PyObject
* _argo1
= 0;
4065 int tempbool2
= (int) TRUE
;
4066 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
4079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
4085 _arg2
= (bool ) tempbool2
;
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
4090 wxPy_END_ALLOW_THREADS
;
4091 } Py_INCREF(Py_None
);
4092 _resultobj
= Py_None
;
4096 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4097 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4099 data
= new wxPyTreeItemData();
4100 self
->SetItemData(item
, data
);
4104 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4106 wxPyTreeItemData
* _result
;
4108 wxTreeItemId
* _arg1
;
4109 PyObject
* _argo0
= 0;
4110 PyObject
* _argo1
= 0;
4111 char *_kwnames
[] = { "self","item", NULL
};
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
4118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
4135 wxPy_END_ALLOW_THREADS
;
4137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4138 _resultobj
= Py_BuildValue("s",_ptemp
);
4141 _resultobj
= Py_None
;
4146 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
4147 self
->SetItemData(item
, data
);
4149 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4152 wxTreeItemId
* _arg1
;
4153 wxPyTreeItemData
* _arg2
;
4154 PyObject
* _argo0
= 0;
4155 PyObject
* _argo1
= 0;
4156 PyObject
* _argo2
= 0;
4157 char *_kwnames
[] = { "self","item","data", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
4170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4177 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
4187 wxPy_END_ALLOW_THREADS
;
4188 } Py_INCREF(Py_None
);
4189 _resultobj
= Py_None
;
4193 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4194 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4196 data
= new wxPyTreeItemData();
4197 self
->SetItemData(item
, data
);
4199 return data
->GetData();
4201 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4205 wxTreeItemId
* _arg1
;
4206 PyObject
* _argo0
= 0;
4207 PyObject
* _argo1
= 0;
4208 char *_kwnames
[] = { "self","item", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4228 wxPy_BEGIN_ALLOW_THREADS
;
4229 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4231 wxPy_END_ALLOW_THREADS
;
4233 _resultobj
= _result
;
4238 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4239 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4241 data
= new wxPyTreeItemData(obj
);
4242 self
->SetItemData(item
, data
);
4246 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4249 wxTreeItemId
* _arg1
;
4251 PyObject
* _argo0
= 0;
4252 PyObject
* _argo1
= 0;
4253 PyObject
* _obj2
= 0;
4254 char *_kwnames
[] = { "self","item","obj", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4287 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4291 wxTreeItemId
* _arg1
;
4292 PyObject
* _argo0
= 0;
4293 PyObject
* _argo1
= 0;
4294 char *_kwnames
[] = { "self","item", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4317 wxPy_END_ALLOW_THREADS
;
4318 } _resultobj
= Py_BuildValue("i",_result
);
4322 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4323 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4327 wxTreeItemId
* _arg1
;
4328 PyObject
* _argo0
= 0;
4329 PyObject
* _argo1
= 0;
4330 char *_kwnames
[] = { "self","item", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4343 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4350 wxPy_BEGIN_ALLOW_THREADS
;
4351 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4353 wxPy_END_ALLOW_THREADS
;
4354 } _resultobj
= Py_BuildValue("i",_result
);
4358 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4359 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4363 wxTreeItemId
* _arg1
;
4364 PyObject
* _argo0
= 0;
4365 PyObject
* _argo1
= 0;
4366 char *_kwnames
[] = { "self","item", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } _resultobj
= Py_BuildValue("i",_result
);
4394 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4395 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4399 wxTreeItemId
* _arg1
;
4400 PyObject
* _argo0
= 0;
4401 PyObject
* _argo1
= 0;
4402 char *_kwnames
[] = { "self","item", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4425 wxPy_END_ALLOW_THREADS
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4431 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 wxTreeItemId
* _result
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4453 wxPy_END_ALLOW_THREADS
;
4454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4455 _resultobj
= Py_BuildValue("s",_ptemp
);
4459 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4460 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4462 wxTreeItemId
* _result
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4479 wxPy_BEGIN_ALLOW_THREADS
;
4480 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4482 wxPy_END_ALLOW_THREADS
;
4483 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4484 _resultobj
= Py_BuildValue("s",_ptemp
);
4488 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4489 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4491 wxTreeItemId
* _result
;
4493 wxTreeItemId
* _arg1
;
4494 PyObject
* _argo0
= 0;
4495 PyObject
* _argo1
= 0;
4496 char *_kwnames
[] = { "self","item", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxTreeCtrl_p.");
4510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
4520 wxPy_END_ALLOW_THREADS
;
4521 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4522 _resultobj
= Py_BuildValue("s",_ptemp
);
4526 static PyObject
* wxTreeCtrl_GetSelections(wxTreeCtrl
*self
) {
4527 bool doSave
= wxPyRestoreThread();
4528 PyObject
* rval
= PyList_New(0);
4529 wxArrayTreeItemIds array
;
4531 num
= self
->GetSelections(array
);
4532 for (x
=0; x
< num
; x
++) {
4533 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
4535 PyList_Append(rval
, item
);
4537 wxPySaveThread(doSave
);
4540 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= (PyObject
*)wxTreeCtrl_GetSelections(_arg0
);
4561 wxPy_END_ALLOW_THREADS
;
4563 _resultobj
= _result
;
4568 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4569 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4573 wxTreeItemId
* _arg1
;
4574 bool _arg2
= (bool ) TRUE
;
4575 PyObject
* _argo0
= 0;
4576 PyObject
* _argo1
= 0;
4577 int tempbool2
= (int) TRUE
;
4578 char *_kwnames
[] = { "self","item","recursively", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4597 _arg2
= (bool ) tempbool2
;
4599 wxPy_BEGIN_ALLOW_THREADS
;
4600 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4602 wxPy_END_ALLOW_THREADS
;
4603 } _resultobj
= Py_BuildValue("i",_result
);
4607 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4608 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4610 wxTreeItemId
* _result
;
4612 wxTreeItemId
* _arg1
;
4614 PyObject
* _argo0
= 0;
4615 PyObject
* _argo1
= 0;
4617 PyObject
* _obj2
= 0;
4618 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4639 temp
= (long) PyInt_AsLong(_obj2
);
4643 wxPy_BEGIN_ALLOW_THREADS
;
4644 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4646 wxPy_END_ALLOW_THREADS
;
4647 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4651 o
= PyInt_FromLong((long) (*_arg2
));
4652 _resultobj
= t_output_helper(_resultobj
, o
);
4657 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4658 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4660 wxTreeItemId
* _result
;
4662 wxTreeItemId
* _arg1
;
4664 PyObject
* _argo0
= 0;
4665 PyObject
* _argo1
= 0;
4667 PyObject
* _obj2
= 0;
4668 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4689 temp
= (long) PyInt_AsLong(_obj2
);
4693 wxPy_BEGIN_ALLOW_THREADS
;
4694 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4696 wxPy_END_ALLOW_THREADS
;
4697 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4698 _resultobj
= Py_BuildValue("s",_ptemp
);
4701 o
= PyInt_FromLong((long) (*_arg2
));
4702 _resultobj
= t_output_helper(_resultobj
, o
);
4707 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4708 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4710 wxTreeItemId
* _result
;
4712 wxTreeItemId
* _arg1
;
4713 PyObject
* _argo0
= 0;
4714 PyObject
* _argo1
= 0;
4715 char *_kwnames
[] = { "self","item", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4739 wxPy_END_ALLOW_THREADS
;
4740 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4741 _resultobj
= Py_BuildValue("s",_ptemp
);
4745 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4746 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4748 wxTreeItemId
* _result
;
4750 wxTreeItemId
* _arg1
;
4751 PyObject
* _argo0
= 0;
4752 PyObject
* _argo1
= 0;
4753 char *_kwnames
[] = { "self","item", NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4767 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4777 wxPy_END_ALLOW_THREADS
;
4778 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4779 _resultobj
= Py_BuildValue("s",_ptemp
);
4783 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4784 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4786 wxTreeItemId
* _result
;
4788 PyObject
* _argo0
= 0;
4789 char *_kwnames
[] = { "self", NULL
};
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4803 wxPy_BEGIN_ALLOW_THREADS
;
4804 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4806 wxPy_END_ALLOW_THREADS
;
4807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4808 _resultobj
= Py_BuildValue("s",_ptemp
);
4812 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4813 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
* _resultobj
;
4815 wxTreeItemId
* _result
;
4817 wxTreeItemId
* _arg1
;
4818 PyObject
* _argo0
= 0;
4819 PyObject
* _argo1
= 0;
4820 char *_kwnames
[] = { "self","item", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4844 wxPy_END_ALLOW_THREADS
;
4845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4846 _resultobj
= Py_BuildValue("s",_ptemp
);
4850 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4851 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4853 wxTreeItemId
* _result
;
4855 wxTreeItemId
* _arg1
;
4856 PyObject
* _argo0
= 0;
4857 PyObject
* _argo1
= 0;
4858 char *_kwnames
[] = { "self","item", NULL
};
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4879 wxPy_BEGIN_ALLOW_THREADS
;
4880 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4882 wxPy_END_ALLOW_THREADS
;
4883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4884 _resultobj
= Py_BuildValue("s",_ptemp
);
4888 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
4889 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4891 wxTreeItemId
* _result
;
4893 wxTreeItemId
* _arg1
;
4894 PyObject
* _argo0
= 0;
4895 PyObject
* _argo1
= 0;
4896 char *_kwnames
[] = { "self","item", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p.");
4910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
4917 wxPy_BEGIN_ALLOW_THREADS
;
4918 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
4920 wxPy_END_ALLOW_THREADS
;
4921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4922 _resultobj
= Py_BuildValue("s",_ptemp
);
4926 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4927 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 wxTreeItemId
* _result
;
4932 int _arg2
= (int ) -1;
4933 int _arg3
= (int ) -1;
4934 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4935 PyObject
* _argo0
= 0;
4936 PyObject
* _obj1
= 0;
4937 PyObject
* _argo4
= 0;
4938 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4952 if (!PyString_Check(_obj1
)) {
4953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4956 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4959 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4969 wxPy_END_ALLOW_THREADS
;
4970 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4971 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4980 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4982 wxTreeItemId
* _result
;
4984 wxTreeItemId
* _arg1
;
4986 int _arg3
= (int ) -1;
4987 int _arg4
= (int ) -1;
4988 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4989 PyObject
* _argo0
= 0;
4990 PyObject
* _argo1
= 0;
4991 PyObject
* _obj2
= 0;
4992 PyObject
* _argo5
= 0;
4993 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
5007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
5014 if (!PyString_Check(_obj2
)) {
5015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5018 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5021 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5031 wxPy_END_ALLOW_THREADS
;
5032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5033 _resultobj
= Py_BuildValue("s",_ptemp
);
5041 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5042 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5044 wxTreeItemId
* _result
;
5046 wxTreeItemId
* _arg1
;
5047 wxTreeItemId
* _arg2
;
5049 int _arg4
= (int ) -1;
5050 int _arg5
= (int ) -1;
5051 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
5052 PyObject
* _argo0
= 0;
5053 PyObject
* _argo1
= 0;
5054 PyObject
* _argo2
= 0;
5055 PyObject
* _obj3
= 0;
5056 PyObject
* _argo6
= 0;
5057 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
5071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5078 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
5085 if (!PyString_Check(_obj3
)) {
5086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5089 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
5092 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
5099 wxPy_BEGIN_ALLOW_THREADS
;
5100 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
5102 wxPy_END_ALLOW_THREADS
;
5103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5104 _resultobj
= Py_BuildValue("s",_ptemp
);
5112 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5113 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5115 wxTreeItemId
* _result
;
5117 wxTreeItemId
* _arg1
;
5119 int _arg3
= (int ) -1;
5120 int _arg4
= (int ) -1;
5121 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
5122 PyObject
* _argo0
= 0;
5123 PyObject
* _argo1
= 0;
5124 PyObject
* _obj2
= 0;
5125 PyObject
* _argo5
= 0;
5126 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
5133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
5140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
5147 if (!PyString_Check(_obj2
)) {
5148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5151 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5154 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
5161 wxPy_BEGIN_ALLOW_THREADS
;
5162 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
5164 wxPy_END_ALLOW_THREADS
;
5165 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5166 _resultobj
= Py_BuildValue("s",_ptemp
);
5174 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
5175 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5178 wxTreeItemId
* _arg1
;
5179 PyObject
* _argo0
= 0;
5180 PyObject
* _argo1
= 0;
5181 char *_kwnames
[] = { "self","item", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5194 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 wxTreeCtrl_Delete(_arg0
,*_arg1
);
5204 wxPy_END_ALLOW_THREADS
;
5205 } Py_INCREF(Py_None
);
5206 _resultobj
= Py_None
;
5210 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5211 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5214 wxTreeItemId
* _arg1
;
5215 PyObject
* _argo0
= 0;
5216 PyObject
* _argo1
= 0;
5217 char *_kwnames
[] = { "self","item", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5237 wxPy_BEGIN_ALLOW_THREADS
;
5238 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
5240 wxPy_END_ALLOW_THREADS
;
5241 } Py_INCREF(Py_None
);
5242 _resultobj
= Py_None
;
5246 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5247 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
* _resultobj
;
5250 PyObject
* _argo0
= 0;
5251 char *_kwnames
[] = { "self", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5264 wxPy_BEGIN_ALLOW_THREADS
;
5265 wxTreeCtrl_DeleteAllItems(_arg0
);
5267 wxPy_END_ALLOW_THREADS
;
5268 } Py_INCREF(Py_None
);
5269 _resultobj
= Py_None
;
5273 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5274 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5277 wxTreeItemId
* _arg1
;
5278 PyObject
* _argo0
= 0;
5279 PyObject
* _argo1
= 0;
5280 char *_kwnames
[] = { "self","item", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5300 wxPy_BEGIN_ALLOW_THREADS
;
5301 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5303 wxPy_END_ALLOW_THREADS
;
5304 } Py_INCREF(Py_None
);
5305 _resultobj
= Py_None
;
5309 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5310 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5313 wxTreeItemId
* _arg1
;
5314 PyObject
* _argo0
= 0;
5315 PyObject
* _argo1
= 0;
5316 char *_kwnames
[] = { "self","item", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5336 wxPy_BEGIN_ALLOW_THREADS
;
5337 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5339 wxPy_END_ALLOW_THREADS
;
5340 } Py_INCREF(Py_None
);
5341 _resultobj
= Py_None
;
5345 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5346 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5349 wxTreeItemId
* _arg1
;
5350 PyObject
* _argo0
= 0;
5351 PyObject
* _argo1
= 0;
5352 char *_kwnames
[] = { "self","item", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5375 wxPy_END_ALLOW_THREADS
;
5376 } Py_INCREF(Py_None
);
5377 _resultobj
= Py_None
;
5381 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5382 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5385 wxTreeItemId
* _arg1
;
5386 PyObject
* _argo0
= 0;
5387 PyObject
* _argo1
= 0;
5388 char *_kwnames
[] = { "self","item", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5408 wxPy_BEGIN_ALLOW_THREADS
;
5409 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5411 wxPy_END_ALLOW_THREADS
;
5412 } Py_INCREF(Py_None
);
5413 _resultobj
= Py_None
;
5417 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5418 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5421 PyObject
* _argo0
= 0;
5422 char *_kwnames
[] = { "self", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5435 wxPy_BEGIN_ALLOW_THREADS
;
5436 wxTreeCtrl_Unselect(_arg0
);
5438 wxPy_END_ALLOW_THREADS
;
5439 } Py_INCREF(Py_None
);
5440 _resultobj
= Py_None
;
5444 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5445 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5448 PyObject
* _argo0
= 0;
5449 char *_kwnames
[] = { "self", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5462 wxPy_BEGIN_ALLOW_THREADS
;
5463 wxTreeCtrl_UnselectAll(_arg0
);
5465 wxPy_END_ALLOW_THREADS
;
5466 } Py_INCREF(Py_None
);
5467 _resultobj
= Py_None
;
5471 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5472 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5475 wxTreeItemId
* _arg1
;
5476 PyObject
* _argo0
= 0;
5477 PyObject
* _argo1
= 0;
5478 char *_kwnames
[] = { "self","item", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5501 wxPy_END_ALLOW_THREADS
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5508 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5511 wxTreeItemId
* _arg1
;
5512 PyObject
* _argo0
= 0;
5513 PyObject
* _argo1
= 0;
5514 char *_kwnames
[] = { "self","item", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5534 wxPy_BEGIN_ALLOW_THREADS
;
5535 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5537 wxPy_END_ALLOW_THREADS
;
5538 } Py_INCREF(Py_None
);
5539 _resultobj
= Py_None
;
5543 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5544 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5547 wxTreeItemId
* _arg1
;
5548 PyObject
* _argo0
= 0;
5549 PyObject
* _argo1
= 0;
5550 char *_kwnames
[] = { "self","item", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5573 wxPy_END_ALLOW_THREADS
;
5574 } Py_INCREF(Py_None
);
5575 _resultobj
= Py_None
;
5579 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5580 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
* _resultobj
;
5582 wxTextCtrl
* _result
;
5584 wxTreeItemId
* _arg1
;
5585 PyObject
* _argo0
= 0;
5586 PyObject
* _argo1
= 0;
5587 char *_kwnames
[] = { "self","item", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5611 wxPy_END_ALLOW_THREADS
;
5613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5617 _resultobj
= Py_None
;
5622 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5623 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5625 wxTextCtrl
* _result
;
5627 PyObject
* _argo0
= 0;
5628 char *_kwnames
[] = { "self", NULL
};
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
5635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5642 wxPy_BEGIN_ALLOW_THREADS
;
5643 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
5645 wxPy_END_ALLOW_THREADS
;
5647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5648 _resultobj
= Py_BuildValue("s",_ptemp
);
5651 _resultobj
= Py_None
;
5656 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5657 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
* _resultobj
;
5660 wxTreeItemId
* _arg1
;
5661 int _arg2
= (int ) FALSE
;
5662 PyObject
* _argo0
= 0;
5663 PyObject
* _argo1
= 0;
5664 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5684 wxPy_BEGIN_ALLOW_THREADS
;
5685 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
5687 wxPy_END_ALLOW_THREADS
;
5688 } Py_INCREF(Py_None
);
5689 _resultobj
= Py_None
;
5693 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
5694 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5697 wxTreeItemId
* _arg1
;
5698 PyObject
* _argo0
= 0;
5699 PyObject
* _argo1
= 0;
5700 char *_kwnames
[] = { "self","item", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p.");
5713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
5720 wxPy_BEGIN_ALLOW_THREADS
;
5721 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
5723 wxPy_END_ALLOW_THREADS
;
5724 } Py_INCREF(Py_None
);
5725 _resultobj
= Py_None
;
5729 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5730 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5733 wxTreeItemId
* _arg1
;
5734 int _arg2
= (int ) TRUE
;
5735 PyObject
* _argo0
= 0;
5736 PyObject
* _argo1
= 0;
5737 char *_kwnames
[] = { "self","item","bold", NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5757 wxPy_BEGIN_ALLOW_THREADS
;
5758 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5760 wxPy_END_ALLOW_THREADS
;
5761 } Py_INCREF(Py_None
);
5762 _resultobj
= Py_None
;
5766 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5767 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5771 wxTreeItemId
* _arg1
;
5772 PyObject
* _argo0
= 0;
5773 PyObject
* _argo1
= 0;
5774 char *_kwnames
[] = { "self","item", NULL
};
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5794 wxPy_BEGIN_ALLOW_THREADS
;
5795 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5797 wxPy_END_ALLOW_THREADS
;
5798 } _resultobj
= Py_BuildValue("i",_result
);
5802 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5803 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5805 wxTreeItemId
* _result
;
5810 PyObject
* _argo0
= 0;
5812 PyObject
* _obj1
= 0;
5813 char *_kwnames
[] = { "self","point", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5831 if (! wxPoint_helper(_obj1
, &_arg1
))
5835 wxPy_BEGIN_ALLOW_THREADS
;
5836 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
5838 wxPy_END_ALLOW_THREADS
;
5839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5840 _resultobj
= Py_BuildValue("s",_ptemp
);
5843 o
= PyInt_FromLong((long) (*_arg2
));
5844 _resultobj
= t_output_helper(_resultobj
, o
);
5849 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
5850 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5853 wxTreeItemId
* _arg1
;
5855 PyObject
* _argo0
= 0;
5856 PyObject
* _argo1
= 0;
5857 PyObject
* _argo2
= 0;
5858 char *_kwnames
[] = { "self","item","col", NULL
};
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeCtrl_p.");
5871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
5878 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemTextColour. Expected _wxColour_p.");
5885 wxPy_BEGIN_ALLOW_THREADS
;
5886 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
5888 wxPy_END_ALLOW_THREADS
;
5889 } Py_INCREF(Py_None
);
5890 _resultobj
= Py_None
;
5894 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
5895 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5898 wxTreeItemId
* _arg1
;
5900 PyObject
* _argo0
= 0;
5901 PyObject
* _argo1
= 0;
5902 PyObject
* _argo2
= 0;
5903 char *_kwnames
[] = { "self","item","col", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeCtrl_p.");
5916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
5923 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxColour_p.");
5930 wxPy_BEGIN_ALLOW_THREADS
;
5931 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
5933 wxPy_END_ALLOW_THREADS
;
5934 } Py_INCREF(Py_None
);
5935 _resultobj
= Py_None
;
5939 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
5940 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
* _resultobj
;
5943 wxTreeItemId
* _arg1
;
5945 PyObject
* _argo0
= 0;
5946 PyObject
* _argo1
= 0;
5947 PyObject
* _argo2
= 0;
5948 char *_kwnames
[] = { "self","item","font", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxTreeCtrl_p.");
5961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
5968 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
5975 wxPy_BEGIN_ALLOW_THREADS
;
5976 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
5978 wxPy_END_ALLOW_THREADS
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
5985 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5988 wxTreeItemId
* _arg1
;
5989 int _arg2
= (int ) TRUE
;
5990 PyObject
* _argo0
= 0;
5991 PyObject
* _argo1
= 0;
5992 char *_kwnames
[] = { "self","item","highlight", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeCtrl_p.");
6005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
6012 wxPy_BEGIN_ALLOW_THREADS
;
6013 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
6015 wxPy_END_ALLOW_THREADS
;
6016 } Py_INCREF(Py_None
);
6017 _resultobj
= Py_None
;
6021 static PyObject
* wxTreeCtrl_GetBoundingRect(wxTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
6023 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
6024 bool doSave
= wxPyRestoreThread();
6025 wxRect
* r
= new wxRect(rect
);
6026 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
6027 wxPySaveThread(doSave
);
6035 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6039 wxTreeItemId
* _arg1
;
6040 int _arg2
= (int ) FALSE
;
6041 PyObject
* _argo0
= 0;
6042 PyObject
* _argo1
= 0;
6043 char *_kwnames
[] = { "self","item","textOnly", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
6051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_p.");
6056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
6063 wxPy_BEGIN_ALLOW_THREADS
;
6064 _result
= (PyObject
*)wxTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
6066 wxPy_END_ALLOW_THREADS
;
6068 _resultobj
= _result
;
6073 static PyMethodDef controls2cMethods
[] = {
6074 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
6075 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
6076 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
6077 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6078 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6079 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
6080 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
6081 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
6082 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
6083 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6084 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
6085 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6086 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
6087 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
6088 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
6089 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
6090 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
6091 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
6092 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
6093 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
6094 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
6095 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
6096 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
6097 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
6098 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
6099 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
6100 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
6101 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
6248 * This table is used by the pointer type-checker
6250 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6251 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6252 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6253 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6254 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6255 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6256 { "_wxEvent","_class_wxEvent",0},
6257 { "_class_wxActivateEvent","_wxActivateEvent",0},
6258 { "_signed_long","_long",0},
6259 { "_wxMenuEvent","_class_wxMenuEvent",0},
6260 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6261 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6262 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6263 { "_wxPrintQuality","_wxCoord",0},
6264 { "_wxPrintQuality","_int",0},
6265 { "_wxPrintQuality","_signed_int",0},
6266 { "_wxPrintQuality","_unsigned_int",0},
6267 { "_wxPrintQuality","_wxWindowID",0},
6268 { "_wxPrintQuality","_uint",0},
6269 { "_wxPrintQuality","_EBool",0},
6270 { "_wxPrintQuality","_size_t",0},
6271 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6272 { "_class_wxRegionIterator","_wxRegionIterator",0},
6273 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6274 { "_class_wxMenuBar","_wxMenuBar",0},
6275 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
6276 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6277 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6278 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6279 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6280 { "_class_wxEvtHandler","_wxEvtHandler",0},
6281 { "_wxPaintEvent","_class_wxPaintEvent",0},
6282 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6283 { "_wxCursor","_class_wxCursor",0},
6284 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6285 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6286 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6287 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
6288 { "_wxMask","_class_wxMask",0},
6289 { "_wxPen","_class_wxPen",0},
6290 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6291 { "_byte","_unsigned_char",0},
6292 { "_wxDataObject","_class_wxDataObject",0},
6293 { "_wxStaticBox","_class_wxStaticBox",0},
6294 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6295 { "_wxPyDropSource","_class_wxPyDropSource",0},
6296 { "_wxChoice","_class_wxChoice",0},
6297 { "_wxSlider","_class_wxSlider",0},
6298 { "_long","_wxDash",0},
6299 { "_long","_unsigned_long",0},
6300 { "_long","_signed_long",0},
6301 { "_wxImageList","_class_wxImageList",0},
6302 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6303 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6304 { "_wxBitmapButton","_class_wxBitmapButton",0},
6305 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6306 { "_class_wxClipboard","_wxClipboard",0},
6307 { "_class_wxGauge","_wxGauge",0},
6308 { "_wxDC","_class_wxDC",0},
6309 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6310 { "_wxListEvent","_class_wxListEvent",0},
6311 { "_wxSpinEvent","_class_wxSpinEvent",0},
6312 { "_size_t","_wxCoord",0},
6313 { "_size_t","_wxPrintQuality",0},
6314 { "_size_t","_unsigned_int",0},
6315 { "_size_t","_int",0},
6316 { "_size_t","_wxWindowID",0},
6317 { "_size_t","_uint",0},
6318 { "_class_wxRealPoint","_wxRealPoint",0},
6319 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6320 { "_wxPrinterDC","_class_wxPrinterDC",0},
6321 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6322 { "_class_wxMenuItem","_wxMenuItem",0},
6323 { "_class_wxPaintEvent","_wxPaintEvent",0},
6324 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6325 { "_wxPanel","_class_wxPanel",0},
6326 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6327 { "_wxCheckBox","_class_wxCheckBox",0},
6328 { "_wxPyEvent","_class_wxPyEvent",0},
6329 { "_wxTextCtrl","_class_wxTextCtrl",0},
6330 { "_class_wxMask","_wxMask",0},
6331 { "_wxTextDataObject","_class_wxTextDataObject",0},
6332 { "_class_wxKeyEvent","_wxKeyEvent",0},
6333 { "_wxColour","_class_wxColour",0},
6334 { "_class_wxDialog","_wxDialog",0},
6335 { "_class_wxFileDataObject","_wxFileDataObject",0},
6336 { "_wxIdleEvent","_class_wxIdleEvent",0},
6337 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6338 { "_class_wxDataObject","_wxDataObject",0},
6339 { "_wxStaticLine","_class_wxStaticLine",0},
6340 { "_wxBrush","_class_wxBrush",0},
6341 { "_wxDataFormat","_class_wxDataFormat",0},
6342 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6343 { "_wxShowEvent","_class_wxShowEvent",0},
6344 { "_uint","_wxCoord",0},
6345 { "_uint","_wxPrintQuality",0},
6346 { "_uint","_size_t",0},
6347 { "_uint","_unsigned_int",0},
6348 { "_uint","_int",0},
6349 { "_uint","_wxWindowID",0},
6350 { "_wxPyValidator","_class_wxPyValidator",0},
6351 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6352 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
6353 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
6354 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
6355 { "_class_wxEvent","_wxEvent",0},
6356 { "_wxCheckListBox","_class_wxCheckListBox",0},
6357 { "_wxRect","_class_wxRect",0},
6358 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6359 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6360 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6361 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6362 { "_wxCommandEvent","_class_wxCommandEvent",0},
6363 { "_wxSizeEvent","_class_wxSizeEvent",0},
6364 { "_wxPoint","_class_wxPoint",0},
6365 { "_class_wxButton","_wxButton",0},
6366 { "_wxRadioBox","_class_wxRadioBox",0},
6367 { "_wxBitmap","_class_wxBitmap",0},
6368 { "_wxPyTimer","_class_wxPyTimer",0},
6369 { "_wxWindowDC","_class_wxWindowDC",0},
6370 { "_wxScrollBar","_class_wxScrollBar",0},
6371 { "_wxSpinButton","_class_wxSpinButton",0},
6372 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6373 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6374 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
6375 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6376 { "_class_wxValidator","_wxValidator",0},
6377 { "_class_wxPyEvent","_wxPyEvent",0},
6378 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6379 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6380 { "_wxListItem","_class_wxListItem",0},
6381 { "_wxDropTarget","_class_wxDropTarget",0},
6382 { "_class_wxStaticLine","_wxStaticLine",0},
6383 { "_wxScrollEvent","_class_wxScrollEvent",0},
6384 { "_EBool","_wxCoord",0},
6385 { "_EBool","_wxPrintQuality",0},
6386 { "_EBool","_signed_int",0},
6387 { "_EBool","_int",0},
6388 { "_EBool","_wxWindowID",0},
6389 { "_class_wxRegion","_wxRegion",0},
6390 { "_class_wxDataFormat","_wxDataFormat",0},
6391 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6392 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6393 { "_wxStaticText","_class_wxStaticText",0},
6394 { "_wxFont","_class_wxFont",0},
6395 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6396 { "_wxCloseEvent","_class_wxCloseEvent",0},
6397 { "_unsigned_long","_wxDash",0},
6398 { "_unsigned_long","_long",0},
6399 { "_class_wxRect","_wxRect",0},
6400 { "_class_wxDC","_wxDC",0},
6401 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6402 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6403 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6404 { "_class_wxTreeEvent","_wxTreeEvent",0},
6405 { "_class_wxPyTimer","_wxPyTimer",0},
6406 { "_wxFocusEvent","_class_wxFocusEvent",0},
6407 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6408 { "_class_wxSpinButton","_wxSpinButton",0},
6409 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6410 { "_class_wxPanel","_wxPanel",0},
6411 { "_class_wxCheckBox","_wxCheckBox",0},
6412 { "_wxComboBox","_class_wxComboBox",0},
6413 { "_wxRadioButton","_class_wxRadioButton",0},
6414 { "_signed_int","_wxCoord",0},
6415 { "_signed_int","_wxPrintQuality",0},
6416 { "_signed_int","_EBool",0},
6417 { "_signed_int","_wxWindowID",0},
6418 { "_signed_int","_int",0},
6419 { "_class_wxTextCtrl","_wxTextCtrl",0},
6420 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6421 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6422 { "_class_wxTextDataObject","_wxTextDataObject",0},
6423 { "_wxMenu","_class_wxMenu",0},
6424 { "_class_wxMoveEvent","_wxMoveEvent",0},
6425 { "_wxListBox","_class_wxListBox",0},
6426 { "_wxScreenDC","_class_wxScreenDC",0},
6427 { "_WXTYPE","_short",0},
6428 { "_WXTYPE","_signed_short",0},
6429 { "_WXTYPE","_unsigned_short",0},
6430 { "_class_wxDropTarget","_wxDropTarget",0},
6431 { "_class_wxBrush","_wxBrush",0},
6432 { "_unsigned_short","_WXTYPE",0},
6433 { "_unsigned_short","_short",0},
6434 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6435 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6436 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6437 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6438 { "_class_wxWindow","_wxWindow",0},
6439 { "_class_wxStaticText","_wxStaticText",0},
6440 { "_class_wxFont","_wxFont",0},
6441 { "_wxClipboard","_class_wxClipboard",0},
6442 { "_class_wxPyValidator","_wxPyValidator",0},
6443 { "_class_wxCloseEvent","_wxCloseEvent",0},
6444 { "_wxBusyInfo","_class_wxBusyInfo",0},
6445 { "_class_wxMenuEvent","_wxMenuEvent",0},
6446 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6447 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
6448 { "_wxClientDC","_class_wxClientDC",0},
6449 { "_wxMouseEvent","_class_wxMouseEvent",0},
6450 { "_wxListCtrl","_class_wxListCtrl",0},
6451 { "_class_wxPoint","_wxPoint",0},
6452 { "_wxRealPoint","_class_wxRealPoint",0},
6453 { "_class_wxRadioBox","_wxRadioBox",0},
6454 { "_signed_short","_WXTYPE",0},
6455 { "_signed_short","_short",0},
6456 { "_wxMemoryDC","_class_wxMemoryDC",0},
6457 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
6458 { "_wxPaintDC","_class_wxPaintDC",0},
6459 { "_class_wxWindowDC","_wxWindowDC",0},
6460 { "_class_wxFocusEvent","_wxFocusEvent",0},
6461 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6462 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6463 { "_class_wxCursor","_wxCursor",0},
6464 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6465 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6466 { "_wxTreeItemId","_class_wxTreeItemId",0},
6467 { "_unsigned_char","_byte",0},
6468 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6469 { "_class_wxMenu","_wxMenu",0},
6470 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6471 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6472 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6473 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6474 { "_wxControl","_class_wxControl",0},
6475 { "_class_wxListBox","_wxListBox",0},
6476 { "_unsigned_int","_wxCoord",0},
6477 { "_unsigned_int","_wxPrintQuality",0},
6478 { "_unsigned_int","_size_t",0},
6479 { "_unsigned_int","_uint",0},
6480 { "_unsigned_int","_wxWindowID",0},
6481 { "_unsigned_int","_int",0},
6482 { "_wxIcon","_class_wxIcon",0},
6483 { "_wxDialog","_class_wxDialog",0},
6484 { "_class_wxListItem","_wxListItem",0},
6485 { "_class_wxPen","_wxPen",0},
6486 { "_short","_WXTYPE",0},
6487 { "_short","_unsigned_short",0},
6488 { "_short","_signed_short",0},
6489 { "_class_wxStaticBox","_wxStaticBox",0},
6490 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6491 { "_class_wxPyDropSource","_wxPyDropSource",0},
6492 { "_class_wxScrollEvent","_wxScrollEvent",0},
6493 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6494 { "_class_wxChoice","_wxChoice",0},
6495 { "_class_wxSlider","_wxSlider",0},
6496 { "_class_wxImageList","_wxImageList",0},
6497 { "_class_wxBitmapButton","_wxBitmapButton",0},
6498 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6499 { "_wxWindowID","_wxCoord",0},
6500 { "_wxWindowID","_wxPrintQuality",0},
6501 { "_wxWindowID","_size_t",0},
6502 { "_wxWindowID","_EBool",0},
6503 { "_wxWindowID","_uint",0},
6504 { "_wxWindowID","_int",0},
6505 { "_wxWindowID","_signed_int",0},
6506 { "_wxWindowID","_unsigned_int",0},
6507 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6508 { "_int","_wxCoord",0},
6509 { "_int","_wxPrintQuality",0},
6510 { "_int","_size_t",0},
6511 { "_int","_EBool",0},
6512 { "_int","_uint",0},
6513 { "_int","_wxWindowID",0},
6514 { "_int","_unsigned_int",0},
6515 { "_int","_signed_int",0},
6516 { "_class_wxMouseEvent","_wxMouseEvent",0},
6517 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6518 { "_class_wxListEvent","_wxListEvent",0},
6519 { "_class_wxSpinEvent","_wxSpinEvent",0},
6520 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6521 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6522 { "_wxButton","_class_wxButton",0},
6523 { "_wxSize","_class_wxSize",0},
6524 { "_wxRegionIterator","_class_wxRegionIterator",0},
6525 { "_class_wxPrinterDC","_wxPrinterDC",0},
6526 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6527 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6528 { "_class_wxPaintDC","_wxPaintDC",0},
6529 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6530 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6531 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6532 { "_class_wxComboBox","_wxComboBox",0},
6533 { "_class_wxRadioButton","_wxRadioButton",0},
6534 { "_wxValidator","_class_wxValidator",0},
6535 { "_class_wxTreeItemId","_wxTreeItemId",0},
6536 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6537 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6538 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6539 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6540 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6541 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6542 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6543 { "_class_wxControl","_wxControl",0},
6544 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6545 { "_class_wxIcon","_wxIcon",0},
6546 { "_class_wxColour","_wxColour",0},
6547 { "_class_wxScreenDC","_wxScreenDC",0},
6548 { "_wxPalette","_class_wxPalette",0},
6549 { "_class_wxIdleEvent","_wxIdleEvent",0},
6550 { "_wxCoord","_int",0},
6551 { "_wxCoord","_signed_int",0},
6552 { "_wxCoord","_unsigned_int",0},
6553 { "_wxCoord","_wxWindowID",0},
6554 { "_wxCoord","_uint",0},
6555 { "_wxCoord","_EBool",0},
6556 { "_wxCoord","_size_t",0},
6557 { "_wxCoord","_wxPrintQuality",0},
6558 { "_wxEraseEvent","_class_wxEraseEvent",0},
6559 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6560 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6561 { "_wxRegion","_class_wxRegion",0},
6562 { "_class_wxShowEvent","_wxShowEvent",0},
6563 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6564 { "_wxActivateEvent","_class_wxActivateEvent",0},
6565 { "_wxGauge","_class_wxGauge",0},
6566 { "_class_wxCheckListBox","_wxCheckListBox",0},
6567 { "_class_wxBusyInfo","_wxBusyInfo",0},
6568 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6569 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6570 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6571 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6572 { "_class_wxCommandEvent","_wxCommandEvent",0},
6573 { "_class_wxClientDC","_wxClientDC",0},
6574 { "_class_wxSizeEvent","_wxSizeEvent",0},
6575 { "_class_wxListCtrl","_wxListCtrl",0},
6576 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6577 { "_class_wxSize","_wxSize",0},
6578 { "_class_wxBitmap","_wxBitmap",0},
6579 { "_class_wxMemoryDC","_wxMemoryDC",0},
6580 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6581 { "_wxMenuBar","_class_wxMenuBar",0},
6582 { "_wxTreeEvent","_class_wxTreeEvent",0},
6583 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6584 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6585 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6586 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6587 { "_wxEvtHandler","_class_wxEvtHandler",0},
6588 { "_wxMenuItem","_class_wxMenuItem",0},
6589 { "_class_wxScrollBar","_wxScrollBar",0},
6590 { "_wxDash","_unsigned_long",0},
6591 { "_wxDash","_long",0},
6592 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6593 { "_wxKeyEvent","_class_wxKeyEvent",0},
6594 { "_wxMoveEvent","_class_wxMoveEvent",0},
6595 { "_class_wxPalette","_wxPalette",0},
6596 { "_wxFileDataObject","_class_wxFileDataObject",0},
6597 { "_class_wxEraseEvent","_wxEraseEvent",0},
6598 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6599 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6600 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6601 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6602 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6603 { "_wxWindow","_class_wxWindow",0},
6604 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6607 static PyObject
*SWIG_globals
;
6611 SWIGEXPORT(void) initcontrols2c() {
6613 SWIG_globals
= SWIG_newvarlink();
6614 m
= Py_InitModule("controls2c", controls2cMethods
);
6615 d
= PyModule_GetDict(m
);
6616 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
6617 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
6618 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
6619 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
6620 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
6621 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
6622 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
6623 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
6624 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
6625 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
6626 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
6627 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
6628 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
6629 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
6630 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
6631 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
6632 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
6633 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
6634 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
6635 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
6636 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
6637 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
6638 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6639 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6640 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6641 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6642 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6643 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6644 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6645 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6646 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6647 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6648 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6649 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6650 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6651 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6652 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6653 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6654 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6655 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6656 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6657 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6658 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6659 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
6660 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
6661 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
6662 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
6663 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
6664 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
6665 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
6666 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
6667 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
6668 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
6669 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
6670 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
6671 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
6672 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
6673 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
6674 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
6675 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
6676 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
6677 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
6680 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6681 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);