2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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>
64 #include <wx/imaglist.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "String type required";
98 // C++ Version of a Python aware class
99 class wxPyListCtrl
: public wxListCtrl
{
100 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
102 wxPyListCtrl() : wxListCtrl() {}
103 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
107 const wxValidator
& validator
,
109 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
111 bool Create(wxWindow
* parent
, wxWindowID id
,
115 const wxValidator
& validator
,
117 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
120 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
121 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
122 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
127 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
129 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
130 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
131 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
132 // Python aware sorting function for wxPyListCtrl
133 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
135 PyObject
* func
= (PyObject
*)funcPtr
;
136 wxPyTState
* state
= wxPyBeginBlockThreads();
138 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
139 PyObject
* result
= PyEval_CallObject(func
, args
);
142 retval
= PyInt_AsLong(result
);
146 wxPyEndBlockThreads(state
);
151 class wxPyTreeItemData
: public wxTreeItemData
{
153 wxPyTreeItemData(PyObject
* obj
= NULL
) {
160 ~wxPyTreeItemData() {
161 wxPyTState
* state
= wxPyBeginBlockThreads();
163 wxPyEndBlockThreads(state
);
166 PyObject
* GetData() {
171 void SetData(PyObject
* obj
) {
172 wxPyTState
* state
= wxPyBeginBlockThreads();
174 wxPyEndBlockThreads(state
);
181 // C++ version of Python aware wxTreeCtrl
182 class wxPyTreeCtrl
: public wxTreeCtrl
{
183 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
185 wxPyTreeCtrl() : wxTreeCtrl() {}
186 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
190 const wxValidator
& validator
,
192 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
194 bool Create(wxWindow
*parent
, wxWindowID id
,
198 const wxValidator
& validator
,
200 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
204 int OnCompareItems(const wxTreeItemId
& item1
,
205 const wxTreeItemId
& item2
) {
208 wxPyTState
* state
= wxPyBeginBlockThreads();
209 if ((found
= m_myInst
.findCallback("OnCompareItems")))
210 rval
= m_myInst
.callCallback(Py_BuildValue(
212 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
213 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
214 wxPyEndBlockThreads(state
);
216 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
222 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
227 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
228 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxListItemAttr
* _result
;
231 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
232 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
233 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
235 PyObject
* _obj0
= 0;
237 PyObject
* _obj1
= 0;
238 PyObject
* _argo2
= 0;
239 char *_kwnames
[] = { "colText","colBack","font", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
248 if (! wxColour_helper(_obj0
, &_arg0
))
254 if (! wxColour_helper(_obj1
, &_arg1
))
258 if (_argo2
== Py_None
) { _arg2
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
268 wxPy_END_ALLOW_THREADS
;
269 if (PyErr_Occurred()) return NULL
;
271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
272 _resultobj
= Py_BuildValue("s",_ptemp
);
275 _resultobj
= Py_None
;
280 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
281 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxListItemAttr
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colText", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
317 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxListItemAttr
* _arg0
;
321 PyObject
* _argo0
= 0;
323 PyObject
* _obj1
= 0;
324 char *_kwnames
[] = { "self","colBack", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
338 if (! wxColour_helper(_obj1
, &_arg1
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
345 wxPy_END_ALLOW_THREADS
;
346 if (PyErr_Occurred()) return NULL
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
353 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxListItemAttr
* _arg0
;
357 PyObject
* _argo0
= 0;
358 PyObject
* _argo1
= 0;
359 char *_kwnames
[] = { "self","font", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 wxListItemAttr_SetFont(_arg0
,*_arg1
);
382 wxPy_END_ALLOW_THREADS
;
383 if (PyErr_Occurred()) return NULL
;
384 } Py_INCREF(Py_None
);
385 _resultobj
= Py_None
;
389 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
390 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 wxListItemAttr
* _arg0
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 if (PyErr_Occurred()) return NULL
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
418 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
421 wxListItemAttr
* _arg0
;
422 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
439 wxPy_END_ALLOW_THREADS
;
440 if (PyErr_Occurred()) return NULL
;
441 } _resultobj
= Py_BuildValue("i",_result
);
445 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
446 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
449 wxListItemAttr
* _arg0
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
467 wxPy_END_ALLOW_THREADS
;
468 if (PyErr_Occurred()) return NULL
;
469 } _resultobj
= Py_BuildValue("i",_result
);
473 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
474 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxListItemAttr
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
495 _result
= (wxColour
*) &_result_ref
;
497 wxPy_END_ALLOW_THREADS
;
498 if (PyErr_Occurred()) return NULL
;
500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
504 _resultobj
= Py_None
;
509 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
510 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxListItemAttr
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
531 _result
= (wxColour
*) &_result_ref
;
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
537 _resultobj
= Py_BuildValue("s",_ptemp
);
540 _resultobj
= Py_None
;
545 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
546 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxListItemAttr
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
567 _result
= (wxFont
*) &_result_ref
;
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
573 _resultobj
= Py_BuildValue("s",_ptemp
);
576 _resultobj
= Py_None
;
581 static void *SwigwxListItemTowxObject(void *ptr
) {
584 src
= (wxListItem
*) ptr
;
585 dest
= (wxObject
*) src
;
586 return (void *) dest
;
589 #define new_wxListItem() (new wxListItem())
590 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxListItem
* _result
;
593 char *_kwnames
[] = { NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (wxListItem
*)new_wxListItem();
603 wxPy_END_ALLOW_THREADS
;
604 if (PyErr_Occurred()) return NULL
;
606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
607 _resultobj
= Py_BuildValue("s",_ptemp
);
610 _resultobj
= Py_None
;
615 #define delete_wxListItem(_swigobj) (delete _swigobj)
616 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 delete_wxListItem(_arg0
);
636 wxPy_END_ALLOW_THREADS
;
637 if (PyErr_Occurred()) return NULL
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
644 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxListItem_Clear(_arg0
);
664 wxPy_END_ALLOW_THREADS
;
665 if (PyErr_Occurred()) return NULL
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
672 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 wxListItem_ClearAttributes(_arg0
);
692 wxPy_END_ALLOW_THREADS
;
693 if (PyErr_Occurred()) return NULL
;
694 } Py_INCREF(Py_None
);
695 _resultobj
= Py_None
;
699 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
700 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self","mask", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxListItem_SetMask(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
722 if (PyErr_Occurred()) return NULL
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
729 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","id", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxListItem_SetId(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
758 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","col", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 wxListItem_SetColumn(_arg0
,_arg1
);
779 wxPy_END_ALLOW_THREADS
;
780 if (PyErr_Occurred()) return NULL
;
781 } Py_INCREF(Py_None
);
782 _resultobj
= Py_None
;
786 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
787 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self","state", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 wxListItem_SetState(_arg0
,_arg1
);
808 wxPy_END_ALLOW_THREADS
;
809 if (PyErr_Occurred()) return NULL
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
815 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
816 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self","stateMask", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 wxListItem_SetStateMask(_arg0
,_arg1
);
837 wxPy_END_ALLOW_THREADS
;
838 if (PyErr_Occurred()) return NULL
;
839 } Py_INCREF(Py_None
);
840 _resultobj
= Py_None
;
844 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
845 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
849 PyObject
* _argo0
= 0;
850 PyObject
* _obj1
= 0;
851 char *_kwnames
[] = { "self","text", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
864 #if PYTHON_API_VERSION >= 1009
865 char* tmpPtr
; int tmpSize
;
866 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
870 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
872 _arg1
= new wxString(tmpPtr
, tmpSize
);
874 if (!PyString_Check(_obj1
)) {
875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
878 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
882 wxPy_BEGIN_ALLOW_THREADS
;
883 wxListItem_SetText(_arg0
,*_arg1
);
885 wxPy_END_ALLOW_THREADS
;
886 if (PyErr_Occurred()) return NULL
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
896 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
897 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self","image", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxListItem_SetImage(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
926 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self","data", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxListItem_SetData(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 if (PyErr_Occurred()) return NULL
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
955 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self","width", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 wxListItem_SetWidth(_arg0
,_arg1
);
976 wxPy_END_ALLOW_THREADS
;
977 if (PyErr_Occurred()) return NULL
;
978 } Py_INCREF(Py_None
);
979 _resultobj
= Py_None
;
983 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
984 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
987 wxListColumnFormat _arg1
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","align", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 wxListItem_SetAlign(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1012 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1013 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1019 PyObject
* _obj1
= 0;
1020 char *_kwnames
[] = { "self","colText", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1034 if (! wxColour_helper(_obj1
, &_arg1
))
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxListItem_SetTextColour(_arg0
,*_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1042 if (PyErr_Occurred()) return NULL
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1048 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1049 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1053 PyObject
* _argo0
= 0;
1055 PyObject
* _obj1
= 0;
1056 char *_kwnames
[] = { "self","colBack", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1070 if (! wxColour_helper(_obj1
, &_arg1
))
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1085 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _argo1
= 0;
1091 char *_kwnames
[] = { "self","font", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
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_SetFont. Expected _wxListItem_p.");
1104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 wxListItem_SetFont(_arg0
,*_arg1
);
1114 wxPy_END_ALLOW_THREADS
;
1115 if (PyErr_Occurred()) return NULL
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1121 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1122 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (long )wxListItem_GetMask(_arg0
);
1143 wxPy_END_ALLOW_THREADS
;
1144 if (PyErr_Occurred()) return NULL
;
1145 } _resultobj
= Py_BuildValue("l",_result
);
1149 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1150 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 char *_kwnames
[] = { "self", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (long )wxListItem_GetId(_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1172 if (PyErr_Occurred()) return NULL
;
1173 } _resultobj
= Py_BuildValue("l",_result
);
1177 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1178 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= (int )wxListItem_GetColumn(_arg0
);
1199 wxPy_END_ALLOW_THREADS
;
1200 if (PyErr_Occurred()) return NULL
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1206 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (long )wxListItem_GetState(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 if (PyErr_Occurred()) return NULL
;
1229 } _resultobj
= Py_BuildValue("l",_result
);
1233 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1234 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1254 _result
= (wxString
*) &_result_ref
;
1256 wxPy_END_ALLOW_THREADS
;
1257 if (PyErr_Occurred()) return NULL
;
1259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1264 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1265 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (int )wxListItem_GetImage(_arg0
);
1286 wxPy_END_ALLOW_THREADS
;
1287 if (PyErr_Occurred()) return NULL
;
1288 } _resultobj
= Py_BuildValue("i",_result
);
1292 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1293 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 _result
= (long )wxListItem_GetData(_arg0
);
1314 wxPy_END_ALLOW_THREADS
;
1315 if (PyErr_Occurred()) return NULL
;
1316 } _resultobj
= Py_BuildValue("l",_result
);
1320 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1321 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (int )wxListItem_GetWidth(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 if (PyErr_Occurred()) return NULL
;
1344 } _resultobj
= Py_BuildValue("i",_result
);
1348 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1349 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxListColumnFormat _result
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 if (PyErr_Occurred()) return NULL
;
1372 } _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1377 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxListItemAttr
* _result
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1406 _resultobj
= Py_None
;
1411 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1412 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1440 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1462 wxPy_END_ALLOW_THREADS
;
1463 if (PyErr_Occurred()) return NULL
;
1464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1465 _resultobj
= Py_BuildValue("s",_ptemp
);
1469 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1470 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1492 wxPy_END_ALLOW_THREADS
;
1493 if (PyErr_Occurred()) return NULL
;
1494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1499 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1500 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1522 wxPy_END_ALLOW_THREADS
;
1523 if (PyErr_Occurred()) return NULL
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1530 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self","m_mask", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1552 wxPy_END_ALLOW_THREADS
;
1553 if (PyErr_Occurred()) return NULL
;
1554 } _resultobj
= Py_BuildValue("l",_result
);
1558 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1559 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (long )wxListItem_m_mask_get(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 if (PyErr_Occurred()) return NULL
;
1582 } _resultobj
= Py_BuildValue("l",_result
);
1586 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1587 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self","m_itemId", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 if (PyErr_Occurred()) return NULL
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1616 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1637 wxPy_END_ALLOW_THREADS
;
1638 if (PyErr_Occurred()) return NULL
;
1639 } _resultobj
= Py_BuildValue("l",_result
);
1643 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1644 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self","m_col", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1673 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (int )wxListItem_m_col_get(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1701 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self","m_state", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1723 wxPy_END_ALLOW_THREADS
;
1724 if (PyErr_Occurred()) return NULL
;
1725 } _resultobj
= Py_BuildValue("l",_result
);
1729 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1730 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1734 PyObject
* _argo0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (long )wxListItem_m_state_get(_arg0
);
1751 wxPy_END_ALLOW_THREADS
;
1752 if (PyErr_Occurred()) return NULL
;
1753 } _resultobj
= Py_BuildValue("l",_result
);
1757 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1758 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1780 wxPy_END_ALLOW_THREADS
;
1781 if (PyErr_Occurred()) return NULL
;
1782 } _resultobj
= Py_BuildValue("l",_result
);
1786 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1787 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("l",_result
);
1814 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1815 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1821 PyObject
* _obj1
= 0;
1822 char *_kwnames
[] = { "self","m_text", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1835 #if PYTHON_API_VERSION >= 1009
1836 char* tmpPtr
; int tmpSize
;
1837 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1841 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1843 _arg1
= new wxString(tmpPtr
, tmpSize
);
1845 if (!PyString_Check(_obj1
)) {
1846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1849 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1856 wxPy_END_ALLOW_THREADS
;
1857 if (PyErr_Occurred()) return NULL
;
1859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1868 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1869 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 if (PyErr_Occurred()) return NULL
;
1893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1898 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1899 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self","m_image", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1922 if (PyErr_Occurred()) return NULL
;
1923 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1928 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= (int )wxListItem_m_image_get(_arg0
);
1949 wxPy_END_ALLOW_THREADS
;
1950 if (PyErr_Occurred()) return NULL
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1956 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self","m_data", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1978 wxPy_END_ALLOW_THREADS
;
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("l",_result
);
1984 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1985 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (long )wxListItem_m_data_get(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("l",_result
);
2012 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
2013 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self","m_format", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2035 wxPy_END_ALLOW_THREADS
;
2036 if (PyErr_Occurred()) return NULL
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2042 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2046 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= (int )wxListItem_m_format_get(_arg0
);
2063 wxPy_END_ALLOW_THREADS
;
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2070 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self","m_width", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2092 wxPy_END_ALLOW_THREADS
;
2093 if (PyErr_Occurred()) return NULL
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2099 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (int )wxListItem_m_width_get(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 if (PyErr_Occurred()) return NULL
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2128 wxNotifyEvent
*dest
;
2129 src
= (wxListEvent
*) ptr
;
2130 dest
= (wxNotifyEvent
*) src
;
2131 return (void *) dest
;
2134 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2136 wxCommandEvent
*dest
;
2137 src
= (wxListEvent
*) ptr
;
2138 dest
= (wxCommandEvent
*) src
;
2139 return (void *) dest
;
2142 static void *SwigwxListEventTowxEvent(void *ptr
) {
2145 src
= (wxListEvent
*) ptr
;
2146 dest
= (wxEvent
*) src
;
2147 return (void *) dest
;
2150 static void *SwigwxListEventTowxObject(void *ptr
) {
2153 src
= (wxListEvent
*) ptr
;
2154 dest
= (wxObject
*) src
;
2155 return (void *) dest
;
2158 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxListEvent
* _result
;
2162 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2163 int _arg1
= (int ) 0;
2164 char *_kwnames
[] = { "commandType","id", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2174 wxPy_END_ALLOW_THREADS
;
2175 if (PyErr_Occurred()) return NULL
;
2177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2178 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 _resultobj
= Py_None
;
2186 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2187 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 wxListEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self","m_code", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2216 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxListEvent_m_code_get(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2244 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 wxListEvent
* _arg0
;
2249 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2266 wxPy_END_ALLOW_THREADS
;
2267 if (PyErr_Occurred()) return NULL
;
2268 } _resultobj
= Py_BuildValue("l",_result
);
2272 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2273 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2276 wxListEvent
* _arg0
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 if (PyErr_Occurred()) return NULL
;
2296 } _resultobj
= Py_BuildValue("l",_result
);
2300 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2301 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxListEvent
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 if (PyErr_Occurred()) return NULL
;
2325 } _resultobj
= Py_BuildValue("l",_result
);
2329 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2330 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2333 wxListEvent
* _arg0
;
2334 PyObject
* _argo0
= 0;
2335 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 if (PyErr_Occurred()) return NULL
;
2353 } _resultobj
= Py_BuildValue("l",_result
);
2357 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2358 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2361 wxListEvent
* _arg0
;
2363 PyObject
* _argo0
= 0;
2364 char *_kwnames
[] = { "self","m_col", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2377 wxPy_BEGIN_ALLOW_THREADS
;
2378 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2380 wxPy_END_ALLOW_THREADS
;
2381 if (PyErr_Occurred()) return NULL
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2386 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2387 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2390 wxListEvent
* _arg0
;
2391 PyObject
* _argo0
= 0;
2392 char *_kwnames
[] = { "self", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (int )wxListEvent_m_col_get(_arg0
);
2408 wxPy_END_ALLOW_THREADS
;
2409 if (PyErr_Occurred()) return NULL
;
2410 } _resultobj
= Py_BuildValue("i",_result
);
2414 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2415 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2418 wxListEvent
* _arg0
;
2420 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2434 _arg1
= (bool ) tempbool1
;
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 if (PyErr_Occurred()) return NULL
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2446 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2449 wxListEvent
* _arg0
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2468 if (PyErr_Occurred()) return NULL
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2474 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2477 wxListEvent
* _arg0
;
2479 PyObject
* _argo0
= 0;
2481 PyObject
* _obj1
= 0;
2482 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2497 if (! wxPoint_helper(_obj1
, &_arg1
))
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2504 wxPy_END_ALLOW_THREADS
;
2505 if (PyErr_Occurred()) return NULL
;
2507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2508 _resultobj
= Py_BuildValue("s",_ptemp
);
2511 _resultobj
= Py_None
;
2516 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2517 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2520 wxListEvent
* _arg0
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2539 wxPy_END_ALLOW_THREADS
;
2540 if (PyErr_Occurred()) return NULL
;
2542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2543 _resultobj
= Py_BuildValue("s",_ptemp
);
2546 _resultobj
= Py_None
;
2551 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2552 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 wxListItem
* _result
;
2555 wxListEvent
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 PyObject
* _argo1
= 0;
2559 char *_kwnames
[] = { "self","m_item", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2582 wxPy_END_ALLOW_THREADS
;
2583 if (PyErr_Occurred()) return NULL
;
2584 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2588 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2589 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxListItem
* _result
;
2592 wxListEvent
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2607 wxPy_BEGIN_ALLOW_THREADS
;
2608 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2610 wxPy_END_ALLOW_THREADS
;
2611 if (PyErr_Occurred()) return NULL
;
2612 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2616 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2617 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2620 wxListEvent
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (int )wxListEvent_GetCode(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 if (PyErr_Occurred()) return NULL
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2645 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxListEvent
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 _result
= (long )wxListEvent_GetIndex(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 if (PyErr_Occurred()) return NULL
;
2668 } _resultobj
= Py_BuildValue("l",_result
);
2672 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2673 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2676 wxListEvent
* _arg0
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2694 wxPy_END_ALLOW_THREADS
;
2695 if (PyErr_Occurred()) return NULL
;
2696 } _resultobj
= Py_BuildValue("l",_result
);
2700 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2701 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2704 wxListEvent
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2722 wxPy_END_ALLOW_THREADS
;
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("l",_result
);
2728 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2729 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxListEvent
* _arg0
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 _result
= (int )wxListEvent_GetColumn(_arg0
);
2750 wxPy_END_ALLOW_THREADS
;
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2757 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2760 wxListEvent
* _arg0
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2778 wxPy_END_ALLOW_THREADS
;
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2785 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 wxListEvent
* _arg0
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2807 wxPy_END_ALLOW_THREADS
;
2808 if (PyErr_Occurred()) return NULL
;
2809 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2810 _resultobj
= Py_BuildValue("s",_ptemp
);
2814 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2815 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxListEvent
* _arg0
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2835 _result
= (wxString
*) &_result_ref
;
2837 wxPy_END_ALLOW_THREADS
;
2838 if (PyErr_Occurred()) return NULL
;
2840 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2845 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2846 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 wxListEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2866 _result
= (wxString
*) &_result_ref
;
2868 wxPy_END_ALLOW_THREADS
;
2869 if (PyErr_Occurred()) return NULL
;
2871 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2876 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2877 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2880 wxListEvent
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= (int )wxListEvent_GetImage(_arg0
);
2898 wxPy_END_ALLOW_THREADS
;
2899 if (PyErr_Occurred()) return NULL
;
2900 } _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2905 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 wxListEvent
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (long )wxListEvent_GetData(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("l",_result
);
2932 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2933 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 wxListEvent
* _arg0
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 _result
= (long )wxListEvent_GetMask(_arg0
);
2954 wxPy_END_ALLOW_THREADS
;
2955 if (PyErr_Occurred()) return NULL
;
2956 } _resultobj
= Py_BuildValue("l",_result
);
2960 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2961 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxListItem
* _result
;
2964 wxListEvent
* _arg0
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2981 _result
= (wxListItem
*) &_result_ref
;
2983 wxPy_END_ALLOW_THREADS
;
2984 if (PyErr_Occurred()) return NULL
;
2985 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2989 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2990 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxListEvent
* _arg0
;
2994 PyObject
* _argo0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
3011 wxPy_END_ALLOW_THREADS
;
3012 if (PyErr_Occurred()) return NULL
;
3013 } _resultobj
= Py_BuildValue("l",_result
);
3017 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
3018 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxListEvent
* _arg0
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
3039 wxPy_END_ALLOW_THREADS
;
3040 if (PyErr_Occurred()) return NULL
;
3041 } _resultobj
= Py_BuildValue("l",_result
);
3045 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
3048 src
= (wxPyListCtrl
*) ptr
;
3049 dest
= (wxControl
*) src
;
3050 return (void *) dest
;
3053 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
3056 src
= (wxPyListCtrl
*) ptr
;
3057 dest
= (wxWindow
*) src
;
3058 return (void *) dest
;
3061 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
3064 src
= (wxPyListCtrl
*) ptr
;
3065 dest
= (wxEvtHandler
*) src
;
3066 return (void *) dest
;
3069 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
3072 src
= (wxPyListCtrl
*) ptr
;
3073 dest
= (wxObject
*) src
;
3074 return (void *) dest
;
3077 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3078 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3080 wxPyListCtrl
* _result
;
3082 wxWindowID _arg1
= (wxWindowID
) -1;
3083 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3084 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3085 long _arg4
= (long ) (wxLC_ICON
);
3086 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3087 char * _arg6
= (char *) "listCtrl";
3088 PyObject
* _argo0
= 0;
3090 PyObject
* _obj2
= 0;
3092 PyObject
* _obj3
= 0;
3093 PyObject
* _argo5
= 0;
3094 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
3110 if (! wxPoint_helper(_obj2
, &_arg2
))
3116 if (! wxSize_helper(_obj3
, &_arg3
))
3120 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3130 wxPy_END_ALLOW_THREADS
;
3131 if (PyErr_Occurred()) return NULL
;
3133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3134 _resultobj
= Py_BuildValue("s",_ptemp
);
3137 _resultobj
= Py_None
;
3142 #define new_wxPreListCtrl() (new wxPyListCtrl())
3143 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxPyListCtrl
* _result
;
3146 char *_kwnames
[] = { NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3156 wxPy_END_ALLOW_THREADS
;
3157 if (PyErr_Occurred()) return NULL
;
3159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3160 _resultobj
= Py_BuildValue("s",_ptemp
);
3163 _resultobj
= Py_None
;
3168 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3169 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3172 wxPyListCtrl
* _arg0
;
3174 wxWindowID _arg2
= (wxWindowID
) -1;
3175 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3176 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3177 long _arg5
= (long ) (wxLC_ICON
);
3178 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3179 char * _arg7
= (char *) "listCtrl";
3180 PyObject
* _argo0
= 0;
3181 PyObject
* _argo1
= 0;
3183 PyObject
* _obj3
= 0;
3185 PyObject
* _obj4
= 0;
3186 PyObject
* _argo6
= 0;
3187 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3209 if (! wxPoint_helper(_obj3
, &_arg3
))
3215 if (! wxSize_helper(_obj4
, &_arg4
))
3219 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3229 wxPy_END_ALLOW_THREADS
;
3230 if (PyErr_Occurred()) return NULL
;
3231 } _resultobj
= Py_BuildValue("i",_result
);
3235 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3236 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxPyListCtrl
* _arg0
;
3241 PyObject
* _argo0
= 0;
3242 PyObject
* _obj1
= 0;
3243 PyObject
* _obj2
= 0;
3244 char *_kwnames
[] = { "self","self","_class", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3266 wxPy_END_ALLOW_THREADS
;
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3274 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 wxPyListCtrl
* _arg0
;
3279 PyObject
* _argo0
= 0;
3281 PyObject
* _obj1
= 0;
3282 char *_kwnames
[] = { "self","col", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3296 if (! wxColour_helper(_obj1
, &_arg1
))
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3303 wxPy_END_ALLOW_THREADS
;
3304 if (PyErr_Occurred()) return NULL
;
3305 } _resultobj
= Py_BuildValue("i",_result
);
3309 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3310 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3313 wxPyListCtrl
* _arg0
;
3315 PyObject
* _argo0
= 0;
3317 PyObject
* _obj1
= 0;
3318 char *_kwnames
[] = { "self","col", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3332 if (! wxColour_helper(_obj1
, &_arg1
))
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3339 wxPy_END_ALLOW_THREADS
;
3340 if (PyErr_Occurred()) return NULL
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3346 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3349 wxPyListCtrl
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo2
= 0;
3354 char *_kwnames
[] = { "self","col","item", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3367 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3377 wxPy_END_ALLOW_THREADS
;
3378 if (PyErr_Occurred()) return NULL
;
3379 } _resultobj
= Py_BuildValue("i",_result
);
3383 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3384 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3387 wxPyListCtrl
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 PyObject
* _argo2
= 0;
3392 char *_kwnames
[] = { "self","col","item", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3405 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3415 wxPy_END_ALLOW_THREADS
;
3416 if (PyErr_Occurred()) return NULL
;
3417 } _resultobj
= Py_BuildValue("i",_result
);
3421 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3422 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3425 wxPyListCtrl
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self","col", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3444 wxPy_END_ALLOW_THREADS
;
3445 if (PyErr_Occurred()) return NULL
;
3446 } _resultobj
= Py_BuildValue("i",_result
);
3450 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3454 wxPyListCtrl
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","col","width", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3474 wxPy_END_ALLOW_THREADS
;
3475 if (PyErr_Occurred()) return NULL
;
3476 } _resultobj
= Py_BuildValue("i",_result
);
3480 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3481 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxPyListCtrl
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3502 wxPy_END_ALLOW_THREADS
;
3503 if (PyErr_Occurred()) return NULL
;
3504 } _resultobj
= Py_BuildValue("i",_result
);
3508 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3509 wxListItem
* info
= new wxListItem
;
3510 info
->m_itemId
= itemId
;
3512 info
->m_mask
= 0xFFFF;
3513 self
->GetItem(*info
);
3516 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxListItem
* _result
;
3519 wxPyListCtrl
* _arg0
;
3521 int _arg2
= (int ) 0;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self","itemId","col", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3539 wxPy_END_ALLOW_THREADS
;
3540 if (PyErr_Occurred()) return NULL
;
3541 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3545 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3546 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 wxPyListCtrl
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 PyObject
* _argo1
= 0;
3553 char *_kwnames
[] = { "self","info", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3576 wxPy_END_ALLOW_THREADS
;
3577 if (PyErr_Occurred()) return NULL
;
3578 } _resultobj
= Py_BuildValue("i",_result
);
3582 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3583 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3586 wxPyListCtrl
* _arg0
;
3590 int _arg4
= (int ) -1;
3591 PyObject
* _argo0
= 0;
3592 PyObject
* _obj3
= 0;
3593 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3606 #if PYTHON_API_VERSION >= 1009
3607 char* tmpPtr
; int tmpSize
;
3608 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3612 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3614 _arg3
= new wxString(tmpPtr
, tmpSize
);
3616 if (!PyString_Check(_obj3
)) {
3617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3620 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3627 wxPy_END_ALLOW_THREADS
;
3628 if (PyErr_Occurred()) return NULL
;
3629 } _resultobj
= Py_BuildValue("l",_result
);
3637 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3638 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3641 wxPyListCtrl
* _arg0
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3661 wxPy_END_ALLOW_THREADS
;
3662 if (PyErr_Occurred()) return NULL
;
3663 } _resultobj
= Py_BuildValue("i",_result
);
3667 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3668 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3671 wxPyListCtrl
* _arg0
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3689 wxPy_BEGIN_ALLOW_THREADS
;
3690 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3692 wxPy_END_ALLOW_THREADS
;
3693 if (PyErr_Occurred()) return NULL
;
3694 } _resultobj
= Py_BuildValue("i",_result
);
3698 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3699 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
* _resultobj
;
3702 wxPyListCtrl
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3723 wxPy_END_ALLOW_THREADS
;
3724 if (PyErr_Occurred()) return NULL
;
3725 } _resultobj
= Py_BuildValue("i",_result
);
3729 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3730 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3733 wxPyListCtrl
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 char *_kwnames
[] = { "self","item", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3752 wxPy_END_ALLOW_THREADS
;
3753 if (PyErr_Occurred()) return NULL
;
3755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3763 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3764 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3766 wxPyListCtrl
* _arg0
;
3769 PyObject
* _argo0
= 0;
3770 PyObject
* _obj2
= 0;
3771 char *_kwnames
[] = { "self","item","str", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3784 #if PYTHON_API_VERSION >= 1009
3785 char* tmpPtr
; int tmpSize
;
3786 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3790 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3792 _arg2
= new wxString(tmpPtr
, tmpSize
);
3794 if (!PyString_Check(_obj2
)) {
3795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3798 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3805 wxPy_END_ALLOW_THREADS
;
3806 if (PyErr_Occurred()) return NULL
;
3807 } Py_INCREF(Py_None
);
3808 _resultobj
= Py_None
;
3816 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3817 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3820 wxPyListCtrl
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self","item", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3839 wxPy_END_ALLOW_THREADS
;
3840 if (PyErr_Occurred()) return NULL
;
3841 } _resultobj
= Py_BuildValue("l",_result
);
3845 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3846 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3849 wxPyListCtrl
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","item","data", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3869 wxPy_END_ALLOW_THREADS
;
3870 if (PyErr_Occurred()) return NULL
;
3871 } _resultobj
= Py_BuildValue("i",_result
);
3875 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3876 wxPoint
* pos
= new wxPoint
;
3877 self
->GetItemPosition(item
, *pos
);
3880 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3883 wxPyListCtrl
* _arg0
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self","item", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 if (PyErr_Occurred()) return NULL
;
3906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3907 _resultobj
= Py_BuildValue("s",_ptemp
);
3910 _resultobj
= Py_None
;
3915 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3916 wxRect
* rect
= new wxRect
;
3917 self
->GetItemRect(item
, *rect
, code
);
3920 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3923 wxPyListCtrl
* _arg0
;
3925 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3926 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self","item","code", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3944 wxPy_END_ALLOW_THREADS
;
3945 if (PyErr_Occurred()) return NULL
;
3947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3948 _resultobj
= Py_BuildValue("s",_ptemp
);
3951 _resultobj
= Py_None
;
3956 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3957 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3960 wxPyListCtrl
* _arg0
;
3963 PyObject
* _argo0
= 0;
3965 PyObject
* _obj2
= 0;
3966 char *_kwnames
[] = { "self","item","pos", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3980 if (! wxPoint_helper(_obj2
, &_arg2
))
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3987 wxPy_END_ALLOW_THREADS
;
3988 if (PyErr_Occurred()) return NULL
;
3989 } _resultobj
= Py_BuildValue("i",_result
);
3993 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3994 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
* _resultobj
;
3997 wxPyListCtrl
* _arg0
;
3998 PyObject
* _argo0
= 0;
3999 char *_kwnames
[] = { "self", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
4015 wxPy_END_ALLOW_THREADS
;
4016 if (PyErr_Occurred()) return NULL
;
4017 } _resultobj
= Py_BuildValue("i",_result
);
4021 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
4022 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4025 wxPyListCtrl
* _arg0
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
4043 wxPy_END_ALLOW_THREADS
;
4044 if (PyErr_Occurred()) return NULL
;
4045 } _resultobj
= Py_BuildValue("i",_result
);
4049 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
4050 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4053 wxPyListCtrl
* _arg0
;
4055 PyObject
* _argo0
= 0;
4057 char *_kwnames
[] = { "self","isSmall", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
4069 _arg1
= (bool ) tempbool1
;
4071 wxPy_BEGIN_ALLOW_THREADS
;
4072 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
4074 wxPy_END_ALLOW_THREADS
;
4075 if (PyErr_Occurred()) return NULL
;
4076 } _resultobj
= Py_BuildValue("i",_result
);
4080 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
4081 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4084 wxPyListCtrl
* _arg0
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
4102 wxPy_END_ALLOW_THREADS
;
4103 if (PyErr_Occurred()) return NULL
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4109 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4112 wxPyListCtrl
* _arg0
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
4121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
4128 wxPy_BEGIN_ALLOW_THREADS
;
4129 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
4131 wxPy_END_ALLOW_THREADS
;
4132 if (PyErr_Occurred()) return NULL
;
4133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4134 _resultobj
= Py_BuildValue("s",_ptemp
);
4138 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4139 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 wxPyListCtrl
* _arg0
;
4143 PyObject
* _argo0
= 0;
4145 PyObject
* _obj1
= 0;
4146 char *_kwnames
[] = { "self","col", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4160 if (! wxColour_helper(_obj1
, &_arg1
))
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4167 wxPy_END_ALLOW_THREADS
;
4168 if (PyErr_Occurred()) return NULL
;
4169 } Py_INCREF(Py_None
);
4170 _resultobj
= Py_None
;
4174 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4175 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4178 wxPyListCtrl
* _arg0
;
4179 PyObject
* _argo0
= 0;
4180 char *_kwnames
[] = { "self", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4196 wxPy_END_ALLOW_THREADS
;
4197 if (PyErr_Occurred()) return NULL
;
4198 } _resultobj
= Py_BuildValue("l",_result
);
4202 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4203 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxPyListCtrl
* _arg0
;
4207 bool _arg2
= (bool ) TRUE
;
4208 PyObject
* _argo0
= 0;
4209 int tempbool2
= (int) TRUE
;
4210 char *_kwnames
[] = { "self","style","add", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4222 _arg2
= (bool ) tempbool2
;
4224 wxPy_BEGIN_ALLOW_THREADS
;
4225 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4227 wxPy_END_ALLOW_THREADS
;
4228 if (PyErr_Occurred()) return NULL
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4234 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4235 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4237 wxPyListCtrl
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self","style", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4256 wxPy_END_ALLOW_THREADS
;
4257 if (PyErr_Occurred()) return NULL
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4264 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4267 wxPyListCtrl
* _arg0
;
4269 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4270 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4271 PyObject
* _argo0
= 0;
4272 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4288 wxPy_END_ALLOW_THREADS
;
4289 if (PyErr_Occurred()) return NULL
;
4290 } _resultobj
= Py_BuildValue("l",_result
);
4294 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4295 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4297 wxImageList
* _result
;
4298 wxPyListCtrl
* _arg0
;
4300 PyObject
* _argo0
= 0;
4301 char *_kwnames
[] = { "self","which", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4317 wxPy_END_ALLOW_THREADS
;
4318 if (PyErr_Occurred()) return NULL
;
4319 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4323 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4324 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
* _resultobj
;
4326 wxPyListCtrl
* _arg0
;
4327 wxImageList
* _arg1
;
4329 PyObject
* _argo0
= 0;
4330 PyObject
* _argo1
= 0;
4331 char *_kwnames
[] = { "self","imageList","which", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4354 wxPy_END_ALLOW_THREADS
;
4355 if (PyErr_Occurred()) return NULL
;
4356 } Py_INCREF(Py_None
);
4357 _resultobj
= Py_None
;
4361 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4362 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4364 wxPyListCtrl
* _arg0
;
4365 wxImageList
* _arg1
;
4367 PyObject
* _argo0
= 0;
4368 PyObject
* _argo1
= 0;
4369 char *_kwnames
[] = { "self","imageList","which", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4392 wxPy_END_ALLOW_THREADS
;
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4400 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4403 wxPyListCtrl
* _arg0
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4418 wxPy_BEGIN_ALLOW_THREADS
;
4419 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4421 wxPy_END_ALLOW_THREADS
;
4422 if (PyErr_Occurred()) return NULL
;
4423 } _resultobj
= Py_BuildValue("i",_result
);
4427 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4428 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4430 wxPyListCtrl
* _arg0
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self","item", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4446 wxPy_BEGIN_ALLOW_THREADS
;
4447 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4449 wxPy_END_ALLOW_THREADS
;
4450 if (PyErr_Occurred()) return NULL
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4457 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4459 wxPyListCtrl
* _arg0
;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4479 wxPy_END_ALLOW_THREADS
;
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4487 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxPyListCtrl
* _arg0
;
4491 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self","flag", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4509 wxPy_END_ALLOW_THREADS
;
4510 if (PyErr_Occurred()) return NULL
;
4511 } _resultobj
= Py_BuildValue("i",_result
);
4515 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4516 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4519 wxPyListCtrl
* _arg0
;
4521 PyObject
* _argo0
= 0;
4522 char *_kwnames
[] = { "self","item", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4538 wxPy_END_ALLOW_THREADS
;
4539 if (PyErr_Occurred()) return NULL
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4545 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4548 wxPyListCtrl
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4566 wxPy_END_ALLOW_THREADS
;
4567 if (PyErr_Occurred()) return NULL
;
4568 } _resultobj
= Py_BuildValue("i",_result
);
4572 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4573 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4576 wxPyListCtrl
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self","col", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4592 wxPy_BEGIN_ALLOW_THREADS
;
4593 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4595 wxPy_END_ALLOW_THREADS
;
4596 if (PyErr_Occurred()) return NULL
;
4597 } _resultobj
= Py_BuildValue("i",_result
);
4601 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4602 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4605 wxPyListCtrl
* _arg0
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4620 wxPy_BEGIN_ALLOW_THREADS
;
4621 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4623 wxPy_END_ALLOW_THREADS
;
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4630 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4632 wxPyListCtrl
* _arg0
;
4633 PyObject
* _argo0
= 0;
4634 char *_kwnames
[] = { "self", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 wxListCtrl_ClearAll(_arg0
);
4650 wxPy_END_ALLOW_THREADS
;
4651 if (PyErr_Occurred()) return NULL
;
4652 } Py_INCREF(Py_None
);
4653 _resultobj
= Py_None
;
4657 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4658 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4661 wxPyListCtrl
* _arg0
;
4663 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self","item", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4680 wxPy_END_ALLOW_THREADS
;
4681 if (PyErr_Occurred()) return NULL
;
4682 } _resultobj
= Py_BuildValue("i",_result
);
4686 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4687 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4690 wxPyListCtrl
* _arg0
;
4693 bool _arg3
= (bool ) FALSE
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _obj2
= 0;
4696 int tempbool3
= (int) FALSE
;
4697 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4710 #if PYTHON_API_VERSION >= 1009
4711 char* tmpPtr
; int tmpSize
;
4712 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4716 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4718 _arg2
= new wxString(tmpPtr
, tmpSize
);
4720 if (!PyString_Check(_obj2
)) {
4721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4724 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4727 _arg3
= (bool ) tempbool3
;
4729 wxPy_BEGIN_ALLOW_THREADS
;
4730 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4732 wxPy_END_ALLOW_THREADS
;
4733 if (PyErr_Occurred()) return NULL
;
4734 } _resultobj
= Py_BuildValue("l",_result
);
4742 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4743 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 wxPyListCtrl
* _arg0
;
4749 PyObject
* _argo0
= 0;
4750 char *_kwnames
[] = { "self","start","data", NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4766 wxPy_END_ALLOW_THREADS
;
4767 if (PyErr_Occurred()) return NULL
;
4768 } _resultobj
= Py_BuildValue("l",_result
);
4772 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4773 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4776 wxPyListCtrl
* _arg0
;
4780 PyObject
* _argo0
= 0;
4782 PyObject
* _obj2
= 0;
4783 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4797 if (! wxPoint_helper(_obj2
, &_arg2
))
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4804 wxPy_END_ALLOW_THREADS
;
4805 if (PyErr_Occurred()) return NULL
;
4806 } _resultobj
= Py_BuildValue("l",_result
);
4810 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4811 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4814 wxPyListCtrl
* _arg0
;
4818 PyObject
* _argo0
= 0;
4820 PyObject
* _obj1
= 0;
4821 char *_kwnames
[] = { "self","point", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4838 if (! wxPoint_helper(_obj1
, &_arg1
))
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4845 wxPy_END_ALLOW_THREADS
;
4846 if (PyErr_Occurred()) return NULL
;
4847 } _resultobj
= Py_BuildValue("l",_result
);
4850 o
= PyInt_FromLong((long) (*_arg2
));
4851 _resultobj
= t_output_helper(_resultobj
, o
);
4856 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4857 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4860 wxPyListCtrl
* _arg0
;
4862 PyObject
* _argo0
= 0;
4863 PyObject
* _argo1
= 0;
4864 char *_kwnames
[] = { "self","info", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4884 wxPy_BEGIN_ALLOW_THREADS
;
4885 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4887 wxPy_END_ALLOW_THREADS
;
4888 if (PyErr_Occurred()) return NULL
;
4889 } _resultobj
= Py_BuildValue("l",_result
);
4893 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4894 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 wxPyListCtrl
* _arg0
;
4900 PyObject
* _argo0
= 0;
4901 PyObject
* _obj2
= 0;
4902 char *_kwnames
[] = { "self","index","label", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4915 #if PYTHON_API_VERSION >= 1009
4916 char* tmpPtr
; int tmpSize
;
4917 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4921 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4923 _arg2
= new wxString(tmpPtr
, tmpSize
);
4925 if (!PyString_Check(_obj2
)) {
4926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4929 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4936 wxPy_END_ALLOW_THREADS
;
4937 if (PyErr_Occurred()) return NULL
;
4938 } _resultobj
= Py_BuildValue("l",_result
);
4946 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4947 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4950 wxPyListCtrl
* _arg0
;
4953 PyObject
* _argo0
= 0;
4954 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4967 wxPy_BEGIN_ALLOW_THREADS
;
4968 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4970 wxPy_END_ALLOW_THREADS
;
4971 if (PyErr_Occurred()) return NULL
;
4972 } _resultobj
= Py_BuildValue("l",_result
);
4976 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4977 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4980 wxPyListCtrl
* _arg0
;
4984 PyObject
* _argo0
= 0;
4985 PyObject
* _obj2
= 0;
4986 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4999 #if PYTHON_API_VERSION >= 1009
5000 char* tmpPtr
; int tmpSize
;
5001 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5005 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5007 _arg2
= new wxString(tmpPtr
, tmpSize
);
5009 if (!PyString_Check(_obj2
)) {
5010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5013 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
5020 wxPy_END_ALLOW_THREADS
;
5021 if (PyErr_Occurred()) return NULL
;
5022 } _resultobj
= Py_BuildValue("l",_result
);
5030 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
5031 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 wxPyListCtrl
* _arg0
;
5037 PyObject
* _argo0
= 0;
5038 PyObject
* _argo2
= 0;
5039 char *_kwnames
[] = { "self","col","info", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
5052 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5053 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
5054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
5059 wxPy_BEGIN_ALLOW_THREADS
;
5060 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
5062 wxPy_END_ALLOW_THREADS
;
5063 if (PyErr_Occurred()) return NULL
;
5064 } _resultobj
= Py_BuildValue("l",_result
);
5068 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5069 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
* _resultobj
;
5072 wxPyListCtrl
* _arg0
;
5075 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5076 int _arg4
= (int ) -1;
5077 PyObject
* _argo0
= 0;
5078 PyObject
* _obj2
= 0;
5079 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5092 #if PYTHON_API_VERSION >= 1009
5093 char* tmpPtr
; int tmpSize
;
5094 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5098 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5100 _arg2
= new wxString(tmpPtr
, tmpSize
);
5102 if (!PyString_Check(_obj2
)) {
5103 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5106 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5113 wxPy_END_ALLOW_THREADS
;
5114 if (PyErr_Occurred()) return NULL
;
5115 } _resultobj
= Py_BuildValue("l",_result
);
5123 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5124 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5126 wxPyListCtrl
* _arg0
;
5128 PyObject
* _argo0
= 0;
5129 char *_kwnames
[] = { "self","count", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5145 wxPy_END_ALLOW_THREADS
;
5146 if (PyErr_Occurred()) return NULL
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5152 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5153 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5156 wxPyListCtrl
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self","dx","dy", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5176 wxPy_END_ALLOW_THREADS
;
5177 if (PyErr_Occurred()) return NULL
;
5178 } _resultobj
= Py_BuildValue("i",_result
);
5182 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5183 if (!PyCallable_Check(func
))
5185 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5187 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5190 wxPyListCtrl
* _arg0
;
5192 PyObject
* _argo0
= 0;
5193 PyObject
* _obj1
= 0;
5194 char *_kwnames
[] = { "self","func", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5210 wxPy_BEGIN_ALLOW_THREADS
;
5211 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5213 wxPy_END_ALLOW_THREADS
;
5214 if (PyErr_Occurred()) return NULL
;
5215 } _resultobj
= Py_BuildValue("i",_result
);
5219 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5222 src
= (wxListView
*) ptr
;
5223 dest
= (wxPyListCtrl
*) src
;
5224 return (void *) dest
;
5227 static void *SwigwxListViewTowxControl(void *ptr
) {
5230 src
= (wxListView
*) ptr
;
5231 dest
= (wxControl
*) src
;
5232 return (void *) dest
;
5235 static void *SwigwxListViewTowxWindow(void *ptr
) {
5238 src
= (wxListView
*) ptr
;
5239 dest
= (wxWindow
*) src
;
5240 return (void *) dest
;
5243 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5246 src
= (wxListView
*) ptr
;
5247 dest
= (wxEvtHandler
*) src
;
5248 return (void *) dest
;
5251 static void *SwigwxListViewTowxObject(void *ptr
) {
5254 src
= (wxListView
*) ptr
;
5255 dest
= (wxObject
*) src
;
5256 return (void *) dest
;
5259 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5260 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5262 wxListView
* _result
;
5264 wxWindowID _arg1
= (wxWindowID
) -1;
5265 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5266 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5267 long _arg4
= (long ) (wxLC_REPORT
);
5268 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5269 wxString
* _arg6
= (wxString
*) &"listctrl";
5270 PyObject
* _argo0
= 0;
5272 PyObject
* _obj2
= 0;
5274 PyObject
* _obj3
= 0;
5275 PyObject
* _argo5
= 0;
5276 PyObject
* _obj6
= 0;
5277 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5293 if (! wxPoint_helper(_obj2
, &_arg2
))
5299 if (! wxSize_helper(_obj3
, &_arg3
))
5303 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5311 #if PYTHON_API_VERSION >= 1009
5312 char* tmpPtr
; int tmpSize
;
5313 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5314 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5317 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5319 _arg6
= new wxString(tmpPtr
, tmpSize
);
5321 if (!PyString_Check(_obj6
)) {
5322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5325 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5329 wxPy_BEGIN_ALLOW_THREADS
;
5330 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5332 wxPy_END_ALLOW_THREADS
;
5333 if (PyErr_Occurred()) return NULL
;
5335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5336 _resultobj
= Py_BuildValue("s",_ptemp
);
5339 _resultobj
= Py_None
;
5348 #define new_wxPreListView() (new wxListView())
5349 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5351 wxListView
* _result
;
5352 char *_kwnames
[] = { NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5359 wxPy_BEGIN_ALLOW_THREADS
;
5360 _result
= (wxListView
*)new_wxPreListView();
5362 wxPy_END_ALLOW_THREADS
;
5363 if (PyErr_Occurred()) return NULL
;
5365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5366 _resultobj
= Py_BuildValue("s",_ptemp
);
5369 _resultobj
= Py_None
;
5374 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5375 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5380 wxWindowID _arg2
= (wxWindowID
) -1;
5381 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5382 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5383 long _arg5
= (long ) (wxLC_REPORT
);
5384 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5385 wxString
* _arg7
= (wxString
*) &"listctrl";
5386 PyObject
* _argo0
= 0;
5387 PyObject
* _argo1
= 0;
5389 PyObject
* _obj3
= 0;
5391 PyObject
* _obj4
= 0;
5392 PyObject
* _argo6
= 0;
5393 PyObject
* _obj7
= 0;
5394 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5416 if (! wxPoint_helper(_obj3
, &_arg3
))
5422 if (! wxSize_helper(_obj4
, &_arg4
))
5426 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5434 #if PYTHON_API_VERSION >= 1009
5435 char* tmpPtr
; int tmpSize
;
5436 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5440 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5442 _arg7
= new wxString(tmpPtr
, tmpSize
);
5444 if (!PyString_Check(_obj7
)) {
5445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5448 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5455 wxPy_END_ALLOW_THREADS
;
5456 if (PyErr_Occurred()) return NULL
;
5457 } _resultobj
= Py_BuildValue("i",_result
);
5465 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5466 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5470 bool _arg2
= (bool ) TRUE
;
5471 PyObject
* _argo0
= 0;
5472 int tempbool2
= (int) TRUE
;
5473 char *_kwnames
[] = { "self","n","on", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5485 _arg2
= (bool ) tempbool2
;
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 wxListView_Select(_arg0
,_arg1
,_arg2
);
5490 wxPy_END_ALLOW_THREADS
;
5491 if (PyErr_Occurred()) return NULL
;
5492 } Py_INCREF(Py_None
);
5493 _resultobj
= Py_None
;
5497 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5498 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5502 PyObject
* _argo0
= 0;
5503 char *_kwnames
[] = { "self","index", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5516 wxPy_BEGIN_ALLOW_THREADS
;
5517 wxListView_Focus(_arg0
,_arg1
);
5519 wxPy_END_ALLOW_THREADS
;
5520 if (PyErr_Occurred()) return NULL
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5526 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5527 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
* _resultobj
;
5531 PyObject
* _argo0
= 0;
5532 char *_kwnames
[] = { "self", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5545 wxPy_BEGIN_ALLOW_THREADS
;
5546 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5548 wxPy_END_ALLOW_THREADS
;
5549 if (PyErr_Occurred()) return NULL
;
5550 } _resultobj
= Py_BuildValue("l",_result
);
5554 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5555 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
* _resultobj
;
5560 PyObject
* _argo0
= 0;
5561 char *_kwnames
[] = { "self","item", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5574 wxPy_BEGIN_ALLOW_THREADS
;
5575 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5577 wxPy_END_ALLOW_THREADS
;
5578 if (PyErr_Occurred()) return NULL
;
5579 } _resultobj
= Py_BuildValue("l",_result
);
5583 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5584 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5588 PyObject
* _argo0
= 0;
5589 char *_kwnames
[] = { "self", NULL
};
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5602 wxPy_BEGIN_ALLOW_THREADS
;
5603 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5605 wxPy_END_ALLOW_THREADS
;
5606 if (PyErr_Occurred()) return NULL
;
5607 } _resultobj
= Py_BuildValue("l",_result
);
5611 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5612 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
* _resultobj
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self","index", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5631 wxPy_BEGIN_ALLOW_THREADS
;
5632 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5634 wxPy_END_ALLOW_THREADS
;
5635 if (PyErr_Occurred()) return NULL
;
5636 } _resultobj
= Py_BuildValue("i",_result
);
5640 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5641 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self","col","image", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5663 wxPy_END_ALLOW_THREADS
;
5664 if (PyErr_Occurred()) return NULL
;
5665 } Py_INCREF(Py_None
);
5666 _resultobj
= Py_None
;
5670 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5671 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self","col", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5689 wxPy_BEGIN_ALLOW_THREADS
;
5690 wxListView_ClearColumnImage(_arg0
,_arg1
);
5692 wxPy_END_ALLOW_THREADS
;
5693 if (PyErr_Occurred()) return NULL
;
5694 } Py_INCREF(Py_None
);
5695 _resultobj
= Py_None
;
5699 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5700 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5702 wxTreeItemAttr
* _result
;
5703 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5704 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5705 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5707 PyObject
* _obj0
= 0;
5709 PyObject
* _obj1
= 0;
5710 PyObject
* _argo2
= 0;
5711 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5720 if (! wxColour_helper(_obj0
, &_arg0
))
5726 if (! wxColour_helper(_obj1
, &_arg1
))
5730 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5740 wxPy_END_ALLOW_THREADS
;
5741 if (PyErr_Occurred()) return NULL
;
5743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5744 _resultobj
= Py_BuildValue("s",_ptemp
);
5747 _resultobj
= Py_None
;
5752 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5753 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5755 wxTreeItemAttr
* _arg0
;
5757 PyObject
* _argo0
= 0;
5759 PyObject
* _obj1
= 0;
5760 char *_kwnames
[] = { "self","colText", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5774 if (! wxColour_helper(_obj1
, &_arg1
))
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5781 wxPy_END_ALLOW_THREADS
;
5782 if (PyErr_Occurred()) return NULL
;
5783 } Py_INCREF(Py_None
);
5784 _resultobj
= Py_None
;
5788 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5789 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5791 wxTreeItemAttr
* _arg0
;
5793 PyObject
* _argo0
= 0;
5795 PyObject
* _obj1
= 0;
5796 char *_kwnames
[] = { "self","colBack", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5810 if (! wxColour_helper(_obj1
, &_arg1
))
5814 wxPy_BEGIN_ALLOW_THREADS
;
5815 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5817 wxPy_END_ALLOW_THREADS
;
5818 if (PyErr_Occurred()) return NULL
;
5819 } Py_INCREF(Py_None
);
5820 _resultobj
= Py_None
;
5824 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5825 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5827 wxTreeItemAttr
* _arg0
;
5829 PyObject
* _argo0
= 0;
5830 PyObject
* _argo1
= 0;
5831 char *_kwnames
[] = { "self","font", NULL
};
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5854 wxPy_END_ALLOW_THREADS
;
5855 if (PyErr_Occurred()) return NULL
;
5856 } Py_INCREF(Py_None
);
5857 _resultobj
= Py_None
;
5861 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5862 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5865 wxTreeItemAttr
* _arg0
;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5880 wxPy_BEGIN_ALLOW_THREADS
;
5881 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5883 wxPy_END_ALLOW_THREADS
;
5884 if (PyErr_Occurred()) return NULL
;
5885 } _resultobj
= Py_BuildValue("i",_result
);
5889 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5890 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
* _resultobj
;
5893 wxTreeItemAttr
* _arg0
;
5894 PyObject
* _argo0
= 0;
5895 char *_kwnames
[] = { "self", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5908 wxPy_BEGIN_ALLOW_THREADS
;
5909 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5911 wxPy_END_ALLOW_THREADS
;
5912 if (PyErr_Occurred()) return NULL
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5918 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5921 wxTreeItemAttr
* _arg0
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5939 wxPy_END_ALLOW_THREADS
;
5940 if (PyErr_Occurred()) return NULL
;
5941 } _resultobj
= Py_BuildValue("i",_result
);
5945 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5946 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5949 wxTreeItemAttr
* _arg0
;
5950 PyObject
* _argo0
= 0;
5951 char *_kwnames
[] = { "self", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 const wxColour
& _result_ref
= wxTreeItemAttr_GetTextColour(_arg0
);
5967 _result
= (wxColour
*) &_result_ref
;
5969 wxPy_END_ALLOW_THREADS
;
5970 if (PyErr_Occurred()) return NULL
;
5972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5973 _resultobj
= Py_BuildValue("s",_ptemp
);
5976 _resultobj
= Py_None
;
5981 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5982 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5985 wxTreeItemAttr
* _arg0
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
6001 wxPy_BEGIN_ALLOW_THREADS
;
6002 const wxColour
& _result_ref
= wxTreeItemAttr_GetBackgroundColour(_arg0
);
6003 _result
= (wxColour
*) &_result_ref
;
6005 wxPy_END_ALLOW_THREADS
;
6006 if (PyErr_Occurred()) return NULL
;
6008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6009 _resultobj
= Py_BuildValue("s",_ptemp
);
6012 _resultobj
= Py_None
;
6017 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
6018 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6021 wxTreeItemAttr
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
6037 wxPy_BEGIN_ALLOW_THREADS
;
6038 const wxFont
& _result_ref
= wxTreeItemAttr_GetFont(_arg0
);
6039 _result
= (wxFont
*) &_result_ref
;
6041 wxPy_END_ALLOW_THREADS
;
6042 if (PyErr_Occurred()) return NULL
;
6044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6045 _resultobj
= Py_BuildValue("s",_ptemp
);
6048 _resultobj
= Py_None
;
6053 #define new_wxTreeItemId() (new wxTreeItemId())
6054 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxTreeItemId
* _result
;
6057 char *_kwnames
[] = { NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
6064 wxPy_BEGIN_ALLOW_THREADS
;
6065 _result
= (wxTreeItemId
*)new_wxTreeItemId();
6067 wxPy_END_ALLOW_THREADS
;
6068 if (PyErr_Occurred()) return NULL
;
6070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6074 _resultobj
= Py_None
;
6079 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
6080 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxTreeItemId
* _arg0
;
6083 PyObject
* _argo0
= 0;
6084 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 delete_wxTreeItemId(_arg0
);
6100 wxPy_END_ALLOW_THREADS
;
6101 if (PyErr_Occurred()) return NULL
;
6102 } Py_INCREF(Py_None
);
6103 _resultobj
= Py_None
;
6107 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6108 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6111 wxTreeItemId
* _arg0
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6129 wxPy_END_ALLOW_THREADS
;
6130 if (PyErr_Occurred()) return NULL
;
6131 } _resultobj
= Py_BuildValue("i",_result
);
6135 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6136 if (! other
) return -1;
6137 return *self
!= *other
;
6139 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6142 wxTreeItemId
* _arg0
;
6143 wxTreeItemId
* _arg1
;
6144 PyObject
* _argo0
= 0;
6145 PyObject
* _argo1
= 0;
6146 char *_kwnames
[] = { "self","other", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6169 wxPy_END_ALLOW_THREADS
;
6170 if (PyErr_Occurred()) return NULL
;
6171 } _resultobj
= Py_BuildValue("i",_result
);
6175 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6176 wxPyTreeItemData
*src
;
6178 src
= (wxPyTreeItemData
*) ptr
;
6179 dest
= (wxObject
*) src
;
6180 return (void *) dest
;
6183 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6184 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6186 wxPyTreeItemData
* _result
;
6187 PyObject
* _arg0
= (PyObject
*) NULL
;
6188 PyObject
* _obj0
= 0;
6189 char *_kwnames
[] = { "obj", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6200 wxPy_BEGIN_ALLOW_THREADS
;
6201 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6203 wxPy_END_ALLOW_THREADS
;
6204 if (PyErr_Occurred()) return NULL
;
6206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6207 _resultobj
= Py_BuildValue("s",_ptemp
);
6210 _resultobj
= Py_None
;
6215 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6216 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6219 wxPyTreeItemData
* _arg0
;
6220 PyObject
* _argo0
= 0;
6221 char *_kwnames
[] = { "self", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6234 wxPy_BEGIN_ALLOW_THREADS
;
6235 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6237 wxPy_END_ALLOW_THREADS
;
6238 if (PyErr_Occurred()) return NULL
;
6240 _resultobj
= _result
;
6245 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6246 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6248 wxPyTreeItemData
* _arg0
;
6250 PyObject
* _argo0
= 0;
6251 PyObject
* _obj1
= 0;
6252 char *_kwnames
[] = { "self","obj", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 wxTreeItemData_SetData(_arg0
,_arg1
);
6271 wxPy_END_ALLOW_THREADS
;
6272 if (PyErr_Occurred()) return NULL
;
6273 } Py_INCREF(Py_None
);
6274 _resultobj
= Py_None
;
6278 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6279 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxTreeItemId
* _result
;
6282 wxPyTreeItemData
* _arg0
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6298 wxPy_BEGIN_ALLOW_THREADS
;
6299 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6300 _result
= (wxTreeItemId
*) &_result_ref
;
6302 wxPy_END_ALLOW_THREADS
;
6303 if (PyErr_Occurred()) return NULL
;
6305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6306 _resultobj
= Py_BuildValue("s",_ptemp
);
6309 _resultobj
= Py_None
;
6314 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6315 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxPyTreeItemData
* _arg0
;
6318 wxTreeItemId
* _arg1
;
6319 PyObject
* _argo0
= 0;
6320 PyObject
* _argo1
= 0;
6321 char *_kwnames
[] = { "self","id", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_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 wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 wxTreeItemData_SetId(_arg0
,*_arg1
);
6344 wxPy_END_ALLOW_THREADS
;
6345 if (PyErr_Occurred()) return NULL
;
6346 } Py_INCREF(Py_None
);
6347 _resultobj
= Py_None
;
6351 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6353 wxNotifyEvent
*dest
;
6354 src
= (wxTreeEvent
*) ptr
;
6355 dest
= (wxNotifyEvent
*) src
;
6356 return (void *) dest
;
6359 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6361 wxCommandEvent
*dest
;
6362 src
= (wxTreeEvent
*) ptr
;
6363 dest
= (wxCommandEvent
*) src
;
6364 return (void *) dest
;
6367 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6370 src
= (wxTreeEvent
*) ptr
;
6371 dest
= (wxEvent
*) src
;
6372 return (void *) dest
;
6375 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6378 src
= (wxTreeEvent
*) ptr
;
6379 dest
= (wxObject
*) src
;
6380 return (void *) dest
;
6383 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6384 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6386 wxTreeEvent
* _result
;
6387 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6388 int _arg1
= (int ) 0;
6389 char *_kwnames
[] = { "commandType","id", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6399 wxPy_END_ALLOW_THREADS
;
6400 if (PyErr_Occurred()) return NULL
;
6402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6403 _resultobj
= Py_BuildValue("s",_ptemp
);
6406 _resultobj
= Py_None
;
6411 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6412 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6414 wxTreeItemId
* _result
;
6415 wxTreeEvent
* _arg0
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6431 wxPy_BEGIN_ALLOW_THREADS
;
6432 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6434 wxPy_END_ALLOW_THREADS
;
6435 if (PyErr_Occurred()) return NULL
;
6436 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6437 _resultobj
= Py_BuildValue("s",_ptemp
);
6441 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6442 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
* _resultobj
;
6444 wxTreeItemId
* _result
;
6445 wxTreeEvent
* _arg0
;
6446 PyObject
* _argo0
= 0;
6447 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6464 wxPy_END_ALLOW_THREADS
;
6465 if (PyErr_Occurred()) return NULL
;
6466 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6467 _resultobj
= Py_BuildValue("s",_ptemp
);
6471 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6472 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6475 wxTreeEvent
* _arg0
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6494 wxPy_END_ALLOW_THREADS
;
6495 if (PyErr_Occurred()) return NULL
;
6496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6497 _resultobj
= Py_BuildValue("s",_ptemp
);
6501 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6502 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6504 wxKeyEvent
* _result
;
6505 wxTreeEvent
* _arg0
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6521 wxPy_BEGIN_ALLOW_THREADS
;
6522 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6523 _result
= (wxKeyEvent
*) &_result_ref
;
6525 wxPy_END_ALLOW_THREADS
;
6526 if (PyErr_Occurred()) return NULL
;
6528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6529 _resultobj
= Py_BuildValue("s",_ptemp
);
6532 _resultobj
= Py_None
;
6537 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6538 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6541 wxTreeEvent
* _arg0
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6556 wxPy_BEGIN_ALLOW_THREADS
;
6557 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6559 wxPy_END_ALLOW_THREADS
;
6560 if (PyErr_Occurred()) return NULL
;
6561 } _resultobj
= Py_BuildValue("i",_result
);
6565 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6566 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6569 wxTreeEvent
* _arg0
;
6570 PyObject
* _argo0
= 0;
6571 char *_kwnames
[] = { "self", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6586 _result
= (wxString
*) &_result_ref
;
6588 wxPy_END_ALLOW_THREADS
;
6589 if (PyErr_Occurred()) return NULL
;
6591 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6596 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6599 src
= (wxPyTreeCtrl
*) ptr
;
6600 dest
= (wxControl
*) src
;
6601 return (void *) dest
;
6604 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6607 src
= (wxPyTreeCtrl
*) ptr
;
6608 dest
= (wxWindow
*) src
;
6609 return (void *) dest
;
6612 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6615 src
= (wxPyTreeCtrl
*) ptr
;
6616 dest
= (wxEvtHandler
*) src
;
6617 return (void *) dest
;
6620 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6623 src
= (wxPyTreeCtrl
*) ptr
;
6624 dest
= (wxObject
*) src
;
6625 return (void *) dest
;
6628 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6629 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6631 wxPyTreeCtrl
* _result
;
6633 wxWindowID _arg1
= (wxWindowID
) -1;
6634 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6635 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6636 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6637 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6638 char * _arg6
= (char *) "wxTreeCtrl";
6639 PyObject
* _argo0
= 0;
6641 PyObject
* _obj2
= 0;
6643 PyObject
* _obj3
= 0;
6644 PyObject
* _argo5
= 0;
6645 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6661 if (! wxPoint_helper(_obj2
, &_arg2
))
6667 if (! wxSize_helper(_obj3
, &_arg3
))
6671 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6672 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6678 wxPy_BEGIN_ALLOW_THREADS
;
6679 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6681 wxPy_END_ALLOW_THREADS
;
6682 if (PyErr_Occurred()) return NULL
;
6684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6685 _resultobj
= Py_BuildValue("s",_ptemp
);
6688 _resultobj
= Py_None
;
6693 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6694 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6696 wxPyTreeCtrl
* _result
;
6697 char *_kwnames
[] = { NULL
};
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6704 wxPy_BEGIN_ALLOW_THREADS
;
6705 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6707 wxPy_END_ALLOW_THREADS
;
6708 if (PyErr_Occurred()) return NULL
;
6710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6711 _resultobj
= Py_BuildValue("s",_ptemp
);
6714 _resultobj
= Py_None
;
6719 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6720 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
* _resultobj
;
6723 wxPyTreeCtrl
* _arg0
;
6725 wxWindowID _arg2
= (wxWindowID
) -1;
6726 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6727 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6728 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6729 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6730 char * _arg7
= (char *) "wxTreeCtrl";
6731 PyObject
* _argo0
= 0;
6732 PyObject
* _argo1
= 0;
6734 PyObject
* _obj3
= 0;
6736 PyObject
* _obj4
= 0;
6737 PyObject
* _argo6
= 0;
6738 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6760 if (! wxPoint_helper(_obj3
, &_arg3
))
6766 if (! wxSize_helper(_obj4
, &_arg4
))
6770 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6771 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6777 wxPy_BEGIN_ALLOW_THREADS
;
6778 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6780 wxPy_END_ALLOW_THREADS
;
6781 if (PyErr_Occurred()) return NULL
;
6782 } _resultobj
= Py_BuildValue("i",_result
);
6786 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6787 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
* _resultobj
;
6789 wxPyTreeCtrl
* _arg0
;
6792 PyObject
* _argo0
= 0;
6793 PyObject
* _obj1
= 0;
6794 PyObject
* _obj2
= 0;
6795 char *_kwnames
[] = { "self","self","_class", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6814 wxPy_BEGIN_ALLOW_THREADS
;
6815 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6817 wxPy_END_ALLOW_THREADS
;
6818 if (PyErr_Occurred()) return NULL
;
6819 } Py_INCREF(Py_None
);
6820 _resultobj
= Py_None
;
6824 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6825 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
* _resultobj
;
6828 wxPyTreeCtrl
* _arg0
;
6829 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6843 wxPy_BEGIN_ALLOW_THREADS
;
6844 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6846 wxPy_END_ALLOW_THREADS
;
6847 if (PyErr_Occurred()) return NULL
;
6848 } _resultobj
= Py_BuildValue("i",_result
);
6852 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6853 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6855 unsigned int _result
;
6856 wxPyTreeCtrl
* _arg0
;
6857 PyObject
* _argo0
= 0;
6858 char *_kwnames
[] = { "self", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6871 wxPy_BEGIN_ALLOW_THREADS
;
6872 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6874 wxPy_END_ALLOW_THREADS
;
6875 if (PyErr_Occurred()) return NULL
;
6876 } _resultobj
= Py_BuildValue("i",_result
);
6880 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6881 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
* _resultobj
;
6883 wxPyTreeCtrl
* _arg0
;
6885 PyObject
* _argo0
= 0;
6886 char *_kwnames
[] = { "self","indent", NULL
};
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6899 wxPy_BEGIN_ALLOW_THREADS
;
6900 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6902 wxPy_END_ALLOW_THREADS
;
6903 if (PyErr_Occurred()) return NULL
;
6904 } Py_INCREF(Py_None
);
6905 _resultobj
= Py_None
;
6909 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6910 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6912 wxImageList
* _result
;
6913 wxPyTreeCtrl
* _arg0
;
6914 PyObject
* _argo0
= 0;
6915 char *_kwnames
[] = { "self", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6928 wxPy_BEGIN_ALLOW_THREADS
;
6929 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6931 wxPy_END_ALLOW_THREADS
;
6932 if (PyErr_Occurred()) return NULL
;
6933 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6937 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6938 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
* _resultobj
;
6940 wxImageList
* _result
;
6941 wxPyTreeCtrl
* _arg0
;
6942 PyObject
* _argo0
= 0;
6943 char *_kwnames
[] = { "self", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6956 wxPy_BEGIN_ALLOW_THREADS
;
6957 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6959 wxPy_END_ALLOW_THREADS
;
6960 if (PyErr_Occurred()) return NULL
;
6961 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6965 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6966 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6968 wxPyTreeCtrl
* _arg0
;
6969 wxImageList
* _arg1
;
6970 PyObject
* _argo0
= 0;
6971 PyObject
* _argo1
= 0;
6972 char *_kwnames
[] = { "self","imageList", NULL
};
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6992 wxPy_BEGIN_ALLOW_THREADS
;
6993 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6995 wxPy_END_ALLOW_THREADS
;
6996 if (PyErr_Occurred()) return NULL
;
6997 } Py_INCREF(Py_None
);
6998 _resultobj
= Py_None
;
7002 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
7003 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
* _resultobj
;
7005 wxPyTreeCtrl
* _arg0
;
7006 wxImageList
* _arg1
;
7007 PyObject
* _argo0
= 0;
7008 PyObject
* _argo1
= 0;
7009 char *_kwnames
[] = { "self","imageList", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
7022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7029 wxPy_BEGIN_ALLOW_THREADS
;
7030 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
7032 wxPy_END_ALLOW_THREADS
;
7033 if (PyErr_Occurred()) return NULL
;
7034 } Py_INCREF(Py_None
);
7035 _resultobj
= Py_None
;
7039 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7040 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7042 wxPyTreeCtrl
* _arg0
;
7043 wxImageList
* _arg1
;
7044 PyObject
* _argo0
= 0;
7045 PyObject
* _argo1
= 0;
7046 char *_kwnames
[] = { "self","imageList", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7066 wxPy_BEGIN_ALLOW_THREADS
;
7067 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7069 wxPy_END_ALLOW_THREADS
;
7070 if (PyErr_Occurred()) return NULL
;
7071 } Py_INCREF(Py_None
);
7072 _resultobj
= Py_None
;
7076 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7077 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7079 wxPyTreeCtrl
* _arg0
;
7080 wxImageList
* _arg1
;
7081 PyObject
* _argo0
= 0;
7082 PyObject
* _argo1
= 0;
7083 char *_kwnames
[] = { "self","imageList", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7103 wxPy_BEGIN_ALLOW_THREADS
;
7104 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7106 wxPy_END_ALLOW_THREADS
;
7107 if (PyErr_Occurred()) return NULL
;
7108 } Py_INCREF(Py_None
);
7109 _resultobj
= Py_None
;
7113 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7114 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
* _resultobj
;
7116 unsigned int _result
;
7117 wxPyTreeCtrl
* _arg0
;
7118 PyObject
* _argo0
= 0;
7119 char *_kwnames
[] = { "self", NULL
};
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7132 wxPy_BEGIN_ALLOW_THREADS
;
7133 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7135 wxPy_END_ALLOW_THREADS
;
7136 if (PyErr_Occurred()) return NULL
;
7137 } _resultobj
= Py_BuildValue("i",_result
);
7141 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7142 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
* _resultobj
;
7144 wxPyTreeCtrl
* _arg0
;
7146 PyObject
* _argo0
= 0;
7147 char *_kwnames
[] = { "self","spacing", NULL
};
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7160 wxPy_BEGIN_ALLOW_THREADS
;
7161 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7163 wxPy_END_ALLOW_THREADS
;
7164 if (PyErr_Occurred()) return NULL
;
7165 } Py_INCREF(Py_None
);
7166 _resultobj
= Py_None
;
7170 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7171 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7174 wxPyTreeCtrl
* _arg0
;
7175 wxTreeItemId
* _arg1
;
7176 PyObject
* _argo0
= 0;
7177 PyObject
* _argo1
= 0;
7178 char *_kwnames
[] = { "self","item", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7198 wxPy_BEGIN_ALLOW_THREADS
;
7199 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7201 wxPy_END_ALLOW_THREADS
;
7202 if (PyErr_Occurred()) return NULL
;
7204 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7212 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7213 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
* _resultobj
;
7216 wxPyTreeCtrl
* _arg0
;
7217 wxTreeItemId
* _arg1
;
7218 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7219 PyObject
* _argo0
= 0;
7220 PyObject
* _argo1
= 0;
7221 char *_kwnames
[] = { "self","item","which", NULL
};
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7241 wxPy_BEGIN_ALLOW_THREADS
;
7242 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7244 wxPy_END_ALLOW_THREADS
;
7245 if (PyErr_Occurred()) return NULL
;
7246 } _resultobj
= Py_BuildValue("i",_result
);
7250 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7251 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 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_GetItemSelectedImage",_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_GetItemSelectedImage. 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_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7281 wxPy_END_ALLOW_THREADS
;
7282 if (PyErr_Occurred()) return NULL
;
7283 } _resultobj
= Py_BuildValue("i",_result
);
7287 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7288 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7290 wxPyTreeCtrl
* _arg0
;
7291 wxTreeItemId
* _arg1
;
7293 PyObject
* _argo0
= 0;
7294 PyObject
* _argo1
= 0;
7295 PyObject
* _obj2
= 0;
7296 char *_kwnames
[] = { "self","item","text", NULL
};
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7316 #if PYTHON_API_VERSION >= 1009
7317 char* tmpPtr
; int tmpSize
;
7318 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7322 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7324 _arg2
= new wxString(tmpPtr
, tmpSize
);
7326 if (!PyString_Check(_obj2
)) {
7327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7330 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7334 wxPy_BEGIN_ALLOW_THREADS
;
7335 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7337 wxPy_END_ALLOW_THREADS
;
7338 if (PyErr_Occurred()) return NULL
;
7339 } Py_INCREF(Py_None
);
7340 _resultobj
= Py_None
;
7348 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7349 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7351 wxPyTreeCtrl
* _arg0
;
7352 wxTreeItemId
* _arg1
;
7354 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7355 PyObject
* _argo0
= 0;
7356 PyObject
* _argo1
= 0;
7357 char *_kwnames
[] = { "self","item","image","which", NULL
};
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7377 wxPy_BEGIN_ALLOW_THREADS
;
7378 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7380 wxPy_END_ALLOW_THREADS
;
7381 if (PyErr_Occurred()) return NULL
;
7382 } Py_INCREF(Py_None
);
7383 _resultobj
= Py_None
;
7387 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7388 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7390 wxPyTreeCtrl
* _arg0
;
7391 wxTreeItemId
* _arg1
;
7393 PyObject
* _argo0
= 0;
7394 PyObject
* _argo1
= 0;
7395 char *_kwnames
[] = { "self","item","image", NULL
};
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7415 wxPy_BEGIN_ALLOW_THREADS
;
7416 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7418 wxPy_END_ALLOW_THREADS
;
7419 if (PyErr_Occurred()) return NULL
;
7420 } Py_INCREF(Py_None
);
7421 _resultobj
= Py_None
;
7425 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7426 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7428 wxPyTreeCtrl
* _arg0
;
7429 wxTreeItemId
* _arg1
;
7430 bool _arg2
= (bool ) TRUE
;
7431 PyObject
* _argo0
= 0;
7432 PyObject
* _argo1
= 0;
7433 int tempbool2
= (int) TRUE
;
7434 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7453 _arg2
= (bool ) tempbool2
;
7455 wxPy_BEGIN_ALLOW_THREADS
;
7456 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7458 wxPy_END_ALLOW_THREADS
;
7459 if (PyErr_Occurred()) return NULL
;
7460 } Py_INCREF(Py_None
);
7461 _resultobj
= Py_None
;
7465 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7466 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7468 data
= new wxPyTreeItemData();
7469 data
->SetId(item
); // set the id
7470 self
->SetItemData(item
, data
);
7474 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7476 wxPyTreeItemData
* _result
;
7477 wxPyTreeCtrl
* _arg0
;
7478 wxTreeItemId
* _arg1
;
7479 PyObject
* _argo0
= 0;
7480 PyObject
* _argo1
= 0;
7481 char *_kwnames
[] = { "self","item", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7502 wxPy_BEGIN_ALLOW_THREADS
;
7503 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7505 wxPy_END_ALLOW_THREADS
;
7506 if (PyErr_Occurred()) return NULL
;
7508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7509 _resultobj
= Py_BuildValue("s",_ptemp
);
7512 _resultobj
= Py_None
;
7517 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7518 data
->SetId(item
); // set the id
7519 self
->SetItemData(item
, data
);
7521 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7523 wxPyTreeCtrl
* _arg0
;
7524 wxTreeItemId
* _arg1
;
7525 wxPyTreeItemData
* _arg2
;
7526 PyObject
* _argo0
= 0;
7527 PyObject
* _argo1
= 0;
7528 PyObject
* _argo2
= 0;
7529 char *_kwnames
[] = { "self","item","data", NULL
};
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7542 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7549 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7550 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7556 wxPy_BEGIN_ALLOW_THREADS
;
7557 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7559 wxPy_END_ALLOW_THREADS
;
7560 if (PyErr_Occurred()) return NULL
;
7561 } Py_INCREF(Py_None
);
7562 _resultobj
= Py_None
;
7566 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7567 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7569 data
= new wxPyTreeItemData();
7570 data
->SetId(item
); // set the id
7571 self
->SetItemData(item
, data
);
7573 return data
->GetData();
7575 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7578 wxPyTreeCtrl
* _arg0
;
7579 wxTreeItemId
* _arg1
;
7580 PyObject
* _argo0
= 0;
7581 PyObject
* _argo1
= 0;
7582 char *_kwnames
[] = { "self","item", NULL
};
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7602 wxPy_BEGIN_ALLOW_THREADS
;
7603 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7605 wxPy_END_ALLOW_THREADS
;
7606 if (PyErr_Occurred()) return NULL
;
7608 _resultobj
= _result
;
7613 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7614 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7616 data
= new wxPyTreeItemData(obj
);
7617 data
->SetId(item
); // set the id
7618 self
->SetItemData(item
, data
);
7622 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
* _resultobj
;
7624 wxPyTreeCtrl
* _arg0
;
7625 wxTreeItemId
* _arg1
;
7627 PyObject
* _argo0
= 0;
7628 PyObject
* _argo1
= 0;
7629 PyObject
* _obj2
= 0;
7630 char *_kwnames
[] = { "self","item","obj", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7653 wxPy_BEGIN_ALLOW_THREADS
;
7654 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7656 wxPy_END_ALLOW_THREADS
;
7657 if (PyErr_Occurred()) return NULL
;
7658 } Py_INCREF(Py_None
);
7659 _resultobj
= Py_None
;
7663 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7664 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7667 wxPyTreeCtrl
* _arg0
;
7668 wxTreeItemId
* _arg1
;
7669 PyObject
* _argo0
= 0;
7670 PyObject
* _argo1
= 0;
7671 char *_kwnames
[] = { "self","item", NULL
};
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7691 wxPy_BEGIN_ALLOW_THREADS
;
7692 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7694 wxPy_END_ALLOW_THREADS
;
7695 if (PyErr_Occurred()) return NULL
;
7696 } _resultobj
= Py_BuildValue("i",_result
);
7700 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7701 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
* _resultobj
;
7704 wxPyTreeCtrl
* _arg0
;
7705 wxTreeItemId
* _arg1
;
7706 PyObject
* _argo0
= 0;
7707 PyObject
* _argo1
= 0;
7708 char *_kwnames
[] = { "self","item", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7728 wxPy_BEGIN_ALLOW_THREADS
;
7729 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7731 wxPy_END_ALLOW_THREADS
;
7732 if (PyErr_Occurred()) return NULL
;
7733 } _resultobj
= Py_BuildValue("i",_result
);
7737 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7738 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
* _resultobj
;
7741 wxPyTreeCtrl
* _arg0
;
7742 wxTreeItemId
* _arg1
;
7743 PyObject
* _argo0
= 0;
7744 PyObject
* _argo1
= 0;
7745 char *_kwnames
[] = { "self","item", NULL
};
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7765 wxPy_BEGIN_ALLOW_THREADS
;
7766 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7768 wxPy_END_ALLOW_THREADS
;
7769 if (PyErr_Occurred()) return NULL
;
7770 } _resultobj
= Py_BuildValue("i",_result
);
7774 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7775 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
* _resultobj
;
7778 wxPyTreeCtrl
* _arg0
;
7779 wxTreeItemId
* _arg1
;
7780 PyObject
* _argo0
= 0;
7781 PyObject
* _argo1
= 0;
7782 char *_kwnames
[] = { "self","item", NULL
};
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7802 wxPy_BEGIN_ALLOW_THREADS
;
7803 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7805 wxPy_END_ALLOW_THREADS
;
7806 if (PyErr_Occurred()) return NULL
;
7807 } _resultobj
= Py_BuildValue("i",_result
);
7811 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7812 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
* _resultobj
;
7814 wxTreeItemId
* _result
;
7815 wxPyTreeCtrl
* _arg0
;
7816 PyObject
* _argo0
= 0;
7817 char *_kwnames
[] = { "self", NULL
};
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7831 wxPy_BEGIN_ALLOW_THREADS
;
7832 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7834 wxPy_END_ALLOW_THREADS
;
7835 if (PyErr_Occurred()) return NULL
;
7836 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7837 _resultobj
= Py_BuildValue("s",_ptemp
);
7841 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7842 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7844 wxTreeItemId
* _result
;
7845 wxPyTreeCtrl
* _arg0
;
7846 PyObject
* _argo0
= 0;
7847 char *_kwnames
[] = { "self", NULL
};
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7861 wxPy_BEGIN_ALLOW_THREADS
;
7862 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7864 wxPy_END_ALLOW_THREADS
;
7865 if (PyErr_Occurred()) return NULL
;
7866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7867 _resultobj
= Py_BuildValue("s",_ptemp
);
7871 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7872 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7874 wxTreeItemId
* _result
;
7875 wxPyTreeCtrl
* _arg0
;
7876 wxTreeItemId
* _arg1
;
7877 PyObject
* _argo0
= 0;
7878 PyObject
* _argo1
= 0;
7879 char *_kwnames
[] = { "self","item", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7900 wxPy_BEGIN_ALLOW_THREADS
;
7901 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7903 wxPy_END_ALLOW_THREADS
;
7904 if (PyErr_Occurred()) return NULL
;
7905 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7906 _resultobj
= Py_BuildValue("s",_ptemp
);
7910 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7911 wxPyTState
* state
= wxPyBeginBlockThreads();
7912 PyObject
* rval
= PyList_New(0);
7913 wxArrayTreeItemIds array
;
7915 num
= self
->GetSelections(array
);
7916 for (x
=0; x
< num
; x
++) {
7917 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7918 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7919 PyList_Append(rval
, item
);
7921 wxPyEndBlockThreads(state
);
7924 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
* _resultobj
;
7927 wxPyTreeCtrl
* _arg0
;
7928 PyObject
* _argo0
= 0;
7929 char *_kwnames
[] = { "self", NULL
};
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7942 wxPy_BEGIN_ALLOW_THREADS
;
7943 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7945 wxPy_END_ALLOW_THREADS
;
7946 if (PyErr_Occurred()) return NULL
;
7948 _resultobj
= _result
;
7953 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7954 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
* _resultobj
;
7957 wxPyTreeCtrl
* _arg0
;
7958 wxTreeItemId
* _arg1
;
7959 bool _arg2
= (bool ) TRUE
;
7960 PyObject
* _argo0
= 0;
7961 PyObject
* _argo1
= 0;
7962 int tempbool2
= (int) TRUE
;
7963 char *_kwnames
[] = { "self","item","recursively", NULL
};
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7982 _arg2
= (bool ) tempbool2
;
7984 wxPy_BEGIN_ALLOW_THREADS
;
7985 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7987 wxPy_END_ALLOW_THREADS
;
7988 if (PyErr_Occurred()) return NULL
;
7989 } _resultobj
= Py_BuildValue("i",_result
);
7993 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7994 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7996 wxTreeItemId
* _result
;
7997 wxPyTreeCtrl
* _arg0
;
7998 wxTreeItemId
* _arg1
;
8000 PyObject
* _argo0
= 0;
8001 PyObject
* _argo1
= 0;
8003 PyObject
* _obj2
= 0;
8004 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8025 temp
= (long) PyInt_AsLong(_obj2
);
8029 wxPy_BEGIN_ALLOW_THREADS
;
8030 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
8032 wxPy_END_ALLOW_THREADS
;
8033 if (PyErr_Occurred()) return NULL
;
8034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8035 _resultobj
= Py_BuildValue("s",_ptemp
);
8038 o
= PyInt_FromLong((long) (*_arg2
));
8039 _resultobj
= t_output_helper(_resultobj
, o
);
8044 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8045 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8047 wxTreeItemId
* _result
;
8048 wxPyTreeCtrl
* _arg0
;
8049 wxTreeItemId
* _arg1
;
8051 PyObject
* _argo0
= 0;
8052 PyObject
* _argo1
= 0;
8054 PyObject
* _obj2
= 0;
8055 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8076 temp
= (long) PyInt_AsLong(_obj2
);
8080 wxPy_BEGIN_ALLOW_THREADS
;
8081 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8083 wxPy_END_ALLOW_THREADS
;
8084 if (PyErr_Occurred()) return NULL
;
8085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8086 _resultobj
= Py_BuildValue("s",_ptemp
);
8089 o
= PyInt_FromLong((long) (*_arg2
));
8090 _resultobj
= t_output_helper(_resultobj
, o
);
8095 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8096 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8098 wxTreeItemId
* _result
;
8099 wxPyTreeCtrl
* _arg0
;
8100 wxTreeItemId
* _arg1
;
8101 PyObject
* _argo0
= 0;
8102 PyObject
* _argo1
= 0;
8103 char *_kwnames
[] = { "self","item", NULL
};
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8124 wxPy_BEGIN_ALLOW_THREADS
;
8125 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8127 wxPy_END_ALLOW_THREADS
;
8128 if (PyErr_Occurred()) return NULL
;
8129 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8130 _resultobj
= Py_BuildValue("s",_ptemp
);
8134 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8135 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
* _resultobj
;
8137 wxTreeItemId
* _result
;
8138 wxPyTreeCtrl
* _arg0
;
8139 wxTreeItemId
* _arg1
;
8140 PyObject
* _argo0
= 0;
8141 PyObject
* _argo1
= 0;
8142 char *_kwnames
[] = { "self","item", NULL
};
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8163 wxPy_BEGIN_ALLOW_THREADS
;
8164 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8166 wxPy_END_ALLOW_THREADS
;
8167 if (PyErr_Occurred()) return NULL
;
8168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8169 _resultobj
= Py_BuildValue("s",_ptemp
);
8173 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8174 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
* _resultobj
;
8176 wxTreeItemId
* _result
;
8177 wxPyTreeCtrl
* _arg0
;
8178 PyObject
* _argo0
= 0;
8179 char *_kwnames
[] = { "self", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8193 wxPy_BEGIN_ALLOW_THREADS
;
8194 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8196 wxPy_END_ALLOW_THREADS
;
8197 if (PyErr_Occurred()) return NULL
;
8198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8199 _resultobj
= Py_BuildValue("s",_ptemp
);
8203 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8204 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
* _resultobj
;
8206 wxTreeItemId
* _result
;
8207 wxPyTreeCtrl
* _arg0
;
8208 wxTreeItemId
* _arg1
;
8209 PyObject
* _argo0
= 0;
8210 PyObject
* _argo1
= 0;
8211 char *_kwnames
[] = { "self","item", NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8232 wxPy_BEGIN_ALLOW_THREADS
;
8233 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8235 wxPy_END_ALLOW_THREADS
;
8236 if (PyErr_Occurred()) return NULL
;
8237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8238 _resultobj
= Py_BuildValue("s",_ptemp
);
8242 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8243 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
* _resultobj
;
8245 wxTreeItemId
* _result
;
8246 wxPyTreeCtrl
* _arg0
;
8247 wxTreeItemId
* _arg1
;
8248 PyObject
* _argo0
= 0;
8249 PyObject
* _argo1
= 0;
8250 char *_kwnames
[] = { "self","item", NULL
};
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8271 wxPy_BEGIN_ALLOW_THREADS
;
8272 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8274 wxPy_END_ALLOW_THREADS
;
8275 if (PyErr_Occurred()) return NULL
;
8276 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8277 _resultobj
= Py_BuildValue("s",_ptemp
);
8281 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8282 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
* _resultobj
;
8284 wxTreeItemId
* _result
;
8285 wxPyTreeCtrl
* _arg0
;
8286 wxTreeItemId
* _arg1
;
8287 PyObject
* _argo0
= 0;
8288 PyObject
* _argo1
= 0;
8289 char *_kwnames
[] = { "self","item", NULL
};
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8310 wxPy_BEGIN_ALLOW_THREADS
;
8311 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8313 wxPy_END_ALLOW_THREADS
;
8314 if (PyErr_Occurred()) return NULL
;
8315 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8316 _resultobj
= Py_BuildValue("s",_ptemp
);
8320 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8321 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8323 wxTreeItemId
* _result
;
8324 wxPyTreeCtrl
* _arg0
;
8326 int _arg2
= (int ) -1;
8327 int _arg3
= (int ) -1;
8328 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8329 PyObject
* _argo0
= 0;
8330 PyObject
* _obj1
= 0;
8331 PyObject
* _argo4
= 0;
8332 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8346 #if PYTHON_API_VERSION >= 1009
8347 char* tmpPtr
; int tmpSize
;
8348 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8352 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8354 _arg1
= new wxString(tmpPtr
, tmpSize
);
8356 if (!PyString_Check(_obj1
)) {
8357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8360 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8364 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8365 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8371 wxPy_BEGIN_ALLOW_THREADS
;
8372 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8374 wxPy_END_ALLOW_THREADS
;
8375 if (PyErr_Occurred()) return NULL
;
8376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8377 _resultobj
= Py_BuildValue("s",_ptemp
);
8385 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8386 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8388 wxTreeItemId
* _result
;
8389 wxPyTreeCtrl
* _arg0
;
8390 wxTreeItemId
* _arg1
;
8392 int _arg3
= (int ) -1;
8393 int _arg4
= (int ) -1;
8394 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8395 PyObject
* _argo0
= 0;
8396 PyObject
* _argo1
= 0;
8397 PyObject
* _obj2
= 0;
8398 PyObject
* _argo5
= 0;
8399 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8420 #if PYTHON_API_VERSION >= 1009
8421 char* tmpPtr
; int tmpSize
;
8422 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8426 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8428 _arg2
= new wxString(tmpPtr
, tmpSize
);
8430 if (!PyString_Check(_obj2
)) {
8431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8434 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8438 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8439 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8445 wxPy_BEGIN_ALLOW_THREADS
;
8446 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8448 wxPy_END_ALLOW_THREADS
;
8449 if (PyErr_Occurred()) return NULL
;
8450 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8451 _resultobj
= Py_BuildValue("s",_ptemp
);
8459 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8460 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8462 wxTreeItemId
* _result
;
8463 wxPyTreeCtrl
* _arg0
;
8464 wxTreeItemId
* _arg1
;
8465 wxTreeItemId
* _arg2
;
8467 int _arg4
= (int ) -1;
8468 int _arg5
= (int ) -1;
8469 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8470 PyObject
* _argo0
= 0;
8471 PyObject
* _argo1
= 0;
8472 PyObject
* _argo2
= 0;
8473 PyObject
* _obj3
= 0;
8474 PyObject
* _argo6
= 0;
8475 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8496 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8503 #if PYTHON_API_VERSION >= 1009
8504 char* tmpPtr
; int tmpSize
;
8505 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8509 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8511 _arg3
= new wxString(tmpPtr
, tmpSize
);
8513 if (!PyString_Check(_obj3
)) {
8514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8517 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8521 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8522 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8528 wxPy_BEGIN_ALLOW_THREADS
;
8529 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8531 wxPy_END_ALLOW_THREADS
;
8532 if (PyErr_Occurred()) return NULL
;
8533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8534 _resultobj
= Py_BuildValue("s",_ptemp
);
8542 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8543 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
* _resultobj
;
8545 wxTreeItemId
* _result
;
8546 wxPyTreeCtrl
* _arg0
;
8547 wxTreeItemId
* _arg1
;
8550 int _arg4
= (int ) -1;
8551 int _arg5
= (int ) -1;
8552 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8553 PyObject
* _argo0
= 0;
8554 PyObject
* _argo1
= 0;
8555 PyObject
* _obj3
= 0;
8556 PyObject
* _argo6
= 0;
8557 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8578 #if PYTHON_API_VERSION >= 1009
8579 char* tmpPtr
; int tmpSize
;
8580 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8584 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8586 _arg3
= new wxString(tmpPtr
, tmpSize
);
8588 if (!PyString_Check(_obj3
)) {
8589 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8592 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8596 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8597 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8603 wxPy_BEGIN_ALLOW_THREADS
;
8604 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8606 wxPy_END_ALLOW_THREADS
;
8607 if (PyErr_Occurred()) return NULL
;
8608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8609 _resultobj
= Py_BuildValue("s",_ptemp
);
8617 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8618 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
* _resultobj
;
8620 wxTreeItemId
* _result
;
8621 wxPyTreeCtrl
* _arg0
;
8622 wxTreeItemId
* _arg1
;
8624 int _arg3
= (int ) -1;
8625 int _arg4
= (int ) -1;
8626 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8627 PyObject
* _argo0
= 0;
8628 PyObject
* _argo1
= 0;
8629 PyObject
* _obj2
= 0;
8630 PyObject
* _argo5
= 0;
8631 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8652 #if PYTHON_API_VERSION >= 1009
8653 char* tmpPtr
; int tmpSize
;
8654 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8658 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8660 _arg2
= new wxString(tmpPtr
, tmpSize
);
8662 if (!PyString_Check(_obj2
)) {
8663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8666 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8670 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8671 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8677 wxPy_BEGIN_ALLOW_THREADS
;
8678 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8680 wxPy_END_ALLOW_THREADS
;
8681 if (PyErr_Occurred()) return NULL
;
8682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8683 _resultobj
= Py_BuildValue("s",_ptemp
);
8691 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8692 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
* _resultobj
;
8694 wxPyTreeCtrl
* _arg0
;
8695 wxTreeItemId
* _arg1
;
8696 PyObject
* _argo0
= 0;
8697 PyObject
* _argo1
= 0;
8698 char *_kwnames
[] = { "self","item", NULL
};
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8718 wxPy_BEGIN_ALLOW_THREADS
;
8719 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8721 wxPy_END_ALLOW_THREADS
;
8722 if (PyErr_Occurred()) return NULL
;
8723 } Py_INCREF(Py_None
);
8724 _resultobj
= Py_None
;
8728 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8729 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
* _resultobj
;
8731 wxPyTreeCtrl
* _arg0
;
8732 wxTreeItemId
* _arg1
;
8733 PyObject
* _argo0
= 0;
8734 PyObject
* _argo1
= 0;
8735 char *_kwnames
[] = { "self","item", NULL
};
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8755 wxPy_BEGIN_ALLOW_THREADS
;
8756 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8758 wxPy_END_ALLOW_THREADS
;
8759 if (PyErr_Occurred()) return NULL
;
8760 } Py_INCREF(Py_None
);
8761 _resultobj
= Py_None
;
8765 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8766 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
* _resultobj
;
8768 wxPyTreeCtrl
* _arg0
;
8769 PyObject
* _argo0
= 0;
8770 char *_kwnames
[] = { "self", NULL
};
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8783 wxPy_BEGIN_ALLOW_THREADS
;
8784 wxTreeCtrl_DeleteAllItems(_arg0
);
8786 wxPy_END_ALLOW_THREADS
;
8787 if (PyErr_Occurred()) return NULL
;
8788 } Py_INCREF(Py_None
);
8789 _resultobj
= Py_None
;
8793 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8794 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
* _resultobj
;
8796 wxPyTreeCtrl
* _arg0
;
8797 wxTreeItemId
* _arg1
;
8798 PyObject
* _argo0
= 0;
8799 PyObject
* _argo1
= 0;
8800 char *_kwnames
[] = { "self","item", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8820 wxPy_BEGIN_ALLOW_THREADS
;
8821 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8823 wxPy_END_ALLOW_THREADS
;
8824 if (PyErr_Occurred()) return NULL
;
8825 } Py_INCREF(Py_None
);
8826 _resultobj
= Py_None
;
8830 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8831 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
* _resultobj
;
8833 wxPyTreeCtrl
* _arg0
;
8834 wxTreeItemId
* _arg1
;
8835 PyObject
* _argo0
= 0;
8836 PyObject
* _argo1
= 0;
8837 char *_kwnames
[] = { "self","item", NULL
};
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8857 wxPy_BEGIN_ALLOW_THREADS
;
8858 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8860 wxPy_END_ALLOW_THREADS
;
8861 if (PyErr_Occurred()) return NULL
;
8862 } Py_INCREF(Py_None
);
8863 _resultobj
= Py_None
;
8867 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8868 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
* _resultobj
;
8870 wxPyTreeCtrl
* _arg0
;
8871 wxTreeItemId
* _arg1
;
8872 PyObject
* _argo0
= 0;
8873 PyObject
* _argo1
= 0;
8874 char *_kwnames
[] = { "self","item", NULL
};
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8894 wxPy_BEGIN_ALLOW_THREADS
;
8895 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8897 wxPy_END_ALLOW_THREADS
;
8898 if (PyErr_Occurred()) return NULL
;
8899 } Py_INCREF(Py_None
);
8900 _resultobj
= Py_None
;
8904 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8905 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
* _resultobj
;
8907 wxPyTreeCtrl
* _arg0
;
8908 wxTreeItemId
* _arg1
;
8909 PyObject
* _argo0
= 0;
8910 PyObject
* _argo1
= 0;
8911 char *_kwnames
[] = { "self","item", NULL
};
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8931 wxPy_BEGIN_ALLOW_THREADS
;
8932 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8934 wxPy_END_ALLOW_THREADS
;
8935 if (PyErr_Occurred()) return NULL
;
8936 } Py_INCREF(Py_None
);
8937 _resultobj
= Py_None
;
8941 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8942 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
* _resultobj
;
8944 wxPyTreeCtrl
* _arg0
;
8945 PyObject
* _argo0
= 0;
8946 char *_kwnames
[] = { "self", NULL
};
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8959 wxPy_BEGIN_ALLOW_THREADS
;
8960 wxTreeCtrl_Unselect(_arg0
);
8962 wxPy_END_ALLOW_THREADS
;
8963 if (PyErr_Occurred()) return NULL
;
8964 } Py_INCREF(Py_None
);
8965 _resultobj
= Py_None
;
8969 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8970 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
* _resultobj
;
8972 wxPyTreeCtrl
* _arg0
;
8973 PyObject
* _argo0
= 0;
8974 char *_kwnames
[] = { "self", NULL
};
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8987 wxPy_BEGIN_ALLOW_THREADS
;
8988 wxTreeCtrl_UnselectAll(_arg0
);
8990 wxPy_END_ALLOW_THREADS
;
8991 if (PyErr_Occurred()) return NULL
;
8992 } Py_INCREF(Py_None
);
8993 _resultobj
= Py_None
;
8997 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8998 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
* _resultobj
;
9000 wxPyTreeCtrl
* _arg0
;
9001 wxTreeItemId
* _arg1
;
9002 PyObject
* _argo0
= 0;
9003 PyObject
* _argo1
= 0;
9004 char *_kwnames
[] = { "self","item", NULL
};
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
9010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
9017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9024 wxPy_BEGIN_ALLOW_THREADS
;
9025 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
9027 wxPy_END_ALLOW_THREADS
;
9028 if (PyErr_Occurred()) return NULL
;
9029 } Py_INCREF(Py_None
);
9030 _resultobj
= Py_None
;
9034 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9035 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9037 wxPyTreeCtrl
* _arg0
;
9038 wxTreeItemId
* _arg1
;
9039 PyObject
* _argo0
= 0;
9040 PyObject
* _argo1
= 0;
9041 char *_kwnames
[] = { "self","item", NULL
};
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9061 wxPy_BEGIN_ALLOW_THREADS
;
9062 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9064 wxPy_END_ALLOW_THREADS
;
9065 if (PyErr_Occurred()) return NULL
;
9066 } Py_INCREF(Py_None
);
9067 _resultobj
= Py_None
;
9071 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9072 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
* _resultobj
;
9074 wxPyTreeCtrl
* _arg0
;
9075 wxTreeItemId
* _arg1
;
9076 PyObject
* _argo0
= 0;
9077 PyObject
* _argo1
= 0;
9078 char *_kwnames
[] = { "self","item", NULL
};
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9098 wxPy_BEGIN_ALLOW_THREADS
;
9099 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9101 wxPy_END_ALLOW_THREADS
;
9102 if (PyErr_Occurred()) return NULL
;
9103 } Py_INCREF(Py_None
);
9104 _resultobj
= Py_None
;
9108 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9109 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
* _resultobj
;
9111 wxPyTreeCtrl
* _arg0
;
9112 wxTreeItemId
* _arg1
;
9113 PyObject
* _argo0
= 0;
9114 PyObject
* _argo1
= 0;
9115 char *_kwnames
[] = { "self","item", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9135 wxPy_BEGIN_ALLOW_THREADS
;
9136 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9138 wxPy_END_ALLOW_THREADS
;
9139 if (PyErr_Occurred()) return NULL
;
9140 } Py_INCREF(Py_None
);
9141 _resultobj
= Py_None
;
9145 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9146 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
* _resultobj
;
9148 wxPyTreeCtrl
* _arg0
;
9149 wxTreeItemId
* _arg1
;
9150 PyObject
* _argo0
= 0;
9151 PyObject
* _argo1
= 0;
9152 char *_kwnames
[] = { "self","item", NULL
};
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9172 wxPy_BEGIN_ALLOW_THREADS
;
9173 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9175 wxPy_END_ALLOW_THREADS
;
9176 if (PyErr_Occurred()) return NULL
;
9177 } Py_INCREF(Py_None
);
9178 _resultobj
= Py_None
;
9182 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9183 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
* _resultobj
;
9185 wxPyTreeCtrl
* _arg0
;
9186 wxTreeItemId
* _arg1
;
9187 int _arg2
= (int ) TRUE
;
9188 PyObject
* _argo0
= 0;
9189 PyObject
* _argo1
= 0;
9190 char *_kwnames
[] = { "self","item","bold", NULL
};
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9210 wxPy_BEGIN_ALLOW_THREADS
;
9211 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9213 wxPy_END_ALLOW_THREADS
;
9214 if (PyErr_Occurred()) return NULL
;
9215 } Py_INCREF(Py_None
);
9216 _resultobj
= Py_None
;
9220 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9221 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9224 wxPyTreeCtrl
* _arg0
;
9225 wxTreeItemId
* _arg1
;
9226 PyObject
* _argo0
= 0;
9227 PyObject
* _argo1
= 0;
9228 char *_kwnames
[] = { "self","item", NULL
};
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9248 wxPy_BEGIN_ALLOW_THREADS
;
9249 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9251 wxPy_END_ALLOW_THREADS
;
9252 if (PyErr_Occurred()) return NULL
;
9253 } _resultobj
= Py_BuildValue("i",_result
);
9257 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9258 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
* _resultobj
;
9260 wxTreeItemId
* _result
;
9261 wxPyTreeCtrl
* _arg0
;
9265 PyObject
* _argo0
= 0;
9267 PyObject
* _obj1
= 0;
9268 char *_kwnames
[] = { "self","point", NULL
};
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9286 if (! wxPoint_helper(_obj1
, &_arg1
))
9290 wxPy_BEGIN_ALLOW_THREADS
;
9291 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9293 wxPy_END_ALLOW_THREADS
;
9294 if (PyErr_Occurred()) return NULL
;
9295 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9296 _resultobj
= Py_BuildValue("s",_ptemp
);
9299 o
= PyInt_FromLong((long) (*_arg2
));
9300 _resultobj
= t_output_helper(_resultobj
, o
);
9305 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9306 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
* _resultobj
;
9308 wxPyTreeCtrl
* _arg0
;
9309 wxTreeItemId
* _arg1
;
9311 PyObject
* _argo0
= 0;
9312 PyObject
* _argo1
= 0;
9314 PyObject
* _obj2
= 0;
9315 char *_kwnames
[] = { "self","item","col", NULL
};
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9336 if (! wxColour_helper(_obj2
, &_arg2
))
9340 wxPy_BEGIN_ALLOW_THREADS
;
9341 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9343 wxPy_END_ALLOW_THREADS
;
9344 if (PyErr_Occurred()) return NULL
;
9345 } Py_INCREF(Py_None
);
9346 _resultobj
= Py_None
;
9350 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9351 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
* _resultobj
;
9353 wxPyTreeCtrl
* _arg0
;
9354 wxTreeItemId
* _arg1
;
9356 PyObject
* _argo0
= 0;
9357 PyObject
* _argo1
= 0;
9359 PyObject
* _obj2
= 0;
9360 char *_kwnames
[] = { "self","item","col", NULL
};
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9381 if (! wxColour_helper(_obj2
, &_arg2
))
9385 wxPy_BEGIN_ALLOW_THREADS
;
9386 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9388 wxPy_END_ALLOW_THREADS
;
9389 if (PyErr_Occurred()) return NULL
;
9390 } Py_INCREF(Py_None
);
9391 _resultobj
= Py_None
;
9395 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9396 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
* _resultobj
;
9398 wxPyTreeCtrl
* _arg0
;
9399 wxTreeItemId
* _arg1
;
9401 PyObject
* _argo0
= 0;
9402 PyObject
* _argo1
= 0;
9403 PyObject
* _argo2
= 0;
9404 char *_kwnames
[] = { "self","item","font", NULL
};
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9424 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9425 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9431 wxPy_BEGIN_ALLOW_THREADS
;
9432 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9434 wxPy_END_ALLOW_THREADS
;
9435 if (PyErr_Occurred()) return NULL
;
9436 } Py_INCREF(Py_None
);
9437 _resultobj
= Py_None
;
9441 static PyMethodDef controls2cMethods
[] = {
9442 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
9443 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9444 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9445 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9446 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
9447 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
9448 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
9449 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9450 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
9451 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9452 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
9453 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
9454 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
9455 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9456 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
9457 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
9458 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
9459 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9460 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
9461 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9462 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9463 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
9464 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9465 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
9466 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
9467 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
9468 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
9469 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
9470 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
9471 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
9472 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
9473 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
9474 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9475 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
9476 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9477 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
9478 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9704 * This table is used by the pointer type-checker
9706 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9707 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9708 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9709 { "_signed_long","_long",0},
9710 { "_wxPrintQuality","_wxCoord",0},
9711 { "_wxPrintQuality","_int",0},
9712 { "_wxPrintQuality","_signed_int",0},
9713 { "_wxPrintQuality","_unsigned_int",0},
9714 { "_wxPrintQuality","_wxWindowID",0},
9715 { "_wxPrintQuality","_uint",0},
9716 { "_wxPrintQuality","_EBool",0},
9717 { "_wxPrintQuality","_size_t",0},
9718 { "_wxPrintQuality","_time_t",0},
9719 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9720 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9721 { "_byte","_unsigned_char",0},
9722 { "_long","_unsigned_long",0},
9723 { "_long","_signed_long",0},
9724 { "_size_t","_wxCoord",0},
9725 { "_size_t","_wxPrintQuality",0},
9726 { "_size_t","_time_t",0},
9727 { "_size_t","_unsigned_int",0},
9728 { "_size_t","_int",0},
9729 { "_size_t","_wxWindowID",0},
9730 { "_size_t","_uint",0},
9731 { "_uint","_wxCoord",0},
9732 { "_uint","_wxPrintQuality",0},
9733 { "_uint","_time_t",0},
9734 { "_uint","_size_t",0},
9735 { "_uint","_unsigned_int",0},
9736 { "_uint","_int",0},
9737 { "_uint","_wxWindowID",0},
9738 { "_wxChar","_char",0},
9739 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9740 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9741 { "_char","_wxChar",0},
9742 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9743 { "_EBool","_wxCoord",0},
9744 { "_EBool","_wxPrintQuality",0},
9745 { "_EBool","_signed_int",0},
9746 { "_EBool","_int",0},
9747 { "_EBool","_wxWindowID",0},
9748 { "_unsigned_long","_long",0},
9749 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
9750 { "_signed_int","_wxCoord",0},
9751 { "_signed_int","_wxPrintQuality",0},
9752 { "_signed_int","_EBool",0},
9753 { "_signed_int","_wxWindowID",0},
9754 { "_signed_int","_int",0},
9755 { "_WXTYPE","_short",0},
9756 { "_WXTYPE","_signed_short",0},
9757 { "_WXTYPE","_unsigned_short",0},
9758 { "_unsigned_short","_WXTYPE",0},
9759 { "_unsigned_short","_short",0},
9760 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9761 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
9762 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9763 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
9764 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9765 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
9766 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
9767 { "_signed_short","_WXTYPE",0},
9768 { "_signed_short","_short",0},
9769 { "_unsigned_char","_byte",0},
9770 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9771 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
9772 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9773 { "_unsigned_int","_wxCoord",0},
9774 { "_unsigned_int","_wxPrintQuality",0},
9775 { "_unsigned_int","_time_t",0},
9776 { "_unsigned_int","_size_t",0},
9777 { "_unsigned_int","_uint",0},
9778 { "_unsigned_int","_wxWindowID",0},
9779 { "_unsigned_int","_int",0},
9780 { "_short","_WXTYPE",0},
9781 { "_short","_unsigned_short",0},
9782 { "_short","_signed_short",0},
9783 { "_wxWindowID","_wxCoord",0},
9784 { "_wxWindowID","_wxPrintQuality",0},
9785 { "_wxWindowID","_time_t",0},
9786 { "_wxWindowID","_size_t",0},
9787 { "_wxWindowID","_EBool",0},
9788 { "_wxWindowID","_uint",0},
9789 { "_wxWindowID","_int",0},
9790 { "_wxWindowID","_signed_int",0},
9791 { "_wxWindowID","_unsigned_int",0},
9792 { "_int","_wxCoord",0},
9793 { "_int","_wxPrintQuality",0},
9794 { "_int","_time_t",0},
9795 { "_int","_size_t",0},
9796 { "_int","_EBool",0},
9797 { "_int","_uint",0},
9798 { "_int","_wxWindowID",0},
9799 { "_int","_unsigned_int",0},
9800 { "_int","_signed_int",0},
9801 { "_time_t","_wxCoord",0},
9802 { "_time_t","_wxPrintQuality",0},
9803 { "_time_t","_unsigned_int",0},
9804 { "_time_t","_int",0},
9805 { "_time_t","_wxWindowID",0},
9806 { "_time_t","_uint",0},
9807 { "_time_t","_size_t",0},
9808 { "_wxCoord","_int",0},
9809 { "_wxCoord","_signed_int",0},
9810 { "_wxCoord","_unsigned_int",0},
9811 { "_wxCoord","_wxWindowID",0},
9812 { "_wxCoord","_uint",0},
9813 { "_wxCoord","_EBool",0},
9814 { "_wxCoord","_size_t",0},
9815 { "_wxCoord","_time_t",0},
9816 { "_wxCoord","_wxPrintQuality",0},
9817 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
9818 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9819 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
9820 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9821 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9822 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
9823 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9826 static PyObject
*SWIG_globals
;
9830 SWIGEXPORT(void) initcontrols2c() {
9832 SWIG_globals
= SWIG_newvarlink();
9833 m
= Py_InitModule("controls2c", controls2cMethods
);
9834 d
= PyModule_GetDict(m
);
9835 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
9836 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
9837 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
9838 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
9839 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
9840 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
9841 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
9842 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
9843 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
9844 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
9845 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
9846 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
9847 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
9848 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
9849 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
9850 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
9851 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
9852 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
9853 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
9854 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
9855 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
9856 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
9857 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
9858 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
9859 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
9860 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
9861 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
9862 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
9863 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
9864 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
9865 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
9866 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
9867 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
9868 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
9869 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
9870 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
9871 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
9872 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
9873 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
9874 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
9875 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
9876 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
9877 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
9878 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
9879 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
9880 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
9881 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
9882 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
9883 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
9884 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
9885 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
9886 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
9887 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
9888 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
9889 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
9890 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
9891 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
9892 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
9893 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
9894 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
9895 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
9896 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
9897 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
9898 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
9899 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
9900 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
9901 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
9902 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
9903 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
9904 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
9905 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
9906 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
9907 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
9908 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
9909 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
9910 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
9911 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
9912 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
9913 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
9914 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
9915 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
9916 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
9917 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
9918 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
9919 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
9920 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
9921 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
9922 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
9923 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
9924 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
9925 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
9926 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
9927 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
9928 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
9929 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
9930 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
9931 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
9932 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
9933 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
9934 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
9935 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
9936 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
9937 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
9938 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
9939 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
9940 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
9941 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
9942 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
9943 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
9944 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
9945 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
9946 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
9947 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
9948 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
9949 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
9950 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
9951 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
9952 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
9953 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
9954 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
9955 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
9956 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
9957 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
9958 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
9959 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
9960 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
9961 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
9962 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
9963 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
9964 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
9965 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
9966 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
9967 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
9968 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
9969 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
9970 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
9972 // Map renamed classes back to their common name for OOR
9973 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
9974 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
9975 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
9978 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9979 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);