2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
60 #include <wx/listctrl.h>
61 #include <wx/treectrl.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
111 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
113 PyObject
* func
= (PyObject
*)funcPtr
;
114 bool doSave
= wxPyRestoreThread();
116 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
117 PyObject
* result
= PyEval_CallObject(func
, args
);
120 retval
= PyInt_AsLong(result
);
124 wxPySaveThread(doSave
);
129 class wxPyTreeItemData
: public wxTreeItemData
{
131 wxPyTreeItemData(PyObject
* obj
= NULL
) {
138 ~wxPyTreeItemData() {
139 bool doSave
= wxPyRestoreThread();
141 wxPySaveThread(doSave
);
144 PyObject
* GetData() {
149 void SetData(PyObject
* obj
) {
150 bool doSave
= wxPyRestoreThread();
152 wxPySaveThread(doSave
);
160 class wxPyTreeCtrl
: public wxTreeCtrl
{
162 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
166 const wxValidator
& validator
,
168 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
171 int OnCompareItems(const wxTreeItemId
& item1
,
172 const wxTreeItemId
& item2
) {
174 bool doSave
= wxPyRestoreThread();
175 if (m_myInst
.findCallback("OnCompareItems"))
176 rval
= m_myInst
.callCallback(Py_BuildValue(
178 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
179 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
181 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
182 wxPySaveThread(doSave
);
191 #define new_wxListItemAttr() (new wxListItemAttr())
192 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
193 PyObject
* _resultobj
;
194 wxListItemAttr
* _result
;
195 char *_kwnames
[] = { NULL
};
199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
202 wxPy_BEGIN_ALLOW_THREADS
;
203 _result
= (wxListItemAttr
*)new_wxListItemAttr();
205 wxPy_END_ALLOW_THREADS
;
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
211 _resultobj
= Py_None
;
216 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
217 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
219 wxListItemAttr
* _arg0
;
221 PyObject
* _argo0
= 0;
223 PyObject
* _obj1
= 0;
224 char *_kwnames
[] = { "self","colText", NULL
};
227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
238 if (! wxColour_helper(_obj1
, &_arg1
))
242 wxPy_BEGIN_ALLOW_THREADS
;
243 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
245 wxPy_END_ALLOW_THREADS
;
246 } Py_INCREF(Py_None
);
247 _resultobj
= Py_None
;
251 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
252 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
254 wxListItemAttr
* _arg0
;
256 PyObject
* _argo0
= 0;
258 PyObject
* _obj1
= 0;
259 char *_kwnames
[] = { "self","colBack", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
273 if (! wxColour_helper(_obj1
, &_arg1
))
277 wxPy_BEGIN_ALLOW_THREADS
;
278 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
280 wxPy_END_ALLOW_THREADS
;
281 } Py_INCREF(Py_None
);
282 _resultobj
= Py_None
;
286 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
287 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
288 PyObject
* _resultobj
;
289 wxListItemAttr
* _arg0
;
291 PyObject
* _argo0
= 0;
292 PyObject
* _argo1
= 0;
293 char *_kwnames
[] = { "self","font", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
313 wxPy_BEGIN_ALLOW_THREADS
;
314 wxListItemAttr_SetFont(_arg0
,*_arg1
);
316 wxPy_END_ALLOW_THREADS
;
317 } Py_INCREF(Py_None
);
318 _resultobj
= Py_None
;
322 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
323 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
326 wxListItemAttr
* _arg0
;
327 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "self", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
341 wxPy_BEGIN_ALLOW_THREADS
;
342 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
344 wxPy_END_ALLOW_THREADS
;
345 } _resultobj
= Py_BuildValue("i",_result
);
349 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
350 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
353 wxListItemAttr
* _arg0
;
354 PyObject
* _argo0
= 0;
355 char *_kwnames
[] = { "self", NULL
};
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
368 wxPy_BEGIN_ALLOW_THREADS
;
369 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
371 wxPy_END_ALLOW_THREADS
;
372 } _resultobj
= Py_BuildValue("i",_result
);
376 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
377 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
380 wxListItemAttr
* _arg0
;
381 PyObject
* _argo0
= 0;
382 char *_kwnames
[] = { "self", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
395 wxPy_BEGIN_ALLOW_THREADS
;
396 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
398 wxPy_END_ALLOW_THREADS
;
399 } _resultobj
= Py_BuildValue("i",_result
);
403 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
404 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
407 wxListItemAttr
* _arg0
;
408 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
423 wxPy_BEGIN_ALLOW_THREADS
;
424 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
425 _result
= (wxColour
*) &_result_ref
;
427 wxPy_END_ALLOW_THREADS
;
429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
430 _resultobj
= Py_BuildValue("s",_ptemp
);
433 _resultobj
= Py_None
;
438 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
439 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 wxListItemAttr
* _arg0
;
443 PyObject
* _argo0
= 0;
444 char *_kwnames
[] = { "self", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
458 wxPy_BEGIN_ALLOW_THREADS
;
459 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
460 _result
= (wxColour
*) &_result_ref
;
462 wxPy_END_ALLOW_THREADS
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
474 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxListItemAttr
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
495 _result
= (wxFont
*) &_result_ref
;
497 wxPy_END_ALLOW_THREADS
;
499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
503 _resultobj
= Py_None
;
508 #define new_wxListItem() (new wxListItem())
509 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
511 wxListItem
* _result
;
512 char *_kwnames
[] = { NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
519 wxPy_BEGIN_ALLOW_THREADS
;
520 _result
= (wxListItem
*)new_wxListItem();
522 wxPy_END_ALLOW_THREADS
;
524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
525 _resultobj
= Py_BuildValue("s",_ptemp
);
528 _resultobj
= Py_None
;
533 #define delete_wxListItem(_swigobj) (delete _swigobj)
534 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
537 PyObject
* _argo0
= 0;
538 char *_kwnames
[] = { "self", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
551 wxPy_BEGIN_ALLOW_THREADS
;
552 delete_wxListItem(_arg0
);
554 wxPy_END_ALLOW_THREADS
;
555 } Py_INCREF(Py_None
);
556 _resultobj
= Py_None
;
560 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
561 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 PyObject
* _argo0
= 0;
565 char *_kwnames
[] = { "self", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
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_Clear. Expected _wxListItem_p.");
578 wxPy_BEGIN_ALLOW_THREADS
;
579 wxListItem_Clear(_arg0
);
581 wxPy_END_ALLOW_THREADS
;
582 } Py_INCREF(Py_None
);
583 _resultobj
= Py_None
;
587 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
588 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_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_ClearAttributes. Expected _wxListItem_p.");
605 wxPy_BEGIN_ALLOW_THREADS
;
606 wxListItem_ClearAttributes(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
615 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self","mask", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_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_SetMask. Expected _wxListItem_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 wxListItem_SetMask(_arg0
,_arg1
);
636 wxPy_END_ALLOW_THREADS
;
637 } Py_INCREF(Py_None
);
638 _resultobj
= Py_None
;
642 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
643 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self","id", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxListItem_SetId(_arg0
,_arg1
);
664 wxPy_END_ALLOW_THREADS
;
665 } Py_INCREF(Py_None
);
666 _resultobj
= Py_None
;
670 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
671 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self","col", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 wxListItem_SetColumn(_arg0
,_arg1
);
692 wxPy_END_ALLOW_THREADS
;
693 } Py_INCREF(Py_None
);
694 _resultobj
= Py_None
;
698 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
699 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
703 PyObject
* _argo0
= 0;
704 char *_kwnames
[] = { "self","state", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
717 wxPy_BEGIN_ALLOW_THREADS
;
718 wxListItem_SetState(_arg0
,_arg1
);
720 wxPy_END_ALLOW_THREADS
;
721 } Py_INCREF(Py_None
);
722 _resultobj
= Py_None
;
726 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
727 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
728 PyObject
* _resultobj
;
731 PyObject
* _argo0
= 0;
732 char *_kwnames
[] = { "self","stateMask", NULL
};
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
745 wxPy_BEGIN_ALLOW_THREADS
;
746 wxListItem_SetStateMask(_arg0
,_arg1
);
748 wxPy_END_ALLOW_THREADS
;
749 } Py_INCREF(Py_None
);
750 _resultobj
= Py_None
;
754 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
755 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
759 PyObject
* _argo0
= 0;
760 PyObject
* _obj1
= 0;
761 char *_kwnames
[] = { "self","text", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
774 #if PYTHON_API_VERSION >= 1009
775 char* tmpPtr
; int tmpSize
;
776 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
777 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
780 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
782 _arg1
= new wxString(tmpPtr
, tmpSize
);
784 if (!PyString_Check(_obj1
)) {
785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
788 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
792 wxPy_BEGIN_ALLOW_THREADS
;
793 wxListItem_SetText(_arg0
,*_arg1
);
795 wxPy_END_ALLOW_THREADS
;
796 } Py_INCREF(Py_None
);
797 _resultobj
= Py_None
;
805 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
806 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self","image", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
824 wxPy_BEGIN_ALLOW_THREADS
;
825 wxListItem_SetImage(_arg0
,_arg1
);
827 wxPy_END_ALLOW_THREADS
;
828 } Py_INCREF(Py_None
);
829 _resultobj
= Py_None
;
833 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
834 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self","data", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 wxListItem_SetData(_arg0
,_arg1
);
855 wxPy_END_ALLOW_THREADS
;
856 } Py_INCREF(Py_None
);
857 _resultobj
= Py_None
;
861 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
862 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self","width", NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 wxListItem_SetWidth(_arg0
,_arg1
);
883 wxPy_END_ALLOW_THREADS
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
890 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
893 wxListColumnFormat _arg1
;
894 PyObject
* _argo0
= 0;
895 char *_kwnames
[] = { "self","align", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
908 wxPy_BEGIN_ALLOW_THREADS
;
909 wxListItem_SetAlign(_arg0
,_arg1
);
911 wxPy_END_ALLOW_THREADS
;
912 } Py_INCREF(Py_None
);
913 _resultobj
= Py_None
;
917 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
918 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
919 PyObject
* _resultobj
;
922 PyObject
* _argo0
= 0;
924 PyObject
* _obj1
= 0;
925 char *_kwnames
[] = { "self","colText", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
939 if (! wxColour_helper(_obj1
, &_arg1
))
943 wxPy_BEGIN_ALLOW_THREADS
;
944 wxListItem_SetTextColour(_arg0
,*_arg1
);
946 wxPy_END_ALLOW_THREADS
;
947 } Py_INCREF(Py_None
);
948 _resultobj
= Py_None
;
952 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
953 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
957 PyObject
* _argo0
= 0;
959 PyObject
* _obj1
= 0;
960 char *_kwnames
[] = { "self","colBack", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
974 if (! wxColour_helper(_obj1
, &_arg1
))
978 wxPy_BEGIN_ALLOW_THREADS
;
979 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
981 wxPy_END_ALLOW_THREADS
;
982 } Py_INCREF(Py_None
);
983 _resultobj
= Py_None
;
987 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
988 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
992 PyObject
* _argo0
= 0;
993 PyObject
* _argo1
= 0;
994 char *_kwnames
[] = { "self","font", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 wxListItem_SetFont(_arg0
,*_arg1
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1023 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1024 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1028 PyObject
* _argo0
= 0;
1029 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 _result
= (long )wxListItem_GetMask(_arg0
);
1045 wxPy_END_ALLOW_THREADS
;
1046 } _resultobj
= Py_BuildValue("l",_result
);
1050 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1051 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1055 PyObject
* _argo0
= 0;
1056 char *_kwnames
[] = { "self", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 _result
= (long )wxListItem_GetId(_arg0
);
1072 wxPy_END_ALLOW_THREADS
;
1073 } _resultobj
= Py_BuildValue("l",_result
);
1077 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1078 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1096 wxPy_BEGIN_ALLOW_THREADS
;
1097 _result
= (int )wxListItem_GetColumn(_arg0
);
1099 wxPy_END_ALLOW_THREADS
;
1100 } _resultobj
= Py_BuildValue("i",_result
);
1104 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1105 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1123 wxPy_BEGIN_ALLOW_THREADS
;
1124 _result
= (long )wxListItem_GetState(_arg0
);
1126 wxPy_END_ALLOW_THREADS
;
1127 } _resultobj
= Py_BuildValue("l",_result
);
1131 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1132 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1136 PyObject
* _argo0
= 0;
1137 char *_kwnames
[] = { "self", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1150 wxPy_BEGIN_ALLOW_THREADS
;
1151 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1152 _result
= (wxString
*) &_result_ref
;
1154 wxPy_END_ALLOW_THREADS
;
1156 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1161 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1162 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
* _resultobj
;
1166 PyObject
* _argo0
= 0;
1167 char *_kwnames
[] = { "self", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (int )wxListItem_GetImage(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1189 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 _result
= (long )wxListItem_GetData(_arg0
);
1210 wxPy_END_ALLOW_THREADS
;
1211 } _resultobj
= Py_BuildValue("l",_result
);
1215 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1216 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1220 PyObject
* _argo0
= 0;
1221 char *_kwnames
[] = { "self", NULL
};
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 _result
= (int )wxListItem_GetWidth(_arg0
);
1237 wxPy_END_ALLOW_THREADS
;
1238 } _resultobj
= Py_BuildValue("i",_result
);
1242 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1243 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxListColumnFormat _result
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1264 wxPy_END_ALLOW_THREADS
;
1265 } _resultobj
= Py_BuildValue("i",_result
);
1269 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1270 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxListItemAttr
* _result
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1292 wxPy_END_ALLOW_THREADS
;
1294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1295 _resultobj
= Py_BuildValue("s",_ptemp
);
1298 _resultobj
= Py_None
;
1303 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1304 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1308 PyObject
* _argo0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1325 wxPy_END_ALLOW_THREADS
;
1326 } _resultobj
= Py_BuildValue("i",_result
);
1330 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1331 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1353 wxPy_END_ALLOW_THREADS
;
1354 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1355 _resultobj
= Py_BuildValue("s",_ptemp
);
1359 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1360 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1364 PyObject
* _argo0
= 0;
1365 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1382 wxPy_END_ALLOW_THREADS
;
1383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1384 _resultobj
= Py_BuildValue("s",_ptemp
);
1388 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1389 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1393 PyObject
* _argo0
= 0;
1394 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1411 wxPy_END_ALLOW_THREADS
;
1412 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1413 _resultobj
= Py_BuildValue("s",_ptemp
);
1417 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1418 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self","m_mask", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } _resultobj
= Py_BuildValue("l",_result
);
1445 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1446 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1450 PyObject
* _argo0
= 0;
1451 char *_kwnames
[] = { "self", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= (long )wxListItem_m_mask_get(_arg0
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } _resultobj
= Py_BuildValue("l",_result
);
1472 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1473 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1478 PyObject
* _argo0
= 0;
1479 char *_kwnames
[] = { "self","m_itemId", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1495 wxPy_END_ALLOW_THREADS
;
1496 } _resultobj
= Py_BuildValue("l",_result
);
1500 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1501 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1505 PyObject
* _argo0
= 0;
1506 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1522 wxPy_END_ALLOW_THREADS
;
1523 } _resultobj
= Py_BuildValue("l",_result
);
1527 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1528 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1533 PyObject
* _argo0
= 0;
1534 char *_kwnames
[] = { "self","m_col", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } _resultobj
= Py_BuildValue("i",_result
);
1555 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1556 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 _result
= (int )wxListItem_m_col_get(_arg0
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } _resultobj
= Py_BuildValue("i",_result
);
1582 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1583 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1589 char *_kwnames
[] = { "self","m_state", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } _resultobj
= Py_BuildValue("l",_result
);
1610 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1611 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 _result
= (long )wxListItem_m_state_get(_arg0
);
1632 wxPy_END_ALLOW_THREADS
;
1633 } _resultobj
= Py_BuildValue("l",_result
);
1637 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1638 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1643 PyObject
* _argo0
= 0;
1644 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1660 wxPy_END_ALLOW_THREADS
;
1661 } _resultobj
= Py_BuildValue("l",_result
);
1665 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1666 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1684 wxPy_BEGIN_ALLOW_THREADS
;
1685 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1687 wxPy_END_ALLOW_THREADS
;
1688 } _resultobj
= Py_BuildValue("l",_result
);
1692 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1693 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1698 PyObject
* _argo0
= 0;
1699 PyObject
* _obj1
= 0;
1700 char *_kwnames
[] = { "self","m_text", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1713 #if PYTHON_API_VERSION >= 1009
1714 char* tmpPtr
; int tmpSize
;
1715 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1716 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1719 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1721 _arg1
= new wxString(tmpPtr
, tmpSize
);
1723 if (!PyString_Check(_obj1
)) {
1724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1727 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1734 wxPy_END_ALLOW_THREADS
;
1736 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1745 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1746 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1750 PyObject
* _argo0
= 0;
1751 char *_kwnames
[] = { "self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1767 wxPy_END_ALLOW_THREADS
;
1769 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1774 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1775 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self","m_image", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1797 wxPy_END_ALLOW_THREADS
;
1798 } _resultobj
= Py_BuildValue("i",_result
);
1802 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1803 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1808 char *_kwnames
[] = { "self", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 _result
= (int )wxListItem_m_image_get(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1825 } _resultobj
= Py_BuildValue("i",_result
);
1829 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1830 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1835 PyObject
* _argo0
= 0;
1836 char *_kwnames
[] = { "self","m_data", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1849 wxPy_BEGIN_ALLOW_THREADS
;
1850 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1852 wxPy_END_ALLOW_THREADS
;
1853 } _resultobj
= Py_BuildValue("l",_result
);
1857 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1858 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1862 PyObject
* _argo0
= 0;
1863 char *_kwnames
[] = { "self", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (long )wxListItem_m_data_get(_arg0
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("l",_result
);
1884 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1885 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self","m_format", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1913 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (int )wxListItem_m_format_get(_arg0
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1940 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","m_width", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } _resultobj
= Py_BuildValue("i",_result
);
1967 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1968 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 _result
= (int )wxListItem_m_width_get(_arg0
);
1989 wxPy_END_ALLOW_THREADS
;
1990 } _resultobj
= Py_BuildValue("i",_result
);
1994 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
1996 wxNotifyEvent
*dest
;
1997 src
= (wxListEvent
*) ptr
;
1998 dest
= (wxNotifyEvent
*) src
;
1999 return (void *) dest
;
2002 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2004 wxCommandEvent
*dest
;
2005 src
= (wxListEvent
*) ptr
;
2006 dest
= (wxCommandEvent
*) src
;
2007 return (void *) dest
;
2010 static void *SwigwxListEventTowxEvent(void *ptr
) {
2013 src
= (wxListEvent
*) ptr
;
2014 dest
= (wxEvent
*) src
;
2015 return (void *) dest
;
2018 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2019 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2022 wxListEvent
* _arg0
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self","m_code", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2041 wxPy_END_ALLOW_THREADS
;
2042 } _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2047 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 wxListEvent
* _arg0
;
2051 PyObject
* _argo0
= 0;
2052 char *_kwnames
[] = { "self", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2065 wxPy_BEGIN_ALLOW_THREADS
;
2066 _result
= (int )wxListEvent_m_code_get(_arg0
);
2068 wxPy_END_ALLOW_THREADS
;
2069 } _resultobj
= Py_BuildValue("i",_result
);
2073 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2074 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 wxListEvent
* _arg0
;
2079 PyObject
* _argo0
= 0;
2080 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2096 wxPy_END_ALLOW_THREADS
;
2097 } _resultobj
= Py_BuildValue("l",_result
);
2101 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2102 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 wxListEvent
* _arg0
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2120 wxPy_BEGIN_ALLOW_THREADS
;
2121 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2123 wxPy_END_ALLOW_THREADS
;
2124 } _resultobj
= Py_BuildValue("l",_result
);
2128 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2129 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2132 wxListEvent
* _arg0
;
2134 PyObject
* _argo0
= 0;
2135 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2148 wxPy_BEGIN_ALLOW_THREADS
;
2149 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2151 wxPy_END_ALLOW_THREADS
;
2152 } _resultobj
= Py_BuildValue("l",_result
);
2156 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2157 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2160 wxListEvent
* _arg0
;
2161 PyObject
* _argo0
= 0;
2162 char *_kwnames
[] = { "self", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2175 wxPy_BEGIN_ALLOW_THREADS
;
2176 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2178 wxPy_END_ALLOW_THREADS
;
2179 } _resultobj
= Py_BuildValue("l",_result
);
2183 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2184 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2187 wxListEvent
* _arg0
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self","m_col", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2206 wxPy_END_ALLOW_THREADS
;
2207 } _resultobj
= Py_BuildValue("i",_result
);
2211 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2212 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2215 wxListEvent
* _arg0
;
2216 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "self", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2230 wxPy_BEGIN_ALLOW_THREADS
;
2231 _result
= (int )wxListEvent_m_col_get(_arg0
);
2233 wxPy_END_ALLOW_THREADS
;
2234 } _resultobj
= Py_BuildValue("i",_result
);
2238 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2239 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2242 wxListEvent
* _arg0
;
2244 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2258 _arg1
= (bool ) tempbool1
;
2260 wxPy_BEGIN_ALLOW_THREADS
;
2261 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2263 wxPy_END_ALLOW_THREADS
;
2264 } _resultobj
= Py_BuildValue("i",_result
);
2268 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2269 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2272 wxListEvent
* _arg0
;
2273 PyObject
* _argo0
= 0;
2274 char *_kwnames
[] = { "self", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2287 wxPy_BEGIN_ALLOW_THREADS
;
2288 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2290 wxPy_END_ALLOW_THREADS
;
2291 } _resultobj
= Py_BuildValue("i",_result
);
2295 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2296 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2299 wxListEvent
* _arg0
;
2301 PyObject
* _argo0
= 0;
2303 PyObject
* _obj1
= 0;
2304 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2319 if (! wxPoint_helper(_obj1
, &_arg1
))
2323 wxPy_BEGIN_ALLOW_THREADS
;
2324 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2326 wxPy_END_ALLOW_THREADS
;
2328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2329 _resultobj
= Py_BuildValue("s",_ptemp
);
2332 _resultobj
= Py_None
;
2337 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2338 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2341 wxListEvent
* _arg0
;
2342 PyObject
* _argo0
= 0;
2343 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2357 wxPy_BEGIN_ALLOW_THREADS
;
2358 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2360 wxPy_END_ALLOW_THREADS
;
2362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2363 _resultobj
= Py_BuildValue("s",_ptemp
);
2366 _resultobj
= Py_None
;
2371 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2372 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2374 wxListItem
* _result
;
2375 wxListEvent
* _arg0
;
2377 PyObject
* _argo0
= 0;
2378 PyObject
* _argo1
= 0;
2379 char *_kwnames
[] = { "self","m_item", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2400 wxPy_BEGIN_ALLOW_THREADS
;
2401 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2403 wxPy_END_ALLOW_THREADS
;
2405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2406 _resultobj
= Py_BuildValue("s",_ptemp
);
2409 _resultobj
= Py_None
;
2414 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2415 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2417 wxListItem
* _result
;
2418 wxListEvent
* _arg0
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2437 wxPy_END_ALLOW_THREADS
;
2439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2440 _resultobj
= Py_BuildValue("s",_ptemp
);
2443 _resultobj
= Py_None
;
2448 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2449 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2452 wxListEvent
* _arg0
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2467 wxPy_BEGIN_ALLOW_THREADS
;
2468 _result
= (int )wxListEvent_GetCode(_arg0
);
2470 wxPy_END_ALLOW_THREADS
;
2471 } _resultobj
= Py_BuildValue("i",_result
);
2475 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2476 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2479 wxListEvent
* _arg0
;
2480 PyObject
* _argo0
= 0;
2481 char *_kwnames
[] = { "self", NULL
};
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 _result
= (long )wxListEvent_GetIndex(_arg0
);
2497 wxPy_END_ALLOW_THREADS
;
2498 } _resultobj
= Py_BuildValue("l",_result
);
2502 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2503 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2506 wxListEvent
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2524 wxPy_END_ALLOW_THREADS
;
2525 } _resultobj
= Py_BuildValue("l",_result
);
2529 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2530 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2533 wxListEvent
* _arg0
;
2534 PyObject
* _argo0
= 0;
2535 char *_kwnames
[] = { "self", NULL
};
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2548 wxPy_BEGIN_ALLOW_THREADS
;
2549 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2551 wxPy_END_ALLOW_THREADS
;
2552 } _resultobj
= Py_BuildValue("l",_result
);
2556 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2557 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2560 wxListEvent
* _arg0
;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2575 wxPy_BEGIN_ALLOW_THREADS
;
2576 _result
= (int )wxListEvent_GetColumn(_arg0
);
2578 wxPy_END_ALLOW_THREADS
;
2579 } _resultobj
= Py_BuildValue("i",_result
);
2583 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2584 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2587 wxListEvent
* _arg0
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2602 wxPy_BEGIN_ALLOW_THREADS
;
2603 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2605 wxPy_END_ALLOW_THREADS
;
2606 } _resultobj
= Py_BuildValue("i",_result
);
2610 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2611 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2614 wxListEvent
* _arg0
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2633 wxPy_END_ALLOW_THREADS
;
2634 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2635 _resultobj
= Py_BuildValue("s",_ptemp
);
2639 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2640 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2643 wxListEvent
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2660 _result
= (wxString
*) &_result_ref
;
2662 wxPy_END_ALLOW_THREADS
;
2664 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2669 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2670 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2673 wxListEvent
* _arg0
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2688 wxPy_BEGIN_ALLOW_THREADS
;
2689 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2690 _result
= (wxString
*) &_result_ref
;
2692 wxPy_END_ALLOW_THREADS
;
2694 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2699 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2700 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2703 wxListEvent
* _arg0
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 _result
= (int )wxListEvent_GetImage(_arg0
);
2721 wxPy_END_ALLOW_THREADS
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2727 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2730 wxListEvent
* _arg0
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (long )wxListEvent_GetData(_arg0
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("l",_result
);
2753 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2754 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2757 wxListEvent
* _arg0
;
2758 PyObject
* _argo0
= 0;
2759 char *_kwnames
[] = { "self", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 _result
= (long )wxListEvent_GetMask(_arg0
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } _resultobj
= Py_BuildValue("l",_result
);
2780 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2781 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2783 wxListItem
* _result
;
2784 wxListEvent
* _arg0
;
2785 PyObject
* _argo0
= 0;
2786 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2802 _result
= (wxListItem
*) &_result_ref
;
2804 wxPy_END_ALLOW_THREADS
;
2806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2807 _resultobj
= Py_BuildValue("s",_ptemp
);
2810 _resultobj
= Py_None
;
2815 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2818 src
= (wxListCtrl
*) ptr
;
2819 dest
= (wxControl
*) src
;
2820 return (void *) dest
;
2823 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2826 src
= (wxListCtrl
*) ptr
;
2827 dest
= (wxWindow
*) src
;
2828 return (void *) dest
;
2831 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2834 src
= (wxListCtrl
*) ptr
;
2835 dest
= (wxEvtHandler
*) src
;
2836 return (void *) dest
;
2839 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2840 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2842 wxListCtrl
* _result
;
2845 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2846 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2847 long _arg4
= (long ) wxLC_ICON
;
2848 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2849 char * _arg6
= (char *) "listCtrl";
2850 PyObject
* _argo0
= 0;
2852 PyObject
* _obj2
= 0;
2854 PyObject
* _obj3
= 0;
2855 PyObject
* _argo5
= 0;
2856 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2872 if (! wxPoint_helper(_obj2
, &_arg2
))
2878 if (! wxSize_helper(_obj3
, &_arg3
))
2882 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2892 wxPy_END_ALLOW_THREADS
;
2894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2895 _resultobj
= Py_BuildValue("s",_ptemp
);
2898 _resultobj
= Py_None
;
2903 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2904 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2908 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self","flag", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
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_Arrange. Expected _wxListCtrl_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2926 wxPy_END_ALLOW_THREADS
;
2927 } _resultobj
= Py_BuildValue("i",_result
);
2931 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
2932 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2935 wxImageList
* _arg1
;
2937 PyObject
* _argo0
= 0;
2938 PyObject
* _argo1
= 0;
2939 char *_kwnames
[] = { "self","imageList","which", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxListCtrl_p.");
2952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2969 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self","item", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2991 wxPy_END_ALLOW_THREADS
;
2992 } _resultobj
= Py_BuildValue("i",_result
);
2996 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2997 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
3008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } _resultobj
= Py_BuildValue("i",_result
);
3023 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
3024 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self","col", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
3046 wxPy_END_ALLOW_THREADS
;
3047 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3052 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } _resultobj
= Py_BuildValue("i",_result
);
3078 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3079 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3082 PyObject
* _argo0
= 0;
3083 char *_kwnames
[] = { "self", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 wxListCtrl_ClearAll(_arg0
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3106 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self","item", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxListCtrl_EditLabel(_arg0
,_arg1
);
3127 wxPy_END_ALLOW_THREADS
;
3128 } Py_INCREF(Py_None
);
3129 _resultobj
= Py_None
;
3133 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3134 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3139 PyObject
* _argo0
= 0;
3140 char *_kwnames
[] = { "self","item", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3156 wxPy_END_ALLOW_THREADS
;
3157 } _resultobj
= Py_BuildValue("i",_result
);
3161 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3162 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3168 bool _arg3
= (bool ) FALSE
;
3169 PyObject
* _argo0
= 0;
3170 PyObject
* _obj2
= 0;
3171 int tempbool3
= (int) FALSE
;
3172 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3185 #if PYTHON_API_VERSION >= 1009
3186 char* tmpPtr
; int tmpSize
;
3187 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3188 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3191 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3193 _arg2
= new wxString(tmpPtr
, tmpSize
);
3195 if (!PyString_Check(_obj2
)) {
3196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3199 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3202 _arg3
= (bool ) tempbool3
;
3204 wxPy_BEGIN_ALLOW_THREADS
;
3205 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3207 wxPy_END_ALLOW_THREADS
;
3208 } _resultobj
= Py_BuildValue("l",_result
);
3216 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3217 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self","start","data", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3240 wxPy_END_ALLOW_THREADS
;
3241 } _resultobj
= Py_BuildValue("l",_result
);
3245 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3246 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3253 PyObject
* _argo0
= 0;
3255 PyObject
* _obj2
= 0;
3256 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3270 if (! wxPoint_helper(_obj2
, &_arg2
))
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3277 wxPy_END_ALLOW_THREADS
;
3278 } _resultobj
= Py_BuildValue("l",_result
);
3282 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3283 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3289 PyObject
* _argo0
= 0;
3290 PyObject
* _argo2
= 0;
3291 char *_kwnames
[] = { "self","col","item", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3304 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3314 wxPy_END_ALLOW_THREADS
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3320 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","col", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3342 wxPy_END_ALLOW_THREADS
;
3343 } _resultobj
= Py_BuildValue("i",_result
);
3347 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3348 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3369 wxPy_END_ALLOW_THREADS
;
3370 } _resultobj
= Py_BuildValue("i",_result
);
3374 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3375 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3377 wxImageList
* _result
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "self","which", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3398 wxPy_END_ALLOW_THREADS
;
3400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3401 _resultobj
= Py_BuildValue("s",_ptemp
);
3404 _resultobj
= Py_None
;
3409 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3410 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3415 PyObject
* _argo0
= 0;
3416 char *_kwnames
[] = { "self","item", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3432 wxPy_END_ALLOW_THREADS
;
3433 } _resultobj
= Py_BuildValue("l",_result
);
3437 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3438 wxListItem
* info
= new wxListItem
;
3439 info
->m_itemId
= itemId
;
3441 info
->m_mask
= 0xFFFF;
3442 self
->GetItem(*info
);
3445 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxListItem
* _result
;
3450 int _arg2
= (int ) 0;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self","itemId","col", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3466 wxPy_BEGIN_ALLOW_THREADS
;
3467 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3469 wxPy_END_ALLOW_THREADS
;
3471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3472 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 _resultobj
= Py_None
;
3480 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3481 wxPoint
* pos
= new wxPoint
;
3482 self
->GetItemPosition(item
, *pos
);
3485 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
* _resultobj
;
3490 PyObject
* _argo0
= 0;
3491 char *_kwnames
[] = { "self","item", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3508 wxPy_END_ALLOW_THREADS
;
3510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3514 _resultobj
= Py_None
;
3519 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3520 wxRect
* rect
= new wxRect
;
3521 self
->GetItemRect(item
, *rect
, code
);
3524 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3529 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self","item","code", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3545 wxPy_BEGIN_ALLOW_THREADS
;
3546 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3548 wxPy_END_ALLOW_THREADS
;
3550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3551 _resultobj
= Py_BuildValue("s",_ptemp
);
3554 _resultobj
= Py_None
;
3559 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3560 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3583 wxPy_END_ALLOW_THREADS
;
3584 } _resultobj
= Py_BuildValue("i",_result
);
3588 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3589 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
* _resultobj
;
3593 PyObject
* _argo0
= 0;
3594 char *_kwnames
[] = { "self", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3607 wxPy_BEGIN_ALLOW_THREADS
;
3608 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3610 wxPy_END_ALLOW_THREADS
;
3611 } _resultobj
= Py_BuildValue("i",_result
);
3615 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3616 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3621 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self","isSmall", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3635 _arg1
= (bool ) tempbool1
;
3637 wxPy_BEGIN_ALLOW_THREADS
;
3638 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3640 wxPy_END_ALLOW_THREADS
;
3641 } _resultobj
= Py_BuildValue("i",_result
);
3645 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3646 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3651 PyObject
* _argo0
= 0;
3652 char *_kwnames
[] = { "self","item", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3668 wxPy_END_ALLOW_THREADS
;
3670 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3678 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3679 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3684 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3685 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3686 PyObject
* _argo0
= 0;
3687 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } _resultobj
= Py_BuildValue("l",_result
);
3708 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3709 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3727 wxPy_BEGIN_ALLOW_THREADS
;
3728 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3730 wxPy_END_ALLOW_THREADS
;
3731 } _resultobj
= Py_BuildValue("i",_result
);
3735 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3736 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3740 PyObject
* _argo0
= 0;
3741 char *_kwnames
[] = { "self", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3754 wxPy_BEGIN_ALLOW_THREADS
;
3755 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3757 wxPy_END_ALLOW_THREADS
;
3758 } _resultobj
= Py_BuildValue("l",_result
);
3762 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3763 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3770 PyObject
* _argo0
= 0;
3772 PyObject
* _obj1
= 0;
3773 char *_kwnames
[] = { "self","point", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3790 if (! wxPoint_helper(_obj1
, &_arg1
))
3794 wxPy_BEGIN_ALLOW_THREADS
;
3795 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3797 wxPy_END_ALLOW_THREADS
;
3798 } _resultobj
= Py_BuildValue("l",_result
);
3801 o
= PyInt_FromLong((long) (*_arg2
));
3802 _resultobj
= t_output_helper(_resultobj
, o
);
3807 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3808 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 PyObject
* _argo2
= 0;
3816 char *_kwnames
[] = { "self","col","info", NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3829 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3839 wxPy_END_ALLOW_THREADS
;
3840 } _resultobj
= Py_BuildValue("l",_result
);
3844 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3845 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3851 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3852 int _arg4
= (int ) -1;
3853 PyObject
* _argo0
= 0;
3854 PyObject
* _obj2
= 0;
3855 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3868 #if PYTHON_API_VERSION >= 1009
3869 char* tmpPtr
; int tmpSize
;
3870 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3871 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3874 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3876 _arg2
= new wxString(tmpPtr
, tmpSize
);
3878 if (!PyString_Check(_obj2
)) {
3879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3882 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } _resultobj
= Py_BuildValue("l",_result
);
3898 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3899 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3905 PyObject
* _argo1
= 0;
3906 char *_kwnames
[] = { "self","info", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3926 wxPy_BEGIN_ALLOW_THREADS
;
3927 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
3929 wxPy_END_ALLOW_THREADS
;
3930 } _resultobj
= Py_BuildValue("l",_result
);
3934 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3935 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3941 PyObject
* _argo0
= 0;
3942 PyObject
* _obj2
= 0;
3943 char *_kwnames
[] = { "self","index","label", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
3956 #if PYTHON_API_VERSION >= 1009
3957 char* tmpPtr
; int tmpSize
;
3958 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3959 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3962 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3964 _arg2
= new wxString(tmpPtr
, tmpSize
);
3966 if (!PyString_Check(_obj2
)) {
3967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3970 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } _resultobj
= Py_BuildValue("l",_result
);
3986 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3987 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3993 PyObject
* _argo0
= 0;
3994 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4007 wxPy_BEGIN_ALLOW_THREADS
;
4008 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4010 wxPy_END_ALLOW_THREADS
;
4011 } _resultobj
= Py_BuildValue("l",_result
);
4015 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4016 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4023 PyObject
* _argo0
= 0;
4024 PyObject
* _obj2
= 0;
4025 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4038 #if PYTHON_API_VERSION >= 1009
4039 char* tmpPtr
; int tmpSize
;
4040 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4041 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4044 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4046 _arg2
= new wxString(tmpPtr
, tmpSize
);
4048 if (!PyString_Check(_obj2
)) {
4049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4052 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4059 wxPy_END_ALLOW_THREADS
;
4060 } _resultobj
= Py_BuildValue("l",_result
);
4068 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4069 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4075 PyObject
* _argo0
= 0;
4076 char *_kwnames
[] = { "self","dx","dy", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4089 wxPy_BEGIN_ALLOW_THREADS
;
4090 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4092 wxPy_END_ALLOW_THREADS
;
4093 } _resultobj
= Py_BuildValue("i",_result
);
4097 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4098 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4102 PyObject
* _argo0
= 0;
4104 PyObject
* _obj1
= 0;
4105 char *_kwnames
[] = { "self","col", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4119 if (! wxColour_helper(_obj1
, &_arg1
))
4123 wxPy_BEGIN_ALLOW_THREADS
;
4124 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4126 wxPy_END_ALLOW_THREADS
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4133 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4139 PyObject
* _argo0
= 0;
4140 PyObject
* _argo2
= 0;
4141 char *_kwnames
[] = { "self","col","item", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4154 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4161 wxPy_BEGIN_ALLOW_THREADS
;
4162 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4164 wxPy_END_ALLOW_THREADS
;
4165 } _resultobj
= Py_BuildValue("i",_result
);
4169 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4170 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4176 PyObject
* _argo0
= 0;
4177 char *_kwnames
[] = { "self","col","width", NULL
};
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4190 wxPy_BEGIN_ALLOW_THREADS
;
4191 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4193 wxPy_END_ALLOW_THREADS
;
4194 } _resultobj
= Py_BuildValue("i",_result
);
4198 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4199 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4202 wxImageList
* _arg1
;
4204 PyObject
* _argo0
= 0;
4205 PyObject
* _argo1
= 0;
4206 char *_kwnames
[] = { "self","imageList","which", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } Py_INCREF(Py_None
);
4231 _resultobj
= Py_None
;
4235 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4236 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4241 PyObject
* _argo0
= 0;
4242 PyObject
* _argo1
= 0;
4243 char *_kwnames
[] = { "self","info", NULL
};
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4266 wxPy_END_ALLOW_THREADS
;
4267 } _resultobj
= Py_BuildValue("i",_result
);
4271 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4272 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4279 int _arg4
= (int ) -1;
4280 PyObject
* _argo0
= 0;
4281 PyObject
* _obj3
= 0;
4282 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4295 #if PYTHON_API_VERSION >= 1009
4296 char* tmpPtr
; int tmpSize
;
4297 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4298 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4301 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4303 _arg3
= new wxString(tmpPtr
, tmpSize
);
4305 if (!PyString_Check(_obj3
)) {
4306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4309 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4316 wxPy_END_ALLOW_THREADS
;
4317 } _resultobj
= Py_BuildValue("l",_result
);
4325 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4326 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self","item","data", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4346 wxPy_BEGIN_ALLOW_THREADS
;
4347 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4349 wxPy_END_ALLOW_THREADS
;
4350 } _resultobj
= Py_BuildValue("i",_result
);
4354 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4355 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4362 PyObject
* _argo0
= 0;
4363 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4376 wxPy_BEGIN_ALLOW_THREADS
;
4377 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4379 wxPy_END_ALLOW_THREADS
;
4380 } _resultobj
= Py_BuildValue("i",_result
);
4384 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4385 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4391 PyObject
* _argo0
= 0;
4393 PyObject
* _obj2
= 0;
4394 char *_kwnames
[] = { "self","item","pos", NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4408 if (! wxPoint_helper(_obj2
, &_arg2
))
4412 wxPy_BEGIN_ALLOW_THREADS
;
4413 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4415 wxPy_END_ALLOW_THREADS
;
4416 } _resultobj
= Py_BuildValue("i",_result
);
4420 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4421 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4428 PyObject
* _argo0
= 0;
4429 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } _resultobj
= Py_BuildValue("i",_result
);
4450 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4451 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4456 PyObject
* _argo0
= 0;
4457 PyObject
* _obj2
= 0;
4458 char *_kwnames
[] = { "self","item","text", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr
; int tmpSize
;
4473 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4474 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4477 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4479 _arg2
= new wxString(tmpPtr
, tmpSize
);
4481 if (!PyString_Check(_obj2
)) {
4482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4485 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } Py_INCREF(Py_None
);
4494 _resultobj
= Py_None
;
4502 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4503 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4507 bool _arg2
= (bool ) TRUE
;
4508 PyObject
* _argo0
= 0;
4509 int tempbool2
= (int) TRUE
;
4510 char *_kwnames
[] = { "self","style","add", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4522 _arg2
= (bool ) tempbool2
;
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } Py_INCREF(Py_None
);
4529 _resultobj
= Py_None
;
4533 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4534 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4538 PyObject
* _argo0
= 0;
4539 char *_kwnames
[] = { "self","style", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4552 wxPy_BEGIN_ALLOW_THREADS
;
4553 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4555 wxPy_END_ALLOW_THREADS
;
4556 } Py_INCREF(Py_None
);
4557 _resultobj
= Py_None
;
4561 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4562 if (!PyCallable_Check(func
))
4565 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4567 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4572 PyObject
* _argo0
= 0;
4573 PyObject
* _obj1
= 0;
4574 char *_kwnames
[] = { "self","func", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4593 wxPy_END_ALLOW_THREADS
;
4594 } _resultobj
= Py_BuildValue("i",_result
);
4598 #define new_wxTreeItemId() (new wxTreeItemId())
4599 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4601 wxTreeItemId
* _result
;
4602 char *_kwnames
[] = { NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4612 wxPy_END_ALLOW_THREADS
;
4614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4615 _resultobj
= Py_BuildValue("s",_ptemp
);
4618 _resultobj
= Py_None
;
4623 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4624 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4626 wxTreeItemId
* _arg0
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "self", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 delete_wxTreeItemId(_arg0
);
4644 wxPy_END_ALLOW_THREADS
;
4645 } Py_INCREF(Py_None
);
4646 _resultobj
= Py_None
;
4650 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4651 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
* _resultobj
;
4654 wxTreeItemId
* _arg0
;
4655 PyObject
* _argo0
= 0;
4656 char *_kwnames
[] = { "self", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4669 wxPy_BEGIN_ALLOW_THREADS
;
4670 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4672 wxPy_END_ALLOW_THREADS
;
4673 } _resultobj
= Py_BuildValue("i",_result
);
4677 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4678 if (! other
) return -1;
4679 return *self
!= *other
;
4681 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 wxTreeItemId
* _arg0
;
4685 wxTreeItemId
* _arg1
;
4686 PyObject
* _argo0
= 0;
4687 PyObject
* _argo1
= 0;
4688 char *_kwnames
[] = { "self","other", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4708 wxPy_BEGIN_ALLOW_THREADS
;
4709 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4711 wxPy_END_ALLOW_THREADS
;
4712 } _resultobj
= Py_BuildValue("i",_result
);
4716 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4717 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4719 wxPyTreeItemData
* _result
;
4720 PyObject
* _arg0
= (PyObject
*) NULL
;
4721 PyObject
* _obj0
= 0;
4722 char *_kwnames
[] = { "obj", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4736 wxPy_END_ALLOW_THREADS
;
4738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4739 _resultobj
= Py_BuildValue("s",_ptemp
);
4742 _resultobj
= Py_None
;
4747 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4748 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4751 wxPyTreeItemData
* _arg0
;
4752 PyObject
* _argo0
= 0;
4753 char *_kwnames
[] = { "self", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4769 wxPy_END_ALLOW_THREADS
;
4771 _resultobj
= _result
;
4776 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4777 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
* _resultobj
;
4779 wxPyTreeItemData
* _arg0
;
4781 PyObject
* _argo0
= 0;
4782 PyObject
* _obj1
= 0;
4783 char *_kwnames
[] = { "self","obj", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4799 wxPy_BEGIN_ALLOW_THREADS
;
4800 wxTreeItemData_SetData(_arg0
,_arg1
);
4802 wxPy_END_ALLOW_THREADS
;
4803 } Py_INCREF(Py_None
);
4804 _resultobj
= Py_None
;
4808 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4809 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 wxTreeItemId
* _result
;
4812 wxPyTreeItemData
* _arg0
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4830 _result
= (wxTreeItemId
*) &_result_ref
;
4832 wxPy_END_ALLOW_THREADS
;
4834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4835 _resultobj
= Py_BuildValue("s",_ptemp
);
4838 _resultobj
= Py_None
;
4843 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4844 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
* _resultobj
;
4846 wxPyTreeItemData
* _arg0
;
4847 wxTreeItemId
* _arg1
;
4848 PyObject
* _argo0
= 0;
4849 PyObject
* _argo1
= 0;
4850 char *_kwnames
[] = { "self","id", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 wxTreeItemData_SetId(_arg0
,*_arg1
);
4873 wxPy_END_ALLOW_THREADS
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4879 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
4881 wxNotifyEvent
*dest
;
4882 src
= (wxTreeEvent
*) ptr
;
4883 dest
= (wxNotifyEvent
*) src
;
4884 return (void *) dest
;
4887 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
4889 wxCommandEvent
*dest
;
4890 src
= (wxTreeEvent
*) ptr
;
4891 dest
= (wxCommandEvent
*) src
;
4892 return (void *) dest
;
4895 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
4898 src
= (wxTreeEvent
*) ptr
;
4899 dest
= (wxEvent
*) src
;
4900 return (void *) dest
;
4903 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4904 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
* _resultobj
;
4906 wxTreeItemId
* _result
;
4907 wxTreeEvent
* _arg0
;
4908 PyObject
* _argo0
= 0;
4909 char *_kwnames
[] = { "self", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4923 wxPy_BEGIN_ALLOW_THREADS
;
4924 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
4926 wxPy_END_ALLOW_THREADS
;
4927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4932 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4933 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4935 wxTreeItemId
* _result
;
4936 wxTreeEvent
* _arg0
;
4937 PyObject
* _argo0
= 0;
4938 char *_kwnames
[] = { "self", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4952 wxPy_BEGIN_ALLOW_THREADS
;
4953 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
4955 wxPy_END_ALLOW_THREADS
;
4956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4957 _resultobj
= Py_BuildValue("s",_ptemp
);
4961 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4962 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4965 wxTreeEvent
* _arg0
;
4966 PyObject
* _argo0
= 0;
4967 char *_kwnames
[] = { "self", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4981 wxPy_BEGIN_ALLOW_THREADS
;
4982 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
4984 wxPy_END_ALLOW_THREADS
;
4985 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4986 _resultobj
= Py_BuildValue("s",_ptemp
);
4990 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
4991 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4994 wxTreeEvent
* _arg0
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } _resultobj
= Py_BuildValue("i",_result
);
5017 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5018 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5021 wxTreeEvent
* _arg0
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5038 _result
= (wxString
*) &_result_ref
;
5040 wxPy_END_ALLOW_THREADS
;
5042 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5047 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5050 src
= (wxPyTreeCtrl
*) ptr
;
5051 dest
= (wxControl
*) src
;
5052 return (void *) dest
;
5055 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5058 src
= (wxPyTreeCtrl
*) ptr
;
5059 dest
= (wxWindow
*) src
;
5060 return (void *) dest
;
5063 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5066 src
= (wxPyTreeCtrl
*) ptr
;
5067 dest
= (wxEvtHandler
*) src
;
5068 return (void *) dest
;
5071 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5072 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5074 wxPyTreeCtrl
* _result
;
5076 wxWindowID _arg1
= (wxWindowID
) -1;
5077 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5078 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5079 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5080 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5081 char * _arg6
= (char *) "wxTreeCtrl";
5082 PyObject
* _argo0
= 0;
5084 PyObject
* _obj2
= 0;
5086 PyObject
* _obj3
= 0;
5087 PyObject
* _argo5
= 0;
5088 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5104 if (! wxPoint_helper(_obj2
, &_arg2
))
5110 if (! wxSize_helper(_obj3
, &_arg3
))
5114 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5124 wxPy_END_ALLOW_THREADS
;
5126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5127 _resultobj
= Py_BuildValue("s",_ptemp
);
5130 _resultobj
= Py_None
;
5135 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5136 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5138 wxPyTreeCtrl
* _arg0
;
5141 PyObject
* _argo0
= 0;
5142 PyObject
* _obj1
= 0;
5143 PyObject
* _obj2
= 0;
5144 char *_kwnames
[] = { "self","self","_class", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5163 wxPy_BEGIN_ALLOW_THREADS
;
5164 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5166 wxPy_END_ALLOW_THREADS
;
5167 } Py_INCREF(Py_None
);
5168 _resultobj
= Py_None
;
5172 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5173 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
* _resultobj
;
5175 wxPyTreeCtrl
* _arg0
;
5176 wxImageList
* _arg1
;
5177 PyObject
* _argo0
= 0;
5178 PyObject
* _argo1
= 0;
5179 char *_kwnames
[] = { "self","imageList", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5199 wxPy_BEGIN_ALLOW_THREADS
;
5200 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5202 wxPy_END_ALLOW_THREADS
;
5203 } Py_INCREF(Py_None
);
5204 _resultobj
= Py_None
;
5208 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5209 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5212 wxPyTreeCtrl
* _arg0
;
5213 PyObject
* _argo0
= 0;
5214 char *_kwnames
[] = { "self", NULL
};
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5227 wxPy_BEGIN_ALLOW_THREADS
;
5228 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5230 wxPy_END_ALLOW_THREADS
;
5231 } _resultobj
= Py_BuildValue("i",_result
);
5235 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5236 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5238 unsigned int _result
;
5239 wxPyTreeCtrl
* _arg0
;
5240 PyObject
* _argo0
= 0;
5241 char *_kwnames
[] = { "self", NULL
};
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5254 wxPy_BEGIN_ALLOW_THREADS
;
5255 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5257 wxPy_END_ALLOW_THREADS
;
5258 } _resultobj
= Py_BuildValue("i",_result
);
5262 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5263 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5265 wxPyTreeCtrl
* _arg0
;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self","indent", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } Py_INCREF(Py_None
);
5286 _resultobj
= Py_None
;
5290 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5291 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5293 wxImageList
* _result
;
5294 wxPyTreeCtrl
* _arg0
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5310 wxPy_BEGIN_ALLOW_THREADS
;
5311 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5313 wxPy_END_ALLOW_THREADS
;
5315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5316 _resultobj
= Py_BuildValue("s",_ptemp
);
5319 _resultobj
= Py_None
;
5324 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5325 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
* _resultobj
;
5327 wxImageList
* _result
;
5328 wxPyTreeCtrl
* _arg0
;
5329 PyObject
* _argo0
= 0;
5330 char *_kwnames
[] = { "self", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5344 wxPy_BEGIN_ALLOW_THREADS
;
5345 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5347 wxPy_END_ALLOW_THREADS
;
5349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5350 _resultobj
= Py_BuildValue("s",_ptemp
);
5353 _resultobj
= Py_None
;
5358 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5359 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5361 wxPyTreeCtrl
* _arg0
;
5362 wxImageList
* _arg1
;
5363 PyObject
* _argo0
= 0;
5364 PyObject
* _argo1
= 0;
5365 char *_kwnames
[] = { "self","imageList", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5385 wxPy_BEGIN_ALLOW_THREADS
;
5386 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5388 wxPy_END_ALLOW_THREADS
;
5389 } Py_INCREF(Py_None
);
5390 _resultobj
= Py_None
;
5394 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5395 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5397 wxPyTreeCtrl
* _arg0
;
5398 wxImageList
* _arg1
;
5399 PyObject
* _argo0
= 0;
5400 PyObject
* _argo1
= 0;
5401 char *_kwnames
[] = { "self","imageList", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5421 wxPy_BEGIN_ALLOW_THREADS
;
5422 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5424 wxPy_END_ALLOW_THREADS
;
5425 } Py_INCREF(Py_None
);
5426 _resultobj
= Py_None
;
5430 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5431 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5433 unsigned int _result
;
5434 wxPyTreeCtrl
* _arg0
;
5435 PyObject
* _argo0
= 0;
5436 char *_kwnames
[] = { "self", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5449 wxPy_BEGIN_ALLOW_THREADS
;
5450 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5452 wxPy_END_ALLOW_THREADS
;
5453 } _resultobj
= Py_BuildValue("i",_result
);
5457 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5458 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5460 wxPyTreeCtrl
* _arg0
;
5462 PyObject
* _argo0
= 0;
5463 char *_kwnames
[] = { "self","spacing", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5476 wxPy_BEGIN_ALLOW_THREADS
;
5477 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5479 wxPy_END_ALLOW_THREADS
;
5480 } Py_INCREF(Py_None
);
5481 _resultobj
= Py_None
;
5485 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5486 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
* _resultobj
;
5489 wxPyTreeCtrl
* _arg0
;
5490 wxTreeItemId
* _arg1
;
5491 PyObject
* _argo0
= 0;
5492 PyObject
* _argo1
= 0;
5493 char *_kwnames
[] = { "self","item", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5513 wxPy_BEGIN_ALLOW_THREADS
;
5514 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5516 wxPy_END_ALLOW_THREADS
;
5518 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5526 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5527 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
* _resultobj
;
5530 wxPyTreeCtrl
* _arg0
;
5531 wxTreeItemId
* _arg1
;
5532 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5533 PyObject
* _argo0
= 0;
5534 PyObject
* _argo1
= 0;
5535 char *_kwnames
[] = { "self","item","which", NULL
};
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5555 wxPy_BEGIN_ALLOW_THREADS
;
5556 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5558 wxPy_END_ALLOW_THREADS
;
5559 } _resultobj
= Py_BuildValue("i",_result
);
5563 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5564 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5567 wxPyTreeCtrl
* _arg0
;
5568 wxTreeItemId
* _arg1
;
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _argo1
= 0;
5571 char *_kwnames
[] = { "self","item", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5591 wxPy_BEGIN_ALLOW_THREADS
;
5592 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5594 wxPy_END_ALLOW_THREADS
;
5595 } _resultobj
= Py_BuildValue("i",_result
);
5599 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5600 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxPyTreeCtrl
* _arg0
;
5603 wxTreeItemId
* _arg1
;
5605 PyObject
* _argo0
= 0;
5606 PyObject
* _argo1
= 0;
5607 PyObject
* _obj2
= 0;
5608 char *_kwnames
[] = { "self","item","text", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5628 #if PYTHON_API_VERSION >= 1009
5629 char* tmpPtr
; int tmpSize
;
5630 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5631 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5634 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5636 _arg2
= new wxString(tmpPtr
, tmpSize
);
5638 if (!PyString_Check(_obj2
)) {
5639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5642 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5646 wxPy_BEGIN_ALLOW_THREADS
;
5647 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5649 wxPy_END_ALLOW_THREADS
;
5650 } Py_INCREF(Py_None
);
5651 _resultobj
= Py_None
;
5659 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5660 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5662 wxPyTreeCtrl
* _arg0
;
5663 wxTreeItemId
* _arg1
;
5665 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _argo1
= 0;
5668 char *_kwnames
[] = { "self","item","image","which", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5688 wxPy_BEGIN_ALLOW_THREADS
;
5689 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5691 wxPy_END_ALLOW_THREADS
;
5692 } Py_INCREF(Py_None
);
5693 _resultobj
= Py_None
;
5697 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5698 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxPyTreeCtrl
* _arg0
;
5701 wxTreeItemId
* _arg1
;
5703 PyObject
* _argo0
= 0;
5704 PyObject
* _argo1
= 0;
5705 char *_kwnames
[] = { "self","item","image", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5725 wxPy_BEGIN_ALLOW_THREADS
;
5726 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5728 wxPy_END_ALLOW_THREADS
;
5729 } Py_INCREF(Py_None
);
5730 _resultobj
= Py_None
;
5734 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5735 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5737 wxPyTreeCtrl
* _arg0
;
5738 wxTreeItemId
* _arg1
;
5739 bool _arg2
= (bool ) TRUE
;
5740 PyObject
* _argo0
= 0;
5741 PyObject
* _argo1
= 0;
5742 int tempbool2
= (int) TRUE
;
5743 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5762 _arg2
= (bool ) tempbool2
;
5764 wxPy_BEGIN_ALLOW_THREADS
;
5765 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5767 wxPy_END_ALLOW_THREADS
;
5768 } Py_INCREF(Py_None
);
5769 _resultobj
= Py_None
;
5773 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5774 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5776 data
= new wxPyTreeItemData();
5777 data
->SetId(item
); // set the id
5778 self
->SetItemData(item
, data
);
5782 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5784 wxPyTreeItemData
* _result
;
5785 wxPyTreeCtrl
* _arg0
;
5786 wxTreeItemId
* _arg1
;
5787 PyObject
* _argo0
= 0;
5788 PyObject
* _argo1
= 0;
5789 char *_kwnames
[] = { "self","item", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5810 wxPy_BEGIN_ALLOW_THREADS
;
5811 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5813 wxPy_END_ALLOW_THREADS
;
5815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5816 _resultobj
= Py_BuildValue("s",_ptemp
);
5819 _resultobj
= Py_None
;
5824 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5825 data
->SetId(item
); // set the id
5826 self
->SetItemData(item
, data
);
5828 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5830 wxPyTreeCtrl
* _arg0
;
5831 wxTreeItemId
* _arg1
;
5832 wxPyTreeItemData
* _arg2
;
5833 PyObject
* _argo0
= 0;
5834 PyObject
* _argo1
= 0;
5835 PyObject
* _argo2
= 0;
5836 char *_kwnames
[] = { "self","item","data", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5849 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5850 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5856 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
5866 wxPy_END_ALLOW_THREADS
;
5867 } Py_INCREF(Py_None
);
5868 _resultobj
= Py_None
;
5872 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5873 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5875 data
= new wxPyTreeItemData();
5876 data
->SetId(item
); // set the id
5877 self
->SetItemData(item
, data
);
5879 return data
->GetData();
5881 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5884 wxPyTreeCtrl
* _arg0
;
5885 wxTreeItemId
* _arg1
;
5886 PyObject
* _argo0
= 0;
5887 PyObject
* _argo1
= 0;
5888 char *_kwnames
[] = { "self","item", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5908 wxPy_BEGIN_ALLOW_THREADS
;
5909 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
5911 wxPy_END_ALLOW_THREADS
;
5913 _resultobj
= _result
;
5918 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
5919 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5921 data
= new wxPyTreeItemData(obj
);
5922 data
->SetId(item
); // set the id
5923 self
->SetItemData(item
, data
);
5927 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5929 wxPyTreeCtrl
* _arg0
;
5930 wxTreeItemId
* _arg1
;
5932 PyObject
* _argo0
= 0;
5933 PyObject
* _argo1
= 0;
5934 PyObject
* _obj2
= 0;
5935 char *_kwnames
[] = { "self","item","obj", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5958 wxPy_BEGIN_ALLOW_THREADS
;
5959 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
5961 wxPy_END_ALLOW_THREADS
;
5962 } Py_INCREF(Py_None
);
5963 _resultobj
= Py_None
;
5967 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5968 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
* _resultobj
;
5971 wxPyTreeCtrl
* _arg0
;
5972 wxTreeItemId
* _arg1
;
5973 PyObject
* _argo0
= 0;
5974 PyObject
* _argo1
= 0;
5975 char *_kwnames
[] = { "self","item", NULL
};
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
5981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5995 wxPy_BEGIN_ALLOW_THREADS
;
5996 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
5998 wxPy_END_ALLOW_THREADS
;
5999 } _resultobj
= Py_BuildValue("i",_result
);
6003 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6004 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
* _resultobj
;
6007 wxPyTreeCtrl
* _arg0
;
6008 wxTreeItemId
* _arg1
;
6009 PyObject
* _argo0
= 0;
6010 PyObject
* _argo1
= 0;
6011 char *_kwnames
[] = { "self","item", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6031 wxPy_BEGIN_ALLOW_THREADS
;
6032 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6034 wxPy_END_ALLOW_THREADS
;
6035 } _resultobj
= Py_BuildValue("i",_result
);
6039 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6040 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6043 wxPyTreeCtrl
* _arg0
;
6044 wxTreeItemId
* _arg1
;
6045 PyObject
* _argo0
= 0;
6046 PyObject
* _argo1
= 0;
6047 char *_kwnames
[] = { "self","item", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6067 wxPy_BEGIN_ALLOW_THREADS
;
6068 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6070 wxPy_END_ALLOW_THREADS
;
6071 } _resultobj
= Py_BuildValue("i",_result
);
6075 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6076 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6079 wxPyTreeCtrl
* _arg0
;
6080 wxTreeItemId
* _arg1
;
6081 PyObject
* _argo0
= 0;
6082 PyObject
* _argo1
= 0;
6083 char *_kwnames
[] = { "self","item", NULL
};
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6103 wxPy_BEGIN_ALLOW_THREADS
;
6104 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6106 wxPy_END_ALLOW_THREADS
;
6107 } _resultobj
= Py_BuildValue("i",_result
);
6111 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6112 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
* _resultobj
;
6114 wxTreeItemId
* _result
;
6115 wxPyTreeCtrl
* _arg0
;
6116 PyObject
* _argo0
= 0;
6117 char *_kwnames
[] = { "self", NULL
};
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6131 wxPy_BEGIN_ALLOW_THREADS
;
6132 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6134 wxPy_END_ALLOW_THREADS
;
6135 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6136 _resultobj
= Py_BuildValue("s",_ptemp
);
6140 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6141 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6143 wxTreeItemId
* _result
;
6144 wxPyTreeCtrl
* _arg0
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6163 wxPy_END_ALLOW_THREADS
;
6164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6165 _resultobj
= Py_BuildValue("s",_ptemp
);
6169 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6170 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
* _resultobj
;
6172 wxTreeItemId
* _result
;
6173 wxPyTreeCtrl
* _arg0
;
6174 wxTreeItemId
* _arg1
;
6175 PyObject
* _argo0
= 0;
6176 PyObject
* _argo1
= 0;
6177 char *_kwnames
[] = { "self","item", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6198 wxPy_BEGIN_ALLOW_THREADS
;
6199 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6201 wxPy_END_ALLOW_THREADS
;
6202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6203 _resultobj
= Py_BuildValue("s",_ptemp
);
6207 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6208 bool doSave
= wxPyRestoreThread();
6209 PyObject
* rval
= PyList_New(0);
6210 wxArrayTreeItemIds array
;
6212 num
= self
->GetSelections(array
);
6213 for (x
=0; x
< num
; x
++) {
6214 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6215 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6216 PyList_Append(rval
, item
);
6218 wxPySaveThread(doSave
);
6221 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6224 wxPyTreeCtrl
* _arg0
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6239 wxPy_BEGIN_ALLOW_THREADS
;
6240 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6242 wxPy_END_ALLOW_THREADS
;
6244 _resultobj
= _result
;
6249 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6250 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6253 wxPyTreeCtrl
* _arg0
;
6254 wxTreeItemId
* _arg1
;
6255 bool _arg2
= (bool ) TRUE
;
6256 PyObject
* _argo0
= 0;
6257 PyObject
* _argo1
= 0;
6258 int tempbool2
= (int) TRUE
;
6259 char *_kwnames
[] = { "self","item","recursively", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6278 _arg2
= (bool ) tempbool2
;
6280 wxPy_BEGIN_ALLOW_THREADS
;
6281 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6283 wxPy_END_ALLOW_THREADS
;
6284 } _resultobj
= Py_BuildValue("i",_result
);
6288 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6289 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
* _resultobj
;
6291 wxTreeItemId
* _result
;
6292 wxPyTreeCtrl
* _arg0
;
6293 wxTreeItemId
* _arg1
;
6295 PyObject
* _argo0
= 0;
6296 PyObject
* _argo1
= 0;
6298 PyObject
* _obj2
= 0;
6299 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6320 temp
= (long) PyInt_AsLong(_obj2
);
6324 wxPy_BEGIN_ALLOW_THREADS
;
6325 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6327 wxPy_END_ALLOW_THREADS
;
6328 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6329 _resultobj
= Py_BuildValue("s",_ptemp
);
6332 o
= PyInt_FromLong((long) (*_arg2
));
6333 _resultobj
= t_output_helper(_resultobj
, o
);
6338 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6339 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6341 wxTreeItemId
* _result
;
6342 wxPyTreeCtrl
* _arg0
;
6343 wxTreeItemId
* _arg1
;
6345 PyObject
* _argo0
= 0;
6346 PyObject
* _argo1
= 0;
6348 PyObject
* _obj2
= 0;
6349 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6370 temp
= (long) PyInt_AsLong(_obj2
);
6374 wxPy_BEGIN_ALLOW_THREADS
;
6375 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6377 wxPy_END_ALLOW_THREADS
;
6378 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6379 _resultobj
= Py_BuildValue("s",_ptemp
);
6382 o
= PyInt_FromLong((long) (*_arg2
));
6383 _resultobj
= t_output_helper(_resultobj
, o
);
6388 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6389 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6391 wxTreeItemId
* _result
;
6392 wxPyTreeCtrl
* _arg0
;
6393 wxTreeItemId
* _arg1
;
6394 PyObject
* _argo0
= 0;
6395 PyObject
* _argo1
= 0;
6396 char *_kwnames
[] = { "self","item", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6417 wxPy_BEGIN_ALLOW_THREADS
;
6418 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6420 wxPy_END_ALLOW_THREADS
;
6421 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6422 _resultobj
= Py_BuildValue("s",_ptemp
);
6426 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6427 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6429 wxTreeItemId
* _result
;
6430 wxPyTreeCtrl
* _arg0
;
6431 wxTreeItemId
* _arg1
;
6432 PyObject
* _argo0
= 0;
6433 PyObject
* _argo1
= 0;
6434 char *_kwnames
[] = { "self","item", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6448 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6458 wxPy_END_ALLOW_THREADS
;
6459 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6460 _resultobj
= Py_BuildValue("s",_ptemp
);
6464 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6465 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6467 wxTreeItemId
* _result
;
6468 wxPyTreeCtrl
* _arg0
;
6469 PyObject
* _argo0
= 0;
6470 char *_kwnames
[] = { "self", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6484 wxPy_BEGIN_ALLOW_THREADS
;
6485 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6487 wxPy_END_ALLOW_THREADS
;
6488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6489 _resultobj
= Py_BuildValue("s",_ptemp
);
6493 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6494 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
* _resultobj
;
6496 wxTreeItemId
* _result
;
6497 wxPyTreeCtrl
* _arg0
;
6498 wxTreeItemId
* _arg1
;
6499 PyObject
* _argo0
= 0;
6500 PyObject
* _argo1
= 0;
6501 char *_kwnames
[] = { "self","item", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6522 wxPy_BEGIN_ALLOW_THREADS
;
6523 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6525 wxPy_END_ALLOW_THREADS
;
6526 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6527 _resultobj
= Py_BuildValue("s",_ptemp
);
6531 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6532 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6534 wxTreeItemId
* _result
;
6535 wxPyTreeCtrl
* _arg0
;
6536 wxTreeItemId
* _arg1
;
6537 PyObject
* _argo0
= 0;
6538 PyObject
* _argo1
= 0;
6539 char *_kwnames
[] = { "self","item", NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6560 wxPy_BEGIN_ALLOW_THREADS
;
6561 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6563 wxPy_END_ALLOW_THREADS
;
6564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6565 _resultobj
= Py_BuildValue("s",_ptemp
);
6569 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6570 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
* _resultobj
;
6572 wxTreeItemId
* _result
;
6573 wxPyTreeCtrl
* _arg0
;
6574 wxTreeItemId
* _arg1
;
6575 PyObject
* _argo0
= 0;
6576 PyObject
* _argo1
= 0;
6577 char *_kwnames
[] = { "self","item", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6598 wxPy_BEGIN_ALLOW_THREADS
;
6599 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6601 wxPy_END_ALLOW_THREADS
;
6602 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6603 _resultobj
= Py_BuildValue("s",_ptemp
);
6607 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6608 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
* _resultobj
;
6610 wxTreeItemId
* _result
;
6611 wxPyTreeCtrl
* _arg0
;
6613 int _arg2
= (int ) -1;
6614 int _arg3
= (int ) -1;
6615 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6616 PyObject
* _argo0
= 0;
6617 PyObject
* _obj1
= 0;
6618 PyObject
* _argo4
= 0;
6619 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6633 #if PYTHON_API_VERSION >= 1009
6634 char* tmpPtr
; int tmpSize
;
6635 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6636 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6639 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6641 _arg1
= new wxString(tmpPtr
, tmpSize
);
6643 if (!PyString_Check(_obj1
)) {
6644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6647 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6651 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6658 wxPy_BEGIN_ALLOW_THREADS
;
6659 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6661 wxPy_END_ALLOW_THREADS
;
6662 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6663 _resultobj
= Py_BuildValue("s",_ptemp
);
6671 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6672 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6674 wxTreeItemId
* _result
;
6675 wxPyTreeCtrl
* _arg0
;
6676 wxTreeItemId
* _arg1
;
6678 int _arg3
= (int ) -1;
6679 int _arg4
= (int ) -1;
6680 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6681 PyObject
* _argo0
= 0;
6682 PyObject
* _argo1
= 0;
6683 PyObject
* _obj2
= 0;
6684 PyObject
* _argo5
= 0;
6685 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6706 #if PYTHON_API_VERSION >= 1009
6707 char* tmpPtr
; int tmpSize
;
6708 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6709 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6712 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6714 _arg2
= new wxString(tmpPtr
, tmpSize
);
6716 if (!PyString_Check(_obj2
)) {
6717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6720 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6724 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6731 wxPy_BEGIN_ALLOW_THREADS
;
6732 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6734 wxPy_END_ALLOW_THREADS
;
6735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6736 _resultobj
= Py_BuildValue("s",_ptemp
);
6744 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6745 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6747 wxTreeItemId
* _result
;
6748 wxPyTreeCtrl
* _arg0
;
6749 wxTreeItemId
* _arg1
;
6750 wxTreeItemId
* _arg2
;
6752 int _arg4
= (int ) -1;
6753 int _arg5
= (int ) -1;
6754 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6755 PyObject
* _argo0
= 0;
6756 PyObject
* _argo1
= 0;
6757 PyObject
* _argo2
= 0;
6758 PyObject
* _obj3
= 0;
6759 PyObject
* _argo6
= 0;
6760 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6781 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6788 #if PYTHON_API_VERSION >= 1009
6789 char* tmpPtr
; int tmpSize
;
6790 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6791 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6794 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6796 _arg3
= new wxString(tmpPtr
, tmpSize
);
6798 if (!PyString_Check(_obj3
)) {
6799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6802 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6806 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6807 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6813 wxPy_BEGIN_ALLOW_THREADS
;
6814 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6816 wxPy_END_ALLOW_THREADS
;
6817 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6818 _resultobj
= Py_BuildValue("s",_ptemp
);
6826 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6827 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6829 wxTreeItemId
* _result
;
6830 wxPyTreeCtrl
* _arg0
;
6831 wxTreeItemId
* _arg1
;
6834 int _arg4
= (int ) -1;
6835 int _arg5
= (int ) -1;
6836 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6837 PyObject
* _argo0
= 0;
6838 PyObject
* _argo1
= 0;
6839 PyObject
* _obj3
= 0;
6840 PyObject
* _argo6
= 0;
6841 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6862 #if PYTHON_API_VERSION >= 1009
6863 char* tmpPtr
; int tmpSize
;
6864 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6865 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6868 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6870 _arg3
= new wxString(tmpPtr
, tmpSize
);
6872 if (!PyString_Check(_obj3
)) {
6873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6876 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6880 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6887 wxPy_BEGIN_ALLOW_THREADS
;
6888 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6890 wxPy_END_ALLOW_THREADS
;
6891 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6892 _resultobj
= Py_BuildValue("s",_ptemp
);
6900 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6901 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6903 wxTreeItemId
* _result
;
6904 wxPyTreeCtrl
* _arg0
;
6905 wxTreeItemId
* _arg1
;
6907 int _arg3
= (int ) -1;
6908 int _arg4
= (int ) -1;
6909 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6910 PyObject
* _argo0
= 0;
6911 PyObject
* _argo1
= 0;
6912 PyObject
* _obj2
= 0;
6913 PyObject
* _argo5
= 0;
6914 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6935 #if PYTHON_API_VERSION >= 1009
6936 char* tmpPtr
; int tmpSize
;
6937 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6938 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6941 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6943 _arg2
= new wxString(tmpPtr
, tmpSize
);
6945 if (!PyString_Check(_obj2
)) {
6946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6949 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6953 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6960 wxPy_BEGIN_ALLOW_THREADS
;
6961 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6963 wxPy_END_ALLOW_THREADS
;
6964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6965 _resultobj
= Py_BuildValue("s",_ptemp
);
6973 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6974 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6976 wxPyTreeCtrl
* _arg0
;
6977 wxTreeItemId
* _arg1
;
6978 PyObject
* _argo0
= 0;
6979 PyObject
* _argo1
= 0;
6980 char *_kwnames
[] = { "self","item", NULL
};
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
6986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
6993 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6994 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7000 wxPy_BEGIN_ALLOW_THREADS
;
7001 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7003 wxPy_END_ALLOW_THREADS
;
7004 } Py_INCREF(Py_None
);
7005 _resultobj
= Py_None
;
7009 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7010 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
* _resultobj
;
7012 wxPyTreeCtrl
* _arg0
;
7013 wxTreeItemId
* _arg1
;
7014 PyObject
* _argo0
= 0;
7015 PyObject
* _argo1
= 0;
7016 char *_kwnames
[] = { "self","item", NULL
};
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7029 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7036 wxPy_BEGIN_ALLOW_THREADS
;
7037 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7039 wxPy_END_ALLOW_THREADS
;
7040 } Py_INCREF(Py_None
);
7041 _resultobj
= Py_None
;
7045 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7046 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxPyTreeCtrl
* _arg0
;
7049 PyObject
* _argo0
= 0;
7050 char *_kwnames
[] = { "self", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7063 wxPy_BEGIN_ALLOW_THREADS
;
7064 wxTreeCtrl_DeleteAllItems(_arg0
);
7066 wxPy_END_ALLOW_THREADS
;
7067 } Py_INCREF(Py_None
);
7068 _resultobj
= Py_None
;
7072 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7073 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7075 wxPyTreeCtrl
* _arg0
;
7076 wxTreeItemId
* _arg1
;
7077 PyObject
* _argo0
= 0;
7078 PyObject
* _argo1
= 0;
7079 char *_kwnames
[] = { "self","item", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7099 wxPy_BEGIN_ALLOW_THREADS
;
7100 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7102 wxPy_END_ALLOW_THREADS
;
7103 } Py_INCREF(Py_None
);
7104 _resultobj
= Py_None
;
7108 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7109 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7111 wxPyTreeCtrl
* _arg0
;
7112 wxTreeItemId
* _arg1
;
7113 PyObject
* _argo0
= 0;
7114 PyObject
* _argo1
= 0;
7115 char *_kwnames
[] = { "self","item", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7135 wxPy_BEGIN_ALLOW_THREADS
;
7136 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7138 wxPy_END_ALLOW_THREADS
;
7139 } Py_INCREF(Py_None
);
7140 _resultobj
= Py_None
;
7144 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7145 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7147 wxPyTreeCtrl
* _arg0
;
7148 wxTreeItemId
* _arg1
;
7149 PyObject
* _argo0
= 0;
7150 PyObject
* _argo1
= 0;
7151 char *_kwnames
[] = { "self","item", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7171 wxPy_BEGIN_ALLOW_THREADS
;
7172 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7174 wxPy_END_ALLOW_THREADS
;
7175 } Py_INCREF(Py_None
);
7176 _resultobj
= Py_None
;
7180 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7181 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7183 wxPyTreeCtrl
* _arg0
;
7184 wxTreeItemId
* _arg1
;
7185 PyObject
* _argo0
= 0;
7186 PyObject
* _argo1
= 0;
7187 char *_kwnames
[] = { "self","item", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7207 wxPy_BEGIN_ALLOW_THREADS
;
7208 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7210 wxPy_END_ALLOW_THREADS
;
7211 } Py_INCREF(Py_None
);
7212 _resultobj
= Py_None
;
7216 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7217 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7219 wxPyTreeCtrl
* _arg0
;
7220 PyObject
* _argo0
= 0;
7221 char *_kwnames
[] = { "self", NULL
};
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7234 wxPy_BEGIN_ALLOW_THREADS
;
7235 wxTreeCtrl_Unselect(_arg0
);
7237 wxPy_END_ALLOW_THREADS
;
7238 } Py_INCREF(Py_None
);
7239 _resultobj
= Py_None
;
7243 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7244 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7246 wxPyTreeCtrl
* _arg0
;
7247 PyObject
* _argo0
= 0;
7248 char *_kwnames
[] = { "self", NULL
};
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7261 wxPy_BEGIN_ALLOW_THREADS
;
7262 wxTreeCtrl_UnselectAll(_arg0
);
7264 wxPy_END_ALLOW_THREADS
;
7265 } Py_INCREF(Py_None
);
7266 _resultobj
= Py_None
;
7270 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7271 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7273 wxPyTreeCtrl
* _arg0
;
7274 wxTreeItemId
* _arg1
;
7275 PyObject
* _argo0
= 0;
7276 PyObject
* _argo1
= 0;
7277 char *_kwnames
[] = { "self","item", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7297 wxPy_BEGIN_ALLOW_THREADS
;
7298 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7300 wxPy_END_ALLOW_THREADS
;
7301 } Py_INCREF(Py_None
);
7302 _resultobj
= Py_None
;
7306 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7307 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7309 wxPyTreeCtrl
* _arg0
;
7310 wxTreeItemId
* _arg1
;
7311 PyObject
* _argo0
= 0;
7312 PyObject
* _argo1
= 0;
7313 char *_kwnames
[] = { "self","item", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7333 wxPy_BEGIN_ALLOW_THREADS
;
7334 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7336 wxPy_END_ALLOW_THREADS
;
7337 } Py_INCREF(Py_None
);
7338 _resultobj
= Py_None
;
7342 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7343 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
* _resultobj
;
7345 wxPyTreeCtrl
* _arg0
;
7346 wxTreeItemId
* _arg1
;
7347 PyObject
* _argo0
= 0;
7348 PyObject
* _argo1
= 0;
7349 char *_kwnames
[] = { "self","item", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7369 wxPy_BEGIN_ALLOW_THREADS
;
7370 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7372 wxPy_END_ALLOW_THREADS
;
7373 } Py_INCREF(Py_None
);
7374 _resultobj
= Py_None
;
7378 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7379 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
* _resultobj
;
7381 wxPyTreeCtrl
* _arg0
;
7382 wxTreeItemId
* _arg1
;
7383 PyObject
* _argo0
= 0;
7384 PyObject
* _argo1
= 0;
7385 char *_kwnames
[] = { "self","item", NULL
};
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7405 wxPy_BEGIN_ALLOW_THREADS
;
7406 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7408 wxPy_END_ALLOW_THREADS
;
7409 } Py_INCREF(Py_None
);
7410 _resultobj
= Py_None
;
7414 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7415 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7417 wxPyTreeCtrl
* _arg0
;
7418 wxTreeItemId
* _arg1
;
7419 PyObject
* _argo0
= 0;
7420 PyObject
* _argo1
= 0;
7421 char *_kwnames
[] = { "self","item", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7441 wxPy_BEGIN_ALLOW_THREADS
;
7442 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7444 wxPy_END_ALLOW_THREADS
;
7445 } Py_INCREF(Py_None
);
7446 _resultobj
= Py_None
;
7450 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7451 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
* _resultobj
;
7453 wxPyTreeCtrl
* _arg0
;
7454 wxTreeItemId
* _arg1
;
7455 int _arg2
= (int ) TRUE
;
7456 PyObject
* _argo0
= 0;
7457 PyObject
* _argo1
= 0;
7458 char *_kwnames
[] = { "self","item","bold", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7478 wxPy_BEGIN_ALLOW_THREADS
;
7479 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7481 wxPy_END_ALLOW_THREADS
;
7482 } Py_INCREF(Py_None
);
7483 _resultobj
= Py_None
;
7487 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7488 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7491 wxPyTreeCtrl
* _arg0
;
7492 wxTreeItemId
* _arg1
;
7493 PyObject
* _argo0
= 0;
7494 PyObject
* _argo1
= 0;
7495 char *_kwnames
[] = { "self","item", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7515 wxPy_BEGIN_ALLOW_THREADS
;
7516 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7518 wxPy_END_ALLOW_THREADS
;
7519 } _resultobj
= Py_BuildValue("i",_result
);
7523 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7524 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7526 wxTreeItemId
* _result
;
7527 wxPyTreeCtrl
* _arg0
;
7531 PyObject
* _argo0
= 0;
7533 PyObject
* _obj1
= 0;
7534 char *_kwnames
[] = { "self","point", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7552 if (! wxPoint_helper(_obj1
, &_arg1
))
7556 wxPy_BEGIN_ALLOW_THREADS
;
7557 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7559 wxPy_END_ALLOW_THREADS
;
7560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7561 _resultobj
= Py_BuildValue("s",_ptemp
);
7564 o
= PyInt_FromLong((long) (*_arg2
));
7565 _resultobj
= t_output_helper(_resultobj
, o
);
7570 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7571 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
* _resultobj
;
7573 wxPyTreeCtrl
* _arg0
;
7574 wxTreeItemId
* _arg1
;
7576 PyObject
* _argo0
= 0;
7577 PyObject
* _argo1
= 0;
7579 PyObject
* _obj2
= 0;
7580 char *_kwnames
[] = { "self","item","col", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7601 if (! wxColour_helper(_obj2
, &_arg2
))
7605 wxPy_BEGIN_ALLOW_THREADS
;
7606 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7608 wxPy_END_ALLOW_THREADS
;
7609 } Py_INCREF(Py_None
);
7610 _resultobj
= Py_None
;
7614 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7615 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7617 wxPyTreeCtrl
* _arg0
;
7618 wxTreeItemId
* _arg1
;
7620 PyObject
* _argo0
= 0;
7621 PyObject
* _argo1
= 0;
7623 PyObject
* _obj2
= 0;
7624 char *_kwnames
[] = { "self","item","col", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7645 if (! wxColour_helper(_obj2
, &_arg2
))
7649 wxPy_BEGIN_ALLOW_THREADS
;
7650 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7652 wxPy_END_ALLOW_THREADS
;
7653 } Py_INCREF(Py_None
);
7654 _resultobj
= Py_None
;
7658 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7659 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
* _resultobj
;
7661 wxPyTreeCtrl
* _arg0
;
7662 wxTreeItemId
* _arg1
;
7664 PyObject
* _argo0
= 0;
7665 PyObject
* _argo1
= 0;
7666 PyObject
* _argo2
= 0;
7667 char *_kwnames
[] = { "self","item","font", NULL
};
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7687 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7688 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7694 wxPy_BEGIN_ALLOW_THREADS
;
7695 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7697 wxPy_END_ALLOW_THREADS
;
7698 } Py_INCREF(Py_None
);
7699 _resultobj
= Py_None
;
7703 static PyMethodDef controls2cMethods
[] = {
7704 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
7927 * This table is used by the pointer type-checker
7929 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7930 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7931 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7932 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7933 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
7934 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
7935 { "_wxEvent","_class_wxEvent",0},
7936 { "_class_wxActivateEvent","_wxActivateEvent",0},
7937 { "_signed_long","_long",0},
7938 { "_wxMenuEvent","_class_wxMenuEvent",0},
7939 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7940 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7941 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7942 { "_wxPrintQuality","_wxCoord",0},
7943 { "_wxPrintQuality","_int",0},
7944 { "_wxPrintQuality","_signed_int",0},
7945 { "_wxPrintQuality","_unsigned_int",0},
7946 { "_wxPrintQuality","_wxWindowID",0},
7947 { "_wxPrintQuality","_uint",0},
7948 { "_wxPrintQuality","_EBool",0},
7949 { "_wxPrintQuality","_size_t",0},
7950 { "_wxPrintQuality","_time_t",0},
7951 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7952 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7953 { "_class_wxRegionIterator","_wxRegionIterator",0},
7954 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7955 { "_class_wxMenuBar","_wxMenuBar",0},
7956 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
7957 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7958 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7959 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7960 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7961 { "_class_wxEvtHandler","_wxEvtHandler",0},
7962 { "_wxPaintEvent","_class_wxPaintEvent",0},
7963 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7964 { "_wxCursor","_class_wxCursor",0},
7965 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7966 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7967 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7968 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7969 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7970 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
7971 { "_wxMask","_class_wxMask",0},
7972 { "_wxPen","_class_wxPen",0},
7973 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7974 { "_byte","_unsigned_char",0},
7975 { "_wxDataObject","_class_wxDataObject",0},
7976 { "_wxStaticBox","_class_wxStaticBox",0},
7977 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7978 { "_wxPyDropSource","_class_wxPyDropSource",0},
7979 { "_wxChoice","_class_wxChoice",0},
7980 { "_wxSlider","_class_wxSlider",0},
7981 { "_long","_unsigned_long",0},
7982 { "_long","_signed_long",0},
7983 { "_wxImageList","_class_wxImageList",0},
7984 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7985 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7986 { "_wxBitmapButton","_class_wxBitmapButton",0},
7987 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7988 { "_class_wxClipboard","_wxClipboard",0},
7989 { "_class_wxGauge","_wxGauge",0},
7990 { "_wxDC","_class_wxDC",0},
7991 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7992 { "_wxListEvent","_class_wxListEvent",0},
7993 { "_wxSpinEvent","_class_wxSpinEvent",0},
7994 { "_size_t","_wxCoord",0},
7995 { "_size_t","_wxPrintQuality",0},
7996 { "_size_t","_time_t",0},
7997 { "_size_t","_unsigned_int",0},
7998 { "_size_t","_int",0},
7999 { "_size_t","_wxWindowID",0},
8000 { "_size_t","_uint",0},
8001 { "_class_wxRealPoint","_wxRealPoint",0},
8002 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8003 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8004 { "_class_wxMenuItem","_wxMenuItem",0},
8005 { "_class_wxPaintEvent","_wxPaintEvent",0},
8006 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8007 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8008 { "_wxPanel","_class_wxPanel",0},
8009 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8010 { "_wxCheckBox","_class_wxCheckBox",0},
8011 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8012 { "_wxPyEvent","_class_wxPyEvent",0},
8013 { "_wxTextCtrl","_class_wxTextCtrl",0},
8014 { "_class_wxMask","_wxMask",0},
8015 { "_wxTextDataObject","_class_wxTextDataObject",0},
8016 { "_class_wxKeyEvent","_wxKeyEvent",0},
8017 { "_wxColour","_class_wxColour",0},
8018 { "_class_wxDialog","_wxDialog",0},
8019 { "_class_wxFileDataObject","_wxFileDataObject",0},
8020 { "_wxIdleEvent","_class_wxIdleEvent",0},
8021 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8022 { "_class_wxDataObject","_wxDataObject",0},
8023 { "_wxStaticLine","_class_wxStaticLine",0},
8024 { "_wxBrush","_class_wxBrush",0},
8025 { "_wxDataFormat","_class_wxDataFormat",0},
8026 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8027 { "_wxShowEvent","_class_wxShowEvent",0},
8028 { "_uint","_wxCoord",0},
8029 { "_uint","_wxPrintQuality",0},
8030 { "_uint","_time_t",0},
8031 { "_uint","_size_t",0},
8032 { "_uint","_unsigned_int",0},
8033 { "_uint","_int",0},
8034 { "_uint","_wxWindowID",0},
8035 { "_wxChar","_char",0},
8036 { "_wxPyValidator","_class_wxPyValidator",0},
8037 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8038 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8039 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8040 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8041 { "_class_wxEvent","_wxEvent",0},
8042 { "_wxCheckListBox","_class_wxCheckListBox",0},
8043 { "_wxRect","_class_wxRect",0},
8044 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8045 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8046 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8047 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8048 { "_wxCommandEvent","_class_wxCommandEvent",0},
8049 { "_wxSizeEvent","_class_wxSizeEvent",0},
8050 { "_wxPoint","_class_wxPoint",0},
8051 { "_class_wxButton","_wxButton",0},
8052 { "_wxRadioBox","_class_wxRadioBox",0},
8053 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8054 { "_char","_wxChar",0},
8055 { "_wxBitmap","_class_wxBitmap",0},
8056 { "_wxWindowDC","_class_wxWindowDC",0},
8057 { "_wxTimerEvent","_class_wxTimerEvent",0},
8058 { "_wxScrollBar","_class_wxScrollBar",0},
8059 { "_wxSpinButton","_class_wxSpinButton",0},
8060 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8061 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8062 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8063 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8064 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8065 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8066 { "_class_wxValidator","_wxValidator",0},
8067 { "_class_wxPyEvent","_wxPyEvent",0},
8068 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8069 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8070 { "_wxListItem","_class_wxListItem",0},
8071 { "_wxDropTarget","_class_wxDropTarget",0},
8072 { "_class_wxStaticLine","_wxStaticLine",0},
8073 { "_wxScrollEvent","_class_wxScrollEvent",0},
8074 { "_EBool","_wxCoord",0},
8075 { "_EBool","_wxPrintQuality",0},
8076 { "_EBool","_signed_int",0},
8077 { "_EBool","_int",0},
8078 { "_EBool","_wxWindowID",0},
8079 { "_class_wxRegion","_wxRegion",0},
8080 { "_class_wxDataFormat","_wxDataFormat",0},
8081 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8082 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8083 { "_wxStaticText","_class_wxStaticText",0},
8084 { "_wxFont","_class_wxFont",0},
8085 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8086 { "_wxCloseEvent","_class_wxCloseEvent",0},
8087 { "_unsigned_long","_long",0},
8088 { "_class_wxRect","_wxRect",0},
8089 { "_class_wxDC","_wxDC",0},
8090 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8091 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8092 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8093 { "_class_wxTreeEvent","_wxTreeEvent",0},
8094 { "_wxFocusEvent","_class_wxFocusEvent",0},
8095 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8096 { "_class_wxTimerEvent","_wxTimerEvent",0},
8097 { "_class_wxSpinButton","_wxSpinButton",0},
8098 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8099 { "_class_wxPanel","_wxPanel",0},
8100 { "_class_wxCheckBox","_wxCheckBox",0},
8101 { "_wxComboBox","_class_wxComboBox",0},
8102 { "_wxRadioButton","_class_wxRadioButton",0},
8103 { "_signed_int","_wxCoord",0},
8104 { "_signed_int","_wxPrintQuality",0},
8105 { "_signed_int","_EBool",0},
8106 { "_signed_int","_wxWindowID",0},
8107 { "_signed_int","_int",0},
8108 { "_class_wxTextCtrl","_wxTextCtrl",0},
8109 { "_class_wxListItemAttr","_wxListItemAttr",0},
8110 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8111 { "_class_wxTextDataObject","_wxTextDataObject",0},
8112 { "_wxMenu","_class_wxMenu",0},
8113 { "_class_wxMoveEvent","_wxMoveEvent",0},
8114 { "_wxListBox","_class_wxListBox",0},
8115 { "_wxScreenDC","_class_wxScreenDC",0},
8116 { "_WXTYPE","_short",0},
8117 { "_WXTYPE","_signed_short",0},
8118 { "_WXTYPE","_unsigned_short",0},
8119 { "_class_wxDropTarget","_wxDropTarget",0},
8120 { "_class_wxBrush","_wxBrush",0},
8121 { "_unsigned_short","_WXTYPE",0},
8122 { "_unsigned_short","_short",0},
8123 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8124 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8125 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8126 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8127 { "_class_wxWindow","_wxWindow",0},
8128 { "_class_wxStaticText","_wxStaticText",0},
8129 { "_class_wxFont","_wxFont",0},
8130 { "_wxClipboard","_class_wxClipboard",0},
8131 { "_class_wxPyValidator","_wxPyValidator",0},
8132 { "_class_wxCloseEvent","_wxCloseEvent",0},
8133 { "_wxBusyInfo","_class_wxBusyInfo",0},
8134 { "_class_wxMenuEvent","_wxMenuEvent",0},
8135 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8136 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8137 { "_wxClientDC","_class_wxClientDC",0},
8138 { "_wxMouseEvent","_class_wxMouseEvent",0},
8139 { "_wxListCtrl","_class_wxListCtrl",0},
8140 { "_class_wxPoint","_wxPoint",0},
8141 { "_wxRealPoint","_class_wxRealPoint",0},
8142 { "_class_wxRadioBox","_wxRadioBox",0},
8143 { "_signed_short","_WXTYPE",0},
8144 { "_signed_short","_short",0},
8145 { "_wxMemoryDC","_class_wxMemoryDC",0},
8146 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8147 { "_wxPaintDC","_class_wxPaintDC",0},
8148 { "_class_wxWindowDC","_wxWindowDC",0},
8149 { "_class_wxFocusEvent","_wxFocusEvent",0},
8150 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8151 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8152 { "_class_wxCursor","_wxCursor",0},
8153 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8154 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8155 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8156 { "_wxTreeItemId","_class_wxTreeItemId",0},
8157 { "_unsigned_char","_byte",0},
8158 { "_class_wxMenu","_wxMenu",0},
8159 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8160 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8161 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8162 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8163 { "_wxControl","_class_wxControl",0},
8164 { "_class_wxListBox","_wxListBox",0},
8165 { "_unsigned_int","_wxCoord",0},
8166 { "_unsigned_int","_wxPrintQuality",0},
8167 { "_unsigned_int","_time_t",0},
8168 { "_unsigned_int","_size_t",0},
8169 { "_unsigned_int","_uint",0},
8170 { "_unsigned_int","_wxWindowID",0},
8171 { "_unsigned_int","_int",0},
8172 { "_wxIcon","_class_wxIcon",0},
8173 { "_wxDialog","_class_wxDialog",0},
8174 { "_class_wxListItem","_wxListItem",0},
8175 { "_class_wxPen","_wxPen",0},
8176 { "_short","_WXTYPE",0},
8177 { "_short","_unsigned_short",0},
8178 { "_short","_signed_short",0},
8179 { "_class_wxStaticBox","_wxStaticBox",0},
8180 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8181 { "_class_wxPyDropSource","_wxPyDropSource",0},
8182 { "_class_wxScrollEvent","_wxScrollEvent",0},
8183 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8184 { "_class_wxChoice","_wxChoice",0},
8185 { "_class_wxSlider","_wxSlider",0},
8186 { "_class_wxImageList","_wxImageList",0},
8187 { "_class_wxBitmapButton","_wxBitmapButton",0},
8188 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8189 { "_wxWindowID","_wxCoord",0},
8190 { "_wxWindowID","_wxPrintQuality",0},
8191 { "_wxWindowID","_time_t",0},
8192 { "_wxWindowID","_size_t",0},
8193 { "_wxWindowID","_EBool",0},
8194 { "_wxWindowID","_uint",0},
8195 { "_wxWindowID","_int",0},
8196 { "_wxWindowID","_signed_int",0},
8197 { "_wxWindowID","_unsigned_int",0},
8198 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8199 { "_int","_wxCoord",0},
8200 { "_int","_wxPrintQuality",0},
8201 { "_int","_time_t",0},
8202 { "_int","_size_t",0},
8203 { "_int","_EBool",0},
8204 { "_int","_uint",0},
8205 { "_int","_wxWindowID",0},
8206 { "_int","_unsigned_int",0},
8207 { "_int","_signed_int",0},
8208 { "_class_wxMouseEvent","_wxMouseEvent",0},
8209 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8210 { "_class_wxListEvent","_wxListEvent",0},
8211 { "_class_wxSpinEvent","_wxSpinEvent",0},
8212 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8213 { "_time_t","_wxCoord",0},
8214 { "_time_t","_wxPrintQuality",0},
8215 { "_time_t","_unsigned_int",0},
8216 { "_time_t","_int",0},
8217 { "_time_t","_wxWindowID",0},
8218 { "_time_t","_uint",0},
8219 { "_time_t","_size_t",0},
8220 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8221 { "_wxButton","_class_wxButton",0},
8222 { "_wxSize","_class_wxSize",0},
8223 { "_wxRegionIterator","_class_wxRegionIterator",0},
8224 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8225 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8226 { "_class_wxPaintDC","_wxPaintDC",0},
8227 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8228 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8229 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8230 { "_class_wxComboBox","_wxComboBox",0},
8231 { "_class_wxRadioButton","_wxRadioButton",0},
8232 { "_wxValidator","_class_wxValidator",0},
8233 { "_class_wxTreeItemId","_wxTreeItemId",0},
8234 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8235 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8236 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8237 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8238 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8239 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8240 { "_class_wxControl","_wxControl",0},
8241 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8242 { "_class_wxIcon","_wxIcon",0},
8243 { "_class_wxColour","_wxColour",0},
8244 { "_class_wxScreenDC","_wxScreenDC",0},
8245 { "_wxPalette","_class_wxPalette",0},
8246 { "_class_wxIdleEvent","_wxIdleEvent",0},
8247 { "_wxCoord","_int",0},
8248 { "_wxCoord","_signed_int",0},
8249 { "_wxCoord","_unsigned_int",0},
8250 { "_wxCoord","_wxWindowID",0},
8251 { "_wxCoord","_uint",0},
8252 { "_wxCoord","_EBool",0},
8253 { "_wxCoord","_size_t",0},
8254 { "_wxCoord","_time_t",0},
8255 { "_wxCoord","_wxPrintQuality",0},
8256 { "_wxEraseEvent","_class_wxEraseEvent",0},
8257 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8258 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8259 { "_wxRegion","_class_wxRegion",0},
8260 { "_class_wxShowEvent","_wxShowEvent",0},
8261 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8262 { "_wxActivateEvent","_class_wxActivateEvent",0},
8263 { "_wxGauge","_class_wxGauge",0},
8264 { "_class_wxCheckListBox","_wxCheckListBox",0},
8265 { "_class_wxBusyInfo","_wxBusyInfo",0},
8266 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8267 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8268 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8269 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8270 { "_class_wxCommandEvent","_wxCommandEvent",0},
8271 { "_class_wxClientDC","_wxClientDC",0},
8272 { "_class_wxSizeEvent","_wxSizeEvent",0},
8273 { "_class_wxListCtrl","_wxListCtrl",0},
8274 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8275 { "_class_wxSize","_wxSize",0},
8276 { "_class_wxBitmap","_wxBitmap",0},
8277 { "_class_wxMemoryDC","_wxMemoryDC",0},
8278 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8279 { "_wxMenuBar","_class_wxMenuBar",0},
8280 { "_wxTreeEvent","_class_wxTreeEvent",0},
8281 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8282 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8283 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8284 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8285 { "_wxEvtHandler","_class_wxEvtHandler",0},
8286 { "_wxMenuItem","_class_wxMenuItem",0},
8287 { "_class_wxScrollBar","_wxScrollBar",0},
8288 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8289 { "_wxListItemAttr","_class_wxListItemAttr",0},
8290 { "_wxKeyEvent","_class_wxKeyEvent",0},
8291 { "_wxMoveEvent","_class_wxMoveEvent",0},
8292 { "_class_wxPalette","_wxPalette",0},
8293 { "_wxFileDataObject","_class_wxFileDataObject",0},
8294 { "_class_wxEraseEvent","_wxEraseEvent",0},
8295 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8296 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8297 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8298 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8299 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8300 { "_wxWindow","_class_wxWindow",0},
8301 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8304 static PyObject
*SWIG_globals
;
8308 SWIGEXPORT(void) initcontrols2c() {
8310 SWIG_globals
= SWIG_newvarlink();
8311 m
= Py_InitModule("controls2c", controls2cMethods
);
8312 d
= PyModule_GetDict(m
);
8313 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8314 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8315 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8316 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8317 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8318 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8319 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8320 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8321 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8322 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8323 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8324 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8325 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8326 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8327 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8328 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8329 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8330 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8331 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8332 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8333 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8334 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8335 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8336 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8337 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8338 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8339 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8340 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8341 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8342 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8343 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8344 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8345 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8346 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8347 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8348 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8349 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8350 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8351 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8352 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8353 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8354 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8355 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8356 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8357 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8358 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8359 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8360 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8361 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8362 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8363 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8364 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8365 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8366 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8367 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8368 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8369 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8370 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8371 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8372 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8373 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8374 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8375 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8376 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8377 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8378 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8379 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8380 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8381 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8382 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8383 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8384 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8385 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8386 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8387 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8388 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8389 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8390 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8391 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8392 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8393 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8394 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8395 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8396 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8397 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8398 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8399 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8400 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8401 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8402 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8403 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8404 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8405 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8406 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8407 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8410 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8411 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);