2 * FILE : gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrols2c
54 #define SWIG_name "controls2c"
60 #include <wx/listctrl.h>
61 #include <wx/treectrl.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
112 extern wxValidator wxPyDefaultValidator
;
114 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
116 PyObject
* func
= (PyObject
*)funcPtr
;
117 bool doSave
= wxPyRestoreThread();
119 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
120 PyObject
* result
= PyEval_CallObject(func
, args
);
123 retval
= PyInt_AsLong(result
);
127 wxPySaveThread(doSave
);
132 class wxPyTreeItemData
: public wxTreeItemData
{
134 wxPyTreeItemData(PyObject
* obj
= NULL
) {
141 ~wxPyTreeItemData() {
142 bool doSave
= wxPyRestoreThread();
144 wxPySaveThread(doSave
);
147 PyObject
* GetData() {
152 void SetData(PyObject
* obj
) {
161 class wxPyTreeCtrl
: public wxTreeCtrl
{
163 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
167 const wxValidator
& validator
,
169 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
172 int OnCompareItems(const wxTreeItemId
& item1
,
173 const wxTreeItemId
& item2
) {
175 bool doSave
= wxPyRestoreThread();
176 if (m_myInst
.findCallback("OnCompareItems"))
177 rval
= m_myInst
.callCallback(Py_BuildValue(
179 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
180 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
182 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
183 wxPySaveThread(doSave
);
192 #define new_wxListItemAttr() (new wxListItemAttr())
193 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
194 PyObject
* _resultobj
;
195 wxListItemAttr
* _result
;
196 char *_kwnames
[] = { NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
203 wxPy_BEGIN_ALLOW_THREADS
;
204 _result
= (wxListItemAttr
*)new_wxListItemAttr();
206 wxPy_END_ALLOW_THREADS
;
208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
209 _resultobj
= Py_BuildValue("s",_ptemp
);
212 _resultobj
= Py_None
;
217 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
218 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
220 wxListItemAttr
* _arg0
;
222 PyObject
* _argo0
= 0;
224 PyObject
* _obj1
= 0;
225 char *_kwnames
[] = { "self","colText", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
239 if (! wxColour_helper(_obj1
, &_arg1
))
243 wxPy_BEGIN_ALLOW_THREADS
;
244 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
246 wxPy_END_ALLOW_THREADS
;
247 } Py_INCREF(Py_None
);
248 _resultobj
= Py_None
;
252 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
253 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
255 wxListItemAttr
* _arg0
;
257 PyObject
* _argo0
= 0;
259 PyObject
* _obj1
= 0;
260 char *_kwnames
[] = { "self","colBack", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
274 if (! wxColour_helper(_obj1
, &_arg1
))
278 wxPy_BEGIN_ALLOW_THREADS
;
279 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
281 wxPy_END_ALLOW_THREADS
;
282 } Py_INCREF(Py_None
);
283 _resultobj
= Py_None
;
287 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
288 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
290 wxListItemAttr
* _arg0
;
292 PyObject
* _argo0
= 0;
293 PyObject
* _argo1
= 0;
294 char *_kwnames
[] = { "self","font", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
314 wxPy_BEGIN_ALLOW_THREADS
;
315 wxListItemAttr_SetFont(_arg0
,*_arg1
);
317 wxPy_END_ALLOW_THREADS
;
318 } Py_INCREF(Py_None
);
319 _resultobj
= Py_None
;
323 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
324 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
327 wxListItemAttr
* _arg0
;
328 PyObject
* _argo0
= 0;
329 char *_kwnames
[] = { "self", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
345 wxPy_END_ALLOW_THREADS
;
346 } _resultobj
= Py_BuildValue("i",_result
);
350 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
351 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
354 wxListItemAttr
* _arg0
;
355 PyObject
* _argo0
= 0;
356 char *_kwnames
[] = { "self", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
369 wxPy_BEGIN_ALLOW_THREADS
;
370 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
372 wxPy_END_ALLOW_THREADS
;
373 } _resultobj
= Py_BuildValue("i",_result
);
377 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
378 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
381 wxListItemAttr
* _arg0
;
382 PyObject
* _argo0
= 0;
383 char *_kwnames
[] = { "self", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
396 wxPy_BEGIN_ALLOW_THREADS
;
397 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
399 wxPy_END_ALLOW_THREADS
;
400 } _resultobj
= Py_BuildValue("i",_result
);
404 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
405 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
408 wxListItemAttr
* _arg0
;
409 PyObject
* _argo0
= 0;
410 char *_kwnames
[] = { "self", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
424 wxPy_BEGIN_ALLOW_THREADS
;
425 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
426 _result
= (wxColour
*) &_result_ref
;
428 wxPy_END_ALLOW_THREADS
;
430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
431 _resultobj
= Py_BuildValue("s",_ptemp
);
434 _resultobj
= Py_None
;
439 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
440 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 wxListItemAttr
* _arg0
;
444 PyObject
* _argo0
= 0;
445 char *_kwnames
[] = { "self", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
459 wxPy_BEGIN_ALLOW_THREADS
;
460 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
461 _result
= (wxColour
*) &_result_ref
;
463 wxPy_END_ALLOW_THREADS
;
465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
466 _resultobj
= Py_BuildValue("s",_ptemp
);
469 _resultobj
= Py_None
;
474 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
475 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
478 wxListItemAttr
* _arg0
;
479 PyObject
* _argo0
= 0;
480 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
494 wxPy_BEGIN_ALLOW_THREADS
;
495 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
496 _result
= (wxFont
*) &_result_ref
;
498 wxPy_END_ALLOW_THREADS
;
500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
504 _resultobj
= Py_None
;
509 #define new_wxListItem() (new wxListItem())
510 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
512 wxListItem
* _result
;
513 char *_kwnames
[] = { NULL
};
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
520 wxPy_BEGIN_ALLOW_THREADS
;
521 _result
= (wxListItem
*)new_wxListItem();
523 wxPy_END_ALLOW_THREADS
;
525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
526 _resultobj
= Py_BuildValue("s",_ptemp
);
529 _resultobj
= Py_None
;
534 #define delete_wxListItem(_swigobj) (delete _swigobj)
535 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
538 PyObject
* _argo0
= 0;
539 char *_kwnames
[] = { "self", NULL
};
542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
552 wxPy_BEGIN_ALLOW_THREADS
;
553 delete_wxListItem(_arg0
);
555 wxPy_END_ALLOW_THREADS
;
556 } Py_INCREF(Py_None
);
557 _resultobj
= Py_None
;
561 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
562 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
565 PyObject
* _argo0
= 0;
566 char *_kwnames
[] = { "self", NULL
};
569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
579 wxPy_BEGIN_ALLOW_THREADS
;
580 wxListItem_Clear(_arg0
);
582 wxPy_END_ALLOW_THREADS
;
583 } Py_INCREF(Py_None
);
584 _resultobj
= Py_None
;
588 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
589 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
592 PyObject
* _argo0
= 0;
593 char *_kwnames
[] = { "self", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
606 wxPy_BEGIN_ALLOW_THREADS
;
607 wxListItem_ClearAttributes(_arg0
);
609 wxPy_END_ALLOW_THREADS
;
610 } Py_INCREF(Py_None
);
611 _resultobj
= Py_None
;
615 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
616 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
620 PyObject
* _argo0
= 0;
621 char *_kwnames
[] = { "self","mask", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
634 wxPy_BEGIN_ALLOW_THREADS
;
635 wxListItem_SetMask(_arg0
,_arg1
);
637 wxPy_END_ALLOW_THREADS
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
644 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
648 PyObject
* _argo0
= 0;
649 char *_kwnames
[] = { "self","id", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 wxListItem_SetId(_arg0
,_arg1
);
665 wxPy_END_ALLOW_THREADS
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
672 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
676 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self","col", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
690 wxPy_BEGIN_ALLOW_THREADS
;
691 wxListItem_SetColumn(_arg0
,_arg1
);
693 wxPy_END_ALLOW_THREADS
;
694 } Py_INCREF(Py_None
);
695 _resultobj
= Py_None
;
699 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
700 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self","state", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxListItem_SetState(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
727 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
728 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
732 PyObject
* _argo0
= 0;
733 char *_kwnames
[] = { "self","stateMask", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
746 wxPy_BEGIN_ALLOW_THREADS
;
747 wxListItem_SetStateMask(_arg0
,_arg1
);
749 wxPy_END_ALLOW_THREADS
;
750 } Py_INCREF(Py_None
);
751 _resultobj
= Py_None
;
755 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
756 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
760 PyObject
* _argo0
= 0;
761 PyObject
* _obj1
= 0;
762 char *_kwnames
[] = { "self","text", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
775 if (!PyString_Check(_obj1
)) {
776 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
779 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
782 wxPy_BEGIN_ALLOW_THREADS
;
783 wxListItem_SetText(_arg0
,*_arg1
);
785 wxPy_END_ALLOW_THREADS
;
786 } Py_INCREF(Py_None
);
787 _resultobj
= Py_None
;
795 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
796 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
800 PyObject
* _argo0
= 0;
801 char *_kwnames
[] = { "self","image", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
814 wxPy_BEGIN_ALLOW_THREADS
;
815 wxListItem_SetImage(_arg0
,_arg1
);
817 wxPy_END_ALLOW_THREADS
;
818 } Py_INCREF(Py_None
);
819 _resultobj
= Py_None
;
823 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
824 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self","data", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 wxListItem_SetData(_arg0
,_arg1
);
845 wxPy_END_ALLOW_THREADS
;
846 } Py_INCREF(Py_None
);
847 _resultobj
= Py_None
;
851 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
852 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
856 PyObject
* _argo0
= 0;
857 char *_kwnames
[] = { "self","width", NULL
};
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
870 wxPy_BEGIN_ALLOW_THREADS
;
871 wxListItem_SetWidth(_arg0
,_arg1
);
873 wxPy_END_ALLOW_THREADS
;
874 } Py_INCREF(Py_None
);
875 _resultobj
= Py_None
;
879 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
880 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
883 wxListColumnFormat _arg1
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self","align", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
898 wxPy_BEGIN_ALLOW_THREADS
;
899 wxListItem_SetAlign(_arg0
,_arg1
);
901 wxPy_END_ALLOW_THREADS
;
902 } Py_INCREF(Py_None
);
903 _resultobj
= Py_None
;
907 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
908 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
912 PyObject
* _argo0
= 0;
914 PyObject
* _obj1
= 0;
915 char *_kwnames
[] = { "self","colText", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
929 if (! wxColour_helper(_obj1
, &_arg1
))
933 wxPy_BEGIN_ALLOW_THREADS
;
934 wxListItem_SetTextColour(_arg0
,*_arg1
);
936 wxPy_END_ALLOW_THREADS
;
937 } Py_INCREF(Py_None
);
938 _resultobj
= Py_None
;
942 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
943 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
947 PyObject
* _argo0
= 0;
949 PyObject
* _obj1
= 0;
950 char *_kwnames
[] = { "self","colBack", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
964 if (! wxColour_helper(_obj1
, &_arg1
))
968 wxPy_BEGIN_ALLOW_THREADS
;
969 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
971 wxPy_END_ALLOW_THREADS
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
978 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
982 PyObject
* _argo0
= 0;
983 PyObject
* _argo1
= 0;
984 char *_kwnames
[] = { "self","font", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 wxListItem_SetFont(_arg0
,*_arg1
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } Py_INCREF(Py_None
);
1009 _resultobj
= Py_None
;
1013 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1014 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1018 PyObject
* _argo0
= 0;
1019 char *_kwnames
[] = { "self", NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1032 wxPy_BEGIN_ALLOW_THREADS
;
1033 _result
= (long )wxListItem_GetMask(_arg0
);
1035 wxPy_END_ALLOW_THREADS
;
1036 } _resultobj
= Py_BuildValue("l",_result
);
1040 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1041 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1045 PyObject
* _argo0
= 0;
1046 char *_kwnames
[] = { "self", NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (long )wxListItem_GetId(_arg0
);
1062 wxPy_END_ALLOW_THREADS
;
1063 } _resultobj
= Py_BuildValue("l",_result
);
1067 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1068 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (int )wxListItem_GetColumn(_arg0
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } _resultobj
= Py_BuildValue("i",_result
);
1094 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1095 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 _result
= (long )wxListItem_GetState(_arg0
);
1116 wxPy_END_ALLOW_THREADS
;
1117 } _resultobj
= Py_BuildValue("l",_result
);
1121 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1122 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1142 _result
= (wxString
*) &_result_ref
;
1144 wxPy_END_ALLOW_THREADS
;
1146 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1151 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1152 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 _result
= (int )wxListItem_GetImage(_arg0
);
1173 wxPy_END_ALLOW_THREADS
;
1174 } _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1179 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 _result
= (long )wxListItem_GetData(_arg0
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } _resultobj
= Py_BuildValue("l",_result
);
1205 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1206 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (int )wxListItem_GetWidth(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 } _resultobj
= Py_BuildValue("i",_result
);
1232 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1233 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1235 wxListColumnFormat _result
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } _resultobj
= Py_BuildValue("i",_result
);
1259 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1260 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxListItemAttr
* _result
;
1264 PyObject
* _argo0
= 0;
1265 char *_kwnames
[] = { "self", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1279 wxPy_BEGIN_ALLOW_THREADS
;
1280 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1282 wxPy_END_ALLOW_THREADS
;
1284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1285 _resultobj
= Py_BuildValue("s",_ptemp
);
1288 _resultobj
= Py_None
;
1293 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1294 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1315 wxPy_END_ALLOW_THREADS
;
1316 } _resultobj
= Py_BuildValue("i",_result
);
1320 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1321 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1343 wxPy_END_ALLOW_THREADS
;
1344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1345 _resultobj
= Py_BuildValue("s",_ptemp
);
1349 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1350 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1354 PyObject
* _argo0
= 0;
1355 char *_kwnames
[] = { "self", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1372 wxPy_END_ALLOW_THREADS
;
1373 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1374 _resultobj
= Py_BuildValue("s",_ptemp
);
1378 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1379 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1383 PyObject
* _argo0
= 0;
1384 char *_kwnames
[] = { "self", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1398 wxPy_BEGIN_ALLOW_THREADS
;
1399 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1401 wxPy_END_ALLOW_THREADS
;
1402 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1407 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1408 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self","m_mask", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } _resultobj
= Py_BuildValue("l",_result
);
1435 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1436 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1454 wxPy_BEGIN_ALLOW_THREADS
;
1455 _result
= (long )wxListItem_m_mask_get(_arg0
);
1457 wxPy_END_ALLOW_THREADS
;
1458 } _resultobj
= Py_BuildValue("l",_result
);
1462 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1463 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","m_itemId", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1482 wxPy_BEGIN_ALLOW_THREADS
;
1483 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1485 wxPy_END_ALLOW_THREADS
;
1486 } _resultobj
= Py_BuildValue("l",_result
);
1490 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1491 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1495 PyObject
* _argo0
= 0;
1496 char *_kwnames
[] = { "self", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1512 wxPy_END_ALLOW_THREADS
;
1513 } _resultobj
= Py_BuildValue("l",_result
);
1517 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1518 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self","m_col", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } _resultobj
= Py_BuildValue("i",_result
);
1545 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1546 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= (int )wxListItem_m_col_get(_arg0
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } _resultobj
= Py_BuildValue("i",_result
);
1572 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1573 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self","m_state", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1595 wxPy_END_ALLOW_THREADS
;
1596 } _resultobj
= Py_BuildValue("l",_result
);
1600 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1601 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1605 PyObject
* _argo0
= 0;
1606 char *_kwnames
[] = { "self", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= (long )wxListItem_m_state_get(_arg0
);
1622 wxPy_END_ALLOW_THREADS
;
1623 } _resultobj
= Py_BuildValue("l",_result
);
1627 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1628 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1633 PyObject
* _argo0
= 0;
1634 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1650 wxPy_END_ALLOW_THREADS
;
1651 } _resultobj
= Py_BuildValue("l",_result
);
1655 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1656 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1677 wxPy_END_ALLOW_THREADS
;
1678 } _resultobj
= Py_BuildValue("l",_result
);
1682 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1683 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1688 PyObject
* _argo0
= 0;
1689 PyObject
* _obj1
= 0;
1690 char *_kwnames
[] = { "self","m_text", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1703 if (!PyString_Check(_obj1
)) {
1704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1707 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1710 wxPy_BEGIN_ALLOW_THREADS
;
1711 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1713 wxPy_END_ALLOW_THREADS
;
1715 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1724 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1725 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1729 PyObject
* _argo0
= 0;
1730 char *_kwnames
[] = { "self", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1743 wxPy_BEGIN_ALLOW_THREADS
;
1744 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1746 wxPy_END_ALLOW_THREADS
;
1748 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1753 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1754 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self","m_image", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } _resultobj
= Py_BuildValue("i",_result
);
1781 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1782 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 _result
= (int )wxListItem_m_image_get(_arg0
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } _resultobj
= Py_BuildValue("i",_result
);
1808 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1809 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self","m_data", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1828 wxPy_BEGIN_ALLOW_THREADS
;
1829 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1831 wxPy_END_ALLOW_THREADS
;
1832 } _resultobj
= Py_BuildValue("l",_result
);
1836 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1837 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= (long )wxListItem_m_data_get(_arg0
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } _resultobj
= Py_BuildValue("l",_result
);
1863 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1864 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1869 PyObject
* _argo0
= 0;
1870 char *_kwnames
[] = { "self","m_format", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1886 wxPy_END_ALLOW_THREADS
;
1887 } _resultobj
= Py_BuildValue("i",_result
);
1891 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1892 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1896 PyObject
* _argo0
= 0;
1897 char *_kwnames
[] = { "self", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1910 wxPy_BEGIN_ALLOW_THREADS
;
1911 _result
= (int )wxListItem_m_format_get(_arg0
);
1913 wxPy_END_ALLOW_THREADS
;
1914 } _resultobj
= Py_BuildValue("i",_result
);
1918 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1919 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1924 PyObject
* _argo0
= 0;
1925 char *_kwnames
[] = { "self","m_width", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1941 wxPy_END_ALLOW_THREADS
;
1942 } _resultobj
= Py_BuildValue("i",_result
);
1946 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1947 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "self", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1965 wxPy_BEGIN_ALLOW_THREADS
;
1966 _result
= (int )wxListItem_m_width_get(_arg0
);
1968 wxPy_END_ALLOW_THREADS
;
1969 } _resultobj
= Py_BuildValue("i",_result
);
1973 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
1975 wxCommandEvent
*dest
;
1976 src
= (wxListEvent
*) ptr
;
1977 dest
= (wxCommandEvent
*) src
;
1978 return (void *) dest
;
1981 static void *SwigwxListEventTowxEvent(void *ptr
) {
1984 src
= (wxListEvent
*) ptr
;
1985 dest
= (wxEvent
*) src
;
1986 return (void *) dest
;
1989 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
1990 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1993 wxListEvent
* _arg0
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self","m_code", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2012 wxPy_END_ALLOW_THREADS
;
2013 } _resultobj
= Py_BuildValue("i",_result
);
2017 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2018 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 wxListEvent
* _arg0
;
2022 PyObject
* _argo0
= 0;
2023 char *_kwnames
[] = { "self", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= (int )wxListEvent_m_code_get(_arg0
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2045 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 wxListEvent
* _arg0
;
2050 PyObject
* _argo0
= 0;
2051 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2064 wxPy_BEGIN_ALLOW_THREADS
;
2065 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2067 wxPy_END_ALLOW_THREADS
;
2068 } _resultobj
= Py_BuildValue("l",_result
);
2072 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2073 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2076 wxListEvent
* _arg0
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2094 wxPy_END_ALLOW_THREADS
;
2095 } _resultobj
= Py_BuildValue("l",_result
);
2099 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2100 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 wxListEvent
* _arg0
;
2105 PyObject
* _argo0
= 0;
2106 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } _resultobj
= Py_BuildValue("l",_result
);
2127 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2128 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2131 wxListEvent
* _arg0
;
2132 PyObject
* _argo0
= 0;
2133 char *_kwnames
[] = { "self", NULL
};
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2146 wxPy_BEGIN_ALLOW_THREADS
;
2147 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2149 wxPy_END_ALLOW_THREADS
;
2150 } _resultobj
= Py_BuildValue("l",_result
);
2154 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2155 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2158 wxListEvent
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 char *_kwnames
[] = { "self","m_col", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2174 wxPy_BEGIN_ALLOW_THREADS
;
2175 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2177 wxPy_END_ALLOW_THREADS
;
2178 } _resultobj
= Py_BuildValue("i",_result
);
2182 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2183 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2186 wxListEvent
* _arg0
;
2187 PyObject
* _argo0
= 0;
2188 char *_kwnames
[] = { "self", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (int )wxListEvent_m_col_get(_arg0
);
2204 wxPy_END_ALLOW_THREADS
;
2205 } _resultobj
= Py_BuildValue("i",_result
);
2209 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2210 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2213 wxListEvent
* _arg0
;
2215 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
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_cancelled_set. Expected _wxListEvent_p.");
2229 _arg1
= (bool ) tempbool1
;
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2240 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2243 wxListEvent
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2267 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2270 wxListEvent
* _arg0
;
2272 PyObject
* _argo0
= 0;
2274 PyObject
* _obj1
= 0;
2275 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2290 if (! wxPoint_helper(_obj1
, &_arg1
))
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2297 wxPy_END_ALLOW_THREADS
;
2299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2303 _resultobj
= Py_None
;
2308 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2309 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2312 wxListEvent
* _arg0
;
2313 PyObject
* _argo0
= 0;
2314 char *_kwnames
[] = { "self", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2331 wxPy_END_ALLOW_THREADS
;
2333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2334 _resultobj
= Py_BuildValue("s",_ptemp
);
2337 _resultobj
= Py_None
;
2342 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2343 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2345 wxListItem
* _result
;
2346 wxListEvent
* _arg0
;
2348 PyObject
* _argo0
= 0;
2349 PyObject
* _argo1
= 0;
2350 char *_kwnames
[] = { "self","m_item", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2364 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2377 _resultobj
= Py_BuildValue("s",_ptemp
);
2380 _resultobj
= Py_None
;
2385 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2386 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2388 wxListItem
* _result
;
2389 wxListEvent
* _arg0
;
2390 PyObject
* _argo0
= 0;
2391 char *_kwnames
[] = { "self", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2408 wxPy_END_ALLOW_THREADS
;
2410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2411 _resultobj
= Py_BuildValue("s",_ptemp
);
2414 _resultobj
= Py_None
;
2419 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2420 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2423 wxListEvent
* _arg0
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 _result
= (int )wxListEvent_GetCode(_arg0
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } _resultobj
= Py_BuildValue("i",_result
);
2446 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2447 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2450 wxListEvent
* _arg0
;
2451 PyObject
* _argo0
= 0;
2452 char *_kwnames
[] = { "self", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2465 wxPy_BEGIN_ALLOW_THREADS
;
2466 _result
= (long )wxListEvent_GetIndex(_arg0
);
2468 wxPy_END_ALLOW_THREADS
;
2469 } _resultobj
= Py_BuildValue("l",_result
);
2473 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2474 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2477 wxListEvent
* _arg0
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2495 wxPy_END_ALLOW_THREADS
;
2496 } _resultobj
= Py_BuildValue("l",_result
);
2500 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2501 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2504 wxListEvent
* _arg0
;
2505 PyObject
* _argo0
= 0;
2506 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2522 wxPy_END_ALLOW_THREADS
;
2523 } _resultobj
= Py_BuildValue("l",_result
);
2527 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2528 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2531 wxListEvent
* _arg0
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= (int )wxListEvent_GetColumn(_arg0
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } _resultobj
= Py_BuildValue("i",_result
);
2554 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2555 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2558 wxListEvent
* _arg0
;
2559 PyObject
* _argo0
= 0;
2560 char *_kwnames
[] = { "self", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2573 wxPy_BEGIN_ALLOW_THREADS
;
2574 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2576 wxPy_END_ALLOW_THREADS
;
2577 } _resultobj
= Py_BuildValue("i",_result
);
2581 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2582 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2585 wxListEvent
* _arg0
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2601 wxPy_BEGIN_ALLOW_THREADS
;
2602 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2604 wxPy_END_ALLOW_THREADS
;
2605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2606 _resultobj
= Py_BuildValue("s",_ptemp
);
2610 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2611 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2614 wxListEvent
* _arg0
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2631 _result
= (wxString
*) &_result_ref
;
2633 wxPy_END_ALLOW_THREADS
;
2635 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2640 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2641 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2644 wxListEvent
* _arg0
;
2645 PyObject
* _argo0
= 0;
2646 char *_kwnames
[] = { "self", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2661 _result
= (wxString
*) &_result_ref
;
2663 wxPy_END_ALLOW_THREADS
;
2665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2670 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2671 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 wxListEvent
* _arg0
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 _result
= (int )wxListEvent_GetImage(_arg0
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } _resultobj
= Py_BuildValue("i",_result
);
2697 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2698 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2701 wxListEvent
* _arg0
;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (long )wxListEvent_GetData(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } _resultobj
= Py_BuildValue("l",_result
);
2724 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2725 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2728 wxListEvent
* _arg0
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 _result
= (long )wxListEvent_GetMask(_arg0
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } _resultobj
= Py_BuildValue("l",_result
);
2751 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2752 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2754 wxListItem
* _result
;
2755 wxListEvent
* _arg0
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2773 _result
= (wxListItem
*) &_result_ref
;
2775 wxPy_END_ALLOW_THREADS
;
2777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2778 _resultobj
= Py_BuildValue("s",_ptemp
);
2781 _resultobj
= Py_None
;
2786 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2789 src
= (wxListCtrl
*) ptr
;
2790 dest
= (wxControl
*) src
;
2791 return (void *) dest
;
2794 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2797 src
= (wxListCtrl
*) ptr
;
2798 dest
= (wxWindow
*) src
;
2799 return (void *) dest
;
2802 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2805 src
= (wxListCtrl
*) ptr
;
2806 dest
= (wxEvtHandler
*) src
;
2807 return (void *) dest
;
2810 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2811 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2813 wxListCtrl
* _result
;
2816 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2817 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2818 long _arg4
= (long ) wxLC_ICON
;
2819 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
2820 char * _arg6
= (char *) "listCtrl";
2821 PyObject
* _argo0
= 0;
2823 PyObject
* _obj2
= 0;
2825 PyObject
* _obj3
= 0;
2826 PyObject
* _argo5
= 0;
2827 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2843 if (! wxPoint_helper(_obj2
, &_arg2
))
2849 if (! wxSize_helper(_obj3
, &_arg3
))
2853 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2863 wxPy_END_ALLOW_THREADS
;
2865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2866 _resultobj
= Py_BuildValue("s",_ptemp
);
2869 _resultobj
= Py_None
;
2874 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2875 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2879 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","flag", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2903 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self","item", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2925 wxPy_END_ALLOW_THREADS
;
2926 } _resultobj
= Py_BuildValue("i",_result
);
2930 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2931 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
2958 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2963 PyObject
* _argo0
= 0;
2964 char *_kwnames
[] = { "self","col", NULL
};
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
2970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
2977 wxPy_BEGIN_ALLOW_THREADS
;
2978 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
2980 wxPy_END_ALLOW_THREADS
;
2981 } _resultobj
= Py_BuildValue("i",_result
);
2985 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
2986 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } _resultobj
= Py_BuildValue("i",_result
);
3012 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3013 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 wxListCtrl_ClearAll(_arg0
);
3033 wxPy_END_ALLOW_THREADS
;
3034 } Py_INCREF(Py_None
);
3035 _resultobj
= Py_None
;
3039 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3040 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self","item", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 wxListCtrl_EditLabel(_arg0
,_arg1
);
3061 wxPy_END_ALLOW_THREADS
;
3062 } Py_INCREF(Py_None
);
3063 _resultobj
= Py_None
;
3067 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3068 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3073 PyObject
* _argo0
= 0;
3074 char *_kwnames
[] = { "self","item", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3087 wxPy_BEGIN_ALLOW_THREADS
;
3088 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3090 wxPy_END_ALLOW_THREADS
;
3091 } _resultobj
= Py_BuildValue("i",_result
);
3095 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3096 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3102 bool _arg3
= (bool ) FALSE
;
3103 PyObject
* _argo0
= 0;
3104 PyObject
* _obj2
= 0;
3105 int tempbool3
= (int) FALSE
;
3106 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3119 if (!PyString_Check(_obj2
)) {
3120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3123 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3125 _arg3
= (bool ) tempbool3
;
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } _resultobj
= Py_BuildValue("l",_result
);
3139 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3140 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self","start","data", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } _resultobj
= Py_BuildValue("l",_result
);
3168 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3169 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3176 PyObject
* _argo0
= 0;
3178 PyObject
* _obj2
= 0;
3179 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3193 if (! wxPoint_helper(_obj2
, &_arg2
))
3197 wxPy_BEGIN_ALLOW_THREADS
;
3198 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3200 wxPy_END_ALLOW_THREADS
;
3201 } _resultobj
= Py_BuildValue("l",_result
);
3205 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3206 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3212 PyObject
* _argo0
= 0;
3213 PyObject
* _argo2
= 0;
3214 char *_kwnames
[] = { "self","col","item", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3227 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3237 wxPy_END_ALLOW_THREADS
;
3238 } _resultobj
= Py_BuildValue("i",_result
);
3242 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3243 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
* _resultobj
;
3248 PyObject
* _argo0
= 0;
3249 char *_kwnames
[] = { "self","col", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3262 wxPy_BEGIN_ALLOW_THREADS
;
3263 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3265 wxPy_END_ALLOW_THREADS
;
3266 } _resultobj
= Py_BuildValue("i",_result
);
3270 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3271 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3275 PyObject
* _argo0
= 0;
3276 char *_kwnames
[] = { "self", NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3289 wxPy_BEGIN_ALLOW_THREADS
;
3290 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3292 wxPy_END_ALLOW_THREADS
;
3293 } _resultobj
= Py_BuildValue("i",_result
);
3297 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3298 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3300 wxImageList
* _result
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self","which", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3318 wxPy_BEGIN_ALLOW_THREADS
;
3319 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3321 wxPy_END_ALLOW_THREADS
;
3323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3324 _resultobj
= Py_BuildValue("s",_ptemp
);
3327 _resultobj
= Py_None
;
3332 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3333 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self","item", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3355 wxPy_END_ALLOW_THREADS
;
3356 } _resultobj
= Py_BuildValue("l",_result
);
3360 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3361 wxListItem
* info
= new wxListItem
;
3362 info
->m_itemId
= itemId
;
3364 info
->m_mask
= 0xFFFF;
3365 self
->GetItem(*info
);
3368 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxListItem
* _result
;
3373 int _arg2
= (int ) 0;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self","itemId","col", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3389 wxPy_BEGIN_ALLOW_THREADS
;
3390 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3392 wxPy_END_ALLOW_THREADS
;
3394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3395 _resultobj
= Py_BuildValue("s",_ptemp
);
3398 _resultobj
= Py_None
;
3403 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3404 wxPoint
* pos
= new wxPoint
;
3405 self
->GetItemPosition(item
, *pos
);
3408 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3413 PyObject
* _argo0
= 0;
3414 char *_kwnames
[] = { "self","item", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3428 wxPy_BEGIN_ALLOW_THREADS
;
3429 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3431 wxPy_END_ALLOW_THREADS
;
3433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3434 _resultobj
= Py_BuildValue("s",_ptemp
);
3437 _resultobj
= Py_None
;
3442 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3443 wxRect
* rect
= new wxRect
;
3444 self
->GetItemRect(item
, *rect
, code
);
3447 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3452 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3453 PyObject
* _argo0
= 0;
3454 char *_kwnames
[] = { "self","item","code", NULL
};
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3471 wxPy_END_ALLOW_THREADS
;
3473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3474 _resultobj
= Py_BuildValue("s",_ptemp
);
3477 _resultobj
= Py_None
;
3482 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3483 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3489 PyObject
* _argo0
= 0;
3490 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3506 wxPy_END_ALLOW_THREADS
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3511 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3512 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3530 wxPy_BEGIN_ALLOW_THREADS
;
3531 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3533 wxPy_END_ALLOW_THREADS
;
3534 } _resultobj
= Py_BuildValue("i",_result
);
3538 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3539 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3544 PyObject
* _argo0
= 0;
3546 char *_kwnames
[] = { "self","isSmall", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3558 _arg1
= (bool ) tempbool1
;
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } _resultobj
= Py_BuildValue("i",_result
);
3568 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3569 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self","item", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3591 wxPy_END_ALLOW_THREADS
;
3593 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3601 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3602 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3607 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3608 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3626 wxPy_END_ALLOW_THREADS
;
3627 } _resultobj
= Py_BuildValue("l",_result
);
3631 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3632 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3659 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } _resultobj
= Py_BuildValue("l",_result
);
3685 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3686 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3695 PyObject
* _obj1
= 0;
3696 char *_kwnames
[] = { "self","point", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3713 if (! wxPoint_helper(_obj1
, &_arg1
))
3717 wxPy_BEGIN_ALLOW_THREADS
;
3718 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3720 wxPy_END_ALLOW_THREADS
;
3721 } _resultobj
= Py_BuildValue("l",_result
);
3724 o
= PyInt_FromLong((long) (*_arg2
));
3725 _resultobj
= t_output_helper(_resultobj
, o
);
3730 #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3731 static PyObject
*_wrap_wxListCtrl_InsertColumnWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3738 PyObject
* _argo2
= 0;
3739 char *_kwnames
[] = { "self","col","info", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnWith",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p.");
3752 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3760 _result
= (long )wxListCtrl_InsertColumnWith(_arg0
,_arg1
,*_arg2
);
3762 wxPy_END_ALLOW_THREADS
;
3763 } _resultobj
= Py_BuildValue("l",_result
);
3767 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3768 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3774 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3775 int _arg4
= (int ) -1;
3776 PyObject
* _argo0
= 0;
3777 PyObject
* _obj2
= 0;
3778 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
3784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3791 if (!PyString_Check(_obj2
)) {
3792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3795 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
3801 wxPy_END_ALLOW_THREADS
;
3802 } _resultobj
= Py_BuildValue("l",_result
);
3810 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3811 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3816 PyObject
* _argo0
= 0;
3817 PyObject
* _argo1
= 0;
3818 char *_kwnames
[] = { "self","info", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
3841 wxPy_END_ALLOW_THREADS
;
3842 } _resultobj
= Py_BuildValue("l",_result
);
3846 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3847 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3853 PyObject
* _argo0
= 0;
3854 PyObject
* _obj2
= 0;
3855 char *_kwnames
[] = { "self","index","label", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_InsertStringItem. Expected _wxListCtrl_p.");
3868 if (!PyString_Check(_obj2
)) {
3869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3872 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3875 wxPy_BEGIN_ALLOW_THREADS
;
3876 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
3878 wxPy_END_ALLOW_THREADS
;
3879 } _resultobj
= Py_BuildValue("l",_result
);
3887 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3888 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3894 PyObject
* _argo0
= 0;
3895 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
3908 wxPy_BEGIN_ALLOW_THREADS
;
3909 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
3911 wxPy_END_ALLOW_THREADS
;
3912 } _resultobj
= Py_BuildValue("l",_result
);
3916 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
3917 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3924 PyObject
* _argo0
= 0;
3925 PyObject
* _obj2
= 0;
3926 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
3939 if (!PyString_Check(_obj2
)) {
3940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3943 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3946 wxPy_BEGIN_ALLOW_THREADS
;
3947 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3949 wxPy_END_ALLOW_THREADS
;
3950 } _resultobj
= Py_BuildValue("l",_result
);
3958 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
3959 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3965 PyObject
* _argo0
= 0;
3966 char *_kwnames
[] = { "self","dx","dy", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
3979 wxPy_BEGIN_ALLOW_THREADS
;
3980 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
3982 wxPy_END_ALLOW_THREADS
;
3983 } _resultobj
= Py_BuildValue("i",_result
);
3987 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3988 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3992 PyObject
* _argo0
= 0;
3994 PyObject
* _obj1
= 0;
3995 char *_kwnames
[] = { "self","col", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4009 if (! wxColour_helper(_obj1
, &_arg1
))
4013 wxPy_BEGIN_ALLOW_THREADS
;
4014 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4016 wxPy_END_ALLOW_THREADS
;
4017 } Py_INCREF(Py_None
);
4018 _resultobj
= Py_None
;
4022 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4023 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4029 PyObject
* _argo0
= 0;
4030 PyObject
* _argo2
= 0;
4031 char *_kwnames
[] = { "self","col","item", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4044 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4051 wxPy_BEGIN_ALLOW_THREADS
;
4052 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4054 wxPy_END_ALLOW_THREADS
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4059 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4060 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self","col","width", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } _resultobj
= Py_BuildValue("i",_result
);
4088 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4089 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4092 wxImageList
* _arg1
;
4094 PyObject
* _argo0
= 0;
4095 PyObject
* _argo1
= 0;
4096 char *_kwnames
[] = { "self","imageList","which", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4116 wxPy_BEGIN_ALLOW_THREADS
;
4117 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4119 wxPy_END_ALLOW_THREADS
;
4120 } Py_INCREF(Py_None
);
4121 _resultobj
= Py_None
;
4125 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4126 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4131 PyObject
* _argo0
= 0;
4132 PyObject
* _argo1
= 0;
4133 char *_kwnames
[] = { "self","info", NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4153 wxPy_BEGIN_ALLOW_THREADS
;
4154 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4156 wxPy_END_ALLOW_THREADS
;
4157 } _resultobj
= Py_BuildValue("i",_result
);
4161 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4162 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
* _resultobj
;
4169 int _arg4
= (int ) -1;
4170 PyObject
* _argo0
= 0;
4171 PyObject
* _obj3
= 0;
4172 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4185 if (!PyString_Check(_obj3
)) {
4186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4189 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4195 wxPy_END_ALLOW_THREADS
;
4196 } _resultobj
= Py_BuildValue("l",_result
);
4204 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4205 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4211 PyObject
* _argo0
= 0;
4212 char *_kwnames
[] = { "self","item","data", NULL
};
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } _resultobj
= Py_BuildValue("i",_result
);
4233 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4234 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
* _resultobj
;
4241 PyObject
* _argo0
= 0;
4242 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4255 wxPy_BEGIN_ALLOW_THREADS
;
4256 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4258 wxPy_END_ALLOW_THREADS
;
4259 } _resultobj
= Py_BuildValue("i",_result
);
4263 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4264 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4270 PyObject
* _argo0
= 0;
4272 PyObject
* _obj2
= 0;
4273 char *_kwnames
[] = { "self","item","pos", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4287 if (! wxPoint_helper(_obj2
, &_arg2
))
4291 wxPy_BEGIN_ALLOW_THREADS
;
4292 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4294 wxPy_END_ALLOW_THREADS
;
4295 } _resultobj
= Py_BuildValue("i",_result
);
4299 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4300 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4307 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4321 wxPy_BEGIN_ALLOW_THREADS
;
4322 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4324 wxPy_END_ALLOW_THREADS
;
4325 } _resultobj
= Py_BuildValue("i",_result
);
4329 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4330 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4335 PyObject
* _argo0
= 0;
4336 PyObject
* _obj2
= 0;
4337 char *_kwnames
[] = { "self","item","text", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4350 if (!PyString_Check(_obj2
)) {
4351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4354 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4357 wxPy_BEGIN_ALLOW_THREADS
;
4358 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4360 wxPy_END_ALLOW_THREADS
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4370 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4371 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4375 bool _arg2
= (bool ) TRUE
;
4376 PyObject
* _argo0
= 0;
4377 int tempbool2
= (int) TRUE
;
4378 char *_kwnames
[] = { "self","style","add", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4390 _arg2
= (bool ) tempbool2
;
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4395 wxPy_END_ALLOW_THREADS
;
4396 } Py_INCREF(Py_None
);
4397 _resultobj
= Py_None
;
4401 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4402 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4406 PyObject
* _argo0
= 0;
4407 char *_kwnames
[] = { "self","style", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4420 wxPy_BEGIN_ALLOW_THREADS
;
4421 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4423 wxPy_END_ALLOW_THREADS
;
4424 } Py_INCREF(Py_None
);
4425 _resultobj
= Py_None
;
4429 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4430 if (!PyCallable_Check(func
))
4433 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4435 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4440 PyObject
* _argo0
= 0;
4441 PyObject
* _obj1
= 0;
4442 char *_kwnames
[] = { "self","func", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4461 wxPy_END_ALLOW_THREADS
;
4462 } _resultobj
= Py_BuildValue("i",_result
);
4466 #define new_wxTreeItemId() (new wxTreeItemId())
4467 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxTreeItemId
* _result
;
4470 char *_kwnames
[] = { NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4480 wxPy_END_ALLOW_THREADS
;
4482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4483 _resultobj
= Py_BuildValue("s",_ptemp
);
4486 _resultobj
= Py_None
;
4491 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4492 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4494 wxTreeItemId
* _arg0
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self", NULL
};
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 delete_wxTreeItemId(_arg0
);
4512 wxPy_END_ALLOW_THREADS
;
4513 } Py_INCREF(Py_None
);
4514 _resultobj
= Py_None
;
4518 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4519 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4522 wxTreeItemId
* _arg0
;
4523 PyObject
* _argo0
= 0;
4524 char *_kwnames
[] = { "self", NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4537 wxPy_BEGIN_ALLOW_THREADS
;
4538 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4540 wxPy_END_ALLOW_THREADS
;
4541 } _resultobj
= Py_BuildValue("i",_result
);
4545 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4546 if (! other
) return 0;
4547 return *self
!= *other
;
4549 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4552 wxTreeItemId
* _arg0
;
4553 wxTreeItemId
* _arg1
;
4554 PyObject
* _argo0
= 0;
4555 PyObject
* _argo1
= 0;
4556 char *_kwnames
[] = { "self","other", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4579 wxPy_END_ALLOW_THREADS
;
4580 } _resultobj
= Py_BuildValue("i",_result
);
4584 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4585 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4587 wxPyTreeItemData
* _result
;
4588 PyObject
* _arg0
= (PyObject
*) NULL
;
4589 PyObject
* _obj0
= 0;
4590 char *_kwnames
[] = { "obj", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4601 wxPy_BEGIN_ALLOW_THREADS
;
4602 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4604 wxPy_END_ALLOW_THREADS
;
4606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4607 _resultobj
= Py_BuildValue("s",_ptemp
);
4610 _resultobj
= Py_None
;
4615 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4616 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4619 wxPyTreeItemData
* _arg0
;
4620 PyObject
* _argo0
= 0;
4621 char *_kwnames
[] = { "self", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4634 wxPy_BEGIN_ALLOW_THREADS
;
4635 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4637 wxPy_END_ALLOW_THREADS
;
4639 _resultobj
= _result
;
4644 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4645 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4647 wxPyTreeItemData
* _arg0
;
4649 PyObject
* _argo0
= 0;
4650 PyObject
* _obj1
= 0;
4651 char *_kwnames
[] = { "self","obj", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 wxTreeItemData_SetData(_arg0
,_arg1
);
4670 wxPy_END_ALLOW_THREADS
;
4671 } Py_INCREF(Py_None
);
4672 _resultobj
= Py_None
;
4676 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4677 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4679 wxTreeItemId
* _result
;
4680 wxPyTreeItemData
* _arg0
;
4681 PyObject
* _argo0
= 0;
4682 char *_kwnames
[] = { "self", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4698 _result
= (wxTreeItemId
*) &_result_ref
;
4700 wxPy_END_ALLOW_THREADS
;
4702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4703 _resultobj
= Py_BuildValue("s",_ptemp
);
4706 _resultobj
= Py_None
;
4711 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4712 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4714 wxPyTreeItemData
* _arg0
;
4715 wxTreeItemId
* _arg1
;
4716 PyObject
* _argo0
= 0;
4717 PyObject
* _argo1
= 0;
4718 char *_kwnames
[] = { "self","id", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 wxTreeItemData_SetId(_arg0
,*_arg1
);
4741 wxPy_END_ALLOW_THREADS
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4747 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
4749 wxNotifyEvent
*dest
;
4750 src
= (wxTreeEvent
*) ptr
;
4751 dest
= (wxNotifyEvent
*) src
;
4752 return (void *) dest
;
4755 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
4757 wxCommandEvent
*dest
;
4758 src
= (wxTreeEvent
*) ptr
;
4759 dest
= (wxCommandEvent
*) src
;
4760 return (void *) dest
;
4763 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
4766 src
= (wxTreeEvent
*) ptr
;
4767 dest
= (wxEvent
*) src
;
4768 return (void *) dest
;
4771 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4772 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4774 wxTreeItemId
* _result
;
4775 wxTreeEvent
* _arg0
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4791 wxPy_BEGIN_ALLOW_THREADS
;
4792 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
4794 wxPy_END_ALLOW_THREADS
;
4795 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4796 _resultobj
= Py_BuildValue("s",_ptemp
);
4800 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4801 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4803 wxTreeItemId
* _result
;
4804 wxTreeEvent
* _arg0
;
4805 PyObject
* _argo0
= 0;
4806 char *_kwnames
[] = { "self", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
4823 wxPy_END_ALLOW_THREADS
;
4824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4825 _resultobj
= Py_BuildValue("s",_ptemp
);
4829 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4830 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4833 wxTreeEvent
* _arg0
;
4834 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
4852 wxPy_END_ALLOW_THREADS
;
4853 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4858 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
4859 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4862 wxTreeEvent
* _arg0
;
4863 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
4877 wxPy_BEGIN_ALLOW_THREADS
;
4878 _result
= (int )wxTreeEvent_GetCode(_arg0
);
4880 wxPy_END_ALLOW_THREADS
;
4881 } _resultobj
= Py_BuildValue("i",_result
);
4885 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
4886 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 wxTreeEvent
* _arg0
;
4890 PyObject
* _argo0
= 0;
4891 char *_kwnames
[] = { "self", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
4906 _result
= (wxString
*) &_result_ref
;
4908 wxPy_END_ALLOW_THREADS
;
4910 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4915 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
4918 src
= (wxPyTreeCtrl
*) ptr
;
4919 dest
= (wxControl
*) src
;
4920 return (void *) dest
;
4923 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
4926 src
= (wxPyTreeCtrl
*) ptr
;
4927 dest
= (wxWindow
*) src
;
4928 return (void *) dest
;
4931 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
4934 src
= (wxPyTreeCtrl
*) ptr
;
4935 dest
= (wxEvtHandler
*) src
;
4936 return (void *) dest
;
4939 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4940 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4942 wxPyTreeCtrl
* _result
;
4944 wxWindowID _arg1
= (wxWindowID
) -1;
4945 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4946 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4947 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
4948 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
4949 char * _arg6
= (char *) "wxTreeCtrl";
4950 PyObject
* _argo0
= 0;
4952 PyObject
* _obj2
= 0;
4954 PyObject
* _obj3
= 0;
4955 PyObject
* _argo5
= 0;
4956 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
4972 if (! wxPoint_helper(_obj2
, &_arg2
))
4978 if (! wxSize_helper(_obj3
, &_arg3
))
4982 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
4989 wxPy_BEGIN_ALLOW_THREADS
;
4990 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
4992 wxPy_END_ALLOW_THREADS
;
4994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
4995 _resultobj
= Py_BuildValue("s",_ptemp
);
4998 _resultobj
= Py_None
;
5003 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5004 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5006 wxPyTreeCtrl
* _arg0
;
5009 PyObject
* _argo0
= 0;
5010 PyObject
* _obj1
= 0;
5011 PyObject
* _obj2
= 0;
5012 char *_kwnames
[] = { "self","self","_class", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5031 wxPy_BEGIN_ALLOW_THREADS
;
5032 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5034 wxPy_END_ALLOW_THREADS
;
5035 } Py_INCREF(Py_None
);
5036 _resultobj
= Py_None
;
5040 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5041 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5044 wxPyTreeCtrl
* _arg0
;
5045 PyObject
* _argo0
= 0;
5046 char *_kwnames
[] = { "self", NULL
};
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5059 wxPy_BEGIN_ALLOW_THREADS
;
5060 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5062 wxPy_END_ALLOW_THREADS
;
5063 } _resultobj
= Py_BuildValue("i",_result
);
5067 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5068 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5070 unsigned int _result
;
5071 wxPyTreeCtrl
* _arg0
;
5072 PyObject
* _argo0
= 0;
5073 char *_kwnames
[] = { "self", NULL
};
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5086 wxPy_BEGIN_ALLOW_THREADS
;
5087 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5089 wxPy_END_ALLOW_THREADS
;
5090 } _resultobj
= Py_BuildValue("i",_result
);
5094 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5095 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5097 wxPyTreeCtrl
* _arg0
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self","indent", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5116 wxPy_END_ALLOW_THREADS
;
5117 } Py_INCREF(Py_None
);
5118 _resultobj
= Py_None
;
5122 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5123 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5125 wxImageList
* _result
;
5126 wxPyTreeCtrl
* _arg0
;
5127 PyObject
* _argo0
= 0;
5128 char *_kwnames
[] = { "self", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5145 wxPy_END_ALLOW_THREADS
;
5147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5148 _resultobj
= Py_BuildValue("s",_ptemp
);
5151 _resultobj
= Py_None
;
5156 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5157 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5159 wxImageList
* _result
;
5160 wxPyTreeCtrl
* _arg0
;
5161 PyObject
* _argo0
= 0;
5162 char *_kwnames
[] = { "self", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5176 wxPy_BEGIN_ALLOW_THREADS
;
5177 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5179 wxPy_END_ALLOW_THREADS
;
5181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5182 _resultobj
= Py_BuildValue("s",_ptemp
);
5185 _resultobj
= Py_None
;
5190 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5191 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5193 wxPyTreeCtrl
* _arg0
;
5194 wxImageList
* _arg1
;
5195 PyObject
* _argo0
= 0;
5196 PyObject
* _argo1
= 0;
5197 char *_kwnames
[] = { "self","imageList", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5217 wxPy_BEGIN_ALLOW_THREADS
;
5218 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5220 wxPy_END_ALLOW_THREADS
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5226 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5227 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5229 wxPyTreeCtrl
* _arg0
;
5230 wxImageList
* _arg1
;
5231 PyObject
* _argo0
= 0;
5232 PyObject
* _argo1
= 0;
5233 char *_kwnames
[] = { "self","imageList", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5253 wxPy_BEGIN_ALLOW_THREADS
;
5254 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5256 wxPy_END_ALLOW_THREADS
;
5257 } Py_INCREF(Py_None
);
5258 _resultobj
= Py_None
;
5262 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5263 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5265 unsigned int _result
;
5266 wxPyTreeCtrl
* _arg0
;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
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_GetSpacing. Expected _wxPyTreeCtrl_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } _resultobj
= Py_BuildValue("i",_result
);
5289 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5290 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5292 wxPyTreeCtrl
* _arg0
;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self","spacing", NULL
};
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5308 wxPy_BEGIN_ALLOW_THREADS
;
5309 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5311 wxPy_END_ALLOW_THREADS
;
5312 } Py_INCREF(Py_None
);
5313 _resultobj
= Py_None
;
5317 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5318 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5321 wxPyTreeCtrl
* _arg0
;
5322 wxTreeItemId
* _arg1
;
5323 PyObject
* _argo0
= 0;
5324 PyObject
* _argo1
= 0;
5325 char *_kwnames
[] = { "self","item", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5345 wxPy_BEGIN_ALLOW_THREADS
;
5346 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5348 wxPy_END_ALLOW_THREADS
;
5350 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5358 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5359 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5362 wxPyTreeCtrl
* _arg0
;
5363 wxTreeItemId
* _arg1
;
5364 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5365 PyObject
* _argo0
= 0;
5366 PyObject
* _argo1
= 0;
5367 char *_kwnames
[] = { "self","item","which", NULL
};
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5387 wxPy_BEGIN_ALLOW_THREADS
;
5388 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5390 wxPy_END_ALLOW_THREADS
;
5391 } _resultobj
= Py_BuildValue("i",_result
);
5395 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5396 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5399 wxPyTreeCtrl
* _arg0
;
5400 wxTreeItemId
* _arg1
;
5401 PyObject
* _argo0
= 0;
5402 PyObject
* _argo1
= 0;
5403 char *_kwnames
[] = { "self","item", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5423 wxPy_BEGIN_ALLOW_THREADS
;
5424 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5426 wxPy_END_ALLOW_THREADS
;
5427 } _resultobj
= Py_BuildValue("i",_result
);
5431 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5432 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5434 wxPyTreeCtrl
* _arg0
;
5435 wxTreeItemId
* _arg1
;
5437 PyObject
* _argo0
= 0;
5438 PyObject
* _argo1
= 0;
5439 PyObject
* _obj2
= 0;
5440 char *_kwnames
[] = { "self","item","text", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5453 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5454 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5460 if (!PyString_Check(_obj2
)) {
5461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5464 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5470 wxPy_END_ALLOW_THREADS
;
5471 } Py_INCREF(Py_None
);
5472 _resultobj
= Py_None
;
5480 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5481 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5483 wxPyTreeCtrl
* _arg0
;
5484 wxTreeItemId
* _arg1
;
5486 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5487 PyObject
* _argo0
= 0;
5488 PyObject
* _argo1
= 0;
5489 char *_kwnames
[] = { "self","item","image","which", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5509 wxPy_BEGIN_ALLOW_THREADS
;
5510 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5512 wxPy_END_ALLOW_THREADS
;
5513 } Py_INCREF(Py_None
);
5514 _resultobj
= Py_None
;
5518 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5519 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5521 wxPyTreeCtrl
* _arg0
;
5522 wxTreeItemId
* _arg1
;
5524 PyObject
* _argo0
= 0;
5525 PyObject
* _argo1
= 0;
5526 char *_kwnames
[] = { "self","item","image", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5546 wxPy_BEGIN_ALLOW_THREADS
;
5547 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5549 wxPy_END_ALLOW_THREADS
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5556 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5558 wxPyTreeCtrl
* _arg0
;
5559 wxTreeItemId
* _arg1
;
5560 bool _arg2
= (bool ) TRUE
;
5561 PyObject
* _argo0
= 0;
5562 PyObject
* _argo1
= 0;
5563 int tempbool2
= (int) TRUE
;
5564 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5583 _arg2
= (bool ) tempbool2
;
5585 wxPy_BEGIN_ALLOW_THREADS
;
5586 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5588 wxPy_END_ALLOW_THREADS
;
5589 } Py_INCREF(Py_None
);
5590 _resultobj
= Py_None
;
5594 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5595 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5597 data
= new wxPyTreeItemData();
5598 data
->SetId(item
); // set the id
5599 self
->SetItemData(item
, data
);
5603 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxPyTreeItemData
* _result
;
5606 wxPyTreeCtrl
* _arg0
;
5607 wxTreeItemId
* _arg1
;
5608 PyObject
* _argo0
= 0;
5609 PyObject
* _argo1
= 0;
5610 char *_kwnames
[] = { "self","item", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5631 wxPy_BEGIN_ALLOW_THREADS
;
5632 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5634 wxPy_END_ALLOW_THREADS
;
5636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5637 _resultobj
= Py_BuildValue("s",_ptemp
);
5640 _resultobj
= Py_None
;
5645 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5646 data
->SetId(item
); // set the id
5647 self
->SetItemData(item
, data
);
5649 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5651 wxPyTreeCtrl
* _arg0
;
5652 wxTreeItemId
* _arg1
;
5653 wxPyTreeItemData
* _arg2
;
5654 PyObject
* _argo0
= 0;
5655 PyObject
* _argo1
= 0;
5656 PyObject
* _argo2
= 0;
5657 char *_kwnames
[] = { "self","item","data", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5677 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5684 wxPy_BEGIN_ALLOW_THREADS
;
5685 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
5687 wxPy_END_ALLOW_THREADS
;
5688 } Py_INCREF(Py_None
);
5689 _resultobj
= Py_None
;
5693 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5694 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5696 data
= new wxPyTreeItemData();
5697 data
->SetId(item
); // set the id
5698 self
->SetItemData(item
, data
);
5700 return data
->GetData();
5702 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5705 wxPyTreeCtrl
* _arg0
;
5706 wxTreeItemId
* _arg1
;
5707 PyObject
* _argo0
= 0;
5708 PyObject
* _argo1
= 0;
5709 char *_kwnames
[] = { "self","item", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5729 wxPy_BEGIN_ALLOW_THREADS
;
5730 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
5732 wxPy_END_ALLOW_THREADS
;
5734 _resultobj
= _result
;
5739 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
5740 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5742 data
= new wxPyTreeItemData(obj
);
5743 data
->SetId(item
); // set the id
5744 self
->SetItemData(item
, data
);
5748 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxPyTreeCtrl
* _arg0
;
5751 wxTreeItemId
* _arg1
;
5753 PyObject
* _argo0
= 0;
5754 PyObject
* _argo1
= 0;
5755 PyObject
* _obj2
= 0;
5756 char *_kwnames
[] = { "self","item","obj", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5779 wxPy_BEGIN_ALLOW_THREADS
;
5780 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
5782 wxPy_END_ALLOW_THREADS
;
5783 } Py_INCREF(Py_None
);
5784 _resultobj
= Py_None
;
5788 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5789 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5792 wxPyTreeCtrl
* _arg0
;
5793 wxTreeItemId
* _arg1
;
5794 PyObject
* _argo0
= 0;
5795 PyObject
* _argo1
= 0;
5796 char *_kwnames
[] = { "self","item", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5816 wxPy_BEGIN_ALLOW_THREADS
;
5817 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
5819 wxPy_END_ALLOW_THREADS
;
5820 } _resultobj
= Py_BuildValue("i",_result
);
5824 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
5825 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5828 wxPyTreeCtrl
* _arg0
;
5829 wxTreeItemId
* _arg1
;
5830 PyObject
* _argo0
= 0;
5831 PyObject
* _argo1
= 0;
5832 char *_kwnames
[] = { "self","item", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
5845 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5846 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
5852 wxPy_BEGIN_ALLOW_THREADS
;
5853 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
5855 wxPy_END_ALLOW_THREADS
;
5856 } _resultobj
= Py_BuildValue("i",_result
);
5860 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
5861 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5864 wxPyTreeCtrl
* _arg0
;
5865 wxTreeItemId
* _arg1
;
5866 PyObject
* _argo0
= 0;
5867 PyObject
* _argo1
= 0;
5868 char *_kwnames
[] = { "self","item", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
5881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
5888 wxPy_BEGIN_ALLOW_THREADS
;
5889 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
5891 wxPy_END_ALLOW_THREADS
;
5892 } _resultobj
= Py_BuildValue("i",_result
);
5896 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5897 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5900 wxPyTreeCtrl
* _arg0
;
5901 wxTreeItemId
* _arg1
;
5902 PyObject
* _argo0
= 0;
5903 PyObject
* _argo1
= 0;
5904 char *_kwnames
[] = { "self","item", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
5917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
5924 wxPy_BEGIN_ALLOW_THREADS
;
5925 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
5927 wxPy_END_ALLOW_THREADS
;
5928 } _resultobj
= Py_BuildValue("i",_result
);
5932 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
5933 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
* _resultobj
;
5935 wxTreeItemId
* _result
;
5936 wxPyTreeCtrl
* _arg0
;
5937 PyObject
* _argo0
= 0;
5938 char *_kwnames
[] = { "self", NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
5945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
5952 wxPy_BEGIN_ALLOW_THREADS
;
5953 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
5955 wxPy_END_ALLOW_THREADS
;
5956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5957 _resultobj
= Py_BuildValue("s",_ptemp
);
5961 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
5962 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5964 wxTreeItemId
* _result
;
5965 wxPyTreeCtrl
* _arg0
;
5966 PyObject
* _argo0
= 0;
5967 char *_kwnames
[] = { "self", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
5981 wxPy_BEGIN_ALLOW_THREADS
;
5982 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
5984 wxPy_END_ALLOW_THREADS
;
5985 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5986 _resultobj
= Py_BuildValue("s",_ptemp
);
5990 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
5991 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
* _resultobj
;
5993 wxTreeItemId
* _result
;
5994 wxPyTreeCtrl
* _arg0
;
5995 wxTreeItemId
* _arg1
;
5996 PyObject
* _argo0
= 0;
5997 PyObject
* _argo1
= 0;
5998 char *_kwnames
[] = { "self","item", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6022 wxPy_END_ALLOW_THREADS
;
6023 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6024 _resultobj
= Py_BuildValue("s",_ptemp
);
6028 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6029 bool doSave
= wxPyRestoreThread();
6030 PyObject
* rval
= PyList_New(0);
6031 wxArrayTreeItemIds array
;
6033 num
= self
->GetSelections(array
);
6034 for (x
=0; x
< num
; x
++) {
6035 PyObject
* item
= wxPyConstructObject((void*)&array
.Item(x
),
6037 PyList_Append(rval
, item
);
6039 wxPySaveThread(doSave
);
6042 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
* _resultobj
;
6045 wxPyTreeCtrl
* _arg0
;
6046 PyObject
* _argo0
= 0;
6047 char *_kwnames
[] = { "self", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
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_GetSelections. Expected _wxPyTreeCtrl_p.");
6060 wxPy_BEGIN_ALLOW_THREADS
;
6061 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6063 wxPy_END_ALLOW_THREADS
;
6065 _resultobj
= _result
;
6070 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6071 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6074 wxPyTreeCtrl
* _arg0
;
6075 wxTreeItemId
* _arg1
;
6076 bool _arg2
= (bool ) TRUE
;
6077 PyObject
* _argo0
= 0;
6078 PyObject
* _argo1
= 0;
6079 int tempbool2
= (int) TRUE
;
6080 char *_kwnames
[] = { "self","item","recursively", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6099 _arg2
= (bool ) tempbool2
;
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6104 wxPy_END_ALLOW_THREADS
;
6105 } _resultobj
= Py_BuildValue("i",_result
);
6109 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6110 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
* _resultobj
;
6112 wxTreeItemId
* _result
;
6113 wxPyTreeCtrl
* _arg0
;
6114 wxTreeItemId
* _arg1
;
6116 PyObject
* _argo0
= 0;
6117 PyObject
* _argo1
= 0;
6119 PyObject
* _obj2
= 0;
6120 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6141 temp
= (long) PyInt_AsLong(_obj2
);
6145 wxPy_BEGIN_ALLOW_THREADS
;
6146 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6148 wxPy_END_ALLOW_THREADS
;
6149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6150 _resultobj
= Py_BuildValue("s",_ptemp
);
6153 o
= PyInt_FromLong((long) (*_arg2
));
6154 _resultobj
= t_output_helper(_resultobj
, o
);
6159 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6160 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6162 wxTreeItemId
* _result
;
6163 wxPyTreeCtrl
* _arg0
;
6164 wxTreeItemId
* _arg1
;
6166 PyObject
* _argo0
= 0;
6167 PyObject
* _argo1
= 0;
6169 PyObject
* _obj2
= 0;
6170 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6191 temp
= (long) PyInt_AsLong(_obj2
);
6195 wxPy_BEGIN_ALLOW_THREADS
;
6196 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6198 wxPy_END_ALLOW_THREADS
;
6199 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6200 _resultobj
= Py_BuildValue("s",_ptemp
);
6203 o
= PyInt_FromLong((long) (*_arg2
));
6204 _resultobj
= t_output_helper(_resultobj
, o
);
6209 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6210 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6212 wxTreeItemId
* _result
;
6213 wxPyTreeCtrl
* _arg0
;
6214 wxTreeItemId
* _arg1
;
6215 PyObject
* _argo0
= 0;
6216 PyObject
* _argo1
= 0;
6217 char *_kwnames
[] = { "self","item", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6238 wxPy_BEGIN_ALLOW_THREADS
;
6239 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6241 wxPy_END_ALLOW_THREADS
;
6242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6243 _resultobj
= Py_BuildValue("s",_ptemp
);
6247 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6248 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6250 wxTreeItemId
* _result
;
6251 wxPyTreeCtrl
* _arg0
;
6252 wxTreeItemId
* _arg1
;
6253 PyObject
* _argo0
= 0;
6254 PyObject
* _argo1
= 0;
6255 char *_kwnames
[] = { "self","item", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6276 wxPy_BEGIN_ALLOW_THREADS
;
6277 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6279 wxPy_END_ALLOW_THREADS
;
6280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6281 _resultobj
= Py_BuildValue("s",_ptemp
);
6285 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6286 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6288 wxTreeItemId
* _result
;
6289 wxPyTreeCtrl
* _arg0
;
6290 PyObject
* _argo0
= 0;
6291 char *_kwnames
[] = { "self", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6308 wxPy_END_ALLOW_THREADS
;
6309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6310 _resultobj
= Py_BuildValue("s",_ptemp
);
6314 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6315 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxTreeItemId
* _result
;
6318 wxPyTreeCtrl
* _arg0
;
6319 wxTreeItemId
* _arg1
;
6320 PyObject
* _argo0
= 0;
6321 PyObject
* _argo1
= 0;
6322 char *_kwnames
[] = { "self","item", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6336 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6337 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6343 wxPy_BEGIN_ALLOW_THREADS
;
6344 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6346 wxPy_END_ALLOW_THREADS
;
6347 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6348 _resultobj
= Py_BuildValue("s",_ptemp
);
6352 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6353 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
* _resultobj
;
6355 wxTreeItemId
* _result
;
6356 wxPyTreeCtrl
* _arg0
;
6357 wxTreeItemId
* _arg1
;
6358 PyObject
* _argo0
= 0;
6359 PyObject
* _argo1
= 0;
6360 char *_kwnames
[] = { "self","item", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6381 wxPy_BEGIN_ALLOW_THREADS
;
6382 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6384 wxPy_END_ALLOW_THREADS
;
6385 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6386 _resultobj
= Py_BuildValue("s",_ptemp
);
6390 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6391 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6393 wxTreeItemId
* _result
;
6394 wxPyTreeCtrl
* _arg0
;
6395 wxTreeItemId
* _arg1
;
6396 PyObject
* _argo0
= 0;
6397 PyObject
* _argo1
= 0;
6398 char *_kwnames
[] = { "self","item", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6419 wxPy_BEGIN_ALLOW_THREADS
;
6420 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6422 wxPy_END_ALLOW_THREADS
;
6423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6424 _resultobj
= Py_BuildValue("s",_ptemp
);
6428 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6429 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
* _resultobj
;
6431 wxTreeItemId
* _result
;
6432 wxPyTreeCtrl
* _arg0
;
6434 int _arg2
= (int ) -1;
6435 int _arg3
= (int ) -1;
6436 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6437 PyObject
* _argo0
= 0;
6438 PyObject
* _obj1
= 0;
6439 PyObject
* _argo4
= 0;
6440 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6454 if (!PyString_Check(_obj1
)) {
6455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6458 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6461 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6462 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6468 wxPy_BEGIN_ALLOW_THREADS
;
6469 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6471 wxPy_END_ALLOW_THREADS
;
6472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6473 _resultobj
= Py_BuildValue("s",_ptemp
);
6481 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6482 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6484 wxTreeItemId
* _result
;
6485 wxPyTreeCtrl
* _arg0
;
6486 wxTreeItemId
* _arg1
;
6488 int _arg3
= (int ) -1;
6489 int _arg4
= (int ) -1;
6490 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6491 PyObject
* _argo0
= 0;
6492 PyObject
* _argo1
= 0;
6493 PyObject
* _obj2
= 0;
6494 PyObject
* _argo5
= 0;
6495 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6516 if (!PyString_Check(_obj2
)) {
6517 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6520 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6523 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6530 wxPy_BEGIN_ALLOW_THREADS
;
6531 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6533 wxPy_END_ALLOW_THREADS
;
6534 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6535 _resultobj
= Py_BuildValue("s",_ptemp
);
6543 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6544 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
* _resultobj
;
6546 wxTreeItemId
* _result
;
6547 wxPyTreeCtrl
* _arg0
;
6548 wxTreeItemId
* _arg1
;
6549 wxTreeItemId
* _arg2
;
6551 int _arg4
= (int ) -1;
6552 int _arg5
= (int ) -1;
6553 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6554 PyObject
* _argo0
= 0;
6555 PyObject
* _argo1
= 0;
6556 PyObject
* _argo2
= 0;
6557 PyObject
* _obj3
= 0;
6558 PyObject
* _argo6
= 0;
6559 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6580 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6587 if (!PyString_Check(_obj3
)) {
6588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6591 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6594 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6601 wxPy_BEGIN_ALLOW_THREADS
;
6602 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6604 wxPy_END_ALLOW_THREADS
;
6605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6606 _resultobj
= Py_BuildValue("s",_ptemp
);
6614 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6615 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6617 wxTreeItemId
* _result
;
6618 wxPyTreeCtrl
* _arg0
;
6619 wxTreeItemId
* _arg1
;
6622 int _arg4
= (int ) -1;
6623 int _arg5
= (int ) -1;
6624 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6625 PyObject
* _argo0
= 0;
6626 PyObject
* _argo1
= 0;
6627 PyObject
* _obj3
= 0;
6628 PyObject
* _argo6
= 0;
6629 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6650 if (!PyString_Check(_obj3
)) {
6651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6654 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6657 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6664 wxPy_BEGIN_ALLOW_THREADS
;
6665 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6667 wxPy_END_ALLOW_THREADS
;
6668 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6669 _resultobj
= Py_BuildValue("s",_ptemp
);
6677 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6678 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
* _resultobj
;
6680 wxTreeItemId
* _result
;
6681 wxPyTreeCtrl
* _arg0
;
6682 wxTreeItemId
* _arg1
;
6684 int _arg3
= (int ) -1;
6685 int _arg4
= (int ) -1;
6686 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6687 PyObject
* _argo0
= 0;
6688 PyObject
* _argo1
= 0;
6689 PyObject
* _obj2
= 0;
6690 PyObject
* _argo5
= 0;
6691 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6712 if (!PyString_Check(_obj2
)) {
6713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6716 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6719 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6720 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6726 wxPy_BEGIN_ALLOW_THREADS
;
6727 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6729 wxPy_END_ALLOW_THREADS
;
6730 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6731 _resultobj
= Py_BuildValue("s",_ptemp
);
6739 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6740 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6742 wxPyTreeCtrl
* _arg0
;
6743 wxTreeItemId
* _arg1
;
6744 PyObject
* _argo0
= 0;
6745 PyObject
* _argo1
= 0;
6746 char *_kwnames
[] = { "self","item", NULL
};
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
6752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
6759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
6766 wxPy_BEGIN_ALLOW_THREADS
;
6767 wxTreeCtrl_Delete(_arg0
,*_arg1
);
6769 wxPy_END_ALLOW_THREADS
;
6770 } Py_INCREF(Py_None
);
6771 _resultobj
= Py_None
;
6775 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
6776 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
* _resultobj
;
6778 wxPyTreeCtrl
* _arg0
;
6779 wxTreeItemId
* _arg1
;
6780 PyObject
* _argo0
= 0;
6781 PyObject
* _argo1
= 0;
6782 char *_kwnames
[] = { "self","item", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
6795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
6802 wxPy_BEGIN_ALLOW_THREADS
;
6803 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
6805 wxPy_END_ALLOW_THREADS
;
6806 } Py_INCREF(Py_None
);
6807 _resultobj
= Py_None
;
6811 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
6812 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6814 wxPyTreeCtrl
* _arg0
;
6815 PyObject
* _argo0
= 0;
6816 char *_kwnames
[] = { "self", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
6822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
6829 wxPy_BEGIN_ALLOW_THREADS
;
6830 wxTreeCtrl_DeleteAllItems(_arg0
);
6832 wxPy_END_ALLOW_THREADS
;
6833 } Py_INCREF(Py_None
);
6834 _resultobj
= Py_None
;
6838 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
6839 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6841 wxPyTreeCtrl
* _arg0
;
6842 wxTreeItemId
* _arg1
;
6843 PyObject
* _argo0
= 0;
6844 PyObject
* _argo1
= 0;
6845 char *_kwnames
[] = { "self","item", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
6858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 wxTreeCtrl_Expand(_arg0
,*_arg1
);
6868 wxPy_END_ALLOW_THREADS
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6874 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
6875 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6877 wxPyTreeCtrl
* _arg0
;
6878 wxTreeItemId
* _arg1
;
6879 PyObject
* _argo0
= 0;
6880 PyObject
* _argo1
= 0;
6881 char *_kwnames
[] = { "self","item", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
6887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
6894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
6901 wxPy_BEGIN_ALLOW_THREADS
;
6902 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
6904 wxPy_END_ALLOW_THREADS
;
6905 } Py_INCREF(Py_None
);
6906 _resultobj
= Py_None
;
6910 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
6911 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6913 wxPyTreeCtrl
* _arg0
;
6914 wxTreeItemId
* _arg1
;
6915 PyObject
* _argo0
= 0;
6916 PyObject
* _argo1
= 0;
6917 char *_kwnames
[] = { "self","item", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
6930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
6937 wxPy_BEGIN_ALLOW_THREADS
;
6938 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
6940 wxPy_END_ALLOW_THREADS
;
6941 } Py_INCREF(Py_None
);
6942 _resultobj
= Py_None
;
6946 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
6947 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6949 wxPyTreeCtrl
* _arg0
;
6950 wxTreeItemId
* _arg1
;
6951 PyObject
* _argo0
= 0;
6952 PyObject
* _argo1
= 0;
6953 char *_kwnames
[] = { "self","item", NULL
};
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
6959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
6966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
6973 wxPy_BEGIN_ALLOW_THREADS
;
6974 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
6976 wxPy_END_ALLOW_THREADS
;
6977 } Py_INCREF(Py_None
);
6978 _resultobj
= Py_None
;
6982 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
6983 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6985 wxPyTreeCtrl
* _arg0
;
6986 PyObject
* _argo0
= 0;
6987 char *_kwnames
[] = { "self", NULL
};
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
6993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7000 wxPy_BEGIN_ALLOW_THREADS
;
7001 wxTreeCtrl_Unselect(_arg0
);
7003 wxPy_END_ALLOW_THREADS
;
7004 } Py_INCREF(Py_None
);
7005 _resultobj
= Py_None
;
7009 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7010 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
* _resultobj
;
7012 wxPyTreeCtrl
* _arg0
;
7013 PyObject
* _argo0
= 0;
7014 char *_kwnames
[] = { "self", NULL
};
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7027 wxPy_BEGIN_ALLOW_THREADS
;
7028 wxTreeCtrl_UnselectAll(_arg0
);
7030 wxPy_END_ALLOW_THREADS
;
7031 } Py_INCREF(Py_None
);
7032 _resultobj
= Py_None
;
7036 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7037 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
* _resultobj
;
7039 wxPyTreeCtrl
* _arg0
;
7040 wxTreeItemId
* _arg1
;
7041 PyObject
* _argo0
= 0;
7042 PyObject
* _argo1
= 0;
7043 char *_kwnames
[] = { "self","item", NULL
};
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7063 wxPy_BEGIN_ALLOW_THREADS
;
7064 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7066 wxPy_END_ALLOW_THREADS
;
7067 } Py_INCREF(Py_None
);
7068 _resultobj
= Py_None
;
7072 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7073 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(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_EnsureVisible",_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_EnsureVisible. 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_EnsureVisible. Expected _wxTreeItemId_p.");
7099 wxPy_BEGIN_ALLOW_THREADS
;
7100 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7102 wxPy_END_ALLOW_THREADS
;
7103 } Py_INCREF(Py_None
);
7104 _resultobj
= Py_None
;
7108 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7109 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(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_ScrollTo",_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_ScrollTo. 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_ScrollTo. Expected _wxTreeItemId_p.");
7135 wxPy_BEGIN_ALLOW_THREADS
;
7136 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7138 wxPy_END_ALLOW_THREADS
;
7139 } Py_INCREF(Py_None
);
7140 _resultobj
= Py_None
;
7144 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7145 static PyObject
*_wrap_wxTreeCtrl_EditLabel(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_EditLabel",_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_EditLabel. 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_EditLabel. Expected _wxTreeItemId_p.");
7171 wxPy_BEGIN_ALLOW_THREADS
;
7172 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7174 wxPy_END_ALLOW_THREADS
;
7175 } Py_INCREF(Py_None
);
7176 _resultobj
= Py_None
;
7180 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7181 static PyObject
*_wrap_wxTreeCtrl_SortChildren(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_SortChildren",_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_SortChildren. 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_SortChildren. Expected _wxTreeItemId_p.");
7207 wxPy_BEGIN_ALLOW_THREADS
;
7208 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7210 wxPy_END_ALLOW_THREADS
;
7211 } Py_INCREF(Py_None
);
7212 _resultobj
= Py_None
;
7216 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7217 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7219 wxPyTreeCtrl
* _arg0
;
7220 wxTreeItemId
* _arg1
;
7221 int _arg2
= (int ) TRUE
;
7222 PyObject
* _argo0
= 0;
7223 PyObject
* _argo1
= 0;
7224 char *_kwnames
[] = { "self","item","bold", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7244 wxPy_BEGIN_ALLOW_THREADS
;
7245 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7247 wxPy_END_ALLOW_THREADS
;
7248 } Py_INCREF(Py_None
);
7249 _resultobj
= Py_None
;
7253 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7254 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7257 wxPyTreeCtrl
* _arg0
;
7258 wxTreeItemId
* _arg1
;
7259 PyObject
* _argo0
= 0;
7260 PyObject
* _argo1
= 0;
7261 char *_kwnames
[] = { "self","item", NULL
};
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7281 wxPy_BEGIN_ALLOW_THREADS
;
7282 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7284 wxPy_END_ALLOW_THREADS
;
7285 } _resultobj
= Py_BuildValue("i",_result
);
7289 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7290 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
* _resultobj
;
7292 wxTreeItemId
* _result
;
7293 wxPyTreeCtrl
* _arg0
;
7297 PyObject
* _argo0
= 0;
7299 PyObject
* _obj1
= 0;
7300 char *_kwnames
[] = { "self","point", NULL
};
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7318 if (! wxPoint_helper(_obj1
, &_arg1
))
7322 wxPy_BEGIN_ALLOW_THREADS
;
7323 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7325 wxPy_END_ALLOW_THREADS
;
7326 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7327 _resultobj
= Py_BuildValue("s",_ptemp
);
7330 o
= PyInt_FromLong((long) (*_arg2
));
7331 _resultobj
= t_output_helper(_resultobj
, o
);
7336 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7337 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
* _resultobj
;
7339 wxPyTreeCtrl
* _arg0
;
7340 wxTreeItemId
* _arg1
;
7342 PyObject
* _argo0
= 0;
7343 PyObject
* _argo1
= 0;
7345 PyObject
* _obj2
= 0;
7346 char *_kwnames
[] = { "self","item","col", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7367 if (! wxColour_helper(_obj2
, &_arg2
))
7371 wxPy_BEGIN_ALLOW_THREADS
;
7372 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7374 wxPy_END_ALLOW_THREADS
;
7375 } Py_INCREF(Py_None
);
7376 _resultobj
= Py_None
;
7380 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7381 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
* _resultobj
;
7383 wxPyTreeCtrl
* _arg0
;
7384 wxTreeItemId
* _arg1
;
7386 PyObject
* _argo0
= 0;
7387 PyObject
* _argo1
= 0;
7389 PyObject
* _obj2
= 0;
7390 char *_kwnames
[] = { "self","item","col", NULL
};
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7411 if (! wxColour_helper(_obj2
, &_arg2
))
7415 wxPy_BEGIN_ALLOW_THREADS
;
7416 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7418 wxPy_END_ALLOW_THREADS
;
7419 } Py_INCREF(Py_None
);
7420 _resultobj
= Py_None
;
7424 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7425 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
* _resultobj
;
7427 wxPyTreeCtrl
* _arg0
;
7428 wxTreeItemId
* _arg1
;
7430 PyObject
* _argo0
= 0;
7431 PyObject
* _argo1
= 0;
7432 PyObject
* _argo2
= 0;
7433 char *_kwnames
[] = { "self","item","font", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7453 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7460 wxPy_BEGIN_ALLOW_THREADS
;
7461 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7463 wxPy_END_ALLOW_THREADS
;
7464 } Py_INCREF(Py_None
);
7465 _resultobj
= Py_None
;
7469 static PyMethodDef controls2cMethods
[] = {
7470 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxListCtrl_InsertColumnWith", (PyCFunction
) _wrap_wxListCtrl_InsertColumnWith
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
7691 * This table is used by the pointer type-checker
7693 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7694 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7695 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7696 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7697 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
7698 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
7699 { "_wxEvent","_class_wxEvent",0},
7700 { "_class_wxActivateEvent","_wxActivateEvent",0},
7701 { "_signed_long","_long",0},
7702 { "_wxMenuEvent","_class_wxMenuEvent",0},
7703 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7704 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7705 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7706 { "_wxPrintQuality","_wxCoord",0},
7707 { "_wxPrintQuality","_int",0},
7708 { "_wxPrintQuality","_signed_int",0},
7709 { "_wxPrintQuality","_unsigned_int",0},
7710 { "_wxPrintQuality","_wxWindowID",0},
7711 { "_wxPrintQuality","_uint",0},
7712 { "_wxPrintQuality","_EBool",0},
7713 { "_wxPrintQuality","_size_t",0},
7714 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7715 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7716 { "_class_wxRegionIterator","_wxRegionIterator",0},
7717 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7718 { "_class_wxMenuBar","_wxMenuBar",0},
7719 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
7720 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7721 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7722 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7723 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7724 { "_class_wxEvtHandler","_wxEvtHandler",0},
7725 { "_wxPaintEvent","_class_wxPaintEvent",0},
7726 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7727 { "_wxCursor","_class_wxCursor",0},
7728 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7729 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7730 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7731 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
7732 { "_wxMask","_class_wxMask",0},
7733 { "_wxPen","_class_wxPen",0},
7734 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7735 { "_byte","_unsigned_char",0},
7736 { "_wxDataObject","_class_wxDataObject",0},
7737 { "_wxStaticBox","_class_wxStaticBox",0},
7738 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7739 { "_wxPyDropSource","_class_wxPyDropSource",0},
7740 { "_wxChoice","_class_wxChoice",0},
7741 { "_wxSlider","_class_wxSlider",0},
7742 { "_long","_unsigned_long",0},
7743 { "_long","_signed_long",0},
7744 { "_wxImageList","_class_wxImageList",0},
7745 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7746 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7747 { "_wxBitmapButton","_class_wxBitmapButton",0},
7748 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7749 { "_class_wxClipboard","_wxClipboard",0},
7750 { "_class_wxGauge","_wxGauge",0},
7751 { "_wxDC","_class_wxDC",0},
7752 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7753 { "_wxListEvent","_class_wxListEvent",0},
7754 { "_wxSpinEvent","_class_wxSpinEvent",0},
7755 { "_size_t","_wxCoord",0},
7756 { "_size_t","_wxPrintQuality",0},
7757 { "_size_t","_unsigned_int",0},
7758 { "_size_t","_int",0},
7759 { "_size_t","_wxWindowID",0},
7760 { "_size_t","_uint",0},
7761 { "_class_wxRealPoint","_wxRealPoint",0},
7762 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7763 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7764 { "_class_wxMenuItem","_wxMenuItem",0},
7765 { "_class_wxPaintEvent","_wxPaintEvent",0},
7766 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7767 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7768 { "_wxPanel","_class_wxPanel",0},
7769 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7770 { "_wxCheckBox","_class_wxCheckBox",0},
7771 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
7772 { "_wxPyEvent","_class_wxPyEvent",0},
7773 { "_wxTextCtrl","_class_wxTextCtrl",0},
7774 { "_class_wxMask","_wxMask",0},
7775 { "_wxTextDataObject","_class_wxTextDataObject",0},
7776 { "_class_wxKeyEvent","_wxKeyEvent",0},
7777 { "_wxColour","_class_wxColour",0},
7778 { "_class_wxDialog","_wxDialog",0},
7779 { "_class_wxFileDataObject","_wxFileDataObject",0},
7780 { "_wxIdleEvent","_class_wxIdleEvent",0},
7781 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7782 { "_class_wxDataObject","_wxDataObject",0},
7783 { "_wxStaticLine","_class_wxStaticLine",0},
7784 { "_wxBrush","_class_wxBrush",0},
7785 { "_wxDataFormat","_class_wxDataFormat",0},
7786 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
7787 { "_wxShowEvent","_class_wxShowEvent",0},
7788 { "_uint","_wxCoord",0},
7789 { "_uint","_wxPrintQuality",0},
7790 { "_uint","_size_t",0},
7791 { "_uint","_unsigned_int",0},
7792 { "_uint","_int",0},
7793 { "_uint","_wxWindowID",0},
7794 { "_wxChar","_char",0},
7795 { "_wxPyValidator","_class_wxPyValidator",0},
7796 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7797 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7798 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
7799 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
7800 { "_class_wxEvent","_wxEvent",0},
7801 { "_wxCheckListBox","_class_wxCheckListBox",0},
7802 { "_wxRect","_class_wxRect",0},
7803 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
7804 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
7805 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
7806 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
7807 { "_wxCommandEvent","_class_wxCommandEvent",0},
7808 { "_wxSizeEvent","_class_wxSizeEvent",0},
7809 { "_wxPoint","_class_wxPoint",0},
7810 { "_class_wxButton","_wxButton",0},
7811 { "_wxRadioBox","_class_wxRadioBox",0},
7812 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
7813 { "_char","_wxChar",0},
7814 { "_wxBitmap","_class_wxBitmap",0},
7815 { "_wxWindowDC","_class_wxWindowDC",0},
7816 { "_wxTimerEvent","_class_wxTimerEvent",0},
7817 { "_wxScrollBar","_class_wxScrollBar",0},
7818 { "_wxSpinButton","_class_wxSpinButton",0},
7819 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7820 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7821 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7822 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7823 { "_class_wxValidator","_wxValidator",0},
7824 { "_class_wxPyEvent","_wxPyEvent",0},
7825 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7826 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7827 { "_wxListItem","_class_wxListItem",0},
7828 { "_wxDropTarget","_class_wxDropTarget",0},
7829 { "_class_wxStaticLine","_wxStaticLine",0},
7830 { "_wxScrollEvent","_class_wxScrollEvent",0},
7831 { "_EBool","_wxCoord",0},
7832 { "_EBool","_wxPrintQuality",0},
7833 { "_EBool","_signed_int",0},
7834 { "_EBool","_int",0},
7835 { "_EBool","_wxWindowID",0},
7836 { "_class_wxRegion","_wxRegion",0},
7837 { "_class_wxDataFormat","_wxDataFormat",0},
7838 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
7839 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
7840 { "_wxStaticText","_class_wxStaticText",0},
7841 { "_wxFont","_class_wxFont",0},
7842 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
7843 { "_wxCloseEvent","_class_wxCloseEvent",0},
7844 { "_unsigned_long","_long",0},
7845 { "_class_wxRect","_wxRect",0},
7846 { "_class_wxDC","_wxDC",0},
7847 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
7848 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
7849 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
7850 { "_class_wxTreeEvent","_wxTreeEvent",0},
7851 { "_wxFocusEvent","_class_wxFocusEvent",0},
7852 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7853 { "_class_wxTimerEvent","_wxTimerEvent",0},
7854 { "_class_wxSpinButton","_wxSpinButton",0},
7855 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7856 { "_class_wxPanel","_wxPanel",0},
7857 { "_class_wxCheckBox","_wxCheckBox",0},
7858 { "_wxComboBox","_class_wxComboBox",0},
7859 { "_wxRadioButton","_class_wxRadioButton",0},
7860 { "_signed_int","_wxCoord",0},
7861 { "_signed_int","_wxPrintQuality",0},
7862 { "_signed_int","_EBool",0},
7863 { "_signed_int","_wxWindowID",0},
7864 { "_signed_int","_int",0},
7865 { "_class_wxTextCtrl","_wxTextCtrl",0},
7866 { "_class_wxListItemAttr","_wxListItemAttr",0},
7867 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7868 { "_class_wxTextDataObject","_wxTextDataObject",0},
7869 { "_wxMenu","_class_wxMenu",0},
7870 { "_class_wxMoveEvent","_wxMoveEvent",0},
7871 { "_wxListBox","_class_wxListBox",0},
7872 { "_wxScreenDC","_class_wxScreenDC",0},
7873 { "_WXTYPE","_short",0},
7874 { "_WXTYPE","_signed_short",0},
7875 { "_WXTYPE","_unsigned_short",0},
7876 { "_class_wxDropTarget","_wxDropTarget",0},
7877 { "_class_wxBrush","_wxBrush",0},
7878 { "_unsigned_short","_WXTYPE",0},
7879 { "_unsigned_short","_short",0},
7880 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
7881 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
7882 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
7883 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
7884 { "_class_wxWindow","_wxWindow",0},
7885 { "_class_wxStaticText","_wxStaticText",0},
7886 { "_class_wxFont","_wxFont",0},
7887 { "_wxClipboard","_class_wxClipboard",0},
7888 { "_class_wxPyValidator","_wxPyValidator",0},
7889 { "_class_wxCloseEvent","_wxCloseEvent",0},
7890 { "_wxBusyInfo","_class_wxBusyInfo",0},
7891 { "_class_wxMenuEvent","_wxMenuEvent",0},
7892 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7893 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
7894 { "_wxClientDC","_class_wxClientDC",0},
7895 { "_wxMouseEvent","_class_wxMouseEvent",0},
7896 { "_wxListCtrl","_class_wxListCtrl",0},
7897 { "_class_wxPoint","_wxPoint",0},
7898 { "_wxRealPoint","_class_wxRealPoint",0},
7899 { "_class_wxRadioBox","_wxRadioBox",0},
7900 { "_signed_short","_WXTYPE",0},
7901 { "_signed_short","_short",0},
7902 { "_wxMemoryDC","_class_wxMemoryDC",0},
7903 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
7904 { "_wxPaintDC","_class_wxPaintDC",0},
7905 { "_class_wxWindowDC","_wxWindowDC",0},
7906 { "_class_wxFocusEvent","_wxFocusEvent",0},
7907 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7908 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7909 { "_class_wxCursor","_wxCursor",0},
7910 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7911 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
7912 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7913 { "_wxTreeItemId","_class_wxTreeItemId",0},
7914 { "_unsigned_char","_byte",0},
7915 { "_class_wxMenu","_wxMenu",0},
7916 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
7917 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
7918 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
7919 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
7920 { "_wxControl","_class_wxControl",0},
7921 { "_class_wxListBox","_wxListBox",0},
7922 { "_unsigned_int","_wxCoord",0},
7923 { "_unsigned_int","_wxPrintQuality",0},
7924 { "_unsigned_int","_size_t",0},
7925 { "_unsigned_int","_uint",0},
7926 { "_unsigned_int","_wxWindowID",0},
7927 { "_unsigned_int","_int",0},
7928 { "_wxIcon","_class_wxIcon",0},
7929 { "_wxDialog","_class_wxDialog",0},
7930 { "_class_wxListItem","_wxListItem",0},
7931 { "_class_wxPen","_wxPen",0},
7932 { "_short","_WXTYPE",0},
7933 { "_short","_unsigned_short",0},
7934 { "_short","_signed_short",0},
7935 { "_class_wxStaticBox","_wxStaticBox",0},
7936 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
7937 { "_class_wxPyDropSource","_wxPyDropSource",0},
7938 { "_class_wxScrollEvent","_wxScrollEvent",0},
7939 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7940 { "_class_wxChoice","_wxChoice",0},
7941 { "_class_wxSlider","_wxSlider",0},
7942 { "_class_wxImageList","_wxImageList",0},
7943 { "_class_wxBitmapButton","_wxBitmapButton",0},
7944 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7945 { "_wxWindowID","_wxCoord",0},
7946 { "_wxWindowID","_wxPrintQuality",0},
7947 { "_wxWindowID","_size_t",0},
7948 { "_wxWindowID","_EBool",0},
7949 { "_wxWindowID","_uint",0},
7950 { "_wxWindowID","_int",0},
7951 { "_wxWindowID","_signed_int",0},
7952 { "_wxWindowID","_unsigned_int",0},
7953 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7954 { "_int","_wxCoord",0},
7955 { "_int","_wxPrintQuality",0},
7956 { "_int","_size_t",0},
7957 { "_int","_EBool",0},
7958 { "_int","_uint",0},
7959 { "_int","_wxWindowID",0},
7960 { "_int","_unsigned_int",0},
7961 { "_int","_signed_int",0},
7962 { "_class_wxMouseEvent","_wxMouseEvent",0},
7963 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7964 { "_class_wxListEvent","_wxListEvent",0},
7965 { "_class_wxSpinEvent","_wxSpinEvent",0},
7966 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7967 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7968 { "_wxButton","_class_wxButton",0},
7969 { "_wxSize","_class_wxSize",0},
7970 { "_wxRegionIterator","_class_wxRegionIterator",0},
7971 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
7972 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
7973 { "_class_wxPaintDC","_wxPaintDC",0},
7974 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7975 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
7976 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7977 { "_class_wxComboBox","_wxComboBox",0},
7978 { "_class_wxRadioButton","_wxRadioButton",0},
7979 { "_wxValidator","_class_wxValidator",0},
7980 { "_class_wxTreeItemId","_wxTreeItemId",0},
7981 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7982 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7983 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
7984 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
7985 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
7986 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
7987 { "_class_wxControl","_wxControl",0},
7988 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
7989 { "_class_wxIcon","_wxIcon",0},
7990 { "_class_wxColour","_wxColour",0},
7991 { "_class_wxScreenDC","_wxScreenDC",0},
7992 { "_wxPalette","_class_wxPalette",0},
7993 { "_class_wxIdleEvent","_wxIdleEvent",0},
7994 { "_wxCoord","_int",0},
7995 { "_wxCoord","_signed_int",0},
7996 { "_wxCoord","_unsigned_int",0},
7997 { "_wxCoord","_wxWindowID",0},
7998 { "_wxCoord","_uint",0},
7999 { "_wxCoord","_EBool",0},
8000 { "_wxCoord","_size_t",0},
8001 { "_wxCoord","_wxPrintQuality",0},
8002 { "_wxEraseEvent","_class_wxEraseEvent",0},
8003 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8004 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8005 { "_wxRegion","_class_wxRegion",0},
8006 { "_class_wxShowEvent","_wxShowEvent",0},
8007 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8008 { "_wxActivateEvent","_class_wxActivateEvent",0},
8009 { "_wxGauge","_class_wxGauge",0},
8010 { "_class_wxCheckListBox","_wxCheckListBox",0},
8011 { "_class_wxBusyInfo","_wxBusyInfo",0},
8012 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8013 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8014 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8015 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8016 { "_class_wxCommandEvent","_wxCommandEvent",0},
8017 { "_class_wxClientDC","_wxClientDC",0},
8018 { "_class_wxSizeEvent","_wxSizeEvent",0},
8019 { "_class_wxListCtrl","_wxListCtrl",0},
8020 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8021 { "_class_wxSize","_wxSize",0},
8022 { "_class_wxBitmap","_wxBitmap",0},
8023 { "_class_wxMemoryDC","_wxMemoryDC",0},
8024 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8025 { "_wxMenuBar","_class_wxMenuBar",0},
8026 { "_wxTreeEvent","_class_wxTreeEvent",0},
8027 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8028 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8029 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8030 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8031 { "_wxEvtHandler","_class_wxEvtHandler",0},
8032 { "_wxMenuItem","_class_wxMenuItem",0},
8033 { "_class_wxScrollBar","_wxScrollBar",0},
8034 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8035 { "_wxListItemAttr","_class_wxListItemAttr",0},
8036 { "_wxKeyEvent","_class_wxKeyEvent",0},
8037 { "_wxMoveEvent","_class_wxMoveEvent",0},
8038 { "_class_wxPalette","_wxPalette",0},
8039 { "_wxFileDataObject","_class_wxFileDataObject",0},
8040 { "_class_wxEraseEvent","_wxEraseEvent",0},
8041 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8042 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8043 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8044 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8045 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8046 { "_wxWindow","_class_wxWindow",0},
8047 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8050 static PyObject
*SWIG_globals
;
8054 SWIGEXPORT(void) initcontrols2c() {
8056 SWIG_globals
= SWIG_newvarlink();
8057 m
= Py_InitModule("controls2c", controls2cMethods
);
8058 d
= PyModule_GetDict(m
);
8059 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8060 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8061 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8062 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8063 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8064 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8065 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8066 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8067 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8068 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8069 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8070 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8071 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8072 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8073 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8074 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8075 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8076 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8077 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8078 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8079 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8080 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8081 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8082 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8083 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8084 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8085 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8086 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8087 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8088 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8089 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8090 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8091 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8092 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8093 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8094 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8095 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8096 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8097 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8098 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8099 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8100 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8101 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8102 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8103 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8104 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8105 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8106 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8107 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8108 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8109 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8110 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8111 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8112 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8113 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8114 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8115 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8116 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8117 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8118 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8119 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8120 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8123 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8124 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);