2 * FILE : gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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"
57 #include <wx/listctrl.h>
58 #include <wx/treectrl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 extern wxValidator wxPyDefaultValidator
;
122 class wxPyTreeItemData
: public wxTreeItemData
{
124 wxPyTreeItemData(PyObject
* obj
= NULL
) {
131 ~wxPyTreeItemData() {
132 #ifdef WXP_WITH_THREAD
133 PyEval_RestoreThread(wxPyEventThreadState
);
136 #ifdef WXP_WITH_THREAD
141 PyObject
* GetData() {
146 void SetData(PyObject
* obj
) {
157 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
158 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
159 PyObject
* _resultobj
;
163 PyObject
* _argo0
= 0;
164 char *_kwnames
[] = { "self","m_mask", NULL
};
167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
177 wxPy_BEGIN_ALLOW_THREADS
;
178 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
180 wxPy_END_ALLOW_THREADS
;
181 } _resultobj
= Py_BuildValue("l",_result
);
185 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
186 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
187 PyObject
* _resultobj
;
190 PyObject
* _argo0
= 0;
191 char *_kwnames
[] = { "self", NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
204 wxPy_BEGIN_ALLOW_THREADS
;
205 _result
= (long )wxListItem_m_mask_get(_arg0
);
207 wxPy_END_ALLOW_THREADS
;
208 } _resultobj
= Py_BuildValue("l",_result
);
212 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
213 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
214 PyObject
* _resultobj
;
218 PyObject
* _argo0
= 0;
219 char *_kwnames
[] = { "self","m_itemId", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
232 wxPy_BEGIN_ALLOW_THREADS
;
233 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
235 wxPy_END_ALLOW_THREADS
;
236 } _resultobj
= Py_BuildValue("l",_result
);
240 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
241 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
245 PyObject
* _argo0
= 0;
246 char *_kwnames
[] = { "self", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
259 wxPy_BEGIN_ALLOW_THREADS
;
260 _result
= (long )wxListItem_m_itemId_get(_arg0
);
262 wxPy_END_ALLOW_THREADS
;
263 } _resultobj
= Py_BuildValue("l",_result
);
267 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
268 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
273 PyObject
* _argo0
= 0;
274 char *_kwnames
[] = { "self","m_col", NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
287 wxPy_BEGIN_ALLOW_THREADS
;
288 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
290 wxPy_END_ALLOW_THREADS
;
291 } _resultobj
= Py_BuildValue("i",_result
);
295 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
296 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
297 PyObject
* _resultobj
;
300 PyObject
* _argo0
= 0;
301 char *_kwnames
[] = { "self", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
314 wxPy_BEGIN_ALLOW_THREADS
;
315 _result
= (int )wxListItem_m_col_get(_arg0
);
317 wxPy_END_ALLOW_THREADS
;
318 } _resultobj
= Py_BuildValue("i",_result
);
322 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
323 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
328 PyObject
* _argo0
= 0;
329 char *_kwnames
[] = { "self","m_state", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
345 wxPy_END_ALLOW_THREADS
;
346 } _resultobj
= Py_BuildValue("l",_result
);
350 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
351 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
355 PyObject
* _argo0
= 0;
356 char *_kwnames
[] = { "self", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
369 wxPy_BEGIN_ALLOW_THREADS
;
370 _result
= (long )wxListItem_m_state_get(_arg0
);
372 wxPy_END_ALLOW_THREADS
;
373 } _resultobj
= Py_BuildValue("l",_result
);
377 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
378 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self","m_stateMask", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
400 wxPy_END_ALLOW_THREADS
;
401 } _resultobj
= Py_BuildValue("l",_result
);
405 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
406 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
410 PyObject
* _argo0
= 0;
411 char *_kwnames
[] = { "self", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
424 wxPy_BEGIN_ALLOW_THREADS
;
425 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
427 wxPy_END_ALLOW_THREADS
;
428 } _resultobj
= Py_BuildValue("l",_result
);
432 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
433 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
438 PyObject
* _argo0
= 0;
439 PyObject
* _obj1
= 0;
440 char *_kwnames
[] = { "self","m_text", NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
453 if (!PyString_Check(_obj1
)) {
454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
457 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
460 wxPy_BEGIN_ALLOW_THREADS
;
461 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
463 wxPy_END_ALLOW_THREADS
;
465 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
474 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
475 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
479 PyObject
* _argo0
= 0;
480 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
496 wxPy_END_ALLOW_THREADS
;
498 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
503 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
504 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self","m_image", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
523 wxPy_BEGIN_ALLOW_THREADS
;
524 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
526 wxPy_END_ALLOW_THREADS
;
527 } _resultobj
= Py_BuildValue("i",_result
);
531 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
532 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
533 PyObject
* _resultobj
;
536 PyObject
* _argo0
= 0;
537 char *_kwnames
[] = { "self", NULL
};
540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
550 wxPy_BEGIN_ALLOW_THREADS
;
551 _result
= (int )wxListItem_m_image_get(_arg0
);
553 wxPy_END_ALLOW_THREADS
;
554 } _resultobj
= Py_BuildValue("i",_result
);
558 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
559 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
564 PyObject
* _argo0
= 0;
565 char *_kwnames
[] = { "self","m_data", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
581 wxPy_END_ALLOW_THREADS
;
582 } _resultobj
= Py_BuildValue("l",_result
);
586 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
587 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
605 wxPy_BEGIN_ALLOW_THREADS
;
606 _result
= (long )wxListItem_m_data_get(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
609 } _resultobj
= Py_BuildValue("l",_result
);
613 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
614 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self","m_format", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
636 wxPy_END_ALLOW_THREADS
;
637 } _resultobj
= Py_BuildValue("i",_result
);
641 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
642 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
646 PyObject
* _argo0
= 0;
647 char *_kwnames
[] = { "self", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= (int )wxListItem_m_format_get(_arg0
);
663 wxPy_END_ALLOW_THREADS
;
664 } _resultobj
= Py_BuildValue("i",_result
);
668 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
669 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
670 PyObject
* _resultobj
;
674 PyObject
* _argo0
= 0;
675 char *_kwnames
[] = { "self","m_width", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
691 wxPy_END_ALLOW_THREADS
;
692 } _resultobj
= Py_BuildValue("i",_result
);
696 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
697 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
701 PyObject
* _argo0
= 0;
702 char *_kwnames
[] = { "self", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
715 wxPy_BEGIN_ALLOW_THREADS
;
716 _result
= (int )wxListItem_m_width_get(_arg0
);
718 wxPy_END_ALLOW_THREADS
;
719 } _resultobj
= Py_BuildValue("i",_result
);
723 #define new_wxListItem() (new wxListItem())
724 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
726 wxListItem
* _result
;
727 char *_kwnames
[] = { NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
734 wxPy_BEGIN_ALLOW_THREADS
;
735 _result
= (wxListItem
*)new_wxListItem();
737 wxPy_END_ALLOW_THREADS
;
739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
740 _resultobj
= Py_BuildValue("s",_ptemp
);
743 _resultobj
= Py_None
;
748 #define delete_wxListItem(_swigobj) (delete _swigobj)
749 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 PyObject
* _argo0
= 0;
753 char *_kwnames
[] = { "self", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
766 wxPy_BEGIN_ALLOW_THREADS
;
767 delete_wxListItem(_arg0
);
769 wxPy_END_ALLOW_THREADS
;
770 } Py_INCREF(Py_None
);
771 _resultobj
= Py_None
;
775 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
777 wxCommandEvent
*dest
;
778 src
= (wxListEvent
*) ptr
;
779 dest
= (wxCommandEvent
*) src
;
780 return (void *) dest
;
783 static void *SwigwxListEventTowxEvent(void *ptr
) {
786 src
= (wxListEvent
*) ptr
;
787 dest
= (wxEvent
*) src
;
788 return (void *) dest
;
791 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
792 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self","m_code", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
811 wxPy_BEGIN_ALLOW_THREADS
;
812 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
814 wxPy_END_ALLOW_THREADS
;
815 } _resultobj
= Py_BuildValue("i",_result
);
819 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
820 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (int )wxListEvent_m_code_get(_arg0
);
841 wxPy_END_ALLOW_THREADS
;
842 } _resultobj
= Py_BuildValue("i",_result
);
846 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
847 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
852 PyObject
* _argo0
= 0;
853 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
866 wxPy_BEGIN_ALLOW_THREADS
;
867 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
869 wxPy_END_ALLOW_THREADS
;
870 } _resultobj
= Py_BuildValue("l",_result
);
874 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
875 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
896 wxPy_END_ALLOW_THREADS
;
897 } _resultobj
= Py_BuildValue("l",_result
);
901 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
902 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
924 wxPy_END_ALLOW_THREADS
;
925 } _resultobj
= Py_BuildValue("l",_result
);
929 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
930 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
948 wxPy_BEGIN_ALLOW_THREADS
;
949 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
951 wxPy_END_ALLOW_THREADS
;
952 } _resultobj
= Py_BuildValue("l",_result
);
956 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
957 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 PyObject
* _resultobj
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self","m_col", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
976 wxPy_BEGIN_ALLOW_THREADS
;
977 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
979 wxPy_END_ALLOW_THREADS
;
980 } _resultobj
= Py_BuildValue("i",_result
);
984 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
985 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
986 PyObject
* _resultobj
;
989 PyObject
* _argo0
= 0;
990 char *_kwnames
[] = { "self", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
1003 wxPy_BEGIN_ALLOW_THREADS
;
1004 _result
= (int )wxListEvent_m_col_get(_arg0
);
1006 wxPy_END_ALLOW_THREADS
;
1007 } _resultobj
= Py_BuildValue("i",_result
);
1011 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
1012 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1015 wxListEvent
* _arg0
;
1017 PyObject
* _argo0
= 0;
1019 char *_kwnames
[] = { "self","m_cancelled", NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
1025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
1031 _arg1
= (bool ) tempbool1
;
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } _resultobj
= Py_BuildValue("i",_result
);
1041 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
1042 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxListEvent
* _arg0
;
1046 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } _resultobj
= Py_BuildValue("i",_result
);
1068 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
1069 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 wxListEvent
* _arg0
;
1074 PyObject
* _argo0
= 0;
1075 PyObject
* _argo1
= 0;
1076 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_argo1
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
1090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_pointDrag_set. Expected _wxPoint_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
1100 wxPy_END_ALLOW_THREADS
;
1102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1103 _resultobj
= Py_BuildValue("s",_ptemp
);
1106 _resultobj
= Py_None
;
1111 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
1112 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1115 wxListEvent
* _arg0
;
1116 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
1134 wxPy_END_ALLOW_THREADS
;
1136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1137 _resultobj
= Py_BuildValue("s",_ptemp
);
1140 _resultobj
= Py_None
;
1145 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
1146 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1148 wxListItem
* _result
;
1149 wxListEvent
* _arg0
;
1151 PyObject
* _argo0
= 0;
1152 PyObject
* _argo1
= 0;
1153 char *_kwnames
[] = { "self","m_item", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
1167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
1177 wxPy_END_ALLOW_THREADS
;
1179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1180 _resultobj
= Py_BuildValue("s",_ptemp
);
1183 _resultobj
= Py_None
;
1188 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
1189 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1191 wxListItem
* _result
;
1192 wxListEvent
* _arg0
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
1211 wxPy_END_ALLOW_THREADS
;
1213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1214 _resultobj
= Py_BuildValue("s",_ptemp
);
1217 _resultobj
= Py_None
;
1222 static void *SwigwxListCtrlTowxControl(void *ptr
) {
1225 src
= (wxListCtrl
*) ptr
;
1226 dest
= (wxControl
*) src
;
1227 return (void *) dest
;
1230 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
1233 src
= (wxListCtrl
*) ptr
;
1234 dest
= (wxWindow
*) src
;
1235 return (void *) dest
;
1238 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
1241 src
= (wxListCtrl
*) ptr
;
1242 dest
= (wxEvtHandler
*) src
;
1243 return (void *) dest
;
1246 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1247 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1249 wxListCtrl
* _result
;
1252 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1253 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1254 long _arg4
= (long ) wxLC_ICON
;
1255 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
1256 char * _arg6
= (char *) "listCtrl";
1257 PyObject
* _argo0
= 0;
1258 PyObject
* _argo2
= 0;
1259 PyObject
* _argo3
= 0;
1260 PyObject
* _argo5
= 0;
1261 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
1275 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p.");
1282 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p.");
1289 if (_argo5
== Py_None
) { _arg5
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
1296 wxPy_BEGIN_ALLOW_THREADS
;
1297 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
1299 wxPy_END_ALLOW_THREADS
;
1301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
1302 _resultobj
= Py_BuildValue("s",_ptemp
);
1305 _resultobj
= Py_None
;
1310 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
1311 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1315 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self","flag", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("i",_result
);
1338 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
1339 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self","item", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } _resultobj
= Py_BuildValue("i",_result
);
1366 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
1367 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
1394 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self","col", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
1416 wxPy_END_ALLOW_THREADS
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
1422 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1448 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
1449 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 wxListCtrl_ClearAll(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } Py_INCREF(Py_None
);
1471 _resultobj
= Py_None
;
1475 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
1476 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self","item", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 wxListCtrl_EditLabel(_arg0
,_arg1
);
1497 wxPy_END_ALLOW_THREADS
;
1498 } Py_INCREF(Py_None
);
1499 _resultobj
= Py_None
;
1503 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1504 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self","item", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1526 wxPy_END_ALLOW_THREADS
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1532 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1538 bool _arg3
= (bool ) FALSE
;
1539 PyObject
* _argo0
= 0;
1540 PyObject
* _obj2
= 0;
1541 int tempbool3
= (int) FALSE
;
1542 char *_kwnames
[] = { "self","start","str","partial", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1555 if (!PyString_Check(_obj2
)) {
1556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1559 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1561 _arg3
= (bool ) tempbool3
;
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } _resultobj
= Py_BuildValue("l",_result
);
1575 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1576 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1582 PyObject
* _argo0
= 0;
1583 char *_kwnames
[] = { "self","start","data", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1596 wxPy_BEGIN_ALLOW_THREADS
;
1597 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1599 wxPy_END_ALLOW_THREADS
;
1600 } _resultobj
= Py_BuildValue("l",_result
);
1604 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1605 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _argo2
= 0;
1614 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1627 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1637 wxPy_END_ALLOW_THREADS
;
1638 } _resultobj
= Py_BuildValue("l",_result
);
1642 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1643 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 PyObject
* _argo2
= 0;
1651 char *_kwnames
[] = { "self","col","item", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1664 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1674 wxPy_END_ALLOW_THREADS
;
1675 } _resultobj
= Py_BuildValue("i",_result
);
1679 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1680 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self","col", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1702 wxPy_END_ALLOW_THREADS
;
1703 } _resultobj
= Py_BuildValue("i",_result
);
1707 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1708 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1726 wxPy_BEGIN_ALLOW_THREADS
;
1727 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1729 wxPy_END_ALLOW_THREADS
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1735 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxImageList
* _result
;
1740 PyObject
* _argo0
= 0;
1741 char *_kwnames
[] = { "self","which", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
1760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1761 _resultobj
= Py_BuildValue("s",_ptemp
);
1764 _resultobj
= Py_None
;
1769 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1770 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self","item", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("l",_result
);
1797 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1798 wxListItem
* info
= new wxListItem
;
1799 info
->m_itemId
= itemId
;
1800 self
->GetItem(*info
);
1803 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1805 wxListItem
* _result
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self","itemId", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1826 wxPy_END_ALLOW_THREADS
;
1828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1829 _resultobj
= Py_BuildValue("s",_ptemp
);
1832 _resultobj
= Py_None
;
1837 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1838 wxPoint
* pos
= new wxPoint
;
1839 self
->GetItemPosition(item
, *pos
);
1842 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self","item", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1865 wxPy_END_ALLOW_THREADS
;
1867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1868 _resultobj
= Py_BuildValue("s",_ptemp
);
1871 _resultobj
= Py_None
;
1876 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1877 wxRect
* rect
= new wxRect
;
1878 self
->GetItemRect(item
, *rect
, code
);
1881 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1886 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","item","code", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1905 wxPy_END_ALLOW_THREADS
;
1907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1908 _resultobj
= Py_BuildValue("s",_ptemp
);
1911 _resultobj
= Py_None
;
1916 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1917 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1937 wxPy_BEGIN_ALLOW_THREADS
;
1938 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
1940 wxPy_END_ALLOW_THREADS
;
1941 } _resultobj
= Py_BuildValue("i",_result
);
1945 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1946 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } _resultobj
= Py_BuildValue("i",_result
);
1972 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1973 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1978 PyObject
* _argo0
= 0;
1980 char *_kwnames
[] = { "self","isSmall", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1992 _arg1
= (bool ) tempbool1
;
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
1997 wxPy_END_ALLOW_THREADS
;
1998 } _resultobj
= Py_BuildValue("i",_result
);
2002 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2003 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
* _resultobj
;
2008 PyObject
* _argo0
= 0;
2009 char *_kwnames
[] = { "self","item", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2025 wxPy_END_ALLOW_THREADS
;
2027 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2035 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2036 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2041 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2042 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } _resultobj
= Py_BuildValue("l",_result
);
2065 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2066 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } _resultobj
= Py_BuildValue("i",_result
);
2092 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2093 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } _resultobj
= Py_BuildValue("l",_result
);
2119 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2120 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2127 PyObject
* _argo0
= 0;
2128 PyObject
* _argo1
= 0;
2129 char *_kwnames
[] = { "self","point", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_argo1
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2155 wxPy_END_ALLOW_THREADS
;
2156 } _resultobj
= Py_BuildValue("l",_result
);
2159 o
= PyInt_FromLong((long) (*_arg2
));
2160 _resultobj
= t_output_helper(_resultobj
, o
);
2165 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2166 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2172 PyObject
* _argo0
= 0;
2173 PyObject
* _argo2
= 0;
2174 char *_kwnames
[] = { "self","col","info", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2187 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2194 wxPy_BEGIN_ALLOW_THREADS
;
2195 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2197 wxPy_END_ALLOW_THREADS
;
2198 } _resultobj
= Py_BuildValue("l",_result
);
2202 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2203 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2209 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2210 int _arg4
= (int ) -1;
2211 PyObject
* _argo0
= 0;
2212 PyObject
* _obj2
= 0;
2213 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2226 if (!PyString_Check(_obj2
)) {
2227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2230 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2236 wxPy_END_ALLOW_THREADS
;
2237 } _resultobj
= Py_BuildValue("l",_result
);
2245 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2246 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
* _resultobj
;
2251 PyObject
* _argo0
= 0;
2252 PyObject
* _argo1
= 0;
2253 char *_kwnames
[] = { "self","info", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2276 wxPy_END_ALLOW_THREADS
;
2277 } _resultobj
= Py_BuildValue("l",_result
);
2281 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2282 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 PyObject
* _obj2
= 0;
2290 char *_kwnames
[] = { "self","index","label", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2303 if (!PyString_Check(_obj2
)) {
2304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2307 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } _resultobj
= Py_BuildValue("l",_result
);
2322 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2323 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2330 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } _resultobj
= Py_BuildValue("l",_result
);
2351 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2352 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2359 PyObject
* _argo0
= 0;
2360 PyObject
* _obj2
= 0;
2361 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2374 if (!PyString_Check(_obj2
)) {
2375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2378 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } _resultobj
= Py_BuildValue("l",_result
);
2393 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2394 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
* _resultobj
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self","dx","dy", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2414 wxPy_BEGIN_ALLOW_THREADS
;
2415 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2417 wxPy_END_ALLOW_THREADS
;
2418 } _resultobj
= Py_BuildValue("i",_result
);
2422 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2423 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2427 PyObject
* _argo0
= 0;
2428 PyObject
* _argo1
= 0;
2429 char *_kwnames
[] = { "self","col", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2449 wxPy_BEGIN_ALLOW_THREADS
;
2450 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2452 wxPy_END_ALLOW_THREADS
;
2453 } Py_INCREF(Py_None
);
2454 _resultobj
= Py_None
;
2458 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2459 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2465 PyObject
* _argo0
= 0;
2466 PyObject
* _argo2
= 0;
2467 char *_kwnames
[] = { "self","col","item", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2480 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } _resultobj
= Py_BuildValue("i",_result
);
2495 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2496 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2502 PyObject
* _argo0
= 0;
2503 char *_kwnames
[] = { "self","col","width", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetColumnWidth. Expected _wxListCtrl_p.");
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } _resultobj
= Py_BuildValue("i",_result
);
2524 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2525 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2528 wxImageList
* _arg1
;
2530 PyObject
* _argo0
= 0;
2531 PyObject
* _argo1
= 0;
2532 char *_kwnames
[] = { "self","imageList","which", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2555 wxPy_END_ALLOW_THREADS
;
2556 } Py_INCREF(Py_None
);
2557 _resultobj
= Py_None
;
2561 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2562 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2567 PyObject
* _argo0
= 0;
2568 PyObject
* _argo1
= 0;
2569 char *_kwnames
[] = { "self","info", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2597 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2598 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2605 int _arg4
= (int ) -1;
2606 PyObject
* _argo0
= 0;
2607 PyObject
* _obj3
= 0;
2608 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2621 if (!PyString_Check(_obj3
)) {
2622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2625 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2628 wxPy_BEGIN_ALLOW_THREADS
;
2629 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2631 wxPy_END_ALLOW_THREADS
;
2632 } _resultobj
= Py_BuildValue("l",_result
);
2640 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2641 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self","item","data", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2661 wxPy_BEGIN_ALLOW_THREADS
;
2662 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2664 wxPy_END_ALLOW_THREADS
;
2665 } _resultobj
= Py_BuildValue("i",_result
);
2669 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2670 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2694 wxPy_END_ALLOW_THREADS
;
2695 } _resultobj
= Py_BuildValue("i",_result
);
2699 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2700 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2706 PyObject
* _argo0
= 0;
2707 PyObject
* _argo2
= 0;
2708 char *_kwnames
[] = { "self","item","pos", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2721 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2728 wxPy_BEGIN_ALLOW_THREADS
;
2729 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2731 wxPy_END_ALLOW_THREADS
;
2732 } _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2737 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2758 wxPy_BEGIN_ALLOW_THREADS
;
2759 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2761 wxPy_END_ALLOW_THREADS
;
2762 } _resultobj
= Py_BuildValue("i",_result
);
2766 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2767 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 PyObject
* _obj2
= 0;
2774 char *_kwnames
[] = { "self","item","text", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2787 if (!PyString_Check(_obj2
)) {
2788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2791 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2797 wxPy_END_ALLOW_THREADS
;
2798 } Py_INCREF(Py_None
);
2799 _resultobj
= Py_None
;
2807 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2808 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2812 bool _arg2
= (bool ) TRUE
;
2813 PyObject
* _argo0
= 0;
2814 int tempbool2
= (int) TRUE
;
2815 char *_kwnames
[] = { "self","style","add", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2827 _arg2
= (bool ) tempbool2
;
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2832 wxPy_END_ALLOW_THREADS
;
2833 } Py_INCREF(Py_None
);
2834 _resultobj
= Py_None
;
2838 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2839 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self","style", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 #define new_wxTreeItemId() (new wxTreeItemId())
2867 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2869 wxTreeItemId
* _result
;
2870 char *_kwnames
[] = { NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 _result
= (wxTreeItemId
*)new_wxTreeItemId();
2880 wxPy_END_ALLOW_THREADS
;
2882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
2883 _resultobj
= Py_BuildValue("s",_ptemp
);
2886 _resultobj
= Py_None
;
2891 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2892 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2894 wxTreeItemId
* _arg0
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 delete_wxTreeItemId(_arg0
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2919 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2922 wxTreeItemId
* _arg0
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2937 wxPy_BEGIN_ALLOW_THREADS
;
2938 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
2940 wxPy_END_ALLOW_THREADS
;
2941 } _resultobj
= Py_BuildValue("i",_result
);
2945 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
2946 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxPyTreeItemData
* _result
;
2949 PyObject
* _arg0
= (PyObject
*) NULL
;
2950 PyObject
* _obj0
= 0;
2951 char *_kwnames
[] = { "obj", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
2965 wxPy_END_ALLOW_THREADS
;
2967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
2968 _resultobj
= Py_BuildValue("s",_ptemp
);
2971 _resultobj
= Py_None
;
2976 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
2977 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2980 wxPyTreeItemData
* _arg0
;
2981 PyObject
* _argo0
= 0;
2982 char *_kwnames
[] = { "self", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
2998 wxPy_END_ALLOW_THREADS
;
3000 _resultobj
= _result
;
3005 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3006 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3008 wxPyTreeItemData
* _arg0
;
3010 PyObject
* _argo0
= 0;
3011 PyObject
* _obj1
= 0;
3012 char *_kwnames
[] = { "self","obj", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3028 wxPy_BEGIN_ALLOW_THREADS
;
3029 wxTreeItemData_SetData(_arg0
,_arg1
);
3031 wxPy_END_ALLOW_THREADS
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3038 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxTreeItemId
* _result
;
3041 wxPyTreeItemData
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3057 wxPy_BEGIN_ALLOW_THREADS
;
3058 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3059 _result
= (wxTreeItemId
*) &_result_ref
;
3061 wxPy_END_ALLOW_THREADS
;
3063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3064 _resultobj
= Py_BuildValue("s",_ptemp
);
3067 _resultobj
= Py_None
;
3072 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3073 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3075 wxPyTreeItemData
* _arg0
;
3076 wxTreeItemId
* _arg1
;
3077 PyObject
* _argo0
= 0;
3078 PyObject
* _argo1
= 0;
3079 char *_kwnames
[] = { "self","id", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 wxTreeItemData_SetId(_arg0
,*_arg1
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3110 wxNotifyEvent
*dest
;
3111 src
= (wxTreeEvent
*) ptr
;
3112 dest
= (wxNotifyEvent
*) src
;
3113 return (void *) dest
;
3116 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3118 wxCommandEvent
*dest
;
3119 src
= (wxTreeEvent
*) ptr
;
3120 dest
= (wxCommandEvent
*) src
;
3121 return (void *) dest
;
3124 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3127 src
= (wxTreeEvent
*) ptr
;
3128 dest
= (wxEvent
*) src
;
3129 return (void *) dest
;
3132 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3133 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3135 wxTreeItemId
* _result
;
3136 wxTreeEvent
* _arg0
;
3137 PyObject
* _argo0
= 0;
3138 char *_kwnames
[] = { "self", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3155 wxPy_END_ALLOW_THREADS
;
3156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3157 _resultobj
= Py_BuildValue("s",_ptemp
);
3161 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3162 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3164 wxTreeItemId
* _result
;
3165 wxTreeEvent
* _arg0
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3181 wxPy_BEGIN_ALLOW_THREADS
;
3182 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3184 wxPy_END_ALLOW_THREADS
;
3185 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3186 _resultobj
= Py_BuildValue("s",_ptemp
);
3190 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3191 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3194 wxTreeEvent
* _arg0
;
3195 PyObject
* _argo0
= 0;
3196 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3210 wxPy_BEGIN_ALLOW_THREADS
;
3211 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3213 wxPy_END_ALLOW_THREADS
;
3214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3215 _resultobj
= Py_BuildValue("s",_ptemp
);
3219 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3220 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3223 wxTreeEvent
* _arg0
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "self", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3238 wxPy_BEGIN_ALLOW_THREADS
;
3239 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3241 wxPy_END_ALLOW_THREADS
;
3242 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3247 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxTreeEvent
* _arg0
;
3251 PyObject
* _argo0
= 0;
3252 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3267 _result
= (wxString
*) &_result_ref
;
3269 wxPy_END_ALLOW_THREADS
;
3271 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3276 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3279 src
= (wxTreeCtrl
*) ptr
;
3280 dest
= (wxControl
*) src
;
3281 return (void *) dest
;
3284 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3287 src
= (wxTreeCtrl
*) ptr
;
3288 dest
= (wxWindow
*) src
;
3289 return (void *) dest
;
3292 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3295 src
= (wxTreeCtrl
*) ptr
;
3296 dest
= (wxEvtHandler
*) src
;
3297 return (void *) dest
;
3300 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3301 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 wxTreeCtrl
* _result
;
3305 wxWindowID _arg1
= (wxWindowID
) -1;
3306 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3307 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3308 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3309 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3310 char * _arg6
= (char *) "wxTreeCtrl";
3311 PyObject
* _argo0
= 0;
3312 PyObject
* _argo2
= 0;
3313 PyObject
* _argo3
= 0;
3314 PyObject
* _argo5
= 0;
3315 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3329 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3336 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3343 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3350 wxPy_BEGIN_ALLOW_THREADS
;
3351 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3353 wxPy_END_ALLOW_THREADS
;
3355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3356 _resultobj
= Py_BuildValue("s",_ptemp
);
3359 _resultobj
= Py_None
;
3364 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3365 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
* _resultobj
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3386 wxPy_END_ALLOW_THREADS
;
3387 } _resultobj
= Py_BuildValue("i",_result
);
3391 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3392 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3394 unsigned int _result
;
3396 PyObject
* _argo0
= 0;
3397 char *_kwnames
[] = { "self", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3410 wxPy_BEGIN_ALLOW_THREADS
;
3411 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3413 wxPy_END_ALLOW_THREADS
;
3414 } _resultobj
= Py_BuildValue("i",_result
);
3418 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3419 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self","indent", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3437 wxPy_BEGIN_ALLOW_THREADS
;
3438 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3440 wxPy_END_ALLOW_THREADS
;
3441 } Py_INCREF(Py_None
);
3442 _resultobj
= Py_None
;
3446 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3447 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3449 wxImageList
* _result
;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3466 wxPy_BEGIN_ALLOW_THREADS
;
3467 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3469 wxPy_END_ALLOW_THREADS
;
3471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3472 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 _resultobj
= Py_None
;
3480 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3481 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3483 wxImageList
* _result
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3500 wxPy_BEGIN_ALLOW_THREADS
;
3501 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3503 wxPy_END_ALLOW_THREADS
;
3505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3506 _resultobj
= Py_BuildValue("s",_ptemp
);
3509 _resultobj
= Py_None
;
3514 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3515 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3518 wxImageList
* _arg1
;
3519 PyObject
* _argo0
= 0;
3520 PyObject
* _argo1
= 0;
3521 char *_kwnames
[] = { "self","imageList", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } Py_INCREF(Py_None
);
3546 _resultobj
= Py_None
;
3550 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3551 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3554 wxImageList
* _arg1
;
3555 PyObject
* _argo0
= 0;
3556 PyObject
* _argo1
= 0;
3557 char *_kwnames
[] = { "self","imageList", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } Py_INCREF(Py_None
);
3582 _resultobj
= Py_None
;
3586 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3587 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3591 wxTreeItemId
* _arg1
;
3592 PyObject
* _argo0
= 0;
3593 PyObject
* _argo1
= 0;
3594 char *_kwnames
[] = { "self","item", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3614 wxPy_BEGIN_ALLOW_THREADS
;
3615 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3617 wxPy_END_ALLOW_THREADS
;
3619 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3627 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3628 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3632 wxTreeItemId
* _arg1
;
3633 PyObject
* _argo0
= 0;
3634 PyObject
* _argo1
= 0;
3635 char *_kwnames
[] = { "self","item", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3658 wxPy_END_ALLOW_THREADS
;
3659 } _resultobj
= Py_BuildValue("i",_result
);
3663 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3664 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 wxTreeItemId
* _arg1
;
3669 PyObject
* _argo0
= 0;
3670 PyObject
* _argo1
= 0;
3671 char *_kwnames
[] = { "self","item", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3691 wxPy_BEGIN_ALLOW_THREADS
;
3692 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3694 wxPy_END_ALLOW_THREADS
;
3695 } _resultobj
= Py_BuildValue("i",_result
);
3699 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3700 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3703 wxTreeItemId
* _arg1
;
3705 PyObject
* _argo0
= 0;
3706 PyObject
* _argo1
= 0;
3707 PyObject
* _obj2
= 0;
3708 char *_kwnames
[] = { "self","item","text", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3728 if (!PyString_Check(_obj2
)) {
3729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3732 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3735 wxPy_BEGIN_ALLOW_THREADS
;
3736 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3738 wxPy_END_ALLOW_THREADS
;
3739 } Py_INCREF(Py_None
);
3740 _resultobj
= Py_None
;
3748 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3749 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxTreeItemId
* _arg1
;
3754 PyObject
* _argo0
= 0;
3755 PyObject
* _argo1
= 0;
3756 char *_kwnames
[] = { "self","item","image", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } Py_INCREF(Py_None
);
3781 _resultobj
= Py_None
;
3785 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3786 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3789 wxTreeItemId
* _arg1
;
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _argo1
= 0;
3793 char *_kwnames
[] = { "self","item","image", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3816 wxPy_END_ALLOW_THREADS
;
3817 } Py_INCREF(Py_None
);
3818 _resultobj
= Py_None
;
3822 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3823 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3826 wxTreeItemId
* _arg1
;
3827 bool _arg2
= (bool ) TRUE
;
3828 PyObject
* _argo0
= 0;
3829 PyObject
* _argo1
= 0;
3830 int tempbool2
= (int) TRUE
;
3831 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3850 _arg2
= (bool ) tempbool2
;
3852 wxPy_BEGIN_ALLOW_THREADS
;
3853 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3855 wxPy_END_ALLOW_THREADS
;
3856 } Py_INCREF(Py_None
);
3857 _resultobj
= Py_None
;
3861 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3862 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3864 data
= new wxPyTreeItemData();
3865 self
->SetItemData(item
, data
);
3869 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3871 wxPyTreeItemData
* _result
;
3873 wxTreeItemId
* _arg1
;
3874 PyObject
* _argo0
= 0;
3875 PyObject
* _argo1
= 0;
3876 char *_kwnames
[] = { "self","item", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
3890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
3900 wxPy_END_ALLOW_THREADS
;
3902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3903 _resultobj
= Py_BuildValue("s",_ptemp
);
3906 _resultobj
= Py_None
;
3911 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
3912 self
->SetItemData(item
, data
);
3914 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3917 wxTreeItemId
* _arg1
;
3918 wxPyTreeItemData
* _arg2
;
3919 PyObject
* _argo0
= 0;
3920 PyObject
* _argo1
= 0;
3921 PyObject
* _argo2
= 0;
3922 char *_kwnames
[] = { "self","item","data", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3942 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
3949 wxPy_BEGIN_ALLOW_THREADS
;
3950 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
3952 wxPy_END_ALLOW_THREADS
;
3953 } Py_INCREF(Py_None
);
3954 _resultobj
= Py_None
;
3958 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3959 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3961 data
= new wxPyTreeItemData();
3962 self
->SetItemData(item
, data
);
3964 return data
->GetData();
3966 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 wxTreeItemId
* _arg1
;
3971 PyObject
* _argo0
= 0;
3972 PyObject
* _argo1
= 0;
3973 char *_kwnames
[] = { "self","item", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
3986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
3996 wxPy_END_ALLOW_THREADS
;
3998 _resultobj
= _result
;
4003 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4004 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4006 data
= new wxPyTreeItemData(obj
);
4007 self
->SetItemData(item
, data
);
4011 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4014 wxTreeItemId
* _arg1
;
4016 PyObject
* _argo0
= 0;
4017 PyObject
* _argo1
= 0;
4018 PyObject
* _obj2
= 0;
4019 char *_kwnames
[] = { "self","item","obj", NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4052 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4056 wxTreeItemId
* _arg1
;
4057 PyObject
* _argo0
= 0;
4058 PyObject
* _argo1
= 0;
4059 char *_kwnames
[] = { "self","item", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4082 wxPy_END_ALLOW_THREADS
;
4083 } _resultobj
= Py_BuildValue("i",_result
);
4087 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4088 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4092 wxTreeItemId
* _arg1
;
4093 PyObject
* _argo0
= 0;
4094 PyObject
* _argo1
= 0;
4095 char *_kwnames
[] = { "self","item", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
4108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } _resultobj
= Py_BuildValue("i",_result
);
4123 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4124 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4128 wxTreeItemId
* _arg1
;
4129 PyObject
* _argo0
= 0;
4130 PyObject
* _argo1
= 0;
4131 char *_kwnames
[] = { "self","item", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4151 wxPy_BEGIN_ALLOW_THREADS
;
4152 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4154 wxPy_END_ALLOW_THREADS
;
4155 } _resultobj
= Py_BuildValue("i",_result
);
4159 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4160 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4164 wxTreeItemId
* _arg1
;
4165 PyObject
* _argo0
= 0;
4166 PyObject
* _argo1
= 0;
4167 char *_kwnames
[] = { "self","item", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4187 wxPy_BEGIN_ALLOW_THREADS
;
4188 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4190 wxPy_END_ALLOW_THREADS
;
4191 } _resultobj
= Py_BuildValue("i",_result
);
4195 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4196 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4198 wxTreeItemId
* _result
;
4200 PyObject
* _argo0
= 0;
4201 char *_kwnames
[] = { "self", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4218 wxPy_END_ALLOW_THREADS
;
4219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4220 _resultobj
= Py_BuildValue("s",_ptemp
);
4224 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4225 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxTreeItemId
* _result
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4244 wxPy_BEGIN_ALLOW_THREADS
;
4245 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4247 wxPy_END_ALLOW_THREADS
;
4248 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4249 _resultobj
= Py_BuildValue("s",_ptemp
);
4253 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4254 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
* _resultobj
;
4256 wxTreeItemId
* _result
;
4258 wxTreeItemId
* _arg1
;
4259 PyObject
* _argo0
= 0;
4260 PyObject
* _argo1
= 0;
4261 char *_kwnames
[] = { "self","item", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetParent",_kwnames
,&_argo0
,&_argo1
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4285 wxPy_END_ALLOW_THREADS
;
4286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4287 _resultobj
= Py_BuildValue("s",_ptemp
);
4291 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4292 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4296 wxTreeItemId
* _arg1
;
4297 bool _arg2
= (bool ) TRUE
;
4298 PyObject
* _argo0
= 0;
4299 PyObject
* _argo1
= 0;
4300 int tempbool2
= (int) TRUE
;
4301 char *_kwnames
[] = { "self","item","recursively", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4320 _arg2
= (bool ) tempbool2
;
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4325 wxPy_END_ALLOW_THREADS
;
4326 } _resultobj
= Py_BuildValue("i",_result
);
4330 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4331 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
* _resultobj
;
4333 wxTreeItemId
* _result
;
4335 wxTreeItemId
* _arg1
;
4337 PyObject
* _argo0
= 0;
4338 PyObject
* _argo1
= 0;
4340 PyObject
* _obj2
= 0;
4341 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4362 temp
= (long) PyInt_AsLong(_obj2
);
4366 wxPy_BEGIN_ALLOW_THREADS
;
4367 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4369 wxPy_END_ALLOW_THREADS
;
4370 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4371 _resultobj
= Py_BuildValue("s",_ptemp
);
4374 o
= PyInt_FromLong((long) (*_arg2
));
4375 _resultobj
= t_output_helper(_resultobj
, o
);
4380 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4381 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4383 wxTreeItemId
* _result
;
4385 wxTreeItemId
* _arg1
;
4387 PyObject
* _argo0
= 0;
4388 PyObject
* _argo1
= 0;
4390 PyObject
* _obj2
= 0;
4391 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4405 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4412 temp
= (long) PyInt_AsLong(_obj2
);
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4419 wxPy_END_ALLOW_THREADS
;
4420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4421 _resultobj
= Py_BuildValue("s",_ptemp
);
4424 o
= PyInt_FromLong((long) (*_arg2
));
4425 _resultobj
= t_output_helper(_resultobj
, o
);
4430 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4431 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 wxTreeItemId
* _result
;
4435 wxTreeItemId
* _arg1
;
4436 PyObject
* _argo0
= 0;
4437 PyObject
* _argo1
= 0;
4438 char *_kwnames
[] = { "self","item", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4462 wxPy_END_ALLOW_THREADS
;
4463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4464 _resultobj
= Py_BuildValue("s",_ptemp
);
4468 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4469 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4471 wxTreeItemId
* _result
;
4473 wxTreeItemId
* _arg1
;
4474 PyObject
* _argo0
= 0;
4475 PyObject
* _argo1
= 0;
4476 char *_kwnames
[] = { "self","item", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4497 wxPy_BEGIN_ALLOW_THREADS
;
4498 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4500 wxPy_END_ALLOW_THREADS
;
4501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4502 _resultobj
= Py_BuildValue("s",_ptemp
);
4506 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4507 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4509 wxTreeItemId
* _result
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4529 wxPy_END_ALLOW_THREADS
;
4530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4531 _resultobj
= Py_BuildValue("s",_ptemp
);
4535 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4536 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4538 wxTreeItemId
* _result
;
4540 wxTreeItemId
* _arg1
;
4541 PyObject
* _argo0
= 0;
4542 PyObject
* _argo1
= 0;
4543 char *_kwnames
[] = { "self","item", NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4564 wxPy_BEGIN_ALLOW_THREADS
;
4565 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4567 wxPy_END_ALLOW_THREADS
;
4568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4569 _resultobj
= Py_BuildValue("s",_ptemp
);
4573 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4574 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4576 wxTreeItemId
* _result
;
4578 wxTreeItemId
* _arg1
;
4579 PyObject
* _argo0
= 0;
4580 PyObject
* _argo1
= 0;
4581 char *_kwnames
[] = { "self","item", NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4605 wxPy_END_ALLOW_THREADS
;
4606 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4607 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4612 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4614 wxTreeItemId
* _result
;
4617 int _arg2
= (int ) -1;
4618 int _arg3
= (int ) -1;
4619 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4620 PyObject
* _argo0
= 0;
4621 PyObject
* _obj1
= 0;
4622 PyObject
* _argo4
= 0;
4623 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4637 if (!PyString_Check(_obj1
)) {
4638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4641 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4644 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4654 wxPy_END_ALLOW_THREADS
;
4655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4656 _resultobj
= Py_BuildValue("s",_ptemp
);
4664 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4665 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4667 wxTreeItemId
* _result
;
4669 wxTreeItemId
* _arg1
;
4671 int _arg3
= (int ) -1;
4672 int _arg4
= (int ) -1;
4673 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4674 PyObject
* _argo0
= 0;
4675 PyObject
* _argo1
= 0;
4676 PyObject
* _obj2
= 0;
4677 PyObject
* _argo5
= 0;
4678 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4699 if (!PyString_Check(_obj2
)) {
4700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4703 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4706 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4713 wxPy_BEGIN_ALLOW_THREADS
;
4714 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4716 wxPy_END_ALLOW_THREADS
;
4717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4718 _resultobj
= Py_BuildValue("s",_ptemp
);
4726 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4727 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4729 wxTreeItemId
* _result
;
4731 wxTreeItemId
* _arg1
;
4732 wxTreeItemId
* _arg2
;
4734 int _arg4
= (int ) -1;
4735 int _arg5
= (int ) -1;
4736 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4737 PyObject
* _argo0
= 0;
4738 PyObject
* _argo1
= 0;
4739 PyObject
* _argo2
= 0;
4740 PyObject
* _obj3
= 0;
4741 PyObject
* _argo6
= 0;
4742 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4763 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4770 if (!PyString_Check(_obj3
)) {
4771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4774 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4777 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4784 wxPy_BEGIN_ALLOW_THREADS
;
4785 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4787 wxPy_END_ALLOW_THREADS
;
4788 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4789 _resultobj
= Py_BuildValue("s",_ptemp
);
4797 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4798 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
* _resultobj
;
4800 wxTreeItemId
* _result
;
4802 wxTreeItemId
* _arg1
;
4804 int _arg3
= (int ) -1;
4805 int _arg4
= (int ) -1;
4806 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4807 PyObject
* _argo0
= 0;
4808 PyObject
* _argo1
= 0;
4809 PyObject
* _obj2
= 0;
4810 PyObject
* _argo5
= 0;
4811 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4832 if (!PyString_Check(_obj2
)) {
4833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4836 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4839 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4840 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4846 wxPy_BEGIN_ALLOW_THREADS
;
4847 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4849 wxPy_END_ALLOW_THREADS
;
4850 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4851 _resultobj
= Py_BuildValue("s",_ptemp
);
4859 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4860 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
* _resultobj
;
4863 wxTreeItemId
* _arg1
;
4864 PyObject
* _argo0
= 0;
4865 PyObject
* _argo1
= 0;
4866 char *_kwnames
[] = { "self","item", NULL
};
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
4872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
4879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
4886 wxPy_BEGIN_ALLOW_THREADS
;
4887 wxTreeCtrl_Delete(_arg0
,*_arg1
);
4889 wxPy_END_ALLOW_THREADS
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
4896 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4899 wxTreeItemId
* _arg1
;
4900 PyObject
* _argo0
= 0;
4901 PyObject
* _argo1
= 0;
4902 char *_kwnames
[] = { "self","item", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
4915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
4925 wxPy_END_ALLOW_THREADS
;
4926 } Py_INCREF(Py_None
);
4927 _resultobj
= Py_None
;
4931 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4932 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4935 PyObject
* _argo0
= 0;
4936 char *_kwnames
[] = { "self", NULL
};
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
4949 wxPy_BEGIN_ALLOW_THREADS
;
4950 wxTreeCtrl_DeleteAllItems(_arg0
);
4952 wxPy_END_ALLOW_THREADS
;
4953 } Py_INCREF(Py_None
);
4954 _resultobj
= Py_None
;
4958 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
4959 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 wxTreeItemId
* _arg1
;
4963 PyObject
* _argo0
= 0;
4964 PyObject
* _argo1
= 0;
4965 char *_kwnames
[] = { "self","item", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
4978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
4985 wxPy_BEGIN_ALLOW_THREADS
;
4986 wxTreeCtrl_Expand(_arg0
,*_arg1
);
4988 wxPy_END_ALLOW_THREADS
;
4989 } Py_INCREF(Py_None
);
4990 _resultobj
= Py_None
;
4994 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
4995 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4998 wxTreeItemId
* _arg1
;
4999 PyObject
* _argo0
= 0;
5000 PyObject
* _argo1
= 0;
5001 char *_kwnames
[] = { "self","item", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5024 wxPy_END_ALLOW_THREADS
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5030 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5031 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 wxTreeItemId
* _arg1
;
5035 PyObject
* _argo0
= 0;
5036 PyObject
* _argo1
= 0;
5037 char *_kwnames
[] = { "self","item", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5050 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5057 wxPy_BEGIN_ALLOW_THREADS
;
5058 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5060 wxPy_END_ALLOW_THREADS
;
5061 } Py_INCREF(Py_None
);
5062 _resultobj
= Py_None
;
5066 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5067 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
* _resultobj
;
5070 wxTreeItemId
* _arg1
;
5071 PyObject
* _argo0
= 0;
5072 PyObject
* _argo1
= 0;
5073 char *_kwnames
[] = { "self","item", NULL
};
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5102 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5103 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5106 PyObject
* _argo0
= 0;
5107 char *_kwnames
[] = { "self", NULL
};
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 wxTreeCtrl_Unselect(_arg0
);
5123 wxPy_END_ALLOW_THREADS
;
5124 } Py_INCREF(Py_None
);
5125 _resultobj
= Py_None
;
5129 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5130 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5133 PyObject
* _argo0
= 0;
5134 char *_kwnames
[] = { "self", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 wxTreeCtrl_UnselectAll(_arg0
);
5150 wxPy_END_ALLOW_THREADS
;
5151 } Py_INCREF(Py_None
);
5152 _resultobj
= Py_None
;
5156 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5157 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5160 wxTreeItemId
* _arg1
;
5161 PyObject
* _argo0
= 0;
5162 PyObject
* _argo1
= 0;
5163 char *_kwnames
[] = { "self","item", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5183 wxPy_BEGIN_ALLOW_THREADS
;
5184 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5186 wxPy_END_ALLOW_THREADS
;
5187 } Py_INCREF(Py_None
);
5188 _resultobj
= Py_None
;
5192 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5193 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5196 wxTreeItemId
* _arg1
;
5197 PyObject
* _argo0
= 0;
5198 PyObject
* _argo1
= 0;
5199 char *_kwnames
[] = { "self","item", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5219 wxPy_BEGIN_ALLOW_THREADS
;
5220 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5222 wxPy_END_ALLOW_THREADS
;
5223 } Py_INCREF(Py_None
);
5224 _resultobj
= Py_None
;
5228 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5229 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5232 wxTreeItemId
* _arg1
;
5233 PyObject
* _argo0
= 0;
5234 PyObject
* _argo1
= 0;
5235 char *_kwnames
[] = { "self","item", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5258 wxPy_END_ALLOW_THREADS
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5264 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5265 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5268 wxTreeItemId
* _arg1
;
5269 PyObject
* _argo0
= 0;
5270 PyObject
* _argo1
= 0;
5271 char *_kwnames
[] = { "self","item", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5291 wxPy_BEGIN_ALLOW_THREADS
;
5292 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5294 wxPy_END_ALLOW_THREADS
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5301 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5304 wxTreeItemId
* _arg1
;
5305 bool _arg2
= (bool ) TRUE
;
5306 PyObject
* _argo0
= 0;
5307 PyObject
* _argo1
= 0;
5308 int tempbool2
= (int) TRUE
;
5309 char *_kwnames
[] = { "self","item","bold", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5328 _arg2
= (bool ) tempbool2
;
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5333 wxPy_END_ALLOW_THREADS
;
5334 } Py_INCREF(Py_None
);
5335 _resultobj
= Py_None
;
5339 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5340 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5344 wxTreeItemId
* _arg1
;
5345 PyObject
* _argo0
= 0;
5346 PyObject
* _argo1
= 0;
5347 char *_kwnames
[] = { "self","item", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5370 wxPy_END_ALLOW_THREADS
;
5371 } _resultobj
= Py_BuildValue("i",_result
);
5375 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5376 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5378 wxTreeItemId
* _result
;
5381 PyObject
* _argo0
= 0;
5382 PyObject
* _argo1
= 0;
5383 char *_kwnames
[] = { "self","point", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_argo1
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
5404 wxPy_BEGIN_ALLOW_THREADS
;
5405 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5407 wxPy_END_ALLOW_THREADS
;
5408 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5409 _resultobj
= Py_BuildValue("s",_ptemp
);
5413 static PyMethodDef controls2cMethods
[] = {
5414 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxTreeCtrl_GetParent", (PyCFunction
) _wrap_wxTreeCtrl_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
5571 * This table is used by the pointer type-checker
5573 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5574 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5575 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5576 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5577 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5578 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5579 { "_wxEvent","_class_wxEvent",0},
5580 { "_class_wxActivateEvent","_wxActivateEvent",0},
5581 { "_signed_long","_long",0},
5582 { "_wxMenuEvent","_class_wxMenuEvent",0},
5583 { "_wxPrintQuality","_int",0},
5584 { "_wxPrintQuality","_signed_int",0},
5585 { "_wxPrintQuality","_unsigned_int",0},
5586 { "_wxPrintQuality","_wxWindowID",0},
5587 { "_wxPrintQuality","_uint",0},
5588 { "_wxPrintQuality","_EBool",0},
5589 { "_wxPrintQuality","_size_t",0},
5590 { "_class_wxRegionIterator","_wxRegionIterator",0},
5591 { "_class_wxMenuBar","_wxMenuBar",0},
5592 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5593 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5594 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5595 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5596 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5597 { "_class_wxEvtHandler","_wxEvtHandler",0},
5598 { "_wxPaintEvent","_class_wxPaintEvent",0},
5599 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5600 { "_wxCursor","_class_wxCursor",0},
5601 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5602 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5603 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5604 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5605 { "_wxMask","_class_wxMask",0},
5606 { "_wxPen","_class_wxPen",0},
5607 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5608 { "_byte","_unsigned_char",0},
5609 { "_wxStaticBox","_class_wxStaticBox",0},
5610 { "_wxChoice","_class_wxChoice",0},
5611 { "_wxSlider","_class_wxSlider",0},
5612 { "_long","_wxDash",0},
5613 { "_long","_unsigned_long",0},
5614 { "_long","_signed_long",0},
5615 { "_wxImageList","_class_wxImageList",0},
5616 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5617 { "_wxBitmapButton","_class_wxBitmapButton",0},
5618 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5619 { "_class_wxGauge","_wxGauge",0},
5620 { "_wxDC","_class_wxDC",0},
5621 { "_wxListEvent","_class_wxListEvent",0},
5622 { "_wxSpinEvent","_class_wxSpinEvent",0},
5623 { "_size_t","_wxPrintQuality",0},
5624 { "_size_t","_unsigned_int",0},
5625 { "_size_t","_int",0},
5626 { "_size_t","_wxWindowID",0},
5627 { "_size_t","_uint",0},
5628 { "_class_wxRealPoint","_wxRealPoint",0},
5629 { "_class_wxMenuItem","_wxMenuItem",0},
5630 { "_class_wxPaintEvent","_wxPaintEvent",0},
5631 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5632 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5633 { "_wxPanel","_class_wxPanel",0},
5634 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5635 { "_wxCheckBox","_class_wxCheckBox",0},
5636 { "_wxPyEvent","_class_wxPyEvent",0},
5637 { "_wxTextCtrl","_class_wxTextCtrl",0},
5638 { "_class_wxMask","_wxMask",0},
5639 { "_class_wxKeyEvent","_wxKeyEvent",0},
5640 { "_wxColour","_class_wxColour",0},
5641 { "_class_wxDialog","_wxDialog",0},
5642 { "_wxIdleEvent","_class_wxIdleEvent",0},
5643 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5644 { "_wxStaticLine","_class_wxStaticLine",0},
5645 { "_wxBrush","_class_wxBrush",0},
5646 { "_wxShowEvent","_class_wxShowEvent",0},
5647 { "_uint","_wxPrintQuality",0},
5648 { "_uint","_size_t",0},
5649 { "_uint","_unsigned_int",0},
5650 { "_uint","_int",0},
5651 { "_uint","_wxWindowID",0},
5652 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5653 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5654 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5655 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5656 { "_class_wxEvent","_wxEvent",0},
5657 { "_wxCheckListBox","_class_wxCheckListBox",0},
5658 { "_wxRect","_class_wxRect",0},
5659 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5660 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5661 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5662 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5663 { "_wxCommandEvent","_class_wxCommandEvent",0},
5664 { "_wxSizeEvent","_class_wxSizeEvent",0},
5665 { "_wxPoint","_class_wxPoint",0},
5666 { "_class_wxButton","_wxButton",0},
5667 { "_wxRadioBox","_class_wxRadioBox",0},
5668 { "_wxBitmap","_class_wxBitmap",0},
5669 { "_wxPyTimer","_class_wxPyTimer",0},
5670 { "_wxWindowDC","_class_wxWindowDC",0},
5671 { "_wxScrollBar","_class_wxScrollBar",0},
5672 { "_wxSpinButton","_class_wxSpinButton",0},
5673 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5674 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5675 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5676 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5677 { "_class_wxPyEvent","_wxPyEvent",0},
5678 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5679 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5680 { "_wxListItem","_class_wxListItem",0},
5681 { "_class_wxStaticLine","_wxStaticLine",0},
5682 { "_wxScrollEvent","_class_wxScrollEvent",0},
5683 { "_EBool","_wxPrintQuality",0},
5684 { "_EBool","_signed_int",0},
5685 { "_EBool","_int",0},
5686 { "_EBool","_wxWindowID",0},
5687 { "_class_wxRegion","_wxRegion",0},
5688 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5689 { "_wxStaticText","_class_wxStaticText",0},
5690 { "_wxFont","_class_wxFont",0},
5691 { "_wxCloseEvent","_class_wxCloseEvent",0},
5692 { "_unsigned_long","_wxDash",0},
5693 { "_unsigned_long","_long",0},
5694 { "_class_wxRect","_wxRect",0},
5695 { "_class_wxDC","_wxDC",0},
5696 { "_class_wxTreeEvent","_wxTreeEvent",0},
5697 { "_class_wxPyTimer","_wxPyTimer",0},
5698 { "_wxFocusEvent","_class_wxFocusEvent",0},
5699 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5700 { "_class_wxSpinButton","_wxSpinButton",0},
5701 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5702 { "_class_wxPanel","_wxPanel",0},
5703 { "_class_wxCheckBox","_wxCheckBox",0},
5704 { "_wxComboBox","_class_wxComboBox",0},
5705 { "_wxRadioButton","_class_wxRadioButton",0},
5706 { "_signed_int","_wxPrintQuality",0},
5707 { "_signed_int","_EBool",0},
5708 { "_signed_int","_wxWindowID",0},
5709 { "_signed_int","_int",0},
5710 { "_class_wxTextCtrl","_wxTextCtrl",0},
5711 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5712 { "_wxMenu","_class_wxMenu",0},
5713 { "_class_wxMoveEvent","_wxMoveEvent",0},
5714 { "_wxListBox","_class_wxListBox",0},
5715 { "_wxScreenDC","_class_wxScreenDC",0},
5716 { "_WXTYPE","_short",0},
5717 { "_WXTYPE","_signed_short",0},
5718 { "_WXTYPE","_unsigned_short",0},
5719 { "_class_wxBrush","_wxBrush",0},
5720 { "_unsigned_short","_WXTYPE",0},
5721 { "_unsigned_short","_short",0},
5722 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5723 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5724 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5725 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5726 { "_class_wxWindow","_wxWindow",0},
5727 { "_class_wxStaticText","_wxStaticText",0},
5728 { "_class_wxFont","_wxFont",0},
5729 { "_class_wxCloseEvent","_wxCloseEvent",0},
5730 { "_class_wxMenuEvent","_wxMenuEvent",0},
5731 { "_wxClientDC","_class_wxClientDC",0},
5732 { "_wxMouseEvent","_class_wxMouseEvent",0},
5733 { "_wxListCtrl","_class_wxListCtrl",0},
5734 { "_class_wxPoint","_wxPoint",0},
5735 { "_wxRealPoint","_class_wxRealPoint",0},
5736 { "_class_wxRadioBox","_wxRadioBox",0},
5737 { "_signed_short","_WXTYPE",0},
5738 { "_signed_short","_short",0},
5739 { "_wxMemoryDC","_class_wxMemoryDC",0},
5740 { "_wxPaintDC","_class_wxPaintDC",0},
5741 { "_class_wxWindowDC","_wxWindowDC",0},
5742 { "_class_wxFocusEvent","_wxFocusEvent",0},
5743 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5744 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5745 { "_class_wxCursor","_wxCursor",0},
5746 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5747 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5748 { "_wxTreeItemId","_class_wxTreeItemId",0},
5749 { "_unsigned_char","_byte",0},
5750 { "_class_wxMenu","_wxMenu",0},
5751 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5752 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5753 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5754 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5755 { "_wxControl","_class_wxControl",0},
5756 { "_class_wxListBox","_wxListBox",0},
5757 { "_unsigned_int","_wxPrintQuality",0},
5758 { "_unsigned_int","_size_t",0},
5759 { "_unsigned_int","_uint",0},
5760 { "_unsigned_int","_wxWindowID",0},
5761 { "_unsigned_int","_int",0},
5762 { "_wxIcon","_class_wxIcon",0},
5763 { "_wxDialog","_class_wxDialog",0},
5764 { "_class_wxListItem","_wxListItem",0},
5765 { "_class_wxPen","_wxPen",0},
5766 { "_short","_WXTYPE",0},
5767 { "_short","_unsigned_short",0},
5768 { "_short","_signed_short",0},
5769 { "_class_wxStaticBox","_wxStaticBox",0},
5770 { "_class_wxScrollEvent","_wxScrollEvent",0},
5771 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5772 { "_class_wxChoice","_wxChoice",0},
5773 { "_class_wxSlider","_wxSlider",0},
5774 { "_class_wxImageList","_wxImageList",0},
5775 { "_class_wxBitmapButton","_wxBitmapButton",0},
5776 { "_wxWindowID","_wxPrintQuality",0},
5777 { "_wxWindowID","_size_t",0},
5778 { "_wxWindowID","_EBool",0},
5779 { "_wxWindowID","_uint",0},
5780 { "_wxWindowID","_int",0},
5781 { "_wxWindowID","_signed_int",0},
5782 { "_wxWindowID","_unsigned_int",0},
5783 { "_int","_wxPrintQuality",0},
5784 { "_int","_size_t",0},
5785 { "_int","_EBool",0},
5786 { "_int","_uint",0},
5787 { "_int","_wxWindowID",0},
5788 { "_int","_unsigned_int",0},
5789 { "_int","_signed_int",0},
5790 { "_class_wxMouseEvent","_wxMouseEvent",0},
5791 { "_class_wxListEvent","_wxListEvent",0},
5792 { "_class_wxSpinEvent","_wxSpinEvent",0},
5793 { "_wxButton","_class_wxButton",0},
5794 { "_wxSize","_class_wxSize",0},
5795 { "_wxRegionIterator","_class_wxRegionIterator",0},
5796 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
5797 { "_class_wxPaintDC","_wxPaintDC",0},
5798 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5799 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5800 { "_class_wxComboBox","_wxComboBox",0},
5801 { "_class_wxRadioButton","_wxRadioButton",0},
5802 { "_class_wxTreeItemId","_wxTreeItemId",0},
5803 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
5804 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5805 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5806 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5807 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5808 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5809 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5810 { "_class_wxControl","_wxControl",0},
5811 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
5812 { "_class_wxIcon","_wxIcon",0},
5813 { "_class_wxColour","_wxColour",0},
5814 { "_class_wxScreenDC","_wxScreenDC",0},
5815 { "_wxPalette","_class_wxPalette",0},
5816 { "_class_wxIdleEvent","_wxIdleEvent",0},
5817 { "_wxEraseEvent","_class_wxEraseEvent",0},
5818 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5819 { "_wxRegion","_class_wxRegion",0},
5820 { "_class_wxShowEvent","_wxShowEvent",0},
5821 { "_wxActivateEvent","_class_wxActivateEvent",0},
5822 { "_wxGauge","_class_wxGauge",0},
5823 { "_class_wxCheckListBox","_wxCheckListBox",0},
5824 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5825 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5826 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5827 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5828 { "_class_wxCommandEvent","_wxCommandEvent",0},
5829 { "_class_wxClientDC","_wxClientDC",0},
5830 { "_class_wxSizeEvent","_wxSizeEvent",0},
5831 { "_class_wxListCtrl","_wxListCtrl",0},
5832 { "_class_wxSize","_wxSize",0},
5833 { "_class_wxBitmap","_wxBitmap",0},
5834 { "_class_wxMemoryDC","_wxMemoryDC",0},
5835 { "_wxMenuBar","_class_wxMenuBar",0},
5836 { "_wxTreeEvent","_class_wxTreeEvent",0},
5837 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5838 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5839 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5840 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5841 { "_wxEvtHandler","_class_wxEvtHandler",0},
5842 { "_wxMenuItem","_class_wxMenuItem",0},
5843 { "_class_wxScrollBar","_wxScrollBar",0},
5844 { "_wxDash","_unsigned_long",0},
5845 { "_wxDash","_long",0},
5846 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5847 { "_wxKeyEvent","_class_wxKeyEvent",0},
5848 { "_wxMoveEvent","_class_wxMoveEvent",0},
5849 { "_class_wxPalette","_wxPalette",0},
5850 { "_class_wxEraseEvent","_wxEraseEvent",0},
5851 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5852 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5853 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5854 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5855 { "_wxWindow","_class_wxWindow",0},
5858 static PyObject
*SWIG_globals
;
5862 SWIGEXPORT(void) initcontrols2c() {
5864 SWIG_globals
= SWIG_newvarlink();
5865 m
= Py_InitModule("controls2c", controls2cMethods
);
5866 d
= PyModule_GetDict(m
);
5867 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
5868 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
5869 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
5870 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
5871 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
5872 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
5873 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
5874 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
5875 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
5876 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
5877 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
5878 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
5879 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
5880 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
5881 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
5882 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
5883 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
5884 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
5885 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
5886 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
5887 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
5888 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
5889 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
5890 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
5891 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
5892 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
5893 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
5894 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
5895 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
5896 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
5897 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
5898 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
5899 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
5900 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
5901 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
5902 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
5903 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
5904 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
5905 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
5906 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
5907 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
5908 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
5909 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
5912 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5913 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);