2 * FILE : msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 794)
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
;
1478 wxTextCtrl
* _result
;
1481 PyObject
* _argo0
= 0;
1482 char *_kwnames
[] = { "self","item", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
1499 wxPy_END_ALLOW_THREADS
;
1501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1502 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 _resultobj
= Py_None
;
1510 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
1511 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1516 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self","cancel", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
1530 _arg1
= (bool ) tempbool1
;
1532 wxPy_BEGIN_ALLOW_THREADS
;
1533 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
1535 wxPy_END_ALLOW_THREADS
;
1536 } _resultobj
= Py_BuildValue("i",_result
);
1540 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
1541 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxTextCtrl
* _result
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
1563 wxPy_END_ALLOW_THREADS
;
1565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
1566 _resultobj
= Py_BuildValue("s",_ptemp
);
1569 _resultobj
= Py_None
;
1574 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
1575 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self","item", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } _resultobj
= Py_BuildValue("i",_result
);
1602 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1603 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1609 bool _arg3
= (bool ) FALSE
;
1610 PyObject
* _argo0
= 0;
1611 PyObject
* _obj2
= 0;
1612 int tempbool3
= (int) FALSE
;
1613 char *_kwnames
[] = { "self","start","str","partial", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
1626 if (!PyString_Check(_obj2
)) {
1627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1630 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1632 _arg3
= (bool ) tempbool3
;
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
1637 wxPy_END_ALLOW_THREADS
;
1638 } _resultobj
= Py_BuildValue("l",_result
);
1646 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
1647 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self","start","data", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
1670 wxPy_END_ALLOW_THREADS
;
1671 } _resultobj
= Py_BuildValue("l",_result
);
1675 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
1676 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1683 PyObject
* _argo0
= 0;
1684 PyObject
* _argo2
= 0;
1685 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
1698 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p.");
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
1708 wxPy_END_ALLOW_THREADS
;
1709 } _resultobj
= Py_BuildValue("l",_result
);
1713 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
1714 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo2
= 0;
1722 char *_kwnames
[] = { "self","col","item", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
1735 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1736 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
1737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
1745 wxPy_END_ALLOW_THREADS
;
1746 } _resultobj
= Py_BuildValue("i",_result
);
1750 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
1751 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1756 PyObject
* _argo0
= 0;
1757 char *_kwnames
[] = { "self","col", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
1773 wxPy_END_ALLOW_THREADS
;
1774 } _resultobj
= Py_BuildValue("i",_result
);
1778 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
1779 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1783 PyObject
* _argo0
= 0;
1784 char *_kwnames
[] = { "self", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
1797 wxPy_BEGIN_ALLOW_THREADS
;
1798 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
1800 wxPy_END_ALLOW_THREADS
;
1801 } _resultobj
= Py_BuildValue("i",_result
);
1805 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
1806 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1808 wxImageList
* _result
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self","which", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
1829 wxPy_END_ALLOW_THREADS
;
1831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
1832 _resultobj
= Py_BuildValue("s",_ptemp
);
1835 _resultobj
= Py_None
;
1840 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
1841 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self","item", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } _resultobj
= Py_BuildValue("l",_result
);
1868 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
) {
1869 wxListItem
* info
= new wxListItem
;
1870 info
->m_itemId
= itemId
;
1871 self
->GetItem(*info
);
1874 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxListItem
* _result
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self","itemId", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
);
1897 wxPy_END_ALLOW_THREADS
;
1899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
1900 _resultobj
= Py_BuildValue("s",_ptemp
);
1903 _resultobj
= Py_None
;
1908 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
1909 wxPoint
* pos
= new wxPoint
;
1910 self
->GetItemPosition(item
, *pos
);
1913 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1918 PyObject
* _argo0
= 0;
1919 char *_kwnames
[] = { "self","item", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
1936 wxPy_END_ALLOW_THREADS
;
1938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1939 _resultobj
= Py_BuildValue("s",_ptemp
);
1942 _resultobj
= Py_None
;
1947 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
1948 wxRect
* rect
= new wxRect
;
1949 self
->GetItemRect(item
, *rect
, code
);
1952 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1957 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","item","code", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1973 wxPy_BEGIN_ALLOW_THREADS
;
1974 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
1976 wxPy_END_ALLOW_THREADS
;
1978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1979 _resultobj
= Py_BuildValue("s",_ptemp
);
1982 _resultobj
= Py_None
;
1987 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1988 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1994 PyObject
* _argo0
= 0;
1995 char *_kwnames
[] = { "self","item","stateMask", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } _resultobj
= Py_BuildValue("i",_result
);
2016 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
2017 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 } _resultobj
= Py_BuildValue("i",_result
);
2043 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
2044 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2049 PyObject
* _argo0
= 0;
2051 char *_kwnames
[] = { "self","isSmall", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
2063 _arg1
= (bool ) tempbool1
;
2065 wxPy_BEGIN_ALLOW_THREADS
;
2066 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
2068 wxPy_END_ALLOW_THREADS
;
2069 } _resultobj
= Py_BuildValue("i",_result
);
2073 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2074 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2079 PyObject
* _argo0
= 0;
2080 char *_kwnames
[] = { "self","item", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
2096 wxPy_END_ALLOW_THREADS
;
2098 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2106 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
2107 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2112 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
2113 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
2131 wxPy_END_ALLOW_THREADS
;
2132 } _resultobj
= Py_BuildValue("l",_result
);
2136 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
2137 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2159 } _resultobj
= Py_BuildValue("i",_result
);
2163 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
2164 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2168 PyObject
* _argo0
= 0;
2169 char *_kwnames
[] = { "self", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
2186 wxPy_END_ALLOW_THREADS
;
2187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2188 _resultobj
= Py_BuildValue("s",_ptemp
);
2192 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2193 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _argo0
= 0;
2198 PyObject
* _argo1
= 0;
2199 char *_kwnames
[] = { "self","col", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_argo1
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
2212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
2219 wxPy_BEGIN_ALLOW_THREADS
;
2220 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
2222 wxPy_END_ALLOW_THREADS
;
2223 } Py_INCREF(Py_None
);
2224 _resultobj
= Py_None
;
2228 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
2229 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2233 PyObject
* _argo0
= 0;
2234 char *_kwnames
[] = { "self", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
2250 wxPy_END_ALLOW_THREADS
;
2251 } _resultobj
= Py_BuildValue("l",_result
);
2255 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
2256 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2263 PyObject
* _argo0
= 0;
2264 PyObject
* _argo1
= 0;
2265 char *_kwnames
[] = { "self","point", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_argo1
))
2274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
2281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } _resultobj
= Py_BuildValue("l",_result
);
2295 o
= PyInt_FromLong((long) (*_arg2
));
2296 _resultobj
= t_output_helper(_resultobj
, o
);
2301 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
2302 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _argo2
= 0;
2310 char *_kwnames
[] = { "self","col","info", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
2323 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } _resultobj
= Py_BuildValue("l",_result
);
2338 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2339 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2345 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
2346 int _arg4
= (int ) -1;
2347 PyObject
* _argo0
= 0;
2348 PyObject
* _obj2
= 0;
2349 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
2362 if (!PyString_Check(_obj2
)) {
2363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2366 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
2372 wxPy_END_ALLOW_THREADS
;
2373 } _resultobj
= Py_BuildValue("l",_result
);
2381 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
2382 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 PyObject
* _argo1
= 0;
2389 char *_kwnames
[] = { "self","info", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
2402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
2409 wxPy_BEGIN_ALLOW_THREADS
;
2410 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
2412 wxPy_END_ALLOW_THREADS
;
2413 } _resultobj
= Py_BuildValue("l",_result
);
2417 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2418 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2424 PyObject
* _argo0
= 0;
2425 PyObject
* _obj2
= 0;
2426 char *_kwnames
[] = { "self","index","label", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
2439 if (!PyString_Check(_obj2
)) {
2440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2443 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } _resultobj
= Py_BuildValue("l",_result
);
2458 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
2459 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2465 PyObject
* _argo0
= 0;
2466 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } _resultobj
= Py_BuildValue("l",_result
);
2487 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
2488 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2495 PyObject
* _argo0
= 0;
2496 PyObject
* _obj2
= 0;
2497 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
2510 if (!PyString_Check(_obj2
)) {
2511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2514 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2517 wxPy_BEGIN_ALLOW_THREADS
;
2518 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
2520 wxPy_END_ALLOW_THREADS
;
2521 } _resultobj
= Py_BuildValue("l",_result
);
2529 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
2530 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self","dx","dy", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } _resultobj
= Py_BuildValue("i",_result
);
2558 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2559 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2563 PyObject
* _argo0
= 0;
2564 PyObject
* _argo1
= 0;
2565 char *_kwnames
[] = { "self","col", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
2588 wxPy_END_ALLOW_THREADS
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2595 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2601 PyObject
* _argo0
= 0;
2602 PyObject
* _argo2
= 0;
2603 char *_kwnames
[] = { "self","col","item", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2616 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
2626 wxPy_END_ALLOW_THREADS
;
2627 } _resultobj
= Py_BuildValue("i",_result
);
2631 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2632 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self","col","width", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } _resultobj
= Py_BuildValue("i",_result
);
2660 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2661 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2664 wxImageList
* _arg1
;
2666 PyObject
* _argo0
= 0;
2667 PyObject
* _argo1
= 0;
2668 char *_kwnames
[] = { "self","imageList","which", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2688 wxPy_BEGIN_ALLOW_THREADS
;
2689 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
2691 wxPy_END_ALLOW_THREADS
;
2692 } Py_INCREF(Py_None
);
2693 _resultobj
= Py_None
;
2697 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2698 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 PyObject
* _argo1
= 0;
2705 char *_kwnames
[] = { "self","info", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
2728 wxPy_END_ALLOW_THREADS
;
2729 } _resultobj
= Py_BuildValue("i",_result
);
2733 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2734 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2741 int _arg4
= (int ) -1;
2742 PyObject
* _argo0
= 0;
2743 PyObject
* _obj3
= 0;
2744 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2757 if (!PyString_Check(_obj3
)) {
2758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2761 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } _resultobj
= Py_BuildValue("l",_result
);
2776 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2777 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2783 PyObject
* _argo0
= 0;
2784 char *_kwnames
[] = { "self","item","data", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } _resultobj
= Py_BuildValue("i",_result
);
2805 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2806 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } _resultobj
= Py_BuildValue("i",_result
);
2835 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2836 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2842 PyObject
* _argo0
= 0;
2843 PyObject
* _argo2
= 0;
2844 char *_kwnames
[] = { "self","item","pos", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
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_SetItemPosition. Expected _wxListCtrl_p.");
2857 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
2867 wxPy_END_ALLOW_THREADS
;
2868 } _resultobj
= Py_BuildValue("i",_result
);
2872 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2873 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2903 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2908 PyObject
* _argo0
= 0;
2909 PyObject
* _obj2
= 0;
2910 char *_kwnames
[] = { "self","item","text", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2923 if (!PyString_Check(_obj2
)) {
2924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2927 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2930 wxPy_BEGIN_ALLOW_THREADS
;
2931 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
2933 wxPy_END_ALLOW_THREADS
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2943 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2944 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2948 bool _arg2
= (bool ) TRUE
;
2949 PyObject
* _argo0
= 0;
2950 int tempbool2
= (int) TRUE
;
2951 char *_kwnames
[] = { "self","style","add", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2963 _arg2
= (bool ) tempbool2
;
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2975 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self","style", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
2996 wxPy_END_ALLOW_THREADS
;
2997 } Py_INCREF(Py_None
);
2998 _resultobj
= Py_None
;
3002 #define new_wxTreeItemId() (new wxTreeItemId())
3003 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3005 wxTreeItemId
* _result
;
3006 char *_kwnames
[] = { NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 _result
= (wxTreeItemId
*)new_wxTreeItemId();
3016 wxPy_END_ALLOW_THREADS
;
3018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3019 _resultobj
= Py_BuildValue("s",_ptemp
);
3022 _resultobj
= Py_None
;
3027 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
3028 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
* _resultobj
;
3030 wxTreeItemId
* _arg0
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 delete_wxTreeItemId(_arg0
);
3048 wxPy_END_ALLOW_THREADS
;
3049 } Py_INCREF(Py_None
);
3050 _resultobj
= Py_None
;
3054 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
3055 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
* _resultobj
;
3058 wxTreeItemId
* _arg0
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3077 } _resultobj
= Py_BuildValue("i",_result
);
3081 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
3082 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3084 wxPyTreeItemData
* _result
;
3085 PyObject
* _arg0
= (PyObject
*) NULL
;
3086 PyObject
* _obj0
= 0;
3087 char *_kwnames
[] = { "obj", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
3104 _resultobj
= Py_BuildValue("s",_ptemp
);
3107 _resultobj
= Py_None
;
3112 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
3113 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3116 wxPyTreeItemData
* _arg0
;
3117 PyObject
* _argo0
= 0;
3118 char *_kwnames
[] = { "self", NULL
};
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
3124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
3134 wxPy_END_ALLOW_THREADS
;
3136 _resultobj
= _result
;
3141 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
3142 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxPyTreeItemData
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 PyObject
* _obj1
= 0;
3148 char *_kwnames
[] = { "self","obj", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
3164 wxPy_BEGIN_ALLOW_THREADS
;
3165 wxTreeItemData_SetData(_arg0
,_arg1
);
3167 wxPy_END_ALLOW_THREADS
;
3168 } Py_INCREF(Py_None
);
3169 _resultobj
= Py_None
;
3173 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
3174 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
* _resultobj
;
3176 wxTreeItemId
* _result
;
3177 wxPyTreeItemData
* _arg0
;
3178 PyObject
* _argo0
= 0;
3179 char *_kwnames
[] = { "self", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
3195 _result
= (wxTreeItemId
*) &_result_ref
;
3197 wxPy_END_ALLOW_THREADS
;
3199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
3200 _resultobj
= Py_BuildValue("s",_ptemp
);
3203 _resultobj
= Py_None
;
3208 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
3209 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxPyTreeItemData
* _arg0
;
3212 wxTreeItemId
* _arg1
;
3213 PyObject
* _argo0
= 0;
3214 PyObject
* _argo1
= 0;
3215 char *_kwnames
[] = { "self","id", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
3228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 wxTreeItemData_SetId(_arg0
,*_arg1
);
3238 wxPy_END_ALLOW_THREADS
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3244 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
3246 wxNotifyEvent
*dest
;
3247 src
= (wxTreeEvent
*) ptr
;
3248 dest
= (wxNotifyEvent
*) src
;
3249 return (void *) dest
;
3252 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
3254 wxCommandEvent
*dest
;
3255 src
= (wxTreeEvent
*) ptr
;
3256 dest
= (wxCommandEvent
*) src
;
3257 return (void *) dest
;
3260 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
3263 src
= (wxTreeEvent
*) ptr
;
3264 dest
= (wxEvent
*) src
;
3265 return (void *) dest
;
3268 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
3269 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3271 wxTreeItemId
* _result
;
3272 wxTreeEvent
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
3288 wxPy_BEGIN_ALLOW_THREADS
;
3289 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
3291 wxPy_END_ALLOW_THREADS
;
3292 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3293 _resultobj
= Py_BuildValue("s",_ptemp
);
3297 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
3298 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3300 wxTreeItemId
* _result
;
3301 wxTreeEvent
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
3320 wxPy_END_ALLOW_THREADS
;
3321 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
3322 _resultobj
= Py_BuildValue("s",_ptemp
);
3326 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
3327 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3330 wxTreeEvent
* _arg0
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "self", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
3349 wxPy_END_ALLOW_THREADS
;
3350 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3351 _resultobj
= Py_BuildValue("s",_ptemp
);
3355 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
3356 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3359 wxTreeEvent
* _arg0
;
3360 PyObject
* _argo0
= 0;
3361 char *_kwnames
[] = { "self", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
3367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 _result
= (int )wxTreeEvent_GetCode(_arg0
);
3377 wxPy_END_ALLOW_THREADS
;
3378 } _resultobj
= Py_BuildValue("i",_result
);
3382 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
3383 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3386 wxTreeEvent
* _arg0
;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
3401 wxPy_BEGIN_ALLOW_THREADS
;
3402 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
3403 _result
= (wxString
*) &_result_ref
;
3405 wxPy_END_ALLOW_THREADS
;
3407 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3412 static void *SwigwxTreeCtrlTowxControl(void *ptr
) {
3415 src
= (wxTreeCtrl
*) ptr
;
3416 dest
= (wxControl
*) src
;
3417 return (void *) dest
;
3420 static void *SwigwxTreeCtrlTowxWindow(void *ptr
) {
3423 src
= (wxTreeCtrl
*) ptr
;
3424 dest
= (wxWindow
*) src
;
3425 return (void *) dest
;
3428 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr
) {
3431 src
= (wxTreeCtrl
*) ptr
;
3432 dest
= (wxEvtHandler
*) src
;
3433 return (void *) dest
;
3436 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3437 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxTreeCtrl
* _result
;
3441 wxWindowID _arg1
= (wxWindowID
) -1;
3442 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3443 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3444 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
3445 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
3446 char * _arg6
= (char *) "wxTreeCtrl";
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _argo2
= 0;
3449 PyObject
* _argo3
= 0;
3450 PyObject
* _argo5
= 0;
3451 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
3465 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
3472 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
3479 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 _result
= (wxTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3489 wxPy_END_ALLOW_THREADS
;
3491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3495 _resultobj
= Py_None
;
3500 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
3501 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
3522 wxPy_END_ALLOW_THREADS
;
3523 } _resultobj
= Py_BuildValue("i",_result
);
3527 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3528 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3530 unsigned int _result
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
3546 wxPy_BEGIN_ALLOW_THREADS
;
3547 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
3549 wxPy_END_ALLOW_THREADS
;
3550 } _resultobj
= Py_BuildValue("i",_result
);
3554 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3555 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
* _resultobj
;
3559 PyObject
* _argo0
= 0;
3560 char *_kwnames
[] = { "self","indent", NULL
};
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
3566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
3576 wxPy_END_ALLOW_THREADS
;
3577 } Py_INCREF(Py_None
);
3578 _resultobj
= Py_None
;
3582 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
3583 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxImageList
* _result
;
3587 PyObject
* _argo0
= 0;
3588 char *_kwnames
[] = { "self", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
3602 wxPy_BEGIN_ALLOW_THREADS
;
3603 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
3605 wxPy_END_ALLOW_THREADS
;
3607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3608 _resultobj
= Py_BuildValue("s",_ptemp
);
3611 _resultobj
= Py_None
;
3616 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
3617 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3619 wxImageList
* _result
;
3621 PyObject
* _argo0
= 0;
3622 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
3636 wxPy_BEGIN_ALLOW_THREADS
;
3637 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
3639 wxPy_END_ALLOW_THREADS
;
3641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3642 _resultobj
= Py_BuildValue("s",_ptemp
);
3645 _resultobj
= Py_None
;
3650 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
3651 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3654 wxImageList
* _arg1
;
3655 PyObject
* _argo0
= 0;
3656 PyObject
* _argo1
= 0;
3657 char *_kwnames
[] = { "self","imageList", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
3670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
3687 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3690 wxImageList
* _arg1
;
3691 PyObject
* _argo0
= 0;
3692 PyObject
* _argo1
= 0;
3693 char *_kwnames
[] = { "self","imageList", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
3706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
3713 wxPy_BEGIN_ALLOW_THREADS
;
3714 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
3716 wxPy_END_ALLOW_THREADS
;
3717 } Py_INCREF(Py_None
);
3718 _resultobj
= Py_None
;
3722 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3723 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3727 wxTreeItemId
* _arg1
;
3728 PyObject
* _argo0
= 0;
3729 PyObject
* _argo1
= 0;
3730 char *_kwnames
[] = { "self","item", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
3743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
3753 wxPy_END_ALLOW_THREADS
;
3755 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3763 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
3764 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3768 wxTreeItemId
* _arg1
;
3769 PyObject
* _argo0
= 0;
3770 PyObject
* _argo1
= 0;
3771 char *_kwnames
[] = { "self","item", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
3784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
3791 wxPy_BEGIN_ALLOW_THREADS
;
3792 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
);
3794 wxPy_END_ALLOW_THREADS
;
3795 } _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
3800 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3804 wxTreeItemId
* _arg1
;
3805 PyObject
* _argo0
= 0;
3806 PyObject
* _argo1
= 0;
3807 char *_kwnames
[] = { "self","item", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
3820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
3827 wxPy_BEGIN_ALLOW_THREADS
;
3828 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
3830 wxPy_END_ALLOW_THREADS
;
3831 } _resultobj
= Py_BuildValue("i",_result
);
3835 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3836 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3839 wxTreeItemId
* _arg1
;
3841 PyObject
* _argo0
= 0;
3842 PyObject
* _argo1
= 0;
3843 PyObject
* _obj2
= 0;
3844 char *_kwnames
[] = { "self","item","text", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3864 if (!PyString_Check(_obj2
)) {
3865 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3868 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3871 wxPy_BEGIN_ALLOW_THREADS
;
3872 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
3874 wxPy_END_ALLOW_THREADS
;
3875 } Py_INCREF(Py_None
);
3876 _resultobj
= Py_None
;
3884 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3885 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3888 wxTreeItemId
* _arg1
;
3890 PyObject
* _argo0
= 0;
3891 PyObject
* _argo1
= 0;
3892 char *_kwnames
[] = { "self","item","image", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } Py_INCREF(Py_None
);
3917 _resultobj
= Py_None
;
3921 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3922 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3925 wxTreeItemId
* _arg1
;
3927 PyObject
* _argo0
= 0;
3928 PyObject
* _argo1
= 0;
3929 char *_kwnames
[] = { "self","item","image", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3949 wxPy_BEGIN_ALLOW_THREADS
;
3950 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
3952 wxPy_END_ALLOW_THREADS
;
3953 } Py_INCREF(Py_None
);
3954 _resultobj
= Py_None
;
3958 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3959 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3962 wxTreeItemId
* _arg1
;
3963 bool _arg2
= (bool ) TRUE
;
3964 PyObject
* _argo0
= 0;
3965 PyObject
* _argo1
= 0;
3966 int tempbool2
= (int) TRUE
;
3967 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3980 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3981 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3986 _arg2
= (bool ) tempbool2
;
3988 wxPy_BEGIN_ALLOW_THREADS
;
3989 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
3991 wxPy_END_ALLOW_THREADS
;
3992 } Py_INCREF(Py_None
);
3993 _resultobj
= Py_None
;
3997 static wxPyTreeItemData
* wxTreeCtrl_GetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
3998 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4000 data
= new wxPyTreeItemData();
4001 self
->SetItemData(item
, data
);
4005 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4007 wxPyTreeItemData
* _result
;
4009 wxTreeItemId
* _arg1
;
4010 PyObject
* _argo0
= 0;
4011 PyObject
* _argo1
= 0;
4012 char *_kwnames
[] = { "self","item", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
4026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
4033 wxPy_BEGIN_ALLOW_THREADS
;
4034 _result
= (wxPyTreeItemData
*)wxTreeCtrl_GetItemData(_arg0
,*_arg1
);
4036 wxPy_END_ALLOW_THREADS
;
4038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4039 _resultobj
= Py_BuildValue("s",_ptemp
);
4042 _resultobj
= Py_None
;
4047 static void wxTreeCtrl_SetItemData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
4048 self
->SetItemData(item
, data
);
4050 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4053 wxTreeItemId
* _arg1
;
4054 wxPyTreeItemData
* _arg2
;
4055 PyObject
* _argo0
= 0;
4056 PyObject
* _argo1
= 0;
4057 PyObject
* _argo2
= 0;
4058 char *_kwnames
[] = { "self","item","data", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
4071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
4078 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
4085 wxPy_BEGIN_ALLOW_THREADS
;
4086 wxTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
4088 wxPy_END_ALLOW_THREADS
;
4089 } Py_INCREF(Py_None
);
4090 _resultobj
= Py_None
;
4094 static PyObject
* wxTreeCtrl_GetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
) {
4095 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4097 data
= new wxPyTreeItemData();
4098 self
->SetItemData(item
, data
);
4100 return data
->GetData();
4102 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 wxTreeItemId
* _arg1
;
4107 PyObject
* _argo0
= 0;
4108 PyObject
* _argo1
= 0;
4109 char *_kwnames
[] = { "self","item", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p.");
4122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 _result
= (PyObject
*)wxTreeCtrl_GetPyData(_arg0
,*_arg1
);
4132 wxPy_END_ALLOW_THREADS
;
4134 _resultobj
= _result
;
4139 static void wxTreeCtrl_SetPyData(wxTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
4140 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
4142 data
= new wxPyTreeItemData(obj
);
4143 self
->SetItemData(item
, data
);
4147 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4150 wxTreeItemId
* _arg1
;
4152 PyObject
* _argo0
= 0;
4153 PyObject
* _argo1
= 0;
4154 PyObject
* _obj2
= 0;
4155 char *_kwnames
[] = { "self","item","obj", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p.");
4168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
4188 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4192 wxTreeItemId
* _arg1
;
4193 PyObject
* _argo0
= 0;
4194 PyObject
* _argo1
= 0;
4195 char *_kwnames
[] = { "self","item", NULL
};
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
4201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
4208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
4218 wxPy_END_ALLOW_THREADS
;
4219 } _resultobj
= Py_BuildValue("i",_result
);
4223 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
4224 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4228 wxTreeItemId
* _arg1
;
4229 PyObject
* _argo0
= 0;
4230 PyObject
* _argo1
= 0;
4231 char *_kwnames
[] = { "self","item", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
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_ItemHasChildren. Expected _wxTreeCtrl_p.");
4244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
4254 wxPy_END_ALLOW_THREADS
;
4255 } _resultobj
= Py_BuildValue("i",_result
);
4259 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
4260 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4264 wxTreeItemId
* _arg1
;
4265 PyObject
* _argo0
= 0;
4266 PyObject
* _argo1
= 0;
4267 char *_kwnames
[] = { "self","item", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
4280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
4287 wxPy_BEGIN_ALLOW_THREADS
;
4288 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
4290 wxPy_END_ALLOW_THREADS
;
4291 } _resultobj
= Py_BuildValue("i",_result
);
4295 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4296 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4300 wxTreeItemId
* _arg1
;
4301 PyObject
* _argo0
= 0;
4302 PyObject
* _argo1
= 0;
4303 char *_kwnames
[] = { "self","item", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
4316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
4326 wxPy_END_ALLOW_THREADS
;
4327 } _resultobj
= Py_BuildValue("i",_result
);
4331 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
4332 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4334 wxTreeItemId
* _result
;
4336 PyObject
* _argo0
= 0;
4337 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
4354 wxPy_END_ALLOW_THREADS
;
4355 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4356 _resultobj
= Py_BuildValue("s",_ptemp
);
4360 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
4361 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4363 wxTreeItemId
* _result
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
4383 wxPy_END_ALLOW_THREADS
;
4384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4385 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
4390 static PyObject
*_wrap_wxTreeCtrl_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4392 wxTreeItemId
* _result
;
4394 wxTreeItemId
* _arg1
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _argo1
= 0;
4397 char *_kwnames
[] = { "self","item", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetParent",_kwnames
,&_argo0
,&_argo1
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
4411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
4418 wxPy_BEGIN_ALLOW_THREADS
;
4419 _result
= new wxTreeItemId (wxTreeCtrl_GetParent(_arg0
,*_arg1
));
4421 wxPy_END_ALLOW_THREADS
;
4422 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4423 _resultobj
= Py_BuildValue("s",_ptemp
);
4427 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
4428 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4432 wxTreeItemId
* _arg1
;
4433 bool _arg2
= (bool ) TRUE
;
4434 PyObject
* _argo0
= 0;
4435 PyObject
* _argo1
= 0;
4436 int tempbool2
= (int) TRUE
;
4437 char *_kwnames
[] = { "self","item","recursively", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p.");
4450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
4456 _arg2
= (bool ) tempbool2
;
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
4461 wxPy_END_ALLOW_THREADS
;
4462 } _resultobj
= Py_BuildValue("i",_result
);
4466 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
4467 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxTreeItemId
* _result
;
4471 wxTreeItemId
* _arg1
;
4473 PyObject
* _argo0
= 0;
4474 PyObject
* _argo1
= 0;
4476 PyObject
* _obj2
= 0;
4477 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
4491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
4498 temp
= (long) PyInt_AsLong(_obj2
);
4502 wxPy_BEGIN_ALLOW_THREADS
;
4503 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
4505 wxPy_END_ALLOW_THREADS
;
4506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4507 _resultobj
= Py_BuildValue("s",_ptemp
);
4510 o
= PyInt_FromLong((long) (*_arg2
));
4511 _resultobj
= t_output_helper(_resultobj
, o
);
4516 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
4517 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
* _resultobj
;
4519 wxTreeItemId
* _result
;
4521 wxTreeItemId
* _arg1
;
4523 PyObject
* _argo0
= 0;
4524 PyObject
* _argo1
= 0;
4526 PyObject
* _obj2
= 0;
4527 char *_kwnames
[] = { "self","item","INOUT", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
4541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
4548 temp
= (long) PyInt_AsLong(_obj2
);
4552 wxPy_BEGIN_ALLOW_THREADS
;
4553 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
4555 wxPy_END_ALLOW_THREADS
;
4556 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4557 _resultobj
= Py_BuildValue("s",_ptemp
);
4560 o
= PyInt_FromLong((long) (*_arg2
));
4561 _resultobj
= t_output_helper(_resultobj
, o
);
4566 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
4567 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4569 wxTreeItemId
* _result
;
4571 wxTreeItemId
* _arg1
;
4572 PyObject
* _argo0
= 0;
4573 PyObject
* _argo1
= 0;
4574 char *_kwnames
[] = { "self","item", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
4588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
4595 wxPy_BEGIN_ALLOW_THREADS
;
4596 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
4598 wxPy_END_ALLOW_THREADS
;
4599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4600 _resultobj
= Py_BuildValue("s",_ptemp
);
4604 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
4605 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4607 wxTreeItemId
* _result
;
4609 wxTreeItemId
* _arg1
;
4610 PyObject
* _argo0
= 0;
4611 PyObject
* _argo1
= 0;
4612 char *_kwnames
[] = { "self","item", NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
4619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
4626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
4633 wxPy_BEGIN_ALLOW_THREADS
;
4634 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
4636 wxPy_END_ALLOW_THREADS
;
4637 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4638 _resultobj
= Py_BuildValue("s",_ptemp
);
4642 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
4643 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4645 wxTreeItemId
* _result
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
4665 wxPy_END_ALLOW_THREADS
;
4666 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4667 _resultobj
= Py_BuildValue("s",_ptemp
);
4671 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
4672 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4674 wxTreeItemId
* _result
;
4676 wxTreeItemId
* _arg1
;
4677 PyObject
* _argo0
= 0;
4678 PyObject
* _argo1
= 0;
4679 char *_kwnames
[] = { "self","item", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
4693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
4700 wxPy_BEGIN_ALLOW_THREADS
;
4701 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
4703 wxPy_END_ALLOW_THREADS
;
4704 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4705 _resultobj
= Py_BuildValue("s",_ptemp
);
4709 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
4710 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4712 wxTreeItemId
* _result
;
4714 wxTreeItemId
* _arg1
;
4715 PyObject
* _argo0
= 0;
4716 PyObject
* _argo1
= 0;
4717 char *_kwnames
[] = { "self","item", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
4731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
4741 wxPy_END_ALLOW_THREADS
;
4742 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4743 _resultobj
= Py_BuildValue("s",_ptemp
);
4747 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4748 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4750 wxTreeItemId
* _result
;
4753 int _arg2
= (int ) -1;
4754 int _arg3
= (int ) -1;
4755 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
4756 PyObject
* _argo0
= 0;
4757 PyObject
* _obj1
= 0;
4758 PyObject
* _argo4
= 0;
4759 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
4773 if (!PyString_Check(_obj1
)) {
4774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4777 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4780 if (_argo4
== Py_None
) { _arg4
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
4790 wxPy_END_ALLOW_THREADS
;
4791 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4792 _resultobj
= Py_BuildValue("s",_ptemp
);
4800 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4801 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4803 wxTreeItemId
* _result
;
4805 wxTreeItemId
* _arg1
;
4807 int _arg3
= (int ) -1;
4808 int _arg4
= (int ) -1;
4809 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4810 PyObject
* _argo0
= 0;
4811 PyObject
* _argo1
= 0;
4812 PyObject
* _obj2
= 0;
4813 PyObject
* _argo5
= 0;
4814 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
4828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
4835 if (!PyString_Check(_obj2
)) {
4836 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4839 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4842 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4852 wxPy_END_ALLOW_THREADS
;
4853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4862 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4863 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4865 wxTreeItemId
* _result
;
4867 wxTreeItemId
* _arg1
;
4868 wxTreeItemId
* _arg2
;
4870 int _arg4
= (int ) -1;
4871 int _arg5
= (int ) -1;
4872 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
4873 PyObject
* _argo0
= 0;
4874 PyObject
* _argo1
= 0;
4875 PyObject
* _argo2
= 0;
4876 PyObject
* _obj3
= 0;
4877 PyObject
* _argo6
= 0;
4878 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
4892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4899 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
4906 if (!PyString_Check(_obj3
)) {
4907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4910 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4913 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4914 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
4920 wxPy_BEGIN_ALLOW_THREADS
;
4921 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
4923 wxPy_END_ALLOW_THREADS
;
4924 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4925 _resultobj
= Py_BuildValue("s",_ptemp
);
4933 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4934 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4936 wxTreeItemId
* _result
;
4938 wxTreeItemId
* _arg1
;
4940 int _arg3
= (int ) -1;
4941 int _arg4
= (int ) -1;
4942 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
4943 PyObject
* _argo0
= 0;
4944 PyObject
* _argo1
= 0;
4945 PyObject
* _obj2
= 0;
4946 PyObject
* _argo5
= 0;
4947 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
4961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
4968 if (!PyString_Check(_obj2
)) {
4969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4972 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4975 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4976 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
4985 wxPy_END_ALLOW_THREADS
;
4986 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4987 _resultobj
= Py_BuildValue("s",_ptemp
);
4995 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4996 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
4999 wxTreeItemId
* _arg1
;
5000 PyObject
* _argo0
= 0;
5001 PyObject
* _argo1
= 0;
5002 char *_kwnames
[] = { "self","item", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
5015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
5022 wxPy_BEGIN_ALLOW_THREADS
;
5023 wxTreeCtrl_Delete(_arg0
,*_arg1
);
5025 wxPy_END_ALLOW_THREADS
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5031 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
5032 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5035 wxTreeItemId
* _arg1
;
5036 PyObject
* _argo0
= 0;
5037 PyObject
* _argo1
= 0;
5038 char *_kwnames
[] = { "self","item", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
5051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
5058 wxPy_BEGIN_ALLOW_THREADS
;
5059 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
5061 wxPy_END_ALLOW_THREADS
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5067 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
5068 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5071 PyObject
* _argo0
= 0;
5072 char *_kwnames
[] = { "self", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 wxTreeCtrl_DeleteAllItems(_arg0
);
5088 wxPy_END_ALLOW_THREADS
;
5089 } Py_INCREF(Py_None
);
5090 _resultobj
= Py_None
;
5094 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
5095 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5098 wxTreeItemId
* _arg1
;
5099 PyObject
* _argo0
= 0;
5100 PyObject
* _argo1
= 0;
5101 char *_kwnames
[] = { "self","item", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
5114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 wxTreeCtrl_Expand(_arg0
,*_arg1
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } Py_INCREF(Py_None
);
5126 _resultobj
= Py_None
;
5130 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
5131 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5134 wxTreeItemId
* _arg1
;
5135 PyObject
* _argo0
= 0;
5136 PyObject
* _argo1
= 0;
5137 char *_kwnames
[] = { "self","item", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
5150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
5157 wxPy_BEGIN_ALLOW_THREADS
;
5158 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
5160 wxPy_END_ALLOW_THREADS
;
5161 } Py_INCREF(Py_None
);
5162 _resultobj
= Py_None
;
5166 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
5167 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5170 wxTreeItemId
* _arg1
;
5171 PyObject
* _argo0
= 0;
5172 PyObject
* _argo1
= 0;
5173 char *_kwnames
[] = { "self","item", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
5186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
5193 wxPy_BEGIN_ALLOW_THREADS
;
5194 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
5196 wxPy_END_ALLOW_THREADS
;
5197 } Py_INCREF(Py_None
);
5198 _resultobj
= Py_None
;
5202 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
5203 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
* _resultobj
;
5206 wxTreeItemId
* _arg1
;
5207 PyObject
* _argo0
= 0;
5208 PyObject
* _argo1
= 0;
5209 char *_kwnames
[] = { "self","item", NULL
};
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
5215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
5222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
5229 wxPy_BEGIN_ALLOW_THREADS
;
5230 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
5232 wxPy_END_ALLOW_THREADS
;
5233 } Py_INCREF(Py_None
);
5234 _resultobj
= Py_None
;
5238 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
5239 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 wxTreeCtrl_Unselect(_arg0
);
5259 wxPy_END_ALLOW_THREADS
;
5260 } Py_INCREF(Py_None
);
5261 _resultobj
= Py_None
;
5265 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
5266 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5269 PyObject
* _argo0
= 0;
5270 char *_kwnames
[] = { "self", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p.");
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 wxTreeCtrl_UnselectAll(_arg0
);
5286 wxPy_END_ALLOW_THREADS
;
5287 } Py_INCREF(Py_None
);
5288 _resultobj
= Py_None
;
5292 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
5293 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
* _resultobj
;
5296 wxTreeItemId
* _arg1
;
5297 PyObject
* _argo0
= 0;
5298 PyObject
* _argo1
= 0;
5299 char *_kwnames
[] = { "self","item", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
5312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
5319 wxPy_BEGIN_ALLOW_THREADS
;
5320 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
5322 wxPy_END_ALLOW_THREADS
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5328 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5329 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
* _resultobj
;
5332 wxTreeItemId
* _arg1
;
5333 PyObject
* _argo0
= 0;
5334 PyObject
* _argo1
= 0;
5335 char *_kwnames
[] = { "self","item", NULL
};
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
5341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
5348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
5355 wxPy_BEGIN_ALLOW_THREADS
;
5356 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
5358 wxPy_END_ALLOW_THREADS
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
5365 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5368 wxTreeItemId
* _arg1
;
5369 PyObject
* _argo0
= 0;
5370 PyObject
* _argo1
= 0;
5371 char *_kwnames
[] = { "self","item", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
5384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
5401 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5403 wxTextCtrl
* _result
;
5405 wxTreeItemId
* _arg1
;
5406 PyObject
* _argo0
= 0;
5407 PyObject
* _argo1
= 0;
5408 char *_kwnames
[] = { "self","item", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
5422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
5432 wxPy_END_ALLOW_THREADS
;
5434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5435 _resultobj
= Py_BuildValue("s",_ptemp
);
5438 _resultobj
= Py_None
;
5443 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
5444 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
* _resultobj
;
5446 wxTextCtrl
* _result
;
5448 PyObject
* _argo0
= 0;
5449 char *_kwnames
[] = { "self", NULL
};
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
5456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
5466 wxPy_END_ALLOW_THREADS
;
5468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5469 _resultobj
= Py_BuildValue("s",_ptemp
);
5472 _resultobj
= Py_None
;
5477 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
5478 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5481 wxTreeItemId
* _arg1
;
5482 bool _arg2
= (bool ) FALSE
;
5483 PyObject
* _argo0
= 0;
5484 PyObject
* _argo1
= 0;
5485 int tempbool2
= (int) FALSE
;
5486 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
5499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
5505 _arg2
= (bool ) tempbool2
;
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
5510 wxPy_END_ALLOW_THREADS
;
5511 } Py_INCREF(Py_None
);
5512 _resultobj
= Py_None
;
5516 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
5517 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
* _resultobj
;
5520 wxTreeItemId
* _arg1
;
5521 bool _arg2
= (bool ) TRUE
;
5522 PyObject
* _argo0
= 0;
5523 PyObject
* _argo1
= 0;
5524 int tempbool2
= (int) TRUE
;
5525 char *_kwnames
[] = { "self","item","bold", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
5538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
5544 _arg2
= (bool ) tempbool2
;
5546 wxPy_BEGIN_ALLOW_THREADS
;
5547 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
5549 wxPy_END_ALLOW_THREADS
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
5556 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5560 wxTreeItemId
* _arg1
;
5561 PyObject
* _argo0
= 0;
5562 PyObject
* _argo1
= 0;
5563 char *_kwnames
[] = { "self","item", NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
5569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
5576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
5583 wxPy_BEGIN_ALLOW_THREADS
;
5584 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
5586 wxPy_END_ALLOW_THREADS
;
5587 } _resultobj
= Py_BuildValue("i",_result
);
5591 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5592 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
* _resultobj
;
5594 wxTreeItemId
* _result
;
5597 PyObject
* _argo0
= 0;
5598 PyObject
* _argo1
= 0;
5599 char *_kwnames
[] = { "self","point", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_argo1
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
5613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
5615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
5620 wxPy_BEGIN_ALLOW_THREADS
;
5621 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
));
5623 wxPy_END_ALLOW_THREADS
;
5624 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5625 _resultobj
= Py_BuildValue("s",_ptemp
);
5629 static PyMethodDef controls2cMethods
[] = {
5630 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5631 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
5632 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
5633 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5634 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
5635 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5636 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
5637 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5638 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
5639 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
5640 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
5641 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
5642 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
5643 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
5644 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
5645 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5646 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
5647 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
5648 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
5649 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5650 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
5651 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
5652 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
5653 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
5654 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
5655 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
5656 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
5657 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
5658 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
5659 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
5660 { "wxTreeCtrl_GetParent", (PyCFunction
) _wrap_wxTreeCtrl_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
5661 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
5662 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
5663 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
5664 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
5665 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5666 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5667 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5668 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
5669 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5670 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5671 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
5672 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5673 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5674 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5675 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
5676 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5677 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5678 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5679 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5680 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
5681 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5682 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5683 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
5684 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
5685 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5686 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
5687 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
5688 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
5689 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
5690 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5691 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
5692 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
5693 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
5694 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
5695 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
5696 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5697 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5698 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
5699 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
5700 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
5701 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5702 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5703 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5704 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
5705 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5706 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5707 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
5708 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5709 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5710 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5711 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
5712 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
5713 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5714 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
5715 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
5716 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
5717 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
5718 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
5719 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
5720 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
5721 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5722 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
5723 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5724 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
5725 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
5726 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
5727 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
5728 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
5729 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
5730 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
5731 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
5732 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
5733 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
5734 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
5735 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
5736 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
5737 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
5738 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
5739 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
5740 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
5741 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
5742 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5743 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
5744 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
5745 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
5746 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
5747 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
5748 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
5749 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
5750 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5751 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
5752 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
5753 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
5754 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
5755 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
5756 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
5757 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5758 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5759 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5760 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5761 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
5762 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
5763 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
5764 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
5765 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5766 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
5767 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5768 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5769 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
5770 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
5771 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
5772 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
5773 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
5774 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
5775 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
5776 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
5777 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
5778 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
5779 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
5780 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
5781 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
5782 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
5783 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
5784 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
5785 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
5786 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
5793 * This table is used by the pointer type-checker
5795 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5796 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5797 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5798 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5799 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5800 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5801 { "_wxEvent","_class_wxEvent",0},
5802 { "_class_wxActivateEvent","_wxActivateEvent",0},
5803 { "_signed_long","_long",0},
5804 { "_wxMenuEvent","_class_wxMenuEvent",0},
5805 { "_wxPrintQuality","_int",0},
5806 { "_wxPrintQuality","_signed_int",0},
5807 { "_wxPrintQuality","_unsigned_int",0},
5808 { "_wxPrintQuality","_wxWindowID",0},
5809 { "_wxPrintQuality","_uint",0},
5810 { "_wxPrintQuality","_EBool",0},
5811 { "_wxPrintQuality","_size_t",0},
5812 { "_class_wxRegionIterator","_wxRegionIterator",0},
5813 { "_class_wxMenuBar","_wxMenuBar",0},
5814 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
5815 { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5816 { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
5817 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5818 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
5819 { "_class_wxEvtHandler","_wxEvtHandler",0},
5820 { "_wxPaintEvent","_class_wxPaintEvent",0},
5821 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5822 { "_wxCursor","_class_wxCursor",0},
5823 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5824 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5825 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5826 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
5827 { "_wxMask","_class_wxMask",0},
5828 { "_wxPen","_class_wxPen",0},
5829 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5830 { "_byte","_unsigned_char",0},
5831 { "_wxStaticBox","_class_wxStaticBox",0},
5832 { "_wxChoice","_class_wxChoice",0},
5833 { "_wxSlider","_class_wxSlider",0},
5834 { "_long","_wxDash",0},
5835 { "_long","_unsigned_long",0},
5836 { "_long","_signed_long",0},
5837 { "_wxImageList","_class_wxImageList",0},
5838 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5839 { "_wxBitmapButton","_class_wxBitmapButton",0},
5840 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5841 { "_class_wxGauge","_wxGauge",0},
5842 { "_wxDC","_class_wxDC",0},
5843 { "_wxListEvent","_class_wxListEvent",0},
5844 { "_wxSpinEvent","_class_wxSpinEvent",0},
5845 { "_size_t","_wxPrintQuality",0},
5846 { "_size_t","_unsigned_int",0},
5847 { "_size_t","_int",0},
5848 { "_size_t","_wxWindowID",0},
5849 { "_size_t","_uint",0},
5850 { "_class_wxRealPoint","_wxRealPoint",0},
5851 { "_wxPrinterDC","_class_wxPrinterDC",0},
5852 { "_class_wxMenuItem","_wxMenuItem",0},
5853 { "_class_wxPaintEvent","_wxPaintEvent",0},
5854 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5855 { "_wxPanel","_class_wxPanel",0},
5856 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5857 { "_wxCheckBox","_class_wxCheckBox",0},
5858 { "_wxPyEvent","_class_wxPyEvent",0},
5859 { "_wxTextCtrl","_class_wxTextCtrl",0},
5860 { "_class_wxMask","_wxMask",0},
5861 { "_class_wxKeyEvent","_wxKeyEvent",0},
5862 { "_wxColour","_class_wxColour",0},
5863 { "_class_wxDialog","_wxDialog",0},
5864 { "_wxIdleEvent","_class_wxIdleEvent",0},
5865 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5866 { "_wxStaticLine","_class_wxStaticLine",0},
5867 { "_wxBrush","_class_wxBrush",0},
5868 { "_wxShowEvent","_class_wxShowEvent",0},
5869 { "_uint","_wxPrintQuality",0},
5870 { "_uint","_size_t",0},
5871 { "_uint","_unsigned_int",0},
5872 { "_uint","_int",0},
5873 { "_uint","_wxWindowID",0},
5874 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5875 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
5876 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
5877 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
5878 { "_class_wxEvent","_wxEvent",0},
5879 { "_wxCheckListBox","_class_wxCheckListBox",0},
5880 { "_wxRect","_class_wxRect",0},
5881 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5882 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
5883 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
5884 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
5885 { "_wxCommandEvent","_class_wxCommandEvent",0},
5886 { "_wxSizeEvent","_class_wxSizeEvent",0},
5887 { "_wxPoint","_class_wxPoint",0},
5888 { "_class_wxButton","_wxButton",0},
5889 { "_wxRadioBox","_class_wxRadioBox",0},
5890 { "_wxBitmap","_class_wxBitmap",0},
5891 { "_wxPyTimer","_class_wxPyTimer",0},
5892 { "_wxWindowDC","_class_wxWindowDC",0},
5893 { "_wxScrollBar","_class_wxScrollBar",0},
5894 { "_wxSpinButton","_class_wxSpinButton",0},
5895 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5896 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5897 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
5898 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5899 { "_class_wxPyEvent","_wxPyEvent",0},
5900 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5901 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
5902 { "_wxListItem","_class_wxListItem",0},
5903 { "_class_wxStaticLine","_wxStaticLine",0},
5904 { "_wxScrollEvent","_class_wxScrollEvent",0},
5905 { "_EBool","_wxPrintQuality",0},
5906 { "_EBool","_signed_int",0},
5907 { "_EBool","_int",0},
5908 { "_EBool","_wxWindowID",0},
5909 { "_class_wxRegion","_wxRegion",0},
5910 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5911 { "_wxStaticText","_class_wxStaticText",0},
5912 { "_wxFont","_class_wxFont",0},
5913 { "_wxCloseEvent","_class_wxCloseEvent",0},
5914 { "_unsigned_long","_wxDash",0},
5915 { "_unsigned_long","_long",0},
5916 { "_class_wxRect","_wxRect",0},
5917 { "_class_wxDC","_wxDC",0},
5918 { "_class_wxTreeEvent","_wxTreeEvent",0},
5919 { "_class_wxPyTimer","_wxPyTimer",0},
5920 { "_wxFocusEvent","_class_wxFocusEvent",0},
5921 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5922 { "_class_wxSpinButton","_wxSpinButton",0},
5923 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5924 { "_class_wxPanel","_wxPanel",0},
5925 { "_class_wxCheckBox","_wxCheckBox",0},
5926 { "_wxComboBox","_class_wxComboBox",0},
5927 { "_wxRadioButton","_class_wxRadioButton",0},
5928 { "_signed_int","_wxPrintQuality",0},
5929 { "_signed_int","_EBool",0},
5930 { "_signed_int","_wxWindowID",0},
5931 { "_signed_int","_int",0},
5932 { "_class_wxTextCtrl","_wxTextCtrl",0},
5933 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5934 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
5935 { "_wxMenu","_class_wxMenu",0},
5936 { "_class_wxMoveEvent","_wxMoveEvent",0},
5937 { "_wxListBox","_class_wxListBox",0},
5938 { "_wxScreenDC","_class_wxScreenDC",0},
5939 { "_WXTYPE","_short",0},
5940 { "_WXTYPE","_signed_short",0},
5941 { "_WXTYPE","_unsigned_short",0},
5942 { "_class_wxBrush","_wxBrush",0},
5943 { "_unsigned_short","_WXTYPE",0},
5944 { "_unsigned_short","_short",0},
5945 { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5946 { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
5947 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
5948 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
5949 { "_class_wxWindow","_wxWindow",0},
5950 { "_class_wxStaticText","_wxStaticText",0},
5951 { "_class_wxFont","_wxFont",0},
5952 { "_class_wxCloseEvent","_wxCloseEvent",0},
5953 { "_class_wxMenuEvent","_wxMenuEvent",0},
5954 { "_wxClientDC","_class_wxClientDC",0},
5955 { "_wxMouseEvent","_class_wxMouseEvent",0},
5956 { "_wxListCtrl","_class_wxListCtrl",0},
5957 { "_class_wxPoint","_wxPoint",0},
5958 { "_wxRealPoint","_class_wxRealPoint",0},
5959 { "_class_wxRadioBox","_wxRadioBox",0},
5960 { "_signed_short","_WXTYPE",0},
5961 { "_signed_short","_short",0},
5962 { "_wxMemoryDC","_class_wxMemoryDC",0},
5963 { "_wxPaintDC","_class_wxPaintDC",0},
5964 { "_class_wxWindowDC","_wxWindowDC",0},
5965 { "_class_wxFocusEvent","_wxFocusEvent",0},
5966 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5967 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5968 { "_class_wxCursor","_wxCursor",0},
5969 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5970 { "_wxTreeItemId","_class_wxTreeItemId",0},
5971 { "_unsigned_char","_byte",0},
5972 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
5973 { "_class_wxMenu","_wxMenu",0},
5974 { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5975 { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
5976 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
5977 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
5978 { "_wxControl","_class_wxControl",0},
5979 { "_class_wxListBox","_wxListBox",0},
5980 { "_unsigned_int","_wxPrintQuality",0},
5981 { "_unsigned_int","_size_t",0},
5982 { "_unsigned_int","_uint",0},
5983 { "_unsigned_int","_wxWindowID",0},
5984 { "_unsigned_int","_int",0},
5985 { "_wxIcon","_class_wxIcon",0},
5986 { "_wxDialog","_class_wxDialog",0},
5987 { "_class_wxListItem","_wxListItem",0},
5988 { "_class_wxPen","_wxPen",0},
5989 { "_short","_WXTYPE",0},
5990 { "_short","_unsigned_short",0},
5991 { "_short","_signed_short",0},
5992 { "_class_wxStaticBox","_wxStaticBox",0},
5993 { "_class_wxScrollEvent","_wxScrollEvent",0},
5994 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5995 { "_class_wxChoice","_wxChoice",0},
5996 { "_class_wxSlider","_wxSlider",0},
5997 { "_class_wxImageList","_wxImageList",0},
5998 { "_class_wxBitmapButton","_wxBitmapButton",0},
5999 { "_wxWindowID","_wxPrintQuality",0},
6000 { "_wxWindowID","_size_t",0},
6001 { "_wxWindowID","_EBool",0},
6002 { "_wxWindowID","_uint",0},
6003 { "_wxWindowID","_int",0},
6004 { "_wxWindowID","_signed_int",0},
6005 { "_wxWindowID","_unsigned_int",0},
6006 { "_int","_wxPrintQuality",0},
6007 { "_int","_size_t",0},
6008 { "_int","_EBool",0},
6009 { "_int","_uint",0},
6010 { "_int","_wxWindowID",0},
6011 { "_int","_unsigned_int",0},
6012 { "_int","_signed_int",0},
6013 { "_class_wxMouseEvent","_wxMouseEvent",0},
6014 { "_class_wxListEvent","_wxListEvent",0},
6015 { "_class_wxSpinEvent","_wxSpinEvent",0},
6016 { "_wxButton","_class_wxButton",0},
6017 { "_wxSize","_class_wxSize",0},
6018 { "_wxRegionIterator","_class_wxRegionIterator",0},
6019 { "_class_wxPrinterDC","_wxPrinterDC",0},
6020 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
6021 { "_class_wxPaintDC","_wxPaintDC",0},
6022 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6023 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6024 { "_class_wxComboBox","_wxComboBox",0},
6025 { "_class_wxRadioButton","_wxRadioButton",0},
6026 { "_class_wxTreeItemId","_wxTreeItemId",0},
6027 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
6028 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6029 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6030 { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6031 { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl
},
6032 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
6033 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
6034 { "_class_wxControl","_wxControl",0},
6035 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
6036 { "_class_wxIcon","_wxIcon",0},
6037 { "_class_wxColour","_wxColour",0},
6038 { "_class_wxScreenDC","_wxScreenDC",0},
6039 { "_wxPalette","_class_wxPalette",0},
6040 { "_class_wxIdleEvent","_wxIdleEvent",0},
6041 { "_wxEraseEvent","_class_wxEraseEvent",0},
6042 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6043 { "_wxRegion","_class_wxRegion",0},
6044 { "_class_wxShowEvent","_wxShowEvent",0},
6045 { "_wxActivateEvent","_class_wxActivateEvent",0},
6046 { "_wxGauge","_class_wxGauge",0},
6047 { "_class_wxCheckListBox","_wxCheckListBox",0},
6048 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6049 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
6050 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
6051 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
6052 { "_class_wxCommandEvent","_wxCommandEvent",0},
6053 { "_class_wxClientDC","_wxClientDC",0},
6054 { "_class_wxSizeEvent","_wxSizeEvent",0},
6055 { "_class_wxListCtrl","_wxListCtrl",0},
6056 { "_class_wxSize","_wxSize",0},
6057 { "_class_wxBitmap","_wxBitmap",0},
6058 { "_class_wxMemoryDC","_wxMemoryDC",0},
6059 { "_wxMenuBar","_class_wxMenuBar",0},
6060 { "_wxTreeEvent","_class_wxTreeEvent",0},
6061 { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6062 { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler
},
6063 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6064 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
6065 { "_wxEvtHandler","_class_wxEvtHandler",0},
6066 { "_wxMenuItem","_class_wxMenuItem",0},
6067 { "_class_wxScrollBar","_wxScrollBar",0},
6068 { "_wxDash","_unsigned_long",0},
6069 { "_wxDash","_long",0},
6070 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6071 { "_wxKeyEvent","_class_wxKeyEvent",0},
6072 { "_wxMoveEvent","_class_wxMoveEvent",0},
6073 { "_class_wxPalette","_wxPalette",0},
6074 { "_class_wxEraseEvent","_wxEraseEvent",0},
6075 { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6076 { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow
},
6077 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
6078 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
6079 { "_wxWindow","_class_wxWindow",0},
6082 static PyObject
*SWIG_globals
;
6086 SWIGEXPORT(void) initcontrols2c() {
6088 SWIG_globals
= SWIG_newvarlink();
6089 m
= Py_InitModule("controls2c", controls2cMethods
);
6090 d
= PyModule_GetDict(m
);
6091 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
6092 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
6093 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
6094 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
6095 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
6096 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
6097 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
6098 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
6099 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
6100 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
6101 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
6102 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
6103 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
6104 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
6105 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
6106 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
6107 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
6108 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
6109 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
6110 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
6111 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
6112 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
6113 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
6114 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
6115 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
6116 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
6117 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
6118 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
6119 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
6120 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
6121 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
6122 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
6123 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
6124 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
6125 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
6126 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
6127 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
6128 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
6129 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
6130 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
6131 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
6132 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
6133 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
6136 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6137 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);