2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 #if PYTHON_API_VERSION >= 1009
112 static char* wxStringErrorMsg
= "String or Unicode type required";
114 static char* wxStringErrorMsg
= "string type is required for parameter";
117 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
119 PyObject
* func
= (PyObject
*)funcPtr
;
120 bool doSave
= wxPyRestoreThread();
122 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
123 PyObject
* result
= PyEval_CallObject(func
, args
);
126 retval
= PyInt_AsLong(result
);
130 wxPySaveThread(doSave
);
135 class wxPyTreeItemData
: public wxTreeItemData
{
137 wxPyTreeItemData(PyObject
* obj
= NULL
) {
144 ~wxPyTreeItemData() {
145 bool doSave
= wxPyRestoreThread();
147 wxPySaveThread(doSave
);
150 PyObject
* GetData() {
155 void SetData(PyObject
* obj
) {
156 bool doSave
= wxPyRestoreThread();
158 wxPySaveThread(doSave
);
166 class wxPyTreeCtrl
: public wxTreeCtrl
{
167 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
169 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
173 const wxValidator
& validator
,
175 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
177 int OnCompareItems(const wxTreeItemId
& item1
,
178 const wxTreeItemId
& item2
) {
180 bool doSave
= wxPyRestoreThread();
181 if (m_myInst
.findCallback("OnCompareItems"))
182 rval
= m_myInst
.callCallback(Py_BuildValue(
184 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
185 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
187 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
188 wxPySaveThread(doSave
);
194 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
199 #define new_wxListItemAttr() (new wxListItemAttr())
200 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
202 wxListItemAttr
* _result
;
203 char *_kwnames
[] = { NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
210 wxPy_BEGIN_ALLOW_THREADS
;
211 _result
= (wxListItemAttr
*)new_wxListItemAttr();
213 wxPy_END_ALLOW_THREADS
;
215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
219 _resultobj
= Py_None
;
224 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
225 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
227 wxListItemAttr
* _arg0
;
229 PyObject
* _argo0
= 0;
231 PyObject
* _obj1
= 0;
232 char *_kwnames
[] = { "self","colText", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
246 if (! wxColour_helper(_obj1
, &_arg1
))
250 wxPy_BEGIN_ALLOW_THREADS
;
251 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
253 wxPy_END_ALLOW_THREADS
;
254 } Py_INCREF(Py_None
);
255 _resultobj
= Py_None
;
259 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
260 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
262 wxListItemAttr
* _arg0
;
264 PyObject
* _argo0
= 0;
266 PyObject
* _obj1
= 0;
267 char *_kwnames
[] = { "self","colBack", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
281 if (! wxColour_helper(_obj1
, &_arg1
))
285 wxPy_BEGIN_ALLOW_THREADS
;
286 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
288 wxPy_END_ALLOW_THREADS
;
289 } Py_INCREF(Py_None
);
290 _resultobj
= Py_None
;
294 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
295 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
297 wxListItemAttr
* _arg0
;
299 PyObject
* _argo0
= 0;
300 PyObject
* _argo1
= 0;
301 char *_kwnames
[] = { "self","font", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
321 wxPy_BEGIN_ALLOW_THREADS
;
322 wxListItemAttr_SetFont(_arg0
,*_arg1
);
324 wxPy_END_ALLOW_THREADS
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
331 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
334 wxListItemAttr
* _arg0
;
335 PyObject
* _argo0
= 0;
336 char *_kwnames
[] = { "self", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
349 wxPy_BEGIN_ALLOW_THREADS
;
350 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
352 wxPy_END_ALLOW_THREADS
;
353 } _resultobj
= Py_BuildValue("i",_result
);
357 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
358 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
361 wxListItemAttr
* _arg0
;
362 PyObject
* _argo0
= 0;
363 char *_kwnames
[] = { "self", NULL
};
366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
376 wxPy_BEGIN_ALLOW_THREADS
;
377 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
379 wxPy_END_ALLOW_THREADS
;
380 } _resultobj
= Py_BuildValue("i",_result
);
384 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
385 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
388 wxListItemAttr
* _arg0
;
389 PyObject
* _argo0
= 0;
390 char *_kwnames
[] = { "self", NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
403 wxPy_BEGIN_ALLOW_THREADS
;
404 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
406 wxPy_END_ALLOW_THREADS
;
407 } _resultobj
= Py_BuildValue("i",_result
);
411 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
412 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
415 wxListItemAttr
* _arg0
;
416 PyObject
* _argo0
= 0;
417 char *_kwnames
[] = { "self", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
431 wxPy_BEGIN_ALLOW_THREADS
;
432 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
433 _result
= (wxColour
*) &_result_ref
;
435 wxPy_END_ALLOW_THREADS
;
437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
438 _resultobj
= Py_BuildValue("s",_ptemp
);
441 _resultobj
= Py_None
;
446 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
447 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
450 wxListItemAttr
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
466 wxPy_BEGIN_ALLOW_THREADS
;
467 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
468 _result
= (wxColour
*) &_result_ref
;
470 wxPy_END_ALLOW_THREADS
;
472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
473 _resultobj
= Py_BuildValue("s",_ptemp
);
476 _resultobj
= Py_None
;
481 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
482 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
485 wxListItemAttr
* _arg0
;
486 PyObject
* _argo0
= 0;
487 char *_kwnames
[] = { "self", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
503 _result
= (wxFont
*) &_result_ref
;
505 wxPy_END_ALLOW_THREADS
;
507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
508 _resultobj
= Py_BuildValue("s",_ptemp
);
511 _resultobj
= Py_None
;
516 #define new_wxListItem() (new wxListItem())
517 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxListItem
* _result
;
520 char *_kwnames
[] = { NULL
};
524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
527 wxPy_BEGIN_ALLOW_THREADS
;
528 _result
= (wxListItem
*)new_wxListItem();
530 wxPy_END_ALLOW_THREADS
;
532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
533 _resultobj
= Py_BuildValue("s",_ptemp
);
536 _resultobj
= Py_None
;
541 #define delete_wxListItem(_swigobj) (delete _swigobj)
542 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 PyObject
* _argo0
= 0;
546 char *_kwnames
[] = { "self", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
559 wxPy_BEGIN_ALLOW_THREADS
;
560 delete_wxListItem(_arg0
);
562 wxPy_END_ALLOW_THREADS
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
569 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
572 PyObject
* _argo0
= 0;
573 char *_kwnames
[] = { "self", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
586 wxPy_BEGIN_ALLOW_THREADS
;
587 wxListItem_Clear(_arg0
);
589 wxPy_END_ALLOW_THREADS
;
590 } Py_INCREF(Py_None
);
591 _resultobj
= Py_None
;
595 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
596 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
597 PyObject
* _resultobj
;
599 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
613 wxPy_BEGIN_ALLOW_THREADS
;
614 wxListItem_ClearAttributes(_arg0
);
616 wxPy_END_ALLOW_THREADS
;
617 } Py_INCREF(Py_None
);
618 _resultobj
= Py_None
;
622 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
623 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self","mask", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 wxListItem_SetMask(_arg0
,_arg1
);
644 wxPy_END_ALLOW_THREADS
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
651 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self","id", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 wxListItem_SetId(_arg0
,_arg1
);
672 wxPy_END_ALLOW_THREADS
;
673 } Py_INCREF(Py_None
);
674 _resultobj
= Py_None
;
678 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
679 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self","col", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 wxListItem_SetColumn(_arg0
,_arg1
);
700 wxPy_END_ALLOW_THREADS
;
701 } Py_INCREF(Py_None
);
702 _resultobj
= Py_None
;
706 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
707 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self","state", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
725 wxPy_BEGIN_ALLOW_THREADS
;
726 wxListItem_SetState(_arg0
,_arg1
);
728 wxPy_END_ALLOW_THREADS
;
729 } Py_INCREF(Py_None
);
730 _resultobj
= Py_None
;
734 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
735 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self","stateMask", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 wxListItem_SetStateMask(_arg0
,_arg1
);
756 wxPy_END_ALLOW_THREADS
;
757 } Py_INCREF(Py_None
);
758 _resultobj
= Py_None
;
762 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
763 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
767 PyObject
* _argo0
= 0;
768 PyObject
* _obj1
= 0;
769 char *_kwnames
[] = { "self","text", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
782 #if PYTHON_API_VERSION >= 1009
783 char* tmpPtr
; int tmpSize
;
784 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
788 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
790 _arg1
= new wxString(tmpPtr
, tmpSize
);
792 if (!PyString_Check(_obj1
)) {
793 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
796 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
800 wxPy_BEGIN_ALLOW_THREADS
;
801 wxListItem_SetText(_arg0
,*_arg1
);
803 wxPy_END_ALLOW_THREADS
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
813 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
814 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
818 PyObject
* _argo0
= 0;
819 char *_kwnames
[] = { "self","image", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
832 wxPy_BEGIN_ALLOW_THREADS
;
833 wxListItem_SetImage(_arg0
,_arg1
);
835 wxPy_END_ALLOW_THREADS
;
836 } Py_INCREF(Py_None
);
837 _resultobj
= Py_None
;
841 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
842 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
846 PyObject
* _argo0
= 0;
847 char *_kwnames
[] = { "self","data", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
860 wxPy_BEGIN_ALLOW_THREADS
;
861 wxListItem_SetData(_arg0
,_arg1
);
863 wxPy_END_ALLOW_THREADS
;
864 } Py_INCREF(Py_None
);
865 _resultobj
= Py_None
;
869 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
870 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
874 PyObject
* _argo0
= 0;
875 char *_kwnames
[] = { "self","width", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
888 wxPy_BEGIN_ALLOW_THREADS
;
889 wxListItem_SetWidth(_arg0
,_arg1
);
891 wxPy_END_ALLOW_THREADS
;
892 } Py_INCREF(Py_None
);
893 _resultobj
= Py_None
;
897 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
898 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 wxListColumnFormat _arg1
;
902 PyObject
* _argo0
= 0;
903 char *_kwnames
[] = { "self","align", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
916 wxPy_BEGIN_ALLOW_THREADS
;
917 wxListItem_SetAlign(_arg0
,_arg1
);
919 wxPy_END_ALLOW_THREADS
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
926 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
930 PyObject
* _argo0
= 0;
932 PyObject
* _obj1
= 0;
933 char *_kwnames
[] = { "self","colText", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
947 if (! wxColour_helper(_obj1
, &_arg1
))
951 wxPy_BEGIN_ALLOW_THREADS
;
952 wxListItem_SetTextColour(_arg0
,*_arg1
);
954 wxPy_END_ALLOW_THREADS
;
955 } Py_INCREF(Py_None
);
956 _resultobj
= Py_None
;
960 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
961 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
965 PyObject
* _argo0
= 0;
967 PyObject
* _obj1
= 0;
968 char *_kwnames
[] = { "self","colBack", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
982 if (! wxColour_helper(_obj1
, &_arg1
))
986 wxPy_BEGIN_ALLOW_THREADS
;
987 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
989 wxPy_END_ALLOW_THREADS
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
996 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1001 PyObject
* _argo1
= 0;
1002 char *_kwnames
[] = { "self","font", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 wxListItem_SetFont(_arg0
,*_arg1
);
1025 wxPy_END_ALLOW_THREADS
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1032 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= (long )wxListItem_GetMask(_arg0
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } _resultobj
= Py_BuildValue("l",_result
);
1058 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1059 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 PyObject
* _argo0
= 0;
1064 char *_kwnames
[] = { "self", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (long )wxListItem_GetId(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } _resultobj
= Py_BuildValue("l",_result
);
1085 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1086 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 _result
= (int )wxListItem_GetColumn(_arg0
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1112 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1113 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1117 PyObject
* _argo0
= 0;
1118 char *_kwnames
[] = { "self", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 _result
= (long )wxListItem_GetState(_arg0
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } _resultobj
= Py_BuildValue("l",_result
);
1139 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1140 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1160 _result
= (wxString
*) &_result_ref
;
1162 wxPy_END_ALLOW_THREADS
;
1164 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1169 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1170 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= (int )wxListItem_GetImage(_arg0
);
1191 wxPy_END_ALLOW_THREADS
;
1192 } _resultobj
= Py_BuildValue("i",_result
);
1196 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1197 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1201 PyObject
* _argo0
= 0;
1202 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= (long )wxListItem_GetData(_arg0
);
1218 wxPy_END_ALLOW_THREADS
;
1219 } _resultobj
= Py_BuildValue("l",_result
);
1223 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1224 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1228 PyObject
* _argo0
= 0;
1229 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1242 wxPy_BEGIN_ALLOW_THREADS
;
1243 _result
= (int )wxListItem_GetWidth(_arg0
);
1245 wxPy_END_ALLOW_THREADS
;
1246 } _resultobj
= Py_BuildValue("i",_result
);
1250 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1251 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1253 wxListColumnFormat _result
;
1255 PyObject
* _argo0
= 0;
1256 char *_kwnames
[] = { "self", NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1272 wxPy_END_ALLOW_THREADS
;
1273 } _resultobj
= Py_BuildValue("i",_result
);
1277 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1278 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
* _resultobj
;
1280 wxListItemAttr
* _result
;
1282 PyObject
* _argo0
= 0;
1283 char *_kwnames
[] = { "self", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1300 wxPy_END_ALLOW_THREADS
;
1302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1303 _resultobj
= Py_BuildValue("s",_ptemp
);
1306 _resultobj
= Py_None
;
1311 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1312 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("i",_result
);
1338 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1339 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1361 wxPy_END_ALLOW_THREADS
;
1362 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1363 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1368 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1372 PyObject
* _argo0
= 0;
1373 char *_kwnames
[] = { "self", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1390 wxPy_END_ALLOW_THREADS
;
1391 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1396 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1397 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1419 wxPy_END_ALLOW_THREADS
;
1420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1421 _resultobj
= Py_BuildValue("s",_ptemp
);
1425 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1426 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self","m_mask", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } _resultobj
= Py_BuildValue("l",_result
);
1453 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1454 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= (long )wxListItem_m_mask_get(_arg0
);
1475 wxPy_END_ALLOW_THREADS
;
1476 } _resultobj
= Py_BuildValue("l",_result
);
1480 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1481 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self","m_itemId", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1503 wxPy_END_ALLOW_THREADS
;
1504 } _resultobj
= Py_BuildValue("l",_result
);
1508 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1509 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } _resultobj
= Py_BuildValue("l",_result
);
1535 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1536 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self","m_col", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1558 wxPy_END_ALLOW_THREADS
;
1559 } _resultobj
= Py_BuildValue("i",_result
);
1563 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1564 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "self", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1582 wxPy_BEGIN_ALLOW_THREADS
;
1583 _result
= (int )wxListItem_m_col_get(_arg0
);
1585 wxPy_END_ALLOW_THREADS
;
1586 } _resultobj
= Py_BuildValue("i",_result
);
1590 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1591 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self","m_state", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1613 wxPy_END_ALLOW_THREADS
;
1614 } _resultobj
= Py_BuildValue("l",_result
);
1618 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1619 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1623 PyObject
* _argo0
= 0;
1624 char *_kwnames
[] = { "self", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 _result
= (long )wxListItem_m_state_get(_arg0
);
1640 wxPy_END_ALLOW_THREADS
;
1641 } _resultobj
= Py_BuildValue("l",_result
);
1645 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1646 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1651 PyObject
* _argo0
= 0;
1652 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1665 wxPy_BEGIN_ALLOW_THREADS
;
1666 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1668 wxPy_END_ALLOW_THREADS
;
1669 } _resultobj
= Py_BuildValue("l",_result
);
1673 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1674 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1678 PyObject
* _argo0
= 0;
1679 char *_kwnames
[] = { "self", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1695 wxPy_END_ALLOW_THREADS
;
1696 } _resultobj
= Py_BuildValue("l",_result
);
1700 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1701 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 PyObject
* _obj1
= 0;
1708 char *_kwnames
[] = { "self","m_text", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1721 #if PYTHON_API_VERSION >= 1009
1722 char* tmpPtr
; int tmpSize
;
1723 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1727 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1729 _arg1
= new wxString(tmpPtr
, tmpSize
);
1731 if (!PyString_Check(_obj1
)) {
1732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1735 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1739 wxPy_BEGIN_ALLOW_THREADS
;
1740 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1742 wxPy_END_ALLOW_THREADS
;
1744 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1753 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1754 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1758 PyObject
* _argo0
= 0;
1759 char *_kwnames
[] = { "self", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1775 wxPy_END_ALLOW_THREADS
;
1777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1782 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1783 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self","m_image", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1805 wxPy_END_ALLOW_THREADS
;
1806 } _resultobj
= Py_BuildValue("i",_result
);
1810 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1811 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (int )wxListItem_m_image_get(_arg0
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1838 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self","m_data", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } _resultobj
= Py_BuildValue("l",_result
);
1865 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1866 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1884 wxPy_BEGIN_ALLOW_THREADS
;
1885 _result
= (long )wxListItem_m_data_get(_arg0
);
1887 wxPy_END_ALLOW_THREADS
;
1888 } _resultobj
= Py_BuildValue("l",_result
);
1892 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1893 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self","m_format", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1915 wxPy_END_ALLOW_THREADS
;
1916 } _resultobj
= Py_BuildValue("i",_result
);
1920 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1921 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1925 PyObject
* _argo0
= 0;
1926 char *_kwnames
[] = { "self", NULL
};
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 _result
= (int )wxListItem_m_format_get(_arg0
);
1942 wxPy_END_ALLOW_THREADS
;
1943 } _resultobj
= Py_BuildValue("i",_result
);
1947 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1948 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1953 PyObject
* _argo0
= 0;
1954 char *_kwnames
[] = { "self","m_width", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } _resultobj
= Py_BuildValue("i",_result
);
1975 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1976 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1980 PyObject
* _argo0
= 0;
1981 char *_kwnames
[] = { "self", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 _result
= (int )wxListItem_m_width_get(_arg0
);
1997 wxPy_END_ALLOW_THREADS
;
1998 } _resultobj
= Py_BuildValue("i",_result
);
2002 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2004 wxNotifyEvent
*dest
;
2005 src
= (wxListEvent
*) ptr
;
2006 dest
= (wxNotifyEvent
*) src
;
2007 return (void *) dest
;
2010 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2012 wxCommandEvent
*dest
;
2013 src
= (wxListEvent
*) ptr
;
2014 dest
= (wxCommandEvent
*) src
;
2015 return (void *) dest
;
2018 static void *SwigwxListEventTowxEvent(void *ptr
) {
2021 src
= (wxListEvent
*) ptr
;
2022 dest
= (wxEvent
*) src
;
2023 return (void *) dest
;
2026 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2027 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxListEvent
* _arg0
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self","m_code", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2055 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2058 wxListEvent
* _arg0
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 _result
= (int )wxListEvent_m_code_get(_arg0
);
2076 wxPy_END_ALLOW_THREADS
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2082 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2085 wxListEvent
* _arg0
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } _resultobj
= Py_BuildValue("l",_result
);
2109 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2110 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2113 wxListEvent
* _arg0
;
2114 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2131 wxPy_END_ALLOW_THREADS
;
2132 } _resultobj
= Py_BuildValue("l",_result
);
2136 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2137 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2140 wxListEvent
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("l",_result
);
2164 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2165 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2168 wxListEvent
* _arg0
;
2169 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } _resultobj
= Py_BuildValue("l",_result
);
2191 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2192 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxListEvent
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self","m_col", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2220 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxListEvent
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= (int )wxListEvent_m_col_get(_arg0
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } _resultobj
= Py_BuildValue("i",_result
);
2246 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2247 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2250 wxListEvent
* _arg0
;
2252 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2266 _arg1
= (bool ) tempbool1
;
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2277 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2280 wxListEvent
* _arg0
;
2281 PyObject
* _argo0
= 0;
2282 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2295 wxPy_BEGIN_ALLOW_THREADS
;
2296 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2298 wxPy_END_ALLOW_THREADS
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2304 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2307 wxListEvent
* _arg0
;
2309 PyObject
* _argo0
= 0;
2311 PyObject
* _obj1
= 0;
2312 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2327 if (! wxPoint_helper(_obj1
, &_arg1
))
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2334 wxPy_END_ALLOW_THREADS
;
2336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2337 _resultobj
= Py_BuildValue("s",_ptemp
);
2340 _resultobj
= Py_None
;
2345 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2346 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2349 wxListEvent
* _arg0
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2368 wxPy_END_ALLOW_THREADS
;
2370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2371 _resultobj
= Py_BuildValue("s",_ptemp
);
2374 _resultobj
= Py_None
;
2379 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2380 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2382 wxListItem
* _result
;
2383 wxListEvent
* _arg0
;
2385 PyObject
* _argo0
= 0;
2386 PyObject
* _argo1
= 0;
2387 char *_kwnames
[] = { "self","m_item", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2408 wxPy_BEGIN_ALLOW_THREADS
;
2409 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2411 wxPy_END_ALLOW_THREADS
;
2413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2414 _resultobj
= Py_BuildValue("s",_ptemp
);
2417 _resultobj
= Py_None
;
2422 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2423 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2425 wxListItem
* _result
;
2426 wxListEvent
* _arg0
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2445 wxPy_END_ALLOW_THREADS
;
2447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2448 _resultobj
= Py_BuildValue("s",_ptemp
);
2451 _resultobj
= Py_None
;
2456 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2457 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2460 wxListEvent
* _arg0
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (int )wxListEvent_GetCode(_arg0
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2484 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2487 wxListEvent
* _arg0
;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 _result
= (long )wxListEvent_GetIndex(_arg0
);
2505 wxPy_END_ALLOW_THREADS
;
2506 } _resultobj
= Py_BuildValue("l",_result
);
2510 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2511 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2514 wxListEvent
* _arg0
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2532 wxPy_END_ALLOW_THREADS
;
2533 } _resultobj
= Py_BuildValue("l",_result
);
2537 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2538 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2541 wxListEvent
* _arg0
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } _resultobj
= Py_BuildValue("l",_result
);
2564 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2565 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2568 wxListEvent
* _arg0
;
2569 PyObject
* _argo0
= 0;
2570 char *_kwnames
[] = { "self", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 _result
= (int )wxListEvent_GetColumn(_arg0
);
2586 wxPy_END_ALLOW_THREADS
;
2587 } _resultobj
= Py_BuildValue("i",_result
);
2591 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2592 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2595 wxListEvent
* _arg0
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2610 wxPy_BEGIN_ALLOW_THREADS
;
2611 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2613 wxPy_END_ALLOW_THREADS
;
2614 } _resultobj
= Py_BuildValue("i",_result
);
2618 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2619 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2622 wxListEvent
* _arg0
;
2623 PyObject
* _argo0
= 0;
2624 char *_kwnames
[] = { "self", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2638 wxPy_BEGIN_ALLOW_THREADS
;
2639 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2641 wxPy_END_ALLOW_THREADS
;
2642 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2643 _resultobj
= Py_BuildValue("s",_ptemp
);
2647 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2648 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
* _resultobj
;
2651 wxListEvent
* _arg0
;
2652 PyObject
* _argo0
= 0;
2653 char *_kwnames
[] = { "self", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2668 _result
= (wxString
*) &_result_ref
;
2670 wxPy_END_ALLOW_THREADS
;
2672 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2677 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2678 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2681 wxListEvent
* _arg0
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2696 wxPy_BEGIN_ALLOW_THREADS
;
2697 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2698 _result
= (wxString
*) &_result_ref
;
2700 wxPy_END_ALLOW_THREADS
;
2702 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2707 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2708 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2711 wxListEvent
* _arg0
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 _result
= (int )wxListEvent_GetImage(_arg0
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } _resultobj
= Py_BuildValue("i",_result
);
2734 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2735 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2738 wxListEvent
* _arg0
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2753 wxPy_BEGIN_ALLOW_THREADS
;
2754 _result
= (long )wxListEvent_GetData(_arg0
);
2756 wxPy_END_ALLOW_THREADS
;
2757 } _resultobj
= Py_BuildValue("l",_result
);
2761 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2762 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2765 wxListEvent
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (long )wxListEvent_GetMask(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2784 } _resultobj
= Py_BuildValue("l",_result
);
2788 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2789 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2791 wxListItem
* _result
;
2792 wxListEvent
* _arg0
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2810 _result
= (wxListItem
*) &_result_ref
;
2812 wxPy_END_ALLOW_THREADS
;
2814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2815 _resultobj
= Py_BuildValue("s",_ptemp
);
2818 _resultobj
= Py_None
;
2823 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2826 src
= (wxListCtrl
*) ptr
;
2827 dest
= (wxControl
*) src
;
2828 return (void *) dest
;
2831 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2834 src
= (wxListCtrl
*) ptr
;
2835 dest
= (wxWindow
*) src
;
2836 return (void *) dest
;
2839 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2842 src
= (wxListCtrl
*) ptr
;
2843 dest
= (wxEvtHandler
*) src
;
2844 return (void *) dest
;
2847 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2848 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2850 wxListCtrl
* _result
;
2853 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2854 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2855 long _arg4
= (long ) wxLC_ICON
;
2856 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2857 char * _arg6
= (char *) "listCtrl";
2858 PyObject
* _argo0
= 0;
2860 PyObject
* _obj2
= 0;
2862 PyObject
* _obj3
= 0;
2863 PyObject
* _argo5
= 0;
2864 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2880 if (! wxPoint_helper(_obj2
, &_arg2
))
2886 if (! wxSize_helper(_obj3
, &_arg3
))
2890 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2900 wxPy_END_ALLOW_THREADS
;
2902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2903 _resultobj
= Py_BuildValue("s",_ptemp
);
2906 _resultobj
= Py_None
;
2911 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2912 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2916 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self","flag", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2931 wxPy_BEGIN_ALLOW_THREADS
;
2932 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2934 wxPy_END_ALLOW_THREADS
;
2935 } _resultobj
= Py_BuildValue("i",_result
);
2939 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
2940 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2943 wxImageList
* _arg1
;
2945 PyObject
* _argo0
= 0;
2946 PyObject
* _argo1
= 0;
2947 char *_kwnames
[] = { "self","imageList","which", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxListCtrl_p.");
2960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
2970 wxPy_END_ALLOW_THREADS
;
2971 } Py_INCREF(Py_None
);
2972 _resultobj
= Py_None
;
2976 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2977 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self","item", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2999 wxPy_END_ALLOW_THREADS
;
3000 } _resultobj
= Py_BuildValue("i",_result
);
3004 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3005 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
* _resultobj
;
3009 PyObject
* _argo0
= 0;
3010 char *_kwnames
[] = { "self", NULL
};
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
3023 wxPy_BEGIN_ALLOW_THREADS
;
3024 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
3026 wxPy_END_ALLOW_THREADS
;
3027 } _resultobj
= Py_BuildValue("i",_result
);
3031 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
3032 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self","col", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3051 wxPy_BEGIN_ALLOW_THREADS
;
3052 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
3054 wxPy_END_ALLOW_THREADS
;
3055 } _resultobj
= Py_BuildValue("i",_result
);
3059 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3060 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3064 PyObject
* _argo0
= 0;
3065 char *_kwnames
[] = { "self", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3081 wxPy_END_ALLOW_THREADS
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3086 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3087 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 PyObject
* _argo0
= 0;
3091 char *_kwnames
[] = { "self", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3104 wxPy_BEGIN_ALLOW_THREADS
;
3105 wxListCtrl_ClearAll(_arg0
);
3107 wxPy_END_ALLOW_THREADS
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3114 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3116 wxTextCtrl
* _result
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self","item", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3134 wxPy_BEGIN_ALLOW_THREADS
;
3135 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
3137 wxPy_END_ALLOW_THREADS
;
3139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3140 _resultobj
= Py_BuildValue("s",_ptemp
);
3143 _resultobj
= Py_None
;
3148 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
3149 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3154 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self","cancel", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
3168 _arg1
= (bool ) tempbool1
;
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } _resultobj
= Py_BuildValue("i",_result
);
3178 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3179 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxTextCtrl
* _result
;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "self", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3201 wxPy_END_ALLOW_THREADS
;
3203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3204 _resultobj
= Py_BuildValue("s",_ptemp
);
3207 _resultobj
= Py_None
;
3212 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3213 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3218 PyObject
* _argo0
= 0;
3219 char *_kwnames
[] = { "self","item", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3235 wxPy_END_ALLOW_THREADS
;
3236 } _resultobj
= Py_BuildValue("i",_result
);
3240 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3241 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3247 bool _arg3
= (bool ) FALSE
;
3248 PyObject
* _argo0
= 0;
3249 PyObject
* _obj2
= 0;
3250 int tempbool3
= (int) FALSE
;
3251 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3264 #if PYTHON_API_VERSION >= 1009
3265 char* tmpPtr
; int tmpSize
;
3266 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3270 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3272 _arg2
= new wxString(tmpPtr
, tmpSize
);
3274 if (!PyString_Check(_obj2
)) {
3275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3278 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3281 _arg3
= (bool ) tempbool3
;
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } _resultobj
= Py_BuildValue("l",_result
);
3295 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3296 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self","start","data", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } _resultobj
= Py_BuildValue("l",_result
);
3324 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3325 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3332 PyObject
* _argo0
= 0;
3334 PyObject
* _obj2
= 0;
3335 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3349 if (! wxPoint_helper(_obj2
, &_arg2
))
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3356 wxPy_END_ALLOW_THREADS
;
3357 } _resultobj
= Py_BuildValue("l",_result
);
3361 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3362 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3368 PyObject
* _argo0
= 0;
3369 PyObject
* _argo2
= 0;
3370 char *_kwnames
[] = { "self","col","item", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3383 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3390 wxPy_BEGIN_ALLOW_THREADS
;
3391 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3393 wxPy_END_ALLOW_THREADS
;
3394 } _resultobj
= Py_BuildValue("i",_result
);
3398 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3399 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
* _resultobj
;
3404 PyObject
* _argo0
= 0;
3405 char *_kwnames
[] = { "self","col", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3418 wxPy_BEGIN_ALLOW_THREADS
;
3419 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3421 wxPy_END_ALLOW_THREADS
;
3422 } _resultobj
= Py_BuildValue("i",_result
);
3426 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3427 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3431 PyObject
* _argo0
= 0;
3432 char *_kwnames
[] = { "self", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3445 wxPy_BEGIN_ALLOW_THREADS
;
3446 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3448 wxPy_END_ALLOW_THREADS
;
3449 } _resultobj
= Py_BuildValue("i",_result
);
3453 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3454 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxImageList
* _result
;
3459 PyObject
* _argo0
= 0;
3460 char *_kwnames
[] = { "self","which", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3477 wxPy_END_ALLOW_THREADS
;
3479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3480 _resultobj
= Py_BuildValue("s",_ptemp
);
3483 _resultobj
= Py_None
;
3488 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3489 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self","item", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3508 wxPy_BEGIN_ALLOW_THREADS
;
3509 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3511 wxPy_END_ALLOW_THREADS
;
3512 } _resultobj
= Py_BuildValue("l",_result
);
3516 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3517 wxListItem
* info
= new wxListItem
;
3518 info
->m_itemId
= itemId
;
3520 info
->m_mask
= 0xFFFF;
3521 self
->GetItem(*info
);
3524 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxListItem
* _result
;
3529 int _arg2
= (int ) 0;
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self","itemId","col", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3545 wxPy_BEGIN_ALLOW_THREADS
;
3546 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3548 wxPy_END_ALLOW_THREADS
;
3550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3551 _resultobj
= Py_BuildValue("s",_ptemp
);
3554 _resultobj
= Py_None
;
3559 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3560 wxPoint
* pos
= new wxPoint
;
3561 self
->GetItemPosition(item
, *pos
);
3564 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self","item", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3587 wxPy_END_ALLOW_THREADS
;
3589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3590 _resultobj
= Py_BuildValue("s",_ptemp
);
3593 _resultobj
= Py_None
;
3598 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3599 wxRect
* rect
= new wxRect
;
3600 self
->GetItemRect(item
, *rect
, code
);
3603 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3608 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self","item","code", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3627 wxPy_END_ALLOW_THREADS
;
3629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3630 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 _resultobj
= Py_None
;
3638 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3639 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3662 wxPy_END_ALLOW_THREADS
;
3663 } _resultobj
= Py_BuildValue("i",_result
);
3667 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3668 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3686 wxPy_BEGIN_ALLOW_THREADS
;
3687 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3689 wxPy_END_ALLOW_THREADS
;
3690 } _resultobj
= Py_BuildValue("i",_result
);
3694 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3695 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self","isSmall", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3714 _arg1
= (bool ) tempbool1
;
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 } _resultobj
= Py_BuildValue("i",_result
);
3724 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3725 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self","item", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3747 wxPy_END_ALLOW_THREADS
;
3749 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3757 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3758 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3763 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3764 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3765 PyObject
* _argo0
= 0;
3766 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3779 wxPy_BEGIN_ALLOW_THREADS
;
3780 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3782 wxPy_END_ALLOW_THREADS
;
3783 } _resultobj
= Py_BuildValue("l",_result
);
3787 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3788 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } _resultobj
= Py_BuildValue("i",_result
);
3814 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3815 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3837 wxPy_END_ALLOW_THREADS
;
3838 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3839 _resultobj
= Py_BuildValue("s",_ptemp
);
3843 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3844 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3850 PyObject
* _obj1
= 0;
3851 char *_kwnames
[] = { "self","col", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
3865 if (! wxColour_helper(_obj1
, &_arg1
))
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3872 wxPy_END_ALLOW_THREADS
;
3873 } Py_INCREF(Py_None
);
3874 _resultobj
= Py_None
;
3878 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3879 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } _resultobj
= Py_BuildValue("l",_result
);
3905 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3906 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3913 PyObject
* _argo0
= 0;
3915 PyObject
* _obj1
= 0;
3916 char *_kwnames
[] = { "self","point", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3933 if (! wxPoint_helper(_obj1
, &_arg1
))
3937 wxPy_BEGIN_ALLOW_THREADS
;
3938 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3940 wxPy_END_ALLOW_THREADS
;
3941 } _resultobj
= Py_BuildValue("l",_result
);
3944 o
= PyInt_FromLong((long) (*_arg2
));
3945 _resultobj
= t_output_helper(_resultobj
, o
);
3950 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3951 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3957 PyObject
* _argo0
= 0;
3958 PyObject
* _argo2
= 0;
3959 char *_kwnames
[] = { "self","col","info", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3972 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3979 wxPy_BEGIN_ALLOW_THREADS
;
3980 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3982 wxPy_END_ALLOW_THREADS
;
3983 } _resultobj
= Py_BuildValue("l",_result
);
3987 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3988 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3994 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3995 int _arg4
= (int ) -1;
3996 PyObject
* _argo0
= 0;
3997 PyObject
* _obj2
= 0;
3998 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
4011 #if PYTHON_API_VERSION >= 1009
4012 char* tmpPtr
; int tmpSize
;
4013 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4017 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4019 _arg2
= new wxString(tmpPtr
, tmpSize
);
4021 if (!PyString_Check(_obj2
)) {
4022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4025 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4029 wxPy_BEGIN_ALLOW_THREADS
;
4030 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4032 wxPy_END_ALLOW_THREADS
;
4033 } _resultobj
= Py_BuildValue("l",_result
);
4041 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4042 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4047 PyObject
* _argo0
= 0;
4048 PyObject
* _argo1
= 0;
4049 char *_kwnames
[] = { "self","info", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
4062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } _resultobj
= Py_BuildValue("l",_result
);
4077 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4078 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4084 PyObject
* _argo0
= 0;
4085 PyObject
* _obj2
= 0;
4086 char *_kwnames
[] = { "self","index","label", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
4099 #if PYTHON_API_VERSION >= 1009
4100 char* tmpPtr
; int tmpSize
;
4101 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4105 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4107 _arg2
= new wxString(tmpPtr
, tmpSize
);
4109 if (!PyString_Check(_obj2
)) {
4110 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4113 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } _resultobj
= Py_BuildValue("l",_result
);
4129 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4130 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4153 wxPy_END_ALLOW_THREADS
;
4154 } _resultobj
= Py_BuildValue("l",_result
);
4158 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4159 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4166 PyObject
* _argo0
= 0;
4167 PyObject
* _obj2
= 0;
4168 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4181 #if PYTHON_API_VERSION >= 1009
4182 char* tmpPtr
; int tmpSize
;
4183 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4187 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4189 _arg2
= new wxString(tmpPtr
, tmpSize
);
4191 if (!PyString_Check(_obj2
)) {
4192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4195 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4202 wxPy_END_ALLOW_THREADS
;
4203 } _resultobj
= Py_BuildValue("l",_result
);
4211 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4212 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
* _resultobj
;
4218 PyObject
* _argo0
= 0;
4219 char *_kwnames
[] = { "self","dx","dy", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4232 wxPy_BEGIN_ALLOW_THREADS
;
4233 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4235 wxPy_END_ALLOW_THREADS
;
4236 } _resultobj
= Py_BuildValue("i",_result
);
4240 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4241 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4245 PyObject
* _argo0
= 0;
4247 PyObject
* _obj1
= 0;
4248 char *_kwnames
[] = { "self","col", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4262 if (! wxColour_helper(_obj1
, &_arg1
))
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4276 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4282 PyObject
* _argo0
= 0;
4283 PyObject
* _argo2
= 0;
4284 char *_kwnames
[] = { "self","col","item", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4297 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4304 wxPy_BEGIN_ALLOW_THREADS
;
4305 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4307 wxPy_END_ALLOW_THREADS
;
4308 } _resultobj
= Py_BuildValue("i",_result
);
4312 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4313 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self","col","width", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4333 wxPy_BEGIN_ALLOW_THREADS
;
4334 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4336 wxPy_END_ALLOW_THREADS
;
4337 } _resultobj
= Py_BuildValue("i",_result
);
4341 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4342 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4345 wxImageList
* _arg1
;
4347 PyObject
* _argo0
= 0;
4348 PyObject
* _argo1
= 0;
4349 char *_kwnames
[] = { "self","imageList","which", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4369 wxPy_BEGIN_ALLOW_THREADS
;
4370 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4372 wxPy_END_ALLOW_THREADS
;
4373 } Py_INCREF(Py_None
);
4374 _resultobj
= Py_None
;
4378 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4379 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4384 PyObject
* _argo0
= 0;
4385 PyObject
* _argo1
= 0;
4386 char *_kwnames
[] = { "self","info", NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4409 wxPy_END_ALLOW_THREADS
;
4410 } _resultobj
= Py_BuildValue("i",_result
);
4414 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4415 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4422 int _arg4
= (int ) -1;
4423 PyObject
* _argo0
= 0;
4424 PyObject
* _obj3
= 0;
4425 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4438 #if PYTHON_API_VERSION >= 1009
4439 char* tmpPtr
; int tmpSize
;
4440 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4444 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4446 _arg3
= new wxString(tmpPtr
, tmpSize
);
4448 if (!PyString_Check(_obj3
)) {
4449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4452 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } _resultobj
= Py_BuildValue("l",_result
);
4468 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4469 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "self","item","data", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4497 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4498 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4505 PyObject
* _argo0
= 0;
4506 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4522 wxPy_END_ALLOW_THREADS
;
4523 } _resultobj
= Py_BuildValue("i",_result
);
4527 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4528 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4536 PyObject
* _obj2
= 0;
4537 char *_kwnames
[] = { "self","item","pos", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4551 if (! wxPoint_helper(_obj2
, &_arg2
))
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } _resultobj
= Py_BuildValue("i",_result
);
4563 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4564 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4585 wxPy_BEGIN_ALLOW_THREADS
;
4586 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4588 wxPy_END_ALLOW_THREADS
;
4589 } _resultobj
= Py_BuildValue("i",_result
);
4593 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4594 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
* _resultobj
;
4599 PyObject
* _argo0
= 0;
4600 PyObject
* _obj2
= 0;
4601 char *_kwnames
[] = { "self","item","text", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4614 #if PYTHON_API_VERSION >= 1009
4615 char* tmpPtr
; int tmpSize
;
4616 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4620 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4622 _arg2
= new wxString(tmpPtr
, tmpSize
);
4624 if (!PyString_Check(_obj2
)) {
4625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4628 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4635 wxPy_END_ALLOW_THREADS
;
4636 } Py_INCREF(Py_None
);
4637 _resultobj
= Py_None
;
4645 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4646 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
* _resultobj
;
4650 bool _arg2
= (bool ) TRUE
;
4651 PyObject
* _argo0
= 0;
4652 int tempbool2
= (int) TRUE
;
4653 char *_kwnames
[] = { "self","style","add", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4665 _arg2
= (bool ) tempbool2
;
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4670 wxPy_END_ALLOW_THREADS
;
4671 } Py_INCREF(Py_None
);
4672 _resultobj
= Py_None
;
4676 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4677 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4681 PyObject
* _argo0
= 0;
4682 char *_kwnames
[] = { "self","style", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4695 wxPy_BEGIN_ALLOW_THREADS
;
4696 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4698 wxPy_END_ALLOW_THREADS
;
4699 } Py_INCREF(Py_None
);
4700 _resultobj
= Py_None
;
4704 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4705 if (!PyCallable_Check(func
))
4708 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4710 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4715 PyObject
* _argo0
= 0;
4716 PyObject
* _obj1
= 0;
4717 char *_kwnames
[] = { "self","func", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4736 wxPy_END_ALLOW_THREADS
;
4737 } _resultobj
= Py_BuildValue("i",_result
);
4741 #define new_wxTreeItemId() (new wxTreeItemId())
4742 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4744 wxTreeItemId
* _result
;
4745 char *_kwnames
[] = { NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4752 wxPy_BEGIN_ALLOW_THREADS
;
4753 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4755 wxPy_END_ALLOW_THREADS
;
4757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4758 _resultobj
= Py_BuildValue("s",_ptemp
);
4761 _resultobj
= Py_None
;
4766 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4767 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4769 wxTreeItemId
* _arg0
;
4770 PyObject
* _argo0
= 0;
4771 char *_kwnames
[] = { "self", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4784 wxPy_BEGIN_ALLOW_THREADS
;
4785 delete_wxTreeItemId(_arg0
);
4787 wxPy_END_ALLOW_THREADS
;
4788 } Py_INCREF(Py_None
);
4789 _resultobj
= Py_None
;
4793 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4794 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4797 wxTreeItemId
* _arg0
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4815 wxPy_END_ALLOW_THREADS
;
4816 } _resultobj
= Py_BuildValue("i",_result
);
4820 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4821 if (! other
) return -1;
4822 return *self
!= *other
;
4824 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4827 wxTreeItemId
* _arg0
;
4828 wxTreeItemId
* _arg1
;
4829 PyObject
* _argo0
= 0;
4830 PyObject
* _argo1
= 0;
4831 char *_kwnames
[] = { "self","other", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4851 wxPy_BEGIN_ALLOW_THREADS
;
4852 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4854 wxPy_END_ALLOW_THREADS
;
4855 } _resultobj
= Py_BuildValue("i",_result
);
4859 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4860 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
* _resultobj
;
4862 wxPyTreeItemData
* _result
;
4863 PyObject
* _arg0
= (PyObject
*) NULL
;
4864 PyObject
* _obj0
= 0;
4865 char *_kwnames
[] = { "obj", NULL
};
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4879 wxPy_END_ALLOW_THREADS
;
4881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4882 _resultobj
= Py_BuildValue("s",_ptemp
);
4885 _resultobj
= Py_None
;
4890 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4891 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4894 wxPyTreeItemData
* _arg0
;
4895 PyObject
* _argo0
= 0;
4896 char *_kwnames
[] = { "self", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4912 wxPy_END_ALLOW_THREADS
;
4914 _resultobj
= _result
;
4919 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4920 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4922 wxPyTreeItemData
* _arg0
;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _obj1
= 0;
4926 char *_kwnames
[] = { "self","obj", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4942 wxPy_BEGIN_ALLOW_THREADS
;
4943 wxTreeItemData_SetData(_arg0
,_arg1
);
4945 wxPy_END_ALLOW_THREADS
;
4946 } Py_INCREF(Py_None
);
4947 _resultobj
= Py_None
;
4951 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4952 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4954 wxTreeItemId
* _result
;
4955 wxPyTreeItemData
* _arg0
;
4956 PyObject
* _argo0
= 0;
4957 char *_kwnames
[] = { "self", NULL
};
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4973 _result
= (wxTreeItemId
*) &_result_ref
;
4975 wxPy_END_ALLOW_THREADS
;
4977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4978 _resultobj
= Py_BuildValue("s",_ptemp
);
4981 _resultobj
= Py_None
;
4986 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4987 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4989 wxPyTreeItemData
* _arg0
;
4990 wxTreeItemId
* _arg1
;
4991 PyObject
* _argo0
= 0;
4992 PyObject
* _argo1
= 0;
4993 char *_kwnames
[] = { "self","id", NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
5006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxTreeItemData_SetId(_arg0
,*_arg1
);
5016 wxPy_END_ALLOW_THREADS
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
5024 wxNotifyEvent
*dest
;
5025 src
= (wxTreeEvent
*) ptr
;
5026 dest
= (wxNotifyEvent
*) src
;
5027 return (void *) dest
;
5030 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
5032 wxCommandEvent
*dest
;
5033 src
= (wxTreeEvent
*) ptr
;
5034 dest
= (wxCommandEvent
*) src
;
5035 return (void *) dest
;
5038 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
5041 src
= (wxTreeEvent
*) ptr
;
5042 dest
= (wxEvent
*) src
;
5043 return (void *) dest
;
5046 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
5047 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5049 wxTreeItemId
* _result
;
5050 wxTreeEvent
* _arg0
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self", NULL
};
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
5066 wxPy_BEGIN_ALLOW_THREADS
;
5067 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
5069 wxPy_END_ALLOW_THREADS
;
5070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5071 _resultobj
= Py_BuildValue("s",_ptemp
);
5075 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
5076 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5078 wxTreeItemId
* _result
;
5079 wxTreeEvent
* _arg0
;
5080 PyObject
* _argo0
= 0;
5081 char *_kwnames
[] = { "self", NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
5088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
5095 wxPy_BEGIN_ALLOW_THREADS
;
5096 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
5098 wxPy_END_ALLOW_THREADS
;
5099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5100 _resultobj
= Py_BuildValue("s",_ptemp
);
5104 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
5105 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
* _resultobj
;
5108 wxTreeEvent
* _arg0
;
5109 PyObject
* _argo0
= 0;
5110 char *_kwnames
[] = { "self", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
5124 wxPy_BEGIN_ALLOW_THREADS
;
5125 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
5127 wxPy_END_ALLOW_THREADS
;
5128 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5129 _resultobj
= Py_BuildValue("s",_ptemp
);
5133 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5134 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
* _resultobj
;
5137 wxTreeEvent
* _arg0
;
5138 PyObject
* _argo0
= 0;
5139 char *_kwnames
[] = { "self", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5152 wxPy_BEGIN_ALLOW_THREADS
;
5153 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5155 wxPy_END_ALLOW_THREADS
;
5156 } _resultobj
= Py_BuildValue("i",_result
);
5160 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5161 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5164 wxTreeEvent
* _arg0
;
5165 PyObject
* _argo0
= 0;
5166 char *_kwnames
[] = { "self", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5181 _result
= (wxString
*) &_result_ref
;
5183 wxPy_END_ALLOW_THREADS
;
5185 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5190 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5193 src
= (wxPyTreeCtrl
*) ptr
;
5194 dest
= (wxControl
*) src
;
5195 return (void *) dest
;
5198 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5201 src
= (wxPyTreeCtrl
*) ptr
;
5202 dest
= (wxWindow
*) src
;
5203 return (void *) dest
;
5206 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5209 src
= (wxPyTreeCtrl
*) ptr
;
5210 dest
= (wxEvtHandler
*) src
;
5211 return (void *) dest
;
5214 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5215 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5217 wxPyTreeCtrl
* _result
;
5219 wxWindowID _arg1
= (wxWindowID
) -1;
5220 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5221 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5222 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5223 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5224 char * _arg6
= (char *) "wxTreeCtrl";
5225 PyObject
* _argo0
= 0;
5227 PyObject
* _obj2
= 0;
5229 PyObject
* _obj3
= 0;
5230 PyObject
* _argo5
= 0;
5231 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5247 if (! wxPoint_helper(_obj2
, &_arg2
))
5253 if (! wxSize_helper(_obj3
, &_arg3
))
5257 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5264 wxPy_BEGIN_ALLOW_THREADS
;
5265 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5267 wxPy_END_ALLOW_THREADS
;
5269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5270 _resultobj
= Py_BuildValue("s",_ptemp
);
5273 _resultobj
= Py_None
;
5278 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5279 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
* _resultobj
;
5281 wxPyTreeCtrl
* _arg0
;
5284 PyObject
* _argo0
= 0;
5285 PyObject
* _obj1
= 0;
5286 PyObject
* _obj2
= 0;
5287 char *_kwnames
[] = { "self","self","_class", NULL
};
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5306 wxPy_BEGIN_ALLOW_THREADS
;
5307 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5309 wxPy_END_ALLOW_THREADS
;
5310 } Py_INCREF(Py_None
);
5311 _resultobj
= Py_None
;
5315 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5316 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5318 wxPyTreeCtrl
* _arg0
;
5319 wxImageList
* _arg1
;
5320 PyObject
* _argo0
= 0;
5321 PyObject
* _argo1
= 0;
5322 char *_kwnames
[] = { "self","imageList", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5342 wxPy_BEGIN_ALLOW_THREADS
;
5343 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5345 wxPy_END_ALLOW_THREADS
;
5346 } Py_INCREF(Py_None
);
5347 _resultobj
= Py_None
;
5351 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5352 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
* _resultobj
;
5355 wxPyTreeCtrl
* _arg0
;
5356 PyObject
* _argo0
= 0;
5357 char *_kwnames
[] = { "self", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5373 wxPy_END_ALLOW_THREADS
;
5374 } _resultobj
= Py_BuildValue("i",_result
);
5378 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5379 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5381 unsigned int _result
;
5382 wxPyTreeCtrl
* _arg0
;
5383 PyObject
* _argo0
= 0;
5384 char *_kwnames
[] = { "self", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5397 wxPy_BEGIN_ALLOW_THREADS
;
5398 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5400 wxPy_END_ALLOW_THREADS
;
5401 } _resultobj
= Py_BuildValue("i",_result
);
5405 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5406 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5408 wxPyTreeCtrl
* _arg0
;
5410 PyObject
* _argo0
= 0;
5411 char *_kwnames
[] = { "self","indent", NULL
};
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5424 wxPy_BEGIN_ALLOW_THREADS
;
5425 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5427 wxPy_END_ALLOW_THREADS
;
5428 } Py_INCREF(Py_None
);
5429 _resultobj
= Py_None
;
5433 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5434 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5436 wxImageList
* _result
;
5437 wxPyTreeCtrl
* _arg0
;
5438 PyObject
* _argo0
= 0;
5439 char *_kwnames
[] = { "self", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
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_GetImageList. Expected _wxPyTreeCtrl_p.");
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5456 wxPy_END_ALLOW_THREADS
;
5458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5459 _resultobj
= Py_BuildValue("s",_ptemp
);
5462 _resultobj
= Py_None
;
5467 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5468 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxImageList
* _result
;
5471 wxPyTreeCtrl
* _arg0
;
5472 PyObject
* _argo0
= 0;
5473 char *_kwnames
[] = { "self", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5490 wxPy_END_ALLOW_THREADS
;
5492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5493 _resultobj
= Py_BuildValue("s",_ptemp
);
5496 _resultobj
= Py_None
;
5501 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5502 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5504 wxPyTreeCtrl
* _arg0
;
5505 wxImageList
* _arg1
;
5506 PyObject
* _argo0
= 0;
5507 PyObject
* _argo1
= 0;
5508 char *_kwnames
[] = { "self","imageList", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5528 wxPy_BEGIN_ALLOW_THREADS
;
5529 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5531 wxPy_END_ALLOW_THREADS
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5538 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5540 wxPyTreeCtrl
* _arg0
;
5541 wxImageList
* _arg1
;
5542 PyObject
* _argo0
= 0;
5543 PyObject
* _argo1
= 0;
5544 char *_kwnames
[] = { "self","imageList", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5564 wxPy_BEGIN_ALLOW_THREADS
;
5565 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5567 wxPy_END_ALLOW_THREADS
;
5568 } Py_INCREF(Py_None
);
5569 _resultobj
= Py_None
;
5573 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5574 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
* _resultobj
;
5576 unsigned int _result
;
5577 wxPyTreeCtrl
* _arg0
;
5578 PyObject
* _argo0
= 0;
5579 char *_kwnames
[] = { "self", NULL
};
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5592 wxPy_BEGIN_ALLOW_THREADS
;
5593 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5595 wxPy_END_ALLOW_THREADS
;
5596 } _resultobj
= Py_BuildValue("i",_result
);
5600 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5601 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
* _resultobj
;
5603 wxPyTreeCtrl
* _arg0
;
5605 PyObject
* _argo0
= 0;
5606 char *_kwnames
[] = { "self","spacing", NULL
};
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5619 wxPy_BEGIN_ALLOW_THREADS
;
5620 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5622 wxPy_END_ALLOW_THREADS
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5628 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5629 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5632 wxPyTreeCtrl
* _arg0
;
5633 wxTreeItemId
* _arg1
;
5634 PyObject
* _argo0
= 0;
5635 PyObject
* _argo1
= 0;
5636 char *_kwnames
[] = { "self","item", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5659 wxPy_END_ALLOW_THREADS
;
5661 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5669 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5670 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5673 wxPyTreeCtrl
* _arg0
;
5674 wxTreeItemId
* _arg1
;
5675 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5676 PyObject
* _argo0
= 0;
5677 PyObject
* _argo1
= 0;
5678 char *_kwnames
[] = { "self","item","which", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5701 wxPy_END_ALLOW_THREADS
;
5702 } _resultobj
= Py_BuildValue("i",_result
);
5706 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5707 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5710 wxPyTreeCtrl
* _arg0
;
5711 wxTreeItemId
* _arg1
;
5712 PyObject
* _argo0
= 0;
5713 PyObject
* _argo1
= 0;
5714 char *_kwnames
[] = { "self","item", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } _resultobj
= Py_BuildValue("i",_result
);
5742 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5743 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5745 wxPyTreeCtrl
* _arg0
;
5746 wxTreeItemId
* _arg1
;
5748 PyObject
* _argo0
= 0;
5749 PyObject
* _argo1
= 0;
5750 PyObject
* _obj2
= 0;
5751 char *_kwnames
[] = { "self","item","text", NULL
};
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5771 #if PYTHON_API_VERSION >= 1009
5772 char* tmpPtr
; int tmpSize
;
5773 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5777 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5779 _arg2
= new wxString(tmpPtr
, tmpSize
);
5781 if (!PyString_Check(_obj2
)) {
5782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5785 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5789 wxPy_BEGIN_ALLOW_THREADS
;
5790 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5792 wxPy_END_ALLOW_THREADS
;
5793 } Py_INCREF(Py_None
);
5794 _resultobj
= Py_None
;
5802 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5803 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5805 wxPyTreeCtrl
* _arg0
;
5806 wxTreeItemId
* _arg1
;
5808 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5809 PyObject
* _argo0
= 0;
5810 PyObject
* _argo1
= 0;
5811 char *_kwnames
[] = { "self","item","image","which", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5831 wxPy_BEGIN_ALLOW_THREADS
;
5832 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5834 wxPy_END_ALLOW_THREADS
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5840 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5841 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5843 wxPyTreeCtrl
* _arg0
;
5844 wxTreeItemId
* _arg1
;
5846 PyObject
* _argo0
= 0;
5847 PyObject
* _argo1
= 0;
5848 char *_kwnames
[] = { "self","item","image", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5868 wxPy_BEGIN_ALLOW_THREADS
;
5869 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5871 wxPy_END_ALLOW_THREADS
;
5872 } Py_INCREF(Py_None
);
5873 _resultobj
= Py_None
;
5877 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5878 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5880 wxPyTreeCtrl
* _arg0
;
5881 wxTreeItemId
* _arg1
;
5882 bool _arg2
= (bool ) TRUE
;
5883 PyObject
* _argo0
= 0;
5884 PyObject
* _argo1
= 0;
5885 int tempbool2
= (int) TRUE
;
5886 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5905 _arg2
= (bool ) tempbool2
;
5907 wxPy_BEGIN_ALLOW_THREADS
;
5908 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5910 wxPy_END_ALLOW_THREADS
;
5911 } Py_INCREF(Py_None
);
5912 _resultobj
= Py_None
;
5916 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5917 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5919 data
= new wxPyTreeItemData();
5920 data
->SetId(item
); // set the id
5921 self
->SetItemData(item
, data
);
5925 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5927 wxPyTreeItemData
* _result
;
5928 wxPyTreeCtrl
* _arg0
;
5929 wxTreeItemId
* _arg1
;
5930 PyObject
* _argo0
= 0;
5931 PyObject
* _argo1
= 0;
5932 char *_kwnames
[] = { "self","item", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5953 wxPy_BEGIN_ALLOW_THREADS
;
5954 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5956 wxPy_END_ALLOW_THREADS
;
5958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5959 _resultobj
= Py_BuildValue("s",_ptemp
);
5962 _resultobj
= Py_None
;
5967 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5968 data
->SetId(item
); // set the id
5969 self
->SetItemData(item
, data
);
5971 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5973 wxPyTreeCtrl
* _arg0
;
5974 wxTreeItemId
* _arg1
;
5975 wxPyTreeItemData
* _arg2
;
5976 PyObject
* _argo0
= 0;
5977 PyObject
* _argo1
= 0;
5978 PyObject
* _argo2
= 0;
5979 char *_kwnames
[] = { "self","item","data", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5999 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
6006 wxPy_BEGIN_ALLOW_THREADS
;
6007 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
6009 wxPy_END_ALLOW_THREADS
;
6010 } Py_INCREF(Py_None
);
6011 _resultobj
= Py_None
;
6015 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6016 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6018 data
= new wxPyTreeItemData();
6019 data
->SetId(item
); // set the id
6020 self
->SetItemData(item
, data
);
6022 return data
->GetData();
6024 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6027 wxPyTreeCtrl
* _arg0
;
6028 wxTreeItemId
* _arg1
;
6029 PyObject
* _argo0
= 0;
6030 PyObject
* _argo1
= 0;
6031 char *_kwnames
[] = { "self","item", NULL
};
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
6037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
6044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
6054 wxPy_END_ALLOW_THREADS
;
6056 _resultobj
= _result
;
6061 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
6062 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6064 data
= new wxPyTreeItemData(obj
);
6065 data
->SetId(item
); // set the id
6066 self
->SetItemData(item
, data
);
6070 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6072 wxPyTreeCtrl
* _arg0
;
6073 wxTreeItemId
* _arg1
;
6075 PyObject
* _argo0
= 0;
6076 PyObject
* _argo1
= 0;
6077 PyObject
* _obj2
= 0;
6078 char *_kwnames
[] = { "self","item","obj", NULL
};
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
6091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
6104 wxPy_END_ALLOW_THREADS
;
6105 } Py_INCREF(Py_None
);
6106 _resultobj
= Py_None
;
6110 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
6111 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6114 wxPyTreeCtrl
* _arg0
;
6115 wxTreeItemId
* _arg1
;
6116 PyObject
* _argo0
= 0;
6117 PyObject
* _argo1
= 0;
6118 char *_kwnames
[] = { "self","item", NULL
};
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
6124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
6131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
6138 wxPy_BEGIN_ALLOW_THREADS
;
6139 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
6141 wxPy_END_ALLOW_THREADS
;
6142 } _resultobj
= Py_BuildValue("i",_result
);
6146 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6147 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
* _resultobj
;
6150 wxPyTreeCtrl
* _arg0
;
6151 wxTreeItemId
* _arg1
;
6152 PyObject
* _argo0
= 0;
6153 PyObject
* _argo1
= 0;
6154 char *_kwnames
[] = { "self","item", NULL
};
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6174 wxPy_BEGIN_ALLOW_THREADS
;
6175 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6177 wxPy_END_ALLOW_THREADS
;
6178 } _resultobj
= Py_BuildValue("i",_result
);
6182 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6183 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6186 wxPyTreeCtrl
* _arg0
;
6187 wxTreeItemId
* _arg1
;
6188 PyObject
* _argo0
= 0;
6189 PyObject
* _argo1
= 0;
6190 char *_kwnames
[] = { "self","item", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6210 wxPy_BEGIN_ALLOW_THREADS
;
6211 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6213 wxPy_END_ALLOW_THREADS
;
6214 } _resultobj
= Py_BuildValue("i",_result
);
6218 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6219 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6222 wxPyTreeCtrl
* _arg0
;
6223 wxTreeItemId
* _arg1
;
6224 PyObject
* _argo0
= 0;
6225 PyObject
* _argo1
= 0;
6226 char *_kwnames
[] = { "self","item", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6246 wxPy_BEGIN_ALLOW_THREADS
;
6247 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6249 wxPy_END_ALLOW_THREADS
;
6250 } _resultobj
= Py_BuildValue("i",_result
);
6254 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6255 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6257 wxTreeItemId
* _result
;
6258 wxPyTreeCtrl
* _arg0
;
6259 PyObject
* _argo0
= 0;
6260 char *_kwnames
[] = { "self", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6277 wxPy_END_ALLOW_THREADS
;
6278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6279 _resultobj
= Py_BuildValue("s",_ptemp
);
6283 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6284 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
* _resultobj
;
6286 wxTreeItemId
* _result
;
6287 wxPyTreeCtrl
* _arg0
;
6288 PyObject
* _argo0
= 0;
6289 char *_kwnames
[] = { "self", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6303 wxPy_BEGIN_ALLOW_THREADS
;
6304 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6306 wxPy_END_ALLOW_THREADS
;
6307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6308 _resultobj
= Py_BuildValue("s",_ptemp
);
6312 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6313 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxTreeItemId
* _result
;
6316 wxPyTreeCtrl
* _arg0
;
6317 wxTreeItemId
* _arg1
;
6318 PyObject
* _argo0
= 0;
6319 PyObject
* _argo1
= 0;
6320 char *_kwnames
[] = { "self","item", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6344 wxPy_END_ALLOW_THREADS
;
6345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6346 _resultobj
= Py_BuildValue("s",_ptemp
);
6350 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6351 bool doSave
= wxPyRestoreThread();
6352 PyObject
* rval
= PyList_New(0);
6353 wxArrayTreeItemIds array
;
6355 num
= self
->GetSelections(array
);
6356 for (x
=0; x
< num
; x
++) {
6357 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6358 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6359 PyList_Append(rval
, item
);
6361 wxPySaveThread(doSave
);
6364 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
* _resultobj
;
6367 wxPyTreeCtrl
* _arg0
;
6368 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6382 wxPy_BEGIN_ALLOW_THREADS
;
6383 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6385 wxPy_END_ALLOW_THREADS
;
6387 _resultobj
= _result
;
6392 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6393 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6396 wxPyTreeCtrl
* _arg0
;
6397 wxTreeItemId
* _arg1
;
6398 bool _arg2
= (bool ) TRUE
;
6399 PyObject
* _argo0
= 0;
6400 PyObject
* _argo1
= 0;
6401 int tempbool2
= (int) TRUE
;
6402 char *_kwnames
[] = { "self","item","recursively", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6421 _arg2
= (bool ) tempbool2
;
6423 wxPy_BEGIN_ALLOW_THREADS
;
6424 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6426 wxPy_END_ALLOW_THREADS
;
6427 } _resultobj
= Py_BuildValue("i",_result
);
6431 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6432 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6434 wxTreeItemId
* _result
;
6435 wxPyTreeCtrl
* _arg0
;
6436 wxTreeItemId
* _arg1
;
6438 PyObject
* _argo0
= 0;
6439 PyObject
* _argo1
= 0;
6441 PyObject
* _obj2
= 0;
6442 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6463 temp
= (long) PyInt_AsLong(_obj2
);
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6470 wxPy_END_ALLOW_THREADS
;
6471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6472 _resultobj
= Py_BuildValue("s",_ptemp
);
6475 o
= PyInt_FromLong((long) (*_arg2
));
6476 _resultobj
= t_output_helper(_resultobj
, o
);
6481 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6482 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6484 wxTreeItemId
* _result
;
6485 wxPyTreeCtrl
* _arg0
;
6486 wxTreeItemId
* _arg1
;
6488 PyObject
* _argo0
= 0;
6489 PyObject
* _argo1
= 0;
6491 PyObject
* _obj2
= 0;
6492 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6513 temp
= (long) PyInt_AsLong(_obj2
);
6517 wxPy_BEGIN_ALLOW_THREADS
;
6518 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6520 wxPy_END_ALLOW_THREADS
;
6521 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6522 _resultobj
= Py_BuildValue("s",_ptemp
);
6525 o
= PyInt_FromLong((long) (*_arg2
));
6526 _resultobj
= t_output_helper(_resultobj
, o
);
6531 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6532 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6534 wxTreeItemId
* _result
;
6535 wxPyTreeCtrl
* _arg0
;
6536 wxTreeItemId
* _arg1
;
6537 PyObject
* _argo0
= 0;
6538 PyObject
* _argo1
= 0;
6539 char *_kwnames
[] = { "self","item", NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6560 wxPy_BEGIN_ALLOW_THREADS
;
6561 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6563 wxPy_END_ALLOW_THREADS
;
6564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6565 _resultobj
= Py_BuildValue("s",_ptemp
);
6569 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6570 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
* _resultobj
;
6572 wxTreeItemId
* _result
;
6573 wxPyTreeCtrl
* _arg0
;
6574 wxTreeItemId
* _arg1
;
6575 PyObject
* _argo0
= 0;
6576 PyObject
* _argo1
= 0;
6577 char *_kwnames
[] = { "self","item", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6598 wxPy_BEGIN_ALLOW_THREADS
;
6599 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6601 wxPy_END_ALLOW_THREADS
;
6602 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6603 _resultobj
= Py_BuildValue("s",_ptemp
);
6607 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6608 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
* _resultobj
;
6610 wxTreeItemId
* _result
;
6611 wxPyTreeCtrl
* _arg0
;
6612 PyObject
* _argo0
= 0;
6613 char *_kwnames
[] = { "self", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6627 wxPy_BEGIN_ALLOW_THREADS
;
6628 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6630 wxPy_END_ALLOW_THREADS
;
6631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6632 _resultobj
= Py_BuildValue("s",_ptemp
);
6636 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6637 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6639 wxTreeItemId
* _result
;
6640 wxPyTreeCtrl
* _arg0
;
6641 wxTreeItemId
* _arg1
;
6642 PyObject
* _argo0
= 0;
6643 PyObject
* _argo1
= 0;
6644 char *_kwnames
[] = { "self","item", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6665 wxPy_BEGIN_ALLOW_THREADS
;
6666 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6668 wxPy_END_ALLOW_THREADS
;
6669 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6670 _resultobj
= Py_BuildValue("s",_ptemp
);
6674 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6675 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
* _resultobj
;
6677 wxTreeItemId
* _result
;
6678 wxPyTreeCtrl
* _arg0
;
6679 wxTreeItemId
* _arg1
;
6680 PyObject
* _argo0
= 0;
6681 PyObject
* _argo1
= 0;
6682 char *_kwnames
[] = { "self","item", NULL
};
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6706 wxPy_END_ALLOW_THREADS
;
6707 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6708 _resultobj
= Py_BuildValue("s",_ptemp
);
6712 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6713 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6715 wxTreeItemId
* _result
;
6716 wxPyTreeCtrl
* _arg0
;
6717 wxTreeItemId
* _arg1
;
6718 PyObject
* _argo0
= 0;
6719 PyObject
* _argo1
= 0;
6720 char *_kwnames
[] = { "self","item", NULL
};
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6741 wxPy_BEGIN_ALLOW_THREADS
;
6742 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6744 wxPy_END_ALLOW_THREADS
;
6745 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6746 _resultobj
= Py_BuildValue("s",_ptemp
);
6750 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6751 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
* _resultobj
;
6753 wxTreeItemId
* _result
;
6754 wxPyTreeCtrl
* _arg0
;
6756 int _arg2
= (int ) -1;
6757 int _arg3
= (int ) -1;
6758 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6759 PyObject
* _argo0
= 0;
6760 PyObject
* _obj1
= 0;
6761 PyObject
* _argo4
= 0;
6762 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6776 #if PYTHON_API_VERSION >= 1009
6777 char* tmpPtr
; int tmpSize
;
6778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6784 _arg1
= new wxString(tmpPtr
, tmpSize
);
6786 if (!PyString_Check(_obj1
)) {
6787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6794 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6801 wxPy_BEGIN_ALLOW_THREADS
;
6802 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6804 wxPy_END_ALLOW_THREADS
;
6805 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6806 _resultobj
= Py_BuildValue("s",_ptemp
);
6814 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6815 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6817 wxTreeItemId
* _result
;
6818 wxPyTreeCtrl
* _arg0
;
6819 wxTreeItemId
* _arg1
;
6821 int _arg3
= (int ) -1;
6822 int _arg4
= (int ) -1;
6823 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6824 PyObject
* _argo0
= 0;
6825 PyObject
* _argo1
= 0;
6826 PyObject
* _obj2
= 0;
6827 PyObject
* _argo5
= 0;
6828 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6849 #if PYTHON_API_VERSION >= 1009
6850 char* tmpPtr
; int tmpSize
;
6851 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6855 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6857 _arg2
= new wxString(tmpPtr
, tmpSize
);
6859 if (!PyString_Check(_obj2
)) {
6860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6863 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6867 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6877 wxPy_END_ALLOW_THREADS
;
6878 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6879 _resultobj
= Py_BuildValue("s",_ptemp
);
6887 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6888 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
* _resultobj
;
6890 wxTreeItemId
* _result
;
6891 wxPyTreeCtrl
* _arg0
;
6892 wxTreeItemId
* _arg1
;
6893 wxTreeItemId
* _arg2
;
6895 int _arg4
= (int ) -1;
6896 int _arg5
= (int ) -1;
6897 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6898 PyObject
* _argo0
= 0;
6899 PyObject
* _argo1
= 0;
6900 PyObject
* _argo2
= 0;
6901 PyObject
* _obj3
= 0;
6902 PyObject
* _argo6
= 0;
6903 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6924 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6931 #if PYTHON_API_VERSION >= 1009
6932 char* tmpPtr
; int tmpSize
;
6933 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6937 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6939 _arg3
= new wxString(tmpPtr
, tmpSize
);
6941 if (!PyString_Check(_obj3
)) {
6942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6945 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6949 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6956 wxPy_BEGIN_ALLOW_THREADS
;
6957 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6959 wxPy_END_ALLOW_THREADS
;
6960 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6961 _resultobj
= Py_BuildValue("s",_ptemp
);
6969 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6970 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
* _resultobj
;
6972 wxTreeItemId
* _result
;
6973 wxPyTreeCtrl
* _arg0
;
6974 wxTreeItemId
* _arg1
;
6977 int _arg4
= (int ) -1;
6978 int _arg5
= (int ) -1;
6979 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6980 PyObject
* _argo0
= 0;
6981 PyObject
* _argo1
= 0;
6982 PyObject
* _obj3
= 0;
6983 PyObject
* _argo6
= 0;
6984 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
7005 #if PYTHON_API_VERSION >= 1009
7006 char* tmpPtr
; int tmpSize
;
7007 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7011 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7013 _arg3
= new wxString(tmpPtr
, tmpSize
);
7015 if (!PyString_Check(_obj3
)) {
7016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7019 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7023 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
7030 wxPy_BEGIN_ALLOW_THREADS
;
7031 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7033 wxPy_END_ALLOW_THREADS
;
7034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7035 _resultobj
= Py_BuildValue("s",_ptemp
);
7043 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7044 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
* _resultobj
;
7046 wxTreeItemId
* _result
;
7047 wxPyTreeCtrl
* _arg0
;
7048 wxTreeItemId
* _arg1
;
7050 int _arg3
= (int ) -1;
7051 int _arg4
= (int ) -1;
7052 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7053 PyObject
* _argo0
= 0;
7054 PyObject
* _argo1
= 0;
7055 PyObject
* _obj2
= 0;
7056 PyObject
* _argo5
= 0;
7057 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
7071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
7078 #if PYTHON_API_VERSION >= 1009
7079 char* tmpPtr
; int tmpSize
;
7080 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7084 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7086 _arg2
= new wxString(tmpPtr
, tmpSize
);
7088 if (!PyString_Check(_obj2
)) {
7089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7092 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7096 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
7103 wxPy_BEGIN_ALLOW_THREADS
;
7104 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7106 wxPy_END_ALLOW_THREADS
;
7107 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7108 _resultobj
= Py_BuildValue("s",_ptemp
);
7116 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7117 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7119 wxPyTreeCtrl
* _arg0
;
7120 wxTreeItemId
* _arg1
;
7121 PyObject
* _argo0
= 0;
7122 PyObject
* _argo1
= 0;
7123 char *_kwnames
[] = { "self","item", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
7136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7143 wxPy_BEGIN_ALLOW_THREADS
;
7144 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7146 wxPy_END_ALLOW_THREADS
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7152 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7153 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7155 wxPyTreeCtrl
* _arg0
;
7156 wxTreeItemId
* _arg1
;
7157 PyObject
* _argo0
= 0;
7158 PyObject
* _argo1
= 0;
7159 char *_kwnames
[] = { "self","item", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7179 wxPy_BEGIN_ALLOW_THREADS
;
7180 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7182 wxPy_END_ALLOW_THREADS
;
7183 } Py_INCREF(Py_None
);
7184 _resultobj
= Py_None
;
7188 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7189 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7191 wxPyTreeCtrl
* _arg0
;
7192 PyObject
* _argo0
= 0;
7193 char *_kwnames
[] = { "self", NULL
};
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7206 wxPy_BEGIN_ALLOW_THREADS
;
7207 wxTreeCtrl_DeleteAllItems(_arg0
);
7209 wxPy_END_ALLOW_THREADS
;
7210 } Py_INCREF(Py_None
);
7211 _resultobj
= Py_None
;
7215 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7216 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7218 wxPyTreeCtrl
* _arg0
;
7219 wxTreeItemId
* _arg1
;
7220 PyObject
* _argo0
= 0;
7221 PyObject
* _argo1
= 0;
7222 char *_kwnames
[] = { "self","item", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7251 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7252 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7254 wxPyTreeCtrl
* _arg0
;
7255 wxTreeItemId
* _arg1
;
7256 PyObject
* _argo0
= 0;
7257 PyObject
* _argo1
= 0;
7258 char *_kwnames
[] = { "self","item", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7281 wxPy_END_ALLOW_THREADS
;
7282 } Py_INCREF(Py_None
);
7283 _resultobj
= Py_None
;
7287 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7288 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7290 wxPyTreeCtrl
* _arg0
;
7291 wxTreeItemId
* _arg1
;
7292 PyObject
* _argo0
= 0;
7293 PyObject
* _argo1
= 0;
7294 char *_kwnames
[] = { "self","item", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7314 wxPy_BEGIN_ALLOW_THREADS
;
7315 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7317 wxPy_END_ALLOW_THREADS
;
7318 } Py_INCREF(Py_None
);
7319 _resultobj
= Py_None
;
7323 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7324 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7326 wxPyTreeCtrl
* _arg0
;
7327 wxTreeItemId
* _arg1
;
7328 PyObject
* _argo0
= 0;
7329 PyObject
* _argo1
= 0;
7330 char *_kwnames
[] = { "self","item", NULL
};
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7343 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7350 wxPy_BEGIN_ALLOW_THREADS
;
7351 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7353 wxPy_END_ALLOW_THREADS
;
7354 } Py_INCREF(Py_None
);
7355 _resultobj
= Py_None
;
7359 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7360 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
* _resultobj
;
7362 wxPyTreeCtrl
* _arg0
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7377 wxPy_BEGIN_ALLOW_THREADS
;
7378 wxTreeCtrl_Unselect(_arg0
);
7380 wxPy_END_ALLOW_THREADS
;
7381 } Py_INCREF(Py_None
);
7382 _resultobj
= Py_None
;
7386 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7387 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7389 wxPyTreeCtrl
* _arg0
;
7390 PyObject
* _argo0
= 0;
7391 char *_kwnames
[] = { "self", NULL
};
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7404 wxPy_BEGIN_ALLOW_THREADS
;
7405 wxTreeCtrl_UnselectAll(_arg0
);
7407 wxPy_END_ALLOW_THREADS
;
7408 } Py_INCREF(Py_None
);
7409 _resultobj
= Py_None
;
7413 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7414 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
* _resultobj
;
7416 wxPyTreeCtrl
* _arg0
;
7417 wxTreeItemId
* _arg1
;
7418 PyObject
* _argo0
= 0;
7419 PyObject
* _argo1
= 0;
7420 char *_kwnames
[] = { "self","item", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7440 wxPy_BEGIN_ALLOW_THREADS
;
7441 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7443 wxPy_END_ALLOW_THREADS
;
7444 } Py_INCREF(Py_None
);
7445 _resultobj
= Py_None
;
7449 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7450 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
* _resultobj
;
7452 wxPyTreeCtrl
* _arg0
;
7453 wxTreeItemId
* _arg1
;
7454 PyObject
* _argo0
= 0;
7455 PyObject
* _argo1
= 0;
7456 char *_kwnames
[] = { "self","item", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7476 wxPy_BEGIN_ALLOW_THREADS
;
7477 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7479 wxPy_END_ALLOW_THREADS
;
7480 } Py_INCREF(Py_None
);
7481 _resultobj
= Py_None
;
7485 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7486 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
* _resultobj
;
7488 wxPyTreeCtrl
* _arg0
;
7489 wxTreeItemId
* _arg1
;
7490 PyObject
* _argo0
= 0;
7491 PyObject
* _argo1
= 0;
7492 char *_kwnames
[] = { "self","item", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7512 wxPy_BEGIN_ALLOW_THREADS
;
7513 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7515 wxPy_END_ALLOW_THREADS
;
7516 } Py_INCREF(Py_None
);
7517 _resultobj
= Py_None
;
7521 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7522 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
* _resultobj
;
7524 wxTextCtrl
* _result
;
7525 wxPyTreeCtrl
* _arg0
;
7526 wxTreeItemId
* _arg1
;
7527 PyObject
* _argo0
= 0;
7528 PyObject
* _argo1
= 0;
7529 char *_kwnames
[] = { "self","item", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7550 wxPy_BEGIN_ALLOW_THREADS
;
7551 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7553 wxPy_END_ALLOW_THREADS
;
7555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7556 _resultobj
= Py_BuildValue("s",_ptemp
);
7559 _resultobj
= Py_None
;
7564 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
7565 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
* _resultobj
;
7567 wxTextCtrl
* _result
;
7568 wxPyTreeCtrl
* _arg0
;
7569 PyObject
* _argo0
= 0;
7570 char *_kwnames
[] = { "self", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
7584 wxPy_BEGIN_ALLOW_THREADS
;
7585 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
7587 wxPy_END_ALLOW_THREADS
;
7589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7590 _resultobj
= Py_BuildValue("s",_ptemp
);
7593 _resultobj
= Py_None
;
7598 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
7599 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7601 wxPyTreeCtrl
* _arg0
;
7602 wxTreeItemId
* _arg1
;
7603 int _arg2
= (int ) FALSE
;
7604 PyObject
* _argo0
= 0;
7605 PyObject
* _argo1
= 0;
7606 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
7619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
7626 wxPy_BEGIN_ALLOW_THREADS
;
7627 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
7629 wxPy_END_ALLOW_THREADS
;
7630 } Py_INCREF(Py_None
);
7631 _resultobj
= Py_None
;
7635 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7636 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7638 wxPyTreeCtrl
* _arg0
;
7639 wxTreeItemId
* _arg1
;
7640 PyObject
* _argo0
= 0;
7641 PyObject
* _argo1
= 0;
7642 char *_kwnames
[] = { "self","item", NULL
};
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7662 wxPy_BEGIN_ALLOW_THREADS
;
7663 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7665 wxPy_END_ALLOW_THREADS
;
7666 } Py_INCREF(Py_None
);
7667 _resultobj
= Py_None
;
7671 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7672 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7674 wxPyTreeCtrl
* _arg0
;
7675 wxTreeItemId
* _arg1
;
7676 int _arg2
= (int ) TRUE
;
7677 PyObject
* _argo0
= 0;
7678 PyObject
* _argo1
= 0;
7679 char *_kwnames
[] = { "self","item","bold", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7699 wxPy_BEGIN_ALLOW_THREADS
;
7700 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7702 wxPy_END_ALLOW_THREADS
;
7703 } Py_INCREF(Py_None
);
7704 _resultobj
= Py_None
;
7708 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7709 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7712 wxPyTreeCtrl
* _arg0
;
7713 wxTreeItemId
* _arg1
;
7714 PyObject
* _argo0
= 0;
7715 PyObject
* _argo1
= 0;
7716 char *_kwnames
[] = { "self","item", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7736 wxPy_BEGIN_ALLOW_THREADS
;
7737 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7739 wxPy_END_ALLOW_THREADS
;
7740 } _resultobj
= Py_BuildValue("i",_result
);
7744 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7745 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
* _resultobj
;
7747 wxTreeItemId
* _result
;
7748 wxPyTreeCtrl
* _arg0
;
7752 PyObject
* _argo0
= 0;
7754 PyObject
* _obj1
= 0;
7755 char *_kwnames
[] = { "self","point", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7773 if (! wxPoint_helper(_obj1
, &_arg1
))
7777 wxPy_BEGIN_ALLOW_THREADS
;
7778 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7780 wxPy_END_ALLOW_THREADS
;
7781 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7782 _resultobj
= Py_BuildValue("s",_ptemp
);
7785 o
= PyInt_FromLong((long) (*_arg2
));
7786 _resultobj
= t_output_helper(_resultobj
, o
);
7791 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7792 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
* _resultobj
;
7794 wxPyTreeCtrl
* _arg0
;
7795 wxTreeItemId
* _arg1
;
7797 PyObject
* _argo0
= 0;
7798 PyObject
* _argo1
= 0;
7800 PyObject
* _obj2
= 0;
7801 char *_kwnames
[] = { "self","item","col", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7822 if (! wxColour_helper(_obj2
, &_arg2
))
7826 wxPy_BEGIN_ALLOW_THREADS
;
7827 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7829 wxPy_END_ALLOW_THREADS
;
7830 } Py_INCREF(Py_None
);
7831 _resultobj
= Py_None
;
7835 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7836 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7838 wxPyTreeCtrl
* _arg0
;
7839 wxTreeItemId
* _arg1
;
7841 PyObject
* _argo0
= 0;
7842 PyObject
* _argo1
= 0;
7844 PyObject
* _obj2
= 0;
7845 char *_kwnames
[] = { "self","item","col", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7866 if (! wxColour_helper(_obj2
, &_arg2
))
7870 wxPy_BEGIN_ALLOW_THREADS
;
7871 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7873 wxPy_END_ALLOW_THREADS
;
7874 } Py_INCREF(Py_None
);
7875 _resultobj
= Py_None
;
7879 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7880 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
* _resultobj
;
7882 wxPyTreeCtrl
* _arg0
;
7883 wxTreeItemId
* _arg1
;
7885 PyObject
* _argo0
= 0;
7886 PyObject
* _argo1
= 0;
7887 PyObject
* _argo2
= 0;
7888 char *_kwnames
[] = { "self","item","font", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7908 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7915 wxPy_BEGIN_ALLOW_THREADS
;
7916 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7918 wxPy_END_ALLOW_THREADS
;
7919 } Py_INCREF(Py_None
);
7920 _resultobj
= Py_None
;
7924 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
7925 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7927 wxPyTreeCtrl
* _arg0
;
7928 wxTreeItemId
* _arg1
;
7929 int _arg2
= (int ) TRUE
;
7930 PyObject
* _argo0
= 0;
7931 PyObject
* _argo1
= 0;
7932 char *_kwnames
[] = { "self","item","highlight", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
7945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
7952 wxPy_BEGIN_ALLOW_THREADS
;
7953 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
7955 wxPy_END_ALLOW_THREADS
;
7956 } Py_INCREF(Py_None
);
7957 _resultobj
= Py_None
;
7961 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
7963 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
7964 bool doSave
= wxPyRestoreThread();
7965 wxRect
* r
= new wxRect(rect
);
7966 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
7967 wxPySaveThread(doSave
);
7975 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
* _resultobj
;
7978 wxPyTreeCtrl
* _arg0
;
7979 wxTreeItemId
* _arg1
;
7980 int _arg2
= (int ) FALSE
;
7981 PyObject
* _argo0
= 0;
7982 PyObject
* _argo1
= 0;
7983 char *_kwnames
[] = { "self","item","textOnly", NULL
};
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
7996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
8003 wxPy_BEGIN_ALLOW_THREADS
;
8004 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
8006 wxPy_END_ALLOW_THREADS
;
8008 _resultobj
= _result
;
8013 static PyMethodDef controls2cMethods
[] = {
8014 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
8245 * This table is used by the pointer type-checker
8247 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8248 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8249 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8250 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8251 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8252 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8253 { "_wxEvent","_class_wxEvent",0},
8254 { "_class_wxActivateEvent","_wxActivateEvent",0},
8255 { "_signed_long","_long",0},
8256 { "_wxMenuEvent","_class_wxMenuEvent",0},
8257 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8258 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8259 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8260 { "_wxPrintQuality","_wxCoord",0},
8261 { "_wxPrintQuality","_int",0},
8262 { "_wxPrintQuality","_signed_int",0},
8263 { "_wxPrintQuality","_unsigned_int",0},
8264 { "_wxPrintQuality","_wxWindowID",0},
8265 { "_wxPrintQuality","_uint",0},
8266 { "_wxPrintQuality","_EBool",0},
8267 { "_wxPrintQuality","_size_t",0},
8268 { "_wxPrintQuality","_time_t",0},
8269 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8270 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8271 { "_class_wxRegionIterator","_wxRegionIterator",0},
8272 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8273 { "_class_wxMenuBar","_wxMenuBar",0},
8274 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8275 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8276 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8277 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8278 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8279 { "_class_wxEvtHandler","_wxEvtHandler",0},
8280 { "_wxPaintEvent","_class_wxPaintEvent",0},
8281 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8282 { "_wxCursor","_class_wxCursor",0},
8283 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8284 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8285 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8286 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8287 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8288 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8289 { "_wxMask","_class_wxMask",0},
8290 { "_wxPen","_class_wxPen",0},
8291 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8292 { "_byte","_unsigned_char",0},
8293 { "_wxDataObject","_class_wxDataObject",0},
8294 { "_wxStaticBox","_class_wxStaticBox",0},
8295 { "_wxColourDatabase","_class_wxColourDatabase",0},
8296 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8297 { "_wxPyDropSource","_class_wxPyDropSource",0},
8298 { "_wxChoice","_class_wxChoice",0},
8299 { "_wxSlider","_class_wxSlider",0},
8300 { "_long","_unsigned_long",0},
8301 { "_long","_signed_long",0},
8302 { "_wxImageList","_class_wxImageList",0},
8303 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8304 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8305 { "_wxBitmapButton","_class_wxBitmapButton",0},
8306 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8307 { "_class_wxClipboard","_wxClipboard",0},
8308 { "_class_wxGauge","_wxGauge",0},
8309 { "_wxDC","_class_wxDC",0},
8310 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8311 { "_wxListEvent","_class_wxListEvent",0},
8312 { "_wxSpinEvent","_class_wxSpinEvent",0},
8313 { "_size_t","_wxCoord",0},
8314 { "_size_t","_wxPrintQuality",0},
8315 { "_size_t","_time_t",0},
8316 { "_size_t","_unsigned_int",0},
8317 { "_size_t","_int",0},
8318 { "_size_t","_wxWindowID",0},
8319 { "_size_t","_uint",0},
8320 { "_class_wxRealPoint","_wxRealPoint",0},
8321 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8322 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8323 { "_class_wxMenuItem","_wxMenuItem",0},
8324 { "_class_wxPaintEvent","_wxPaintEvent",0},
8325 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8326 { "_wxPanel","_class_wxPanel",0},
8327 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8328 { "_wxCheckBox","_class_wxCheckBox",0},
8329 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8330 { "_wxPyEvent","_class_wxPyEvent",0},
8331 { "_wxTextCtrl","_class_wxTextCtrl",0},
8332 { "_class_wxMask","_wxMask",0},
8333 { "_wxTextDataObject","_class_wxTextDataObject",0},
8334 { "_class_wxKeyEvent","_wxKeyEvent",0},
8335 { "_wxColour","_class_wxColour",0},
8336 { "_class_wxDialog","_wxDialog",0},
8337 { "_class_wxFileDataObject","_wxFileDataObject",0},
8338 { "_wxIdleEvent","_class_wxIdleEvent",0},
8339 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8340 { "_class_wxDataObject","_wxDataObject",0},
8341 { "_wxStaticLine","_class_wxStaticLine",0},
8342 { "_wxBrush","_class_wxBrush",0},
8343 { "_wxToggleButton","_class_wxToggleButton",0},
8344 { "_wxDataFormat","_class_wxDataFormat",0},
8345 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8346 { "_wxShowEvent","_class_wxShowEvent",0},
8347 { "_uint","_wxCoord",0},
8348 { "_uint","_wxPrintQuality",0},
8349 { "_uint","_time_t",0},
8350 { "_uint","_size_t",0},
8351 { "_uint","_unsigned_int",0},
8352 { "_uint","_int",0},
8353 { "_uint","_wxWindowID",0},
8354 { "_wxChar","_char",0},
8355 { "_wxPyValidator","_class_wxPyValidator",0},
8356 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8357 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8358 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8359 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8360 { "_class_wxEvent","_wxEvent",0},
8361 { "_wxCheckListBox","_class_wxCheckListBox",0},
8362 { "_wxRect","_class_wxRect",0},
8363 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8364 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8365 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8366 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8367 { "_wxCommandEvent","_class_wxCommandEvent",0},
8368 { "_wxSizeEvent","_class_wxSizeEvent",0},
8369 { "_wxPoint","_class_wxPoint",0},
8370 { "_class_wxButton","_wxButton",0},
8371 { "_wxRadioBox","_class_wxRadioBox",0},
8372 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8373 { "_char","_wxChar",0},
8374 { "_wxBitmap","_class_wxBitmap",0},
8375 { "_wxPenList","_class_wxPenList",0},
8376 { "_wxWindowDC","_class_wxWindowDC",0},
8377 { "_wxTimerEvent","_class_wxTimerEvent",0},
8378 { "_wxScrollBar","_class_wxScrollBar",0},
8379 { "_wxSpinButton","_class_wxSpinButton",0},
8380 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8381 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8382 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8383 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8384 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8385 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8386 { "_class_wxValidator","_wxValidator",0},
8387 { "_class_wxPyEvent","_wxPyEvent",0},
8388 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8389 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8390 { "_wxListItem","_class_wxListItem",0},
8391 { "_wxDropTarget","_class_wxDropTarget",0},
8392 { "_class_wxStaticLine","_wxStaticLine",0},
8393 { "_class_wxColourDatabase","_wxColourDatabase",0},
8394 { "_wxScrollEvent","_class_wxScrollEvent",0},
8395 { "_EBool","_wxCoord",0},
8396 { "_EBool","_wxPrintQuality",0},
8397 { "_EBool","_signed_int",0},
8398 { "_EBool","_int",0},
8399 { "_EBool","_wxWindowID",0},
8400 { "_class_wxRegion","_wxRegion",0},
8401 { "_class_wxDataFormat","_wxDataFormat",0},
8402 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8403 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8404 { "_wxStaticText","_class_wxStaticText",0},
8405 { "_wxFont","_class_wxFont",0},
8406 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8407 { "_wxCloseEvent","_class_wxCloseEvent",0},
8408 { "_unsigned_long","_long",0},
8409 { "_class_wxRect","_wxRect",0},
8410 { "_class_wxDC","_wxDC",0},
8411 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8412 { "_class_wxBrushList","_wxBrushList",0},
8413 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8414 { "_class_wxPenList","_wxPenList",0},
8415 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8416 { "_class_wxTreeEvent","_wxTreeEvent",0},
8417 { "_wxFocusEvent","_class_wxFocusEvent",0},
8418 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8419 { "_class_wxTimerEvent","_wxTimerEvent",0},
8420 { "_class_wxSpinButton","_wxSpinButton",0},
8421 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8422 { "_class_wxPanel","_wxPanel",0},
8423 { "_class_wxCheckBox","_wxCheckBox",0},
8424 { "_wxComboBox","_class_wxComboBox",0},
8425 { "_wxRadioButton","_class_wxRadioButton",0},
8426 { "_signed_int","_wxCoord",0},
8427 { "_signed_int","_wxPrintQuality",0},
8428 { "_signed_int","_EBool",0},
8429 { "_signed_int","_wxWindowID",0},
8430 { "_signed_int","_int",0},
8431 { "_class_wxTextCtrl","_wxTextCtrl",0},
8432 { "_class_wxListItemAttr","_wxListItemAttr",0},
8433 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8434 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8435 { "_class_wxTextDataObject","_wxTextDataObject",0},
8436 { "_wxMenu","_class_wxMenu",0},
8437 { "_class_wxMoveEvent","_wxMoveEvent",0},
8438 { "_wxListBox","_class_wxListBox",0},
8439 { "_wxScreenDC","_class_wxScreenDC",0},
8440 { "_WXTYPE","_short",0},
8441 { "_WXTYPE","_signed_short",0},
8442 { "_WXTYPE","_unsigned_short",0},
8443 { "_class_wxDropTarget","_wxDropTarget",0},
8444 { "_class_wxBrush","_wxBrush",0},
8445 { "_unsigned_short","_WXTYPE",0},
8446 { "_unsigned_short","_short",0},
8447 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8448 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8449 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8450 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8451 { "_class_wxWindow","_wxWindow",0},
8452 { "_class_wxStaticText","_wxStaticText",0},
8453 { "_class_wxFont","_wxFont",0},
8454 { "_wxClipboard","_class_wxClipboard",0},
8455 { "_class_wxPyValidator","_wxPyValidator",0},
8456 { "_class_wxCloseEvent","_wxCloseEvent",0},
8457 { "_wxBusyInfo","_class_wxBusyInfo",0},
8458 { "_wxFontList","_class_wxFontList",0},
8459 { "_class_wxMenuEvent","_wxMenuEvent",0},
8460 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8461 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8462 { "_wxClientDC","_class_wxClientDC",0},
8463 { "_wxMouseEvent","_class_wxMouseEvent",0},
8464 { "_wxListCtrl","_class_wxListCtrl",0},
8465 { "_class_wxPoint","_wxPoint",0},
8466 { "_wxRealPoint","_class_wxRealPoint",0},
8467 { "_class_wxRadioBox","_wxRadioBox",0},
8468 { "_signed_short","_WXTYPE",0},
8469 { "_signed_short","_short",0},
8470 { "_wxMemoryDC","_class_wxMemoryDC",0},
8471 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8472 { "_wxPaintDC","_class_wxPaintDC",0},
8473 { "_class_wxWindowDC","_wxWindowDC",0},
8474 { "_class_wxFocusEvent","_wxFocusEvent",0},
8475 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8476 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8477 { "_class_wxCursor","_wxCursor",0},
8478 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8479 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8480 { "_wxTreeItemId","_class_wxTreeItemId",0},
8481 { "_unsigned_char","_byte",0},
8482 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8483 { "_class_wxMenu","_wxMenu",0},
8484 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8485 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8486 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8487 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8488 { "_wxControl","_class_wxControl",0},
8489 { "_class_wxListBox","_wxListBox",0},
8490 { "_unsigned_int","_wxCoord",0},
8491 { "_unsigned_int","_wxPrintQuality",0},
8492 { "_unsigned_int","_time_t",0},
8493 { "_unsigned_int","_size_t",0},
8494 { "_unsigned_int","_uint",0},
8495 { "_unsigned_int","_wxWindowID",0},
8496 { "_unsigned_int","_int",0},
8497 { "_wxIcon","_class_wxIcon",0},
8498 { "_wxDialog","_class_wxDialog",0},
8499 { "_class_wxListItem","_wxListItem",0},
8500 { "_class_wxPen","_wxPen",0},
8501 { "_short","_WXTYPE",0},
8502 { "_short","_unsigned_short",0},
8503 { "_short","_signed_short",0},
8504 { "_class_wxStaticBox","_wxStaticBox",0},
8505 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8506 { "_class_wxPyDropSource","_wxPyDropSource",0},
8507 { "_class_wxScrollEvent","_wxScrollEvent",0},
8508 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8509 { "_class_wxChoice","_wxChoice",0},
8510 { "_class_wxSlider","_wxSlider",0},
8511 { "_class_wxImageList","_wxImageList",0},
8512 { "_class_wxBitmapButton","_wxBitmapButton",0},
8513 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8514 { "_wxWindowID","_wxCoord",0},
8515 { "_wxWindowID","_wxPrintQuality",0},
8516 { "_wxWindowID","_time_t",0},
8517 { "_wxWindowID","_size_t",0},
8518 { "_wxWindowID","_EBool",0},
8519 { "_wxWindowID","_uint",0},
8520 { "_wxWindowID","_int",0},
8521 { "_wxWindowID","_signed_int",0},
8522 { "_wxWindowID","_unsigned_int",0},
8523 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8524 { "_int","_wxCoord",0},
8525 { "_int","_wxPrintQuality",0},
8526 { "_int","_time_t",0},
8527 { "_int","_size_t",0},
8528 { "_int","_EBool",0},
8529 { "_int","_uint",0},
8530 { "_int","_wxWindowID",0},
8531 { "_int","_unsigned_int",0},
8532 { "_int","_signed_int",0},
8533 { "_class_wxMouseEvent","_wxMouseEvent",0},
8534 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8535 { "_class_wxListEvent","_wxListEvent",0},
8536 { "_class_wxSpinEvent","_wxSpinEvent",0},
8537 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8538 { "_time_t","_wxCoord",0},
8539 { "_time_t","_wxPrintQuality",0},
8540 { "_time_t","_unsigned_int",0},
8541 { "_time_t","_int",0},
8542 { "_time_t","_wxWindowID",0},
8543 { "_time_t","_uint",0},
8544 { "_time_t","_size_t",0},
8545 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8546 { "_wxButton","_class_wxButton",0},
8547 { "_wxSize","_class_wxSize",0},
8548 { "_wxRegionIterator","_class_wxRegionIterator",0},
8549 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8550 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8551 { "_class_wxPaintDC","_wxPaintDC",0},
8552 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8553 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8554 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8555 { "_class_wxComboBox","_wxComboBox",0},
8556 { "_class_wxRadioButton","_wxRadioButton",0},
8557 { "_wxValidator","_class_wxValidator",0},
8558 { "_class_wxTreeItemId","_wxTreeItemId",0},
8559 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8560 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8561 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8562 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8563 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8564 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8565 { "_class_wxControl","_wxControl",0},
8566 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8567 { "_class_wxIcon","_wxIcon",0},
8568 { "_class_wxColour","_wxColour",0},
8569 { "_class_wxScreenDC","_wxScreenDC",0},
8570 { "_wxPalette","_class_wxPalette",0},
8571 { "_class_wxIdleEvent","_wxIdleEvent",0},
8572 { "_wxCoord","_int",0},
8573 { "_wxCoord","_signed_int",0},
8574 { "_wxCoord","_unsigned_int",0},
8575 { "_wxCoord","_wxWindowID",0},
8576 { "_wxCoord","_uint",0},
8577 { "_wxCoord","_EBool",0},
8578 { "_wxCoord","_size_t",0},
8579 { "_wxCoord","_time_t",0},
8580 { "_wxCoord","_wxPrintQuality",0},
8581 { "_wxEraseEvent","_class_wxEraseEvent",0},
8582 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8583 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8584 { "_class_wxToggleButton","_wxToggleButton",0},
8585 { "_wxRegion","_class_wxRegion",0},
8586 { "_class_wxShowEvent","_wxShowEvent",0},
8587 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8588 { "_wxActivateEvent","_class_wxActivateEvent",0},
8589 { "_wxGauge","_class_wxGauge",0},
8590 { "_class_wxCheckListBox","_wxCheckListBox",0},
8591 { "_class_wxBusyInfo","_wxBusyInfo",0},
8592 { "_class_wxFontList","_wxFontList",0},
8593 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8594 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8595 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8596 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8597 { "_class_wxCommandEvent","_wxCommandEvent",0},
8598 { "_class_wxClientDC","_wxClientDC",0},
8599 { "_class_wxSizeEvent","_wxSizeEvent",0},
8600 { "_class_wxListCtrl","_wxListCtrl",0},
8601 { "_wxBrushList","_class_wxBrushList",0},
8602 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8603 { "_class_wxSize","_wxSize",0},
8604 { "_class_wxBitmap","_wxBitmap",0},
8605 { "_class_wxMemoryDC","_wxMemoryDC",0},
8606 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8607 { "_wxMenuBar","_class_wxMenuBar",0},
8608 { "_wxTreeEvent","_class_wxTreeEvent",0},
8609 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8610 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8611 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8612 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8613 { "_wxEvtHandler","_class_wxEvtHandler",0},
8614 { "_wxMenuItem","_class_wxMenuItem",0},
8615 { "_class_wxScrollBar","_wxScrollBar",0},
8616 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8617 { "_wxListItemAttr","_class_wxListItemAttr",0},
8618 { "_wxKeyEvent","_class_wxKeyEvent",0},
8619 { "_wxMoveEvent","_class_wxMoveEvent",0},
8620 { "_class_wxPalette","_wxPalette",0},
8621 { "_wxFileDataObject","_class_wxFileDataObject",0},
8622 { "_class_wxEraseEvent","_wxEraseEvent",0},
8623 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8624 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8625 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8626 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8627 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8628 { "_wxWindow","_class_wxWindow",0},
8629 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8632 static PyObject
*SWIG_globals
;
8636 SWIGEXPORT(void) initcontrols2c() {
8638 SWIG_globals
= SWIG_newvarlink();
8639 m
= Py_InitModule("controls2c", controls2cMethods
);
8640 d
= PyModule_GetDict(m
);
8641 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8642 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8643 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8644 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8645 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8646 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8647 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8648 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8649 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8650 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8651 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8652 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8653 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8654 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8655 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8656 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8657 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8658 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8659 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8660 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8661 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8662 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8663 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8664 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8665 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8666 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8667 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8668 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8669 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8670 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8671 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8672 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8673 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8674 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8675 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8676 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8677 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8678 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8679 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8680 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8681 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8682 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8683 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8684 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8685 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8686 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8687 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8688 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8689 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8690 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8691 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8692 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8693 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8694 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8695 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8696 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8697 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8698 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8699 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8700 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8701 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8702 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8703 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8704 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8705 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8706 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8707 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8708 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8709 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8710 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8711 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8712 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8713 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8714 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8715 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8716 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8717 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8718 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8719 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8720 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8721 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8722 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8723 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8724 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8725 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8726 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8727 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8728 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8729 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8730 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8731 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8732 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8733 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8734 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8735 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8736 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
8739 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8740 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);