2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
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_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2301 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxListEvent
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self","m_col", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_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_col_set. Expected _wxListEvent_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 if (PyErr_Occurred()) return NULL
;
2325 } _resultobj
= Py_BuildValue("i",_result
);
2329 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2330 static PyObject
*_wrap_wxListEvent_m_col_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_col_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_col_get. Expected _wxListEvent_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (int )wxListEvent_m_col_get(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 if (PyErr_Occurred()) return NULL
;
2353 } _resultobj
= Py_BuildValue("i",_result
);
2357 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2358 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2361 wxListEvent
* _arg0
;
2363 PyObject
* _argo0
= 0;
2365 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2377 _arg1
= (bool ) tempbool1
;
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2382 wxPy_END_ALLOW_THREADS
;
2383 if (PyErr_Occurred()) return NULL
;
2384 } _resultobj
= Py_BuildValue("i",_result
);
2388 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2389 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
* _resultobj
;
2392 wxListEvent
* _arg0
;
2393 PyObject
* _argo0
= 0;
2394 char *_kwnames
[] = { "self", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2410 wxPy_END_ALLOW_THREADS
;
2411 if (PyErr_Occurred()) return NULL
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2416 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2417 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2420 wxListEvent
* _arg0
;
2422 PyObject
* _argo0
= 0;
2424 PyObject
* _obj1
= 0;
2425 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2440 if (! wxPoint_helper(_obj1
, &_arg1
))
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2447 wxPy_END_ALLOW_THREADS
;
2448 if (PyErr_Occurred()) return NULL
;
2450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2451 _resultobj
= Py_BuildValue("s",_ptemp
);
2454 _resultobj
= Py_None
;
2459 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2460 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2463 wxListEvent
* _arg0
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2482 wxPy_END_ALLOW_THREADS
;
2483 if (PyErr_Occurred()) return NULL
;
2485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2486 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 _resultobj
= Py_None
;
2494 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2495 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2497 wxListItem
* _result
;
2498 wxListEvent
* _arg0
;
2500 PyObject
* _argo0
= 0;
2501 PyObject
* _argo1
= 0;
2502 char *_kwnames
[] = { "self","m_item", NULL
};
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2522 wxPy_BEGIN_ALLOW_THREADS
;
2523 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2525 wxPy_END_ALLOW_THREADS
;
2526 if (PyErr_Occurred()) return NULL
;
2527 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2531 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2532 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2534 wxListItem
* _result
;
2535 wxListEvent
* _arg0
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2553 wxPy_END_ALLOW_THREADS
;
2554 if (PyErr_Occurred()) return NULL
;
2555 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2559 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2560 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2563 wxListEvent
* _arg0
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2578 wxPy_BEGIN_ALLOW_THREADS
;
2579 _result
= (int )wxListEvent_GetCode(_arg0
);
2581 wxPy_END_ALLOW_THREADS
;
2582 if (PyErr_Occurred()) return NULL
;
2583 } _resultobj
= Py_BuildValue("i",_result
);
2587 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2588 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2591 wxListEvent
* _arg0
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 _result
= (long )wxListEvent_GetIndex(_arg0
);
2609 wxPy_END_ALLOW_THREADS
;
2610 if (PyErr_Occurred()) return NULL
;
2611 } _resultobj
= Py_BuildValue("l",_result
);
2615 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2616 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2619 wxListEvent
* _arg0
;
2620 PyObject
* _argo0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 _result
= (int )wxListEvent_GetColumn(_arg0
);
2637 wxPy_END_ALLOW_THREADS
;
2638 if (PyErr_Occurred()) return NULL
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2644 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2647 wxListEvent
* _arg0
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2665 wxPy_END_ALLOW_THREADS
;
2666 if (PyErr_Occurred()) return NULL
;
2667 } _resultobj
= Py_BuildValue("i",_result
);
2671 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2672 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2675 wxListEvent
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_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_GetPoint. Expected _wxListEvent_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2694 wxPy_END_ALLOW_THREADS
;
2695 if (PyErr_Occurred()) return NULL
;
2696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2697 _resultobj
= Py_BuildValue("s",_ptemp
);
2701 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2702 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2705 wxListEvent
* _arg0
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2722 _result
= (wxString
*) &_result_ref
;
2724 wxPy_END_ALLOW_THREADS
;
2725 if (PyErr_Occurred()) return NULL
;
2727 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2732 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2733 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2736 wxListEvent
* _arg0
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2753 _result
= (wxString
*) &_result_ref
;
2755 wxPy_END_ALLOW_THREADS
;
2756 if (PyErr_Occurred()) return NULL
;
2758 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2763 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2764 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2767 wxListEvent
* _arg0
;
2768 PyObject
* _argo0
= 0;
2769 char *_kwnames
[] = { "self", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 _result
= (int )wxListEvent_GetImage(_arg0
);
2785 wxPy_END_ALLOW_THREADS
;
2786 if (PyErr_Occurred()) return NULL
;
2787 } _resultobj
= Py_BuildValue("i",_result
);
2791 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2792 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2795 wxListEvent
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 _result
= (long )wxListEvent_GetData(_arg0
);
2813 wxPy_END_ALLOW_THREADS
;
2814 if (PyErr_Occurred()) return NULL
;
2815 } _resultobj
= Py_BuildValue("l",_result
);
2819 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2820 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2823 wxListEvent
* _arg0
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2838 wxPy_BEGIN_ALLOW_THREADS
;
2839 _result
= (long )wxListEvent_GetMask(_arg0
);
2841 wxPy_END_ALLOW_THREADS
;
2842 if (PyErr_Occurred()) return NULL
;
2843 } _resultobj
= Py_BuildValue("l",_result
);
2847 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2848 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2850 wxListItem
* _result
;
2851 wxListEvent
* _arg0
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2868 _result
= (wxListItem
*) &_result_ref
;
2870 wxPy_END_ALLOW_THREADS
;
2871 if (PyErr_Occurred()) return NULL
;
2872 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2876 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2877 static PyObject
*_wrap_wxListEvent_GetCacheFrom(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_GetCacheFrom",_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_GetCacheFrom. Expected _wxListEvent_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2898 wxPy_END_ALLOW_THREADS
;
2899 if (PyErr_Occurred()) return NULL
;
2900 } _resultobj
= Py_BuildValue("l",_result
);
2904 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2905 static PyObject
*_wrap_wxListEvent_GetCacheTo(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_GetCacheTo",_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_GetCacheTo. Expected _wxListEvent_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("l",_result
);
2932 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2935 src
= (wxPyListCtrl
*) ptr
;
2936 dest
= (wxControl
*) src
;
2937 return (void *) dest
;
2940 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2943 src
= (wxPyListCtrl
*) ptr
;
2944 dest
= (wxWindow
*) src
;
2945 return (void *) dest
;
2948 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2951 src
= (wxPyListCtrl
*) ptr
;
2952 dest
= (wxEvtHandler
*) src
;
2953 return (void *) dest
;
2956 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2959 src
= (wxPyListCtrl
*) ptr
;
2960 dest
= (wxObject
*) src
;
2961 return (void *) dest
;
2964 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2965 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
* _resultobj
;
2967 wxPyListCtrl
* _result
;
2969 wxWindowID _arg1
= (wxWindowID
) -1;
2970 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2971 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2972 long _arg4
= (long ) (wxLC_ICON
);
2973 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2974 char * _arg6
= (char *) "listCtrl";
2975 PyObject
* _argo0
= 0;
2977 PyObject
* _obj2
= 0;
2979 PyObject
* _obj3
= 0;
2980 PyObject
* _argo5
= 0;
2981 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2997 if (! wxPoint_helper(_obj2
, &_arg2
))
3003 if (! wxSize_helper(_obj3
, &_arg3
))
3007 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3017 wxPy_END_ALLOW_THREADS
;
3018 if (PyErr_Occurred()) return NULL
;
3020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3021 _resultobj
= Py_BuildValue("s",_ptemp
);
3024 _resultobj
= Py_None
;
3029 #define new_wxPreListCtrl() (new wxPyListCtrl())
3030 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3032 wxPyListCtrl
* _result
;
3033 char *_kwnames
[] = { NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3043 wxPy_END_ALLOW_THREADS
;
3044 if (PyErr_Occurred()) return NULL
;
3046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3047 _resultobj
= Py_BuildValue("s",_ptemp
);
3050 _resultobj
= Py_None
;
3055 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3056 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3059 wxPyListCtrl
* _arg0
;
3061 wxWindowID _arg2
= (wxWindowID
) -1;
3062 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3063 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3064 long _arg5
= (long ) (wxLC_ICON
);
3065 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3066 char * _arg7
= (char *) "listCtrl";
3067 PyObject
* _argo0
= 0;
3068 PyObject
* _argo1
= 0;
3070 PyObject
* _obj3
= 0;
3072 PyObject
* _obj4
= 0;
3073 PyObject
* _argo6
= 0;
3074 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3096 if (! wxPoint_helper(_obj3
, &_arg3
))
3102 if (! wxSize_helper(_obj4
, &_arg4
))
3106 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3116 wxPy_END_ALLOW_THREADS
;
3117 if (PyErr_Occurred()) return NULL
;
3118 } _resultobj
= Py_BuildValue("i",_result
);
3122 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3123 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3125 wxPyListCtrl
* _arg0
;
3128 PyObject
* _argo0
= 0;
3129 PyObject
* _obj1
= 0;
3130 PyObject
* _obj2
= 0;
3131 char *_kwnames
[] = { "self","self","_class", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3153 wxPy_END_ALLOW_THREADS
;
3154 if (PyErr_Occurred()) return NULL
;
3155 } Py_INCREF(Py_None
);
3156 _resultobj
= Py_None
;
3160 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3161 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3164 wxPyListCtrl
* _arg0
;
3166 PyObject
* _argo0
= 0;
3168 PyObject
* _obj1
= 0;
3169 char *_kwnames
[] = { "self","col", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3183 if (! wxColour_helper(_obj1
, &_arg1
))
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3190 wxPy_END_ALLOW_THREADS
;
3191 if (PyErr_Occurred()) return NULL
;
3192 } _resultobj
= Py_BuildValue("i",_result
);
3196 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3197 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3200 wxPyListCtrl
* _arg0
;
3202 PyObject
* _argo0
= 0;
3204 PyObject
* _obj1
= 0;
3205 char *_kwnames
[] = { "self","col", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3219 if (! wxColour_helper(_obj1
, &_arg1
))
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3226 wxPy_END_ALLOW_THREADS
;
3227 if (PyErr_Occurred()) return NULL
;
3228 } _resultobj
= Py_BuildValue("i",_result
);
3232 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3233 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3236 wxPyListCtrl
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 PyObject
* _argo2
= 0;
3241 char *_kwnames
[] = { "self","col","item", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3254 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3255 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3261 wxPy_BEGIN_ALLOW_THREADS
;
3262 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3264 wxPy_END_ALLOW_THREADS
;
3265 if (PyErr_Occurred()) return NULL
;
3266 } _resultobj
= Py_BuildValue("i",_result
);
3270 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3271 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3274 wxPyListCtrl
* _arg0
;
3277 PyObject
* _argo0
= 0;
3278 PyObject
* _argo2
= 0;
3279 char *_kwnames
[] = { "self","col","item", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3292 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3302 wxPy_END_ALLOW_THREADS
;
3303 if (PyErr_Occurred()) return NULL
;
3304 } _resultobj
= Py_BuildValue("i",_result
);
3308 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3309 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 wxPyListCtrl
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self","col", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3331 wxPy_END_ALLOW_THREADS
;
3332 if (PyErr_Occurred()) return NULL
;
3333 } _resultobj
= Py_BuildValue("i",_result
);
3337 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3338 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3341 wxPyListCtrl
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self","col","width", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3358 wxPy_BEGIN_ALLOW_THREADS
;
3359 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3361 wxPy_END_ALLOW_THREADS
;
3362 if (PyErr_Occurred()) return NULL
;
3363 } _resultobj
= Py_BuildValue("i",_result
);
3367 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3368 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxPyListCtrl
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3386 wxPy_BEGIN_ALLOW_THREADS
;
3387 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3389 wxPy_END_ALLOW_THREADS
;
3390 if (PyErr_Occurred()) return NULL
;
3391 } _resultobj
= Py_BuildValue("i",_result
);
3395 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3396 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxTextCtrl
* _result
;
3399 wxPyListCtrl
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3417 wxPy_END_ALLOW_THREADS
;
3418 if (PyErr_Occurred()) return NULL
;
3419 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3423 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3424 wxListItem
* info
= new wxListItem
;
3425 info
->m_itemId
= itemId
;
3427 info
->m_mask
= 0xFFFF;
3428 self
->GetItem(*info
);
3431 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3433 wxListItem
* _result
;
3434 wxPyListCtrl
* _arg0
;
3436 int _arg2
= (int ) 0;
3437 PyObject
* _argo0
= 0;
3438 char *_kwnames
[] = { "self","itemId","col", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3451 wxPy_BEGIN_ALLOW_THREADS
;
3452 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3454 wxPy_END_ALLOW_THREADS
;
3455 if (PyErr_Occurred()) return NULL
;
3456 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3460 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3461 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
* _resultobj
;
3464 wxPyListCtrl
* _arg0
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo1
= 0;
3468 char *_kwnames
[] = { "self","info", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3491 wxPy_END_ALLOW_THREADS
;
3492 if (PyErr_Occurred()) return NULL
;
3493 } _resultobj
= Py_BuildValue("i",_result
);
3497 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3498 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3501 wxPyListCtrl
* _arg0
;
3505 int _arg4
= (int ) -1;
3506 PyObject
* _argo0
= 0;
3507 PyObject
* _obj3
= 0;
3508 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3521 #if PYTHON_API_VERSION >= 1009
3522 char* tmpPtr
; int tmpSize
;
3523 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3527 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3529 _arg3
= new wxString(tmpPtr
, tmpSize
);
3531 if (!PyString_Check(_obj3
)) {
3532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3535 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3542 wxPy_END_ALLOW_THREADS
;
3543 if (PyErr_Occurred()) return NULL
;
3544 } _resultobj
= Py_BuildValue("l",_result
);
3552 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3553 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxPyListCtrl
* _arg0
;
3559 PyObject
* _argo0
= 0;
3560 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3576 wxPy_END_ALLOW_THREADS
;
3577 if (PyErr_Occurred()) return NULL
;
3578 } _resultobj
= Py_BuildValue("i",_result
);
3582 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3583 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3586 wxPyListCtrl
* _arg0
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3607 wxPy_END_ALLOW_THREADS
;
3608 if (PyErr_Occurred()) return NULL
;
3609 } _resultobj
= Py_BuildValue("i",_result
);
3613 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3614 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3617 wxPyListCtrl
* _arg0
;
3621 PyObject
* _argo0
= 0;
3622 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3638 wxPy_END_ALLOW_THREADS
;
3639 if (PyErr_Occurred()) return NULL
;
3640 } _resultobj
= Py_BuildValue("i",_result
);
3644 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3645 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
* _resultobj
;
3648 wxPyListCtrl
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","item", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3667 wxPy_END_ALLOW_THREADS
;
3668 if (PyErr_Occurred()) return NULL
;
3670 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3678 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3679 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3681 wxPyListCtrl
* _arg0
;
3684 PyObject
* _argo0
= 0;
3685 PyObject
* _obj2
= 0;
3686 char *_kwnames
[] = { "self","item","str", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3699 #if PYTHON_API_VERSION >= 1009
3700 char* tmpPtr
; int tmpSize
;
3701 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3705 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3707 _arg2
= new wxString(tmpPtr
, tmpSize
);
3709 if (!PyString_Check(_obj2
)) {
3710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3713 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3717 wxPy_BEGIN_ALLOW_THREADS
;
3718 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3720 wxPy_END_ALLOW_THREADS
;
3721 if (PyErr_Occurred()) return NULL
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3731 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3732 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3735 wxPyListCtrl
* _arg0
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self","item", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3755 if (PyErr_Occurred()) return NULL
;
3756 } _resultobj
= Py_BuildValue("l",_result
);
3760 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3761 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3764 wxPyListCtrl
* _arg0
;
3767 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self","item","data", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3781 wxPy_BEGIN_ALLOW_THREADS
;
3782 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3784 wxPy_END_ALLOW_THREADS
;
3785 if (PyErr_Occurred()) return NULL
;
3786 } _resultobj
= Py_BuildValue("i",_result
);
3790 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3791 wxPoint
* pos
= new wxPoint
;
3792 self
->GetItemPosition(item
, *pos
);
3795 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3798 wxPyListCtrl
* _arg0
;
3800 PyObject
* _argo0
= 0;
3801 char *_kwnames
[] = { "self","item", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3818 wxPy_END_ALLOW_THREADS
;
3819 if (PyErr_Occurred()) return NULL
;
3821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3822 _resultobj
= Py_BuildValue("s",_ptemp
);
3825 _resultobj
= Py_None
;
3830 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3831 wxRect
* rect
= new wxRect
;
3832 self
->GetItemRect(item
, *rect
, code
);
3835 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3838 wxPyListCtrl
* _arg0
;
3840 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self","item","code", NULL
};
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3856 wxPy_BEGIN_ALLOW_THREADS
;
3857 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3859 wxPy_END_ALLOW_THREADS
;
3860 if (PyErr_Occurred()) return NULL
;
3862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3863 _resultobj
= Py_BuildValue("s",_ptemp
);
3866 _resultobj
= Py_None
;
3871 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3872 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxPyListCtrl
* _arg0
;
3878 PyObject
* _argo0
= 0;
3880 PyObject
* _obj2
= 0;
3881 char *_kwnames
[] = { "self","item","pos", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3895 if (! wxPoint_helper(_obj2
, &_arg2
))
3899 wxPy_BEGIN_ALLOW_THREADS
;
3900 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3902 wxPy_END_ALLOW_THREADS
;
3903 if (PyErr_Occurred()) return NULL
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3909 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3912 wxPyListCtrl
* _arg0
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3927 wxPy_BEGIN_ALLOW_THREADS
;
3928 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3930 wxPy_END_ALLOW_THREADS
;
3931 if (PyErr_Occurred()) return NULL
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3937 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3940 wxPyListCtrl
* _arg0
;
3941 PyObject
* _argo0
= 0;
3942 char *_kwnames
[] = { "self", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3958 wxPy_END_ALLOW_THREADS
;
3959 if (PyErr_Occurred()) return NULL
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3964 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3965 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3968 wxPyListCtrl
* _arg0
;
3970 PyObject
* _argo0
= 0;
3972 char *_kwnames
[] = { "self","isSmall", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3984 _arg1
= (bool ) tempbool1
;
3986 wxPy_BEGIN_ALLOW_THREADS
;
3987 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3989 wxPy_END_ALLOW_THREADS
;
3990 if (PyErr_Occurred()) return NULL
;
3991 } _resultobj
= Py_BuildValue("i",_result
);
3995 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3996 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3999 wxPyListCtrl
* _arg0
;
4000 PyObject
* _argo0
= 0;
4001 char *_kwnames
[] = { "self", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
4014 wxPy_BEGIN_ALLOW_THREADS
;
4015 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
4017 wxPy_END_ALLOW_THREADS
;
4018 if (PyErr_Occurred()) return NULL
;
4019 } _resultobj
= Py_BuildValue("i",_result
);
4023 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4024 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4027 wxPyListCtrl
* _arg0
;
4028 PyObject
* _argo0
= 0;
4029 char *_kwnames
[] = { "self", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
4046 wxPy_END_ALLOW_THREADS
;
4047 if (PyErr_Occurred()) return NULL
;
4048 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4049 _resultobj
= Py_BuildValue("s",_ptemp
);
4053 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4054 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4056 wxPyListCtrl
* _arg0
;
4058 PyObject
* _argo0
= 0;
4060 PyObject
* _obj1
= 0;
4061 char *_kwnames
[] = { "self","col", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4075 if (! wxColour_helper(_obj1
, &_arg1
))
4079 wxPy_BEGIN_ALLOW_THREADS
;
4080 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4082 wxPy_END_ALLOW_THREADS
;
4083 if (PyErr_Occurred()) return NULL
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4090 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4093 wxPyListCtrl
* _arg0
;
4094 PyObject
* _argo0
= 0;
4095 char *_kwnames
[] = { "self", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4108 wxPy_BEGIN_ALLOW_THREADS
;
4109 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4111 wxPy_END_ALLOW_THREADS
;
4112 if (PyErr_Occurred()) return NULL
;
4113 } _resultobj
= Py_BuildValue("l",_result
);
4117 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4118 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4120 wxPyListCtrl
* _arg0
;
4122 bool _arg2
= (bool ) TRUE
;
4123 PyObject
* _argo0
= 0;
4124 int tempbool2
= (int) TRUE
;
4125 char *_kwnames
[] = { "self","style","add", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4137 _arg2
= (bool ) tempbool2
;
4139 wxPy_BEGIN_ALLOW_THREADS
;
4140 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4142 wxPy_END_ALLOW_THREADS
;
4143 if (PyErr_Occurred()) return NULL
;
4144 } Py_INCREF(Py_None
);
4145 _resultobj
= Py_None
;
4149 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4150 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4152 wxPyListCtrl
* _arg0
;
4154 PyObject
* _argo0
= 0;
4155 char *_kwnames
[] = { "self","style", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4168 wxPy_BEGIN_ALLOW_THREADS
;
4169 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4171 wxPy_END_ALLOW_THREADS
;
4172 if (PyErr_Occurred()) return NULL
;
4173 } Py_INCREF(Py_None
);
4174 _resultobj
= Py_None
;
4178 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4179 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4182 wxPyListCtrl
* _arg0
;
4184 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4185 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4203 wxPy_END_ALLOW_THREADS
;
4204 if (PyErr_Occurred()) return NULL
;
4205 } _resultobj
= Py_BuildValue("l",_result
);
4209 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4210 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4212 wxImageList
* _result
;
4213 wxPyListCtrl
* _arg0
;
4215 PyObject
* _argo0
= 0;
4216 char *_kwnames
[] = { "self","which", NULL
};
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4232 wxPy_END_ALLOW_THREADS
;
4233 if (PyErr_Occurred()) return NULL
;
4234 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4238 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4239 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4241 wxPyListCtrl
* _arg0
;
4242 wxImageList
* _arg1
;
4244 PyObject
* _argo0
= 0;
4245 PyObject
* _argo1
= 0;
4246 char *_kwnames
[] = { "self","imageList","which", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4269 wxPy_END_ALLOW_THREADS
;
4270 if (PyErr_Occurred()) return NULL
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4276 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4277 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4279 wxPyListCtrl
* _arg0
;
4280 wxImageList
* _arg1
;
4282 PyObject
* _argo0
= 0;
4283 PyObject
* _argo1
= 0;
4284 char *_kwnames
[] = { "self","imageList","which", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4304 wxPy_BEGIN_ALLOW_THREADS
;
4305 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4307 wxPy_END_ALLOW_THREADS
;
4308 if (PyErr_Occurred()) return NULL
;
4309 } Py_INCREF(Py_None
);
4310 _resultobj
= Py_None
;
4314 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4315 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4318 wxPyListCtrl
* _arg0
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4333 wxPy_BEGIN_ALLOW_THREADS
;
4334 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4336 wxPy_END_ALLOW_THREADS
;
4337 if (PyErr_Occurred()) return NULL
;
4338 } _resultobj
= Py_BuildValue("i",_result
);
4342 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4343 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4345 wxPyListCtrl
* _arg0
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self","item", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4364 wxPy_END_ALLOW_THREADS
;
4365 if (PyErr_Occurred()) return NULL
;
4366 } Py_INCREF(Py_None
);
4367 _resultobj
= Py_None
;
4371 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4372 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4374 wxPyListCtrl
* _arg0
;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4394 wxPy_END_ALLOW_THREADS
;
4395 if (PyErr_Occurred()) return NULL
;
4396 } Py_INCREF(Py_None
);
4397 _resultobj
= Py_None
;
4401 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4402 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 wxPyListCtrl
* _arg0
;
4406 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self","flag", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4424 wxPy_END_ALLOW_THREADS
;
4425 if (PyErr_Occurred()) return NULL
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4431 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4434 wxPyListCtrl
* _arg0
;
4436 PyObject
* _argo0
= 0;
4437 char *_kwnames
[] = { "self","item", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4453 wxPy_END_ALLOW_THREADS
;
4454 if (PyErr_Occurred()) return NULL
;
4455 } _resultobj
= Py_BuildValue("i",_result
);
4459 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4460 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4463 wxPyListCtrl
* _arg0
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4481 wxPy_END_ALLOW_THREADS
;
4482 if (PyErr_Occurred()) return NULL
;
4483 } _resultobj
= Py_BuildValue("i",_result
);
4487 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4488 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4491 wxPyListCtrl
* _arg0
;
4493 PyObject
* _argo0
= 0;
4494 char *_kwnames
[] = { "self","col", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4507 wxPy_BEGIN_ALLOW_THREADS
;
4508 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4510 wxPy_END_ALLOW_THREADS
;
4511 if (PyErr_Occurred()) return NULL
;
4512 } _resultobj
= Py_BuildValue("i",_result
);
4516 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4517 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
* _resultobj
;
4520 wxPyListCtrl
* _arg0
;
4521 PyObject
* _argo0
= 0;
4522 char *_kwnames
[] = { "self", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
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_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4538 wxPy_END_ALLOW_THREADS
;
4539 if (PyErr_Occurred()) return NULL
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4545 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4547 wxPyListCtrl
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 wxListCtrl_ClearAll(_arg0
);
4565 wxPy_END_ALLOW_THREADS
;
4566 if (PyErr_Occurred()) return NULL
;
4567 } Py_INCREF(Py_None
);
4568 _resultobj
= Py_None
;
4572 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4573 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4575 wxTextCtrl
* _result
;
4576 wxPyListCtrl
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self","item", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_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_EditLabel. Expected _wxPyListCtrl_p.");
4592 wxPy_BEGIN_ALLOW_THREADS
;
4593 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4595 wxPy_END_ALLOW_THREADS
;
4596 if (PyErr_Occurred()) return NULL
;
4597 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4601 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4602 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4605 wxPyListCtrl
* _arg0
;
4607 PyObject
* _argo0
= 0;
4609 char *_kwnames
[] = { "self","cancel", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4621 _arg1
= (bool ) tempbool1
;
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4626 wxPy_END_ALLOW_THREADS
;
4627 if (PyErr_Occurred()) return NULL
;
4628 } _resultobj
= Py_BuildValue("i",_result
);
4632 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4633 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4636 wxPyListCtrl
* _arg0
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self","item", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4655 wxPy_END_ALLOW_THREADS
;
4656 if (PyErr_Occurred()) return NULL
;
4657 } _resultobj
= Py_BuildValue("i",_result
);
4661 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4662 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4665 wxPyListCtrl
* _arg0
;
4668 bool _arg3
= (bool ) FALSE
;
4669 PyObject
* _argo0
= 0;
4670 PyObject
* _obj2
= 0;
4671 int tempbool3
= (int) FALSE
;
4672 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4685 #if PYTHON_API_VERSION >= 1009
4686 char* tmpPtr
; int tmpSize
;
4687 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4691 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4693 _arg2
= new wxString(tmpPtr
, tmpSize
);
4695 if (!PyString_Check(_obj2
)) {
4696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4699 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4702 _arg3
= (bool ) tempbool3
;
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4707 wxPy_END_ALLOW_THREADS
;
4708 if (PyErr_Occurred()) return NULL
;
4709 } _resultobj
= Py_BuildValue("l",_result
);
4717 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4718 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 wxPyListCtrl
* _arg0
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self","start","data", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4741 wxPy_END_ALLOW_THREADS
;
4742 if (PyErr_Occurred()) return NULL
;
4743 } _resultobj
= Py_BuildValue("l",_result
);
4747 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4748 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4751 wxPyListCtrl
* _arg0
;
4755 PyObject
* _argo0
= 0;
4757 PyObject
* _obj2
= 0;
4758 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4772 if (! wxPoint_helper(_obj2
, &_arg2
))
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4779 wxPy_END_ALLOW_THREADS
;
4780 if (PyErr_Occurred()) return NULL
;
4781 } _resultobj
= Py_BuildValue("l",_result
);
4785 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4786 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4789 wxPyListCtrl
* _arg0
;
4793 PyObject
* _argo0
= 0;
4795 PyObject
* _obj1
= 0;
4796 char *_kwnames
[] = { "self","point", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4813 if (! wxPoint_helper(_obj1
, &_arg1
))
4817 wxPy_BEGIN_ALLOW_THREADS
;
4818 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4820 wxPy_END_ALLOW_THREADS
;
4821 if (PyErr_Occurred()) return NULL
;
4822 } _resultobj
= Py_BuildValue("l",_result
);
4825 o
= PyInt_FromLong((long) (*_arg2
));
4826 _resultobj
= t_output_helper(_resultobj
, o
);
4831 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4832 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4835 wxPyListCtrl
* _arg0
;
4837 PyObject
* _argo0
= 0;
4838 PyObject
* _argo1
= 0;
4839 char *_kwnames
[] = { "self","info", NULL
};
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4859 wxPy_BEGIN_ALLOW_THREADS
;
4860 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4862 wxPy_END_ALLOW_THREADS
;
4863 if (PyErr_Occurred()) return NULL
;
4864 } _resultobj
= Py_BuildValue("l",_result
);
4868 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4869 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4872 wxPyListCtrl
* _arg0
;
4875 PyObject
* _argo0
= 0;
4876 PyObject
* _obj2
= 0;
4877 char *_kwnames
[] = { "self","index","label", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4890 #if PYTHON_API_VERSION >= 1009
4891 char* tmpPtr
; int tmpSize
;
4892 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4896 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4898 _arg2
= new wxString(tmpPtr
, tmpSize
);
4900 if (!PyString_Check(_obj2
)) {
4901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4904 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4908 wxPy_BEGIN_ALLOW_THREADS
;
4909 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4911 wxPy_END_ALLOW_THREADS
;
4912 if (PyErr_Occurred()) return NULL
;
4913 } _resultobj
= Py_BuildValue("l",_result
);
4921 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4922 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4925 wxPyListCtrl
* _arg0
;
4928 PyObject
* _argo0
= 0;
4929 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4942 wxPy_BEGIN_ALLOW_THREADS
;
4943 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4945 wxPy_END_ALLOW_THREADS
;
4946 if (PyErr_Occurred()) return NULL
;
4947 } _resultobj
= Py_BuildValue("l",_result
);
4951 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4952 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4955 wxPyListCtrl
* _arg0
;
4959 PyObject
* _argo0
= 0;
4960 PyObject
* _obj2
= 0;
4961 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4974 #if PYTHON_API_VERSION >= 1009
4975 char* tmpPtr
; int tmpSize
;
4976 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4980 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4982 _arg2
= new wxString(tmpPtr
, tmpSize
);
4984 if (!PyString_Check(_obj2
)) {
4985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4988 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4995 wxPy_END_ALLOW_THREADS
;
4996 if (PyErr_Occurred()) return NULL
;
4997 } _resultobj
= Py_BuildValue("l",_result
);
5005 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
5006 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5009 wxPyListCtrl
* _arg0
;
5012 PyObject
* _argo0
= 0;
5013 PyObject
* _argo2
= 0;
5014 char *_kwnames
[] = { "self","col","info", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
5027 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
5034 wxPy_BEGIN_ALLOW_THREADS
;
5035 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
5037 wxPy_END_ALLOW_THREADS
;
5038 if (PyErr_Occurred()) return NULL
;
5039 } _resultobj
= Py_BuildValue("l",_result
);
5043 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5044 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5047 wxPyListCtrl
* _arg0
;
5050 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5051 int _arg4
= (int ) -1;
5052 PyObject
* _argo0
= 0;
5053 PyObject
* _obj2
= 0;
5054 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5067 #if PYTHON_API_VERSION >= 1009
5068 char* tmpPtr
; int tmpSize
;
5069 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5073 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5075 _arg2
= new wxString(tmpPtr
, tmpSize
);
5077 if (!PyString_Check(_obj2
)) {
5078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5081 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5088 wxPy_END_ALLOW_THREADS
;
5089 if (PyErr_Occurred()) return NULL
;
5090 } _resultobj
= Py_BuildValue("l",_result
);
5098 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5099 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5101 wxPyListCtrl
* _arg0
;
5103 PyObject
* _argo0
= 0;
5104 char *_kwnames
[] = { "self","count", NULL
};
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5117 wxPy_BEGIN_ALLOW_THREADS
;
5118 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5120 wxPy_END_ALLOW_THREADS
;
5121 if (PyErr_Occurred()) return NULL
;
5122 } Py_INCREF(Py_None
);
5123 _resultobj
= Py_None
;
5127 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5128 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5131 wxPyListCtrl
* _arg0
;
5134 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self","dx","dy", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5151 wxPy_END_ALLOW_THREADS
;
5152 if (PyErr_Occurred()) return NULL
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5158 if (!PyCallable_Check(func
))
5160 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5162 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
* _resultobj
;
5165 wxPyListCtrl
* _arg0
;
5167 PyObject
* _argo0
= 0;
5168 PyObject
* _obj1
= 0;
5169 char *_kwnames
[] = { "self","func", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5185 wxPy_BEGIN_ALLOW_THREADS
;
5186 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5188 wxPy_END_ALLOW_THREADS
;
5189 if (PyErr_Occurred()) return NULL
;
5190 } _resultobj
= Py_BuildValue("i",_result
);
5194 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5197 src
= (wxListView
*) ptr
;
5198 dest
= (wxPyListCtrl
*) src
;
5199 return (void *) dest
;
5202 static void *SwigwxListViewTowxControl(void *ptr
) {
5205 src
= (wxListView
*) ptr
;
5206 dest
= (wxControl
*) src
;
5207 return (void *) dest
;
5210 static void *SwigwxListViewTowxWindow(void *ptr
) {
5213 src
= (wxListView
*) ptr
;
5214 dest
= (wxWindow
*) src
;
5215 return (void *) dest
;
5218 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5221 src
= (wxListView
*) ptr
;
5222 dest
= (wxEvtHandler
*) src
;
5223 return (void *) dest
;
5226 static void *SwigwxListViewTowxObject(void *ptr
) {
5229 src
= (wxListView
*) ptr
;
5230 dest
= (wxObject
*) src
;
5231 return (void *) dest
;
5234 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5235 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5237 wxListView
* _result
;
5239 wxWindowID _arg1
= (wxWindowID
) -1;
5240 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5241 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5242 long _arg4
= (long ) (wxLC_REPORT
);
5243 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5244 wxString
* _arg6
= (wxString
*) &"listctrl";
5245 PyObject
* _argo0
= 0;
5247 PyObject
* _obj2
= 0;
5249 PyObject
* _obj3
= 0;
5250 PyObject
* _argo5
= 0;
5251 PyObject
* _obj6
= 0;
5252 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5268 if (! wxPoint_helper(_obj2
, &_arg2
))
5274 if (! wxSize_helper(_obj3
, &_arg3
))
5278 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5286 #if PYTHON_API_VERSION >= 1009
5287 char* tmpPtr
; int tmpSize
;
5288 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5292 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5294 _arg6
= new wxString(tmpPtr
, tmpSize
);
5296 if (!PyString_Check(_obj6
)) {
5297 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5300 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5304 wxPy_BEGIN_ALLOW_THREADS
;
5305 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5307 wxPy_END_ALLOW_THREADS
;
5308 if (PyErr_Occurred()) return NULL
;
5310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5311 _resultobj
= Py_BuildValue("s",_ptemp
);
5314 _resultobj
= Py_None
;
5323 #define new_wxPreListView() (new wxListView())
5324 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5326 wxListView
* _result
;
5327 char *_kwnames
[] = { NULL
};
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5334 wxPy_BEGIN_ALLOW_THREADS
;
5335 _result
= (wxListView
*)new_wxPreListView();
5337 wxPy_END_ALLOW_THREADS
;
5338 if (PyErr_Occurred()) return NULL
;
5340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5341 _resultobj
= Py_BuildValue("s",_ptemp
);
5344 _resultobj
= Py_None
;
5349 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5350 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5355 wxWindowID _arg2
= (wxWindowID
) -1;
5356 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5357 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5358 long _arg5
= (long ) (wxLC_REPORT
);
5359 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5360 wxString
* _arg7
= (wxString
*) &"listctrl";
5361 PyObject
* _argo0
= 0;
5362 PyObject
* _argo1
= 0;
5364 PyObject
* _obj3
= 0;
5366 PyObject
* _obj4
= 0;
5367 PyObject
* _argo6
= 0;
5368 PyObject
* _obj7
= 0;
5369 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5391 if (! wxPoint_helper(_obj3
, &_arg3
))
5397 if (! wxSize_helper(_obj4
, &_arg4
))
5401 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5409 #if PYTHON_API_VERSION >= 1009
5410 char* tmpPtr
; int tmpSize
;
5411 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5415 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5417 _arg7
= new wxString(tmpPtr
, tmpSize
);
5419 if (!PyString_Check(_obj7
)) {
5420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5423 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5430 wxPy_END_ALLOW_THREADS
;
5431 if (PyErr_Occurred()) return NULL
;
5432 } _resultobj
= Py_BuildValue("i",_result
);
5440 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5441 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5445 bool _arg2
= (bool ) TRUE
;
5446 PyObject
* _argo0
= 0;
5447 int tempbool2
= (int) TRUE
;
5448 char *_kwnames
[] = { "self","n","on", NULL
};
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5460 _arg2
= (bool ) tempbool2
;
5462 wxPy_BEGIN_ALLOW_THREADS
;
5463 wxListView_Select(_arg0
,_arg1
,_arg2
);
5465 wxPy_END_ALLOW_THREADS
;
5466 if (PyErr_Occurred()) return NULL
;
5467 } Py_INCREF(Py_None
);
5468 _resultobj
= Py_None
;
5472 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5473 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5477 PyObject
* _argo0
= 0;
5478 char *_kwnames
[] = { "self","index", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5491 wxPy_BEGIN_ALLOW_THREADS
;
5492 wxListView_Focus(_arg0
,_arg1
);
5494 wxPy_END_ALLOW_THREADS
;
5495 if (PyErr_Occurred()) return NULL
;
5496 } Py_INCREF(Py_None
);
5497 _resultobj
= Py_None
;
5501 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5502 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5506 PyObject
* _argo0
= 0;
5507 char *_kwnames
[] = { "self", NULL
};
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5520 wxPy_BEGIN_ALLOW_THREADS
;
5521 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5523 wxPy_END_ALLOW_THREADS
;
5524 if (PyErr_Occurred()) return NULL
;
5525 } _resultobj
= Py_BuildValue("l",_result
);
5529 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5530 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5535 PyObject
* _argo0
= 0;
5536 char *_kwnames
[] = { "self","item", NULL
};
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5549 wxPy_BEGIN_ALLOW_THREADS
;
5550 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5552 wxPy_END_ALLOW_THREADS
;
5553 if (PyErr_Occurred()) return NULL
;
5554 } _resultobj
= Py_BuildValue("l",_result
);
5558 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5559 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5563 PyObject
* _argo0
= 0;
5564 char *_kwnames
[] = { "self", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5577 wxPy_BEGIN_ALLOW_THREADS
;
5578 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5580 wxPy_END_ALLOW_THREADS
;
5581 if (PyErr_Occurred()) return NULL
;
5582 } _resultobj
= Py_BuildValue("l",_result
);
5586 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5587 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5592 PyObject
* _argo0
= 0;
5593 char *_kwnames
[] = { "self","index", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5606 wxPy_BEGIN_ALLOW_THREADS
;
5607 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5609 wxPy_END_ALLOW_THREADS
;
5610 if (PyErr_Occurred()) return NULL
;
5611 } _resultobj
= Py_BuildValue("i",_result
);
5615 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5616 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5621 PyObject
* _argo0
= 0;
5622 char *_kwnames
[] = { "self","col","image", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5638 wxPy_END_ALLOW_THREADS
;
5639 if (PyErr_Occurred()) return NULL
;
5640 } Py_INCREF(Py_None
);
5641 _resultobj
= Py_None
;
5645 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5646 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5650 PyObject
* _argo0
= 0;
5651 char *_kwnames
[] = { "self","col", NULL
};
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5664 wxPy_BEGIN_ALLOW_THREADS
;
5665 wxListView_ClearColumnImage(_arg0
,_arg1
);
5667 wxPy_END_ALLOW_THREADS
;
5668 if (PyErr_Occurred()) return NULL
;
5669 } Py_INCREF(Py_None
);
5670 _resultobj
= Py_None
;
5674 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5675 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
* _resultobj
;
5677 wxTreeItemAttr
* _result
;
5678 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5679 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5680 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5682 PyObject
* _obj0
= 0;
5684 PyObject
* _obj1
= 0;
5685 PyObject
* _argo2
= 0;
5686 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5695 if (! wxColour_helper(_obj0
, &_arg0
))
5701 if (! wxColour_helper(_obj1
, &_arg1
))
5705 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5715 wxPy_END_ALLOW_THREADS
;
5716 if (PyErr_Occurred()) return NULL
;
5718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5719 _resultobj
= Py_BuildValue("s",_ptemp
);
5722 _resultobj
= Py_None
;
5727 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5728 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5730 wxTreeItemAttr
* _arg0
;
5732 PyObject
* _argo0
= 0;
5734 PyObject
* _obj1
= 0;
5735 char *_kwnames
[] = { "self","colText", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5749 if (! wxColour_helper(_obj1
, &_arg1
))
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5756 wxPy_END_ALLOW_THREADS
;
5757 if (PyErr_Occurred()) return NULL
;
5758 } Py_INCREF(Py_None
);
5759 _resultobj
= Py_None
;
5763 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5764 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5766 wxTreeItemAttr
* _arg0
;
5768 PyObject
* _argo0
= 0;
5770 PyObject
* _obj1
= 0;
5771 char *_kwnames
[] = { "self","colBack", NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5785 if (! wxColour_helper(_obj1
, &_arg1
))
5789 wxPy_BEGIN_ALLOW_THREADS
;
5790 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5792 wxPy_END_ALLOW_THREADS
;
5793 if (PyErr_Occurred()) return NULL
;
5794 } Py_INCREF(Py_None
);
5795 _resultobj
= Py_None
;
5799 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5800 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5802 wxTreeItemAttr
* _arg0
;
5804 PyObject
* _argo0
= 0;
5805 PyObject
* _argo1
= 0;
5806 char *_kwnames
[] = { "self","font", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5826 wxPy_BEGIN_ALLOW_THREADS
;
5827 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5829 wxPy_END_ALLOW_THREADS
;
5830 if (PyErr_Occurred()) return NULL
;
5831 } Py_INCREF(Py_None
);
5832 _resultobj
= Py_None
;
5836 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5837 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
* _resultobj
;
5840 wxTreeItemAttr
* _arg0
;
5841 PyObject
* _argo0
= 0;
5842 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5858 wxPy_END_ALLOW_THREADS
;
5859 if (PyErr_Occurred()) return NULL
;
5860 } _resultobj
= Py_BuildValue("i",_result
);
5864 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5865 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5868 wxTreeItemAttr
* _arg0
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5883 wxPy_BEGIN_ALLOW_THREADS
;
5884 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5886 wxPy_END_ALLOW_THREADS
;
5887 if (PyErr_Occurred()) return NULL
;
5888 } _resultobj
= Py_BuildValue("i",_result
);
5892 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5893 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5896 wxTreeItemAttr
* _arg0
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5911 wxPy_BEGIN_ALLOW_THREADS
;
5912 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5914 wxPy_END_ALLOW_THREADS
;
5915 if (PyErr_Occurred()) return NULL
;
5916 } _resultobj
= Py_BuildValue("i",_result
);
5920 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5921 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5924 wxTreeItemAttr
* _arg0
;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 const wxColour
& _result_ref
= wxTreeItemAttr_GetTextColour(_arg0
);
5942 _result
= (wxColour
*) &_result_ref
;
5944 wxPy_END_ALLOW_THREADS
;
5945 if (PyErr_Occurred()) return NULL
;
5947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5948 _resultobj
= Py_BuildValue("s",_ptemp
);
5951 _resultobj
= Py_None
;
5956 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5957 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
* _resultobj
;
5960 wxTreeItemAttr
* _arg0
;
5961 PyObject
* _argo0
= 0;
5962 char *_kwnames
[] = { "self", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5976 wxPy_BEGIN_ALLOW_THREADS
;
5977 const wxColour
& _result_ref
= wxTreeItemAttr_GetBackgroundColour(_arg0
);
5978 _result
= (wxColour
*) &_result_ref
;
5980 wxPy_END_ALLOW_THREADS
;
5981 if (PyErr_Occurred()) return NULL
;
5983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5984 _resultobj
= Py_BuildValue("s",_ptemp
);
5987 _resultobj
= Py_None
;
5992 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5993 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5996 wxTreeItemAttr
* _arg0
;
5997 PyObject
* _argo0
= 0;
5998 char *_kwnames
[] = { "self", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
6012 wxPy_BEGIN_ALLOW_THREADS
;
6013 const wxFont
& _result_ref
= wxTreeItemAttr_GetFont(_arg0
);
6014 _result
= (wxFont
*) &_result_ref
;
6016 wxPy_END_ALLOW_THREADS
;
6017 if (PyErr_Occurred()) return NULL
;
6019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6020 _resultobj
= Py_BuildValue("s",_ptemp
);
6023 _resultobj
= Py_None
;
6028 #define new_wxTreeItemId() (new wxTreeItemId())
6029 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6031 wxTreeItemId
* _result
;
6032 char *_kwnames
[] = { NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 _result
= (wxTreeItemId
*)new_wxTreeItemId();
6042 wxPy_END_ALLOW_THREADS
;
6043 if (PyErr_Occurred()) return NULL
;
6045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6046 _resultobj
= Py_BuildValue("s",_ptemp
);
6049 _resultobj
= Py_None
;
6054 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
6055 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxTreeItemId
* _arg0
;
6058 PyObject
* _argo0
= 0;
6059 char *_kwnames
[] = { "self", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6072 wxPy_BEGIN_ALLOW_THREADS
;
6073 delete_wxTreeItemId(_arg0
);
6075 wxPy_END_ALLOW_THREADS
;
6076 if (PyErr_Occurred()) return NULL
;
6077 } Py_INCREF(Py_None
);
6078 _resultobj
= Py_None
;
6082 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6083 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6086 wxTreeItemId
* _arg0
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6104 wxPy_END_ALLOW_THREADS
;
6105 if (PyErr_Occurred()) return NULL
;
6106 } _resultobj
= Py_BuildValue("i",_result
);
6110 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6111 if (! other
) return -1;
6112 return *self
!= *other
;
6114 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6117 wxTreeItemId
* _arg0
;
6118 wxTreeItemId
* _arg1
;
6119 PyObject
* _argo0
= 0;
6120 PyObject
* _argo1
= 0;
6121 char *_kwnames
[] = { "self","other", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6141 wxPy_BEGIN_ALLOW_THREADS
;
6142 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6144 wxPy_END_ALLOW_THREADS
;
6145 if (PyErr_Occurred()) return NULL
;
6146 } _resultobj
= Py_BuildValue("i",_result
);
6150 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6151 wxPyTreeItemData
*src
;
6153 src
= (wxPyTreeItemData
*) ptr
;
6154 dest
= (wxObject
*) src
;
6155 return (void *) dest
;
6158 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6159 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxPyTreeItemData
* _result
;
6162 PyObject
* _arg0
= (PyObject
*) NULL
;
6163 PyObject
* _obj0
= 0;
6164 char *_kwnames
[] = { "obj", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6175 wxPy_BEGIN_ALLOW_THREADS
;
6176 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6178 wxPy_END_ALLOW_THREADS
;
6179 if (PyErr_Occurred()) return NULL
;
6181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6182 _resultobj
= Py_BuildValue("s",_ptemp
);
6185 _resultobj
= Py_None
;
6190 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6191 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6194 wxPyTreeItemData
* _arg0
;
6195 PyObject
* _argo0
= 0;
6196 char *_kwnames
[] = { "self", NULL
};
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6209 wxPy_BEGIN_ALLOW_THREADS
;
6210 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6212 wxPy_END_ALLOW_THREADS
;
6213 if (PyErr_Occurred()) return NULL
;
6215 _resultobj
= _result
;
6220 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6221 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6223 wxPyTreeItemData
* _arg0
;
6225 PyObject
* _argo0
= 0;
6226 PyObject
* _obj1
= 0;
6227 char *_kwnames
[] = { "self","obj", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6243 wxPy_BEGIN_ALLOW_THREADS
;
6244 wxTreeItemData_SetData(_arg0
,_arg1
);
6246 wxPy_END_ALLOW_THREADS
;
6247 if (PyErr_Occurred()) return NULL
;
6248 } Py_INCREF(Py_None
);
6249 _resultobj
= Py_None
;
6253 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6254 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6256 wxTreeItemId
* _result
;
6257 wxPyTreeItemData
* _arg0
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6273 wxPy_BEGIN_ALLOW_THREADS
;
6274 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6275 _result
= (wxTreeItemId
*) &_result_ref
;
6277 wxPy_END_ALLOW_THREADS
;
6278 if (PyErr_Occurred()) return NULL
;
6280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6281 _resultobj
= Py_BuildValue("s",_ptemp
);
6284 _resultobj
= Py_None
;
6289 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6290 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6292 wxPyTreeItemData
* _arg0
;
6293 wxTreeItemId
* _arg1
;
6294 PyObject
* _argo0
= 0;
6295 PyObject
* _argo1
= 0;
6296 char *_kwnames
[] = { "self","id", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6316 wxPy_BEGIN_ALLOW_THREADS
;
6317 wxTreeItemData_SetId(_arg0
,*_arg1
);
6319 wxPy_END_ALLOW_THREADS
;
6320 if (PyErr_Occurred()) return NULL
;
6321 } Py_INCREF(Py_None
);
6322 _resultobj
= Py_None
;
6326 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6328 wxNotifyEvent
*dest
;
6329 src
= (wxTreeEvent
*) ptr
;
6330 dest
= (wxNotifyEvent
*) src
;
6331 return (void *) dest
;
6334 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6336 wxCommandEvent
*dest
;
6337 src
= (wxTreeEvent
*) ptr
;
6338 dest
= (wxCommandEvent
*) src
;
6339 return (void *) dest
;
6342 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6345 src
= (wxTreeEvent
*) ptr
;
6346 dest
= (wxEvent
*) src
;
6347 return (void *) dest
;
6350 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6353 src
= (wxTreeEvent
*) ptr
;
6354 dest
= (wxObject
*) src
;
6355 return (void *) dest
;
6358 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6359 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6361 wxTreeEvent
* _result
;
6362 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6363 int _arg1
= (int ) 0;
6364 char *_kwnames
[] = { "commandType","id", NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6371 wxPy_BEGIN_ALLOW_THREADS
;
6372 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6374 wxPy_END_ALLOW_THREADS
;
6375 if (PyErr_Occurred()) return NULL
;
6377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6378 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 _resultobj
= Py_None
;
6386 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6387 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6389 wxTreeItemId
* _result
;
6390 wxTreeEvent
* _arg0
;
6391 PyObject
* _argo0
= 0;
6392 char *_kwnames
[] = { "self", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6406 wxPy_BEGIN_ALLOW_THREADS
;
6407 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6409 wxPy_END_ALLOW_THREADS
;
6410 if (PyErr_Occurred()) return NULL
;
6411 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6412 _resultobj
= Py_BuildValue("s",_ptemp
);
6416 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6417 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
* _resultobj
;
6419 wxTreeItemId
* _result
;
6420 wxTreeEvent
* _arg0
;
6421 PyObject
* _argo0
= 0;
6422 char *_kwnames
[] = { "self", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6439 wxPy_END_ALLOW_THREADS
;
6440 if (PyErr_Occurred()) return NULL
;
6441 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6442 _resultobj
= Py_BuildValue("s",_ptemp
);
6446 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6447 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
* _resultobj
;
6450 wxTreeEvent
* _arg0
;
6451 PyObject
* _argo0
= 0;
6452 char *_kwnames
[] = { "self", NULL
};
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6466 wxPy_BEGIN_ALLOW_THREADS
;
6467 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6469 wxPy_END_ALLOW_THREADS
;
6470 if (PyErr_Occurred()) return NULL
;
6471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6472 _resultobj
= Py_BuildValue("s",_ptemp
);
6476 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6477 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
* _resultobj
;
6479 wxKeyEvent
* _result
;
6480 wxTreeEvent
* _arg0
;
6481 PyObject
* _argo0
= 0;
6482 char *_kwnames
[] = { "self", NULL
};
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6496 wxPy_BEGIN_ALLOW_THREADS
;
6497 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6498 _result
= (wxKeyEvent
*) &_result_ref
;
6500 wxPy_END_ALLOW_THREADS
;
6501 if (PyErr_Occurred()) return NULL
;
6503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6504 _resultobj
= Py_BuildValue("s",_ptemp
);
6507 _resultobj
= Py_None
;
6512 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6513 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6516 wxTreeEvent
* _arg0
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6531 wxPy_BEGIN_ALLOW_THREADS
;
6532 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6534 wxPy_END_ALLOW_THREADS
;
6535 if (PyErr_Occurred()) return NULL
;
6536 } _resultobj
= Py_BuildValue("i",_result
);
6540 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6541 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
* _resultobj
;
6544 wxTreeEvent
* _arg0
;
6545 PyObject
* _argo0
= 0;
6546 char *_kwnames
[] = { "self", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6559 wxPy_BEGIN_ALLOW_THREADS
;
6560 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6561 _result
= (wxString
*) &_result_ref
;
6563 wxPy_END_ALLOW_THREADS
;
6564 if (PyErr_Occurred()) return NULL
;
6566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6571 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6574 src
= (wxPyTreeCtrl
*) ptr
;
6575 dest
= (wxControl
*) src
;
6576 return (void *) dest
;
6579 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6582 src
= (wxPyTreeCtrl
*) ptr
;
6583 dest
= (wxWindow
*) src
;
6584 return (void *) dest
;
6587 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6590 src
= (wxPyTreeCtrl
*) ptr
;
6591 dest
= (wxEvtHandler
*) src
;
6592 return (void *) dest
;
6595 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6598 src
= (wxPyTreeCtrl
*) ptr
;
6599 dest
= (wxObject
*) src
;
6600 return (void *) dest
;
6603 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6604 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6606 wxPyTreeCtrl
* _result
;
6608 wxWindowID _arg1
= (wxWindowID
) -1;
6609 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6610 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6611 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6612 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6613 char * _arg6
= (char *) "wxTreeCtrl";
6614 PyObject
* _argo0
= 0;
6616 PyObject
* _obj2
= 0;
6618 PyObject
* _obj3
= 0;
6619 PyObject
* _argo5
= 0;
6620 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6636 if (! wxPoint_helper(_obj2
, &_arg2
))
6642 if (! wxSize_helper(_obj3
, &_arg3
))
6646 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6653 wxPy_BEGIN_ALLOW_THREADS
;
6654 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6656 wxPy_END_ALLOW_THREADS
;
6657 if (PyErr_Occurred()) return NULL
;
6659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6660 _resultobj
= Py_BuildValue("s",_ptemp
);
6663 _resultobj
= Py_None
;
6668 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6669 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6671 wxPyTreeCtrl
* _result
;
6672 char *_kwnames
[] = { NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6679 wxPy_BEGIN_ALLOW_THREADS
;
6680 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6682 wxPy_END_ALLOW_THREADS
;
6683 if (PyErr_Occurred()) return NULL
;
6685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6686 _resultobj
= Py_BuildValue("s",_ptemp
);
6689 _resultobj
= Py_None
;
6694 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6695 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
* _resultobj
;
6698 wxPyTreeCtrl
* _arg0
;
6700 wxWindowID _arg2
= (wxWindowID
) -1;
6701 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6702 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6703 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6704 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6705 char * _arg7
= (char *) "wxTreeCtrl";
6706 PyObject
* _argo0
= 0;
6707 PyObject
* _argo1
= 0;
6709 PyObject
* _obj3
= 0;
6711 PyObject
* _obj4
= 0;
6712 PyObject
* _argo6
= 0;
6713 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6735 if (! wxPoint_helper(_obj3
, &_arg3
))
6741 if (! wxSize_helper(_obj4
, &_arg4
))
6745 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6755 wxPy_END_ALLOW_THREADS
;
6756 if (PyErr_Occurred()) return NULL
;
6757 } _resultobj
= Py_BuildValue("i",_result
);
6761 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6762 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6764 wxPyTreeCtrl
* _arg0
;
6767 PyObject
* _argo0
= 0;
6768 PyObject
* _obj1
= 0;
6769 PyObject
* _obj2
= 0;
6770 char *_kwnames
[] = { "self","self","_class", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6789 wxPy_BEGIN_ALLOW_THREADS
;
6790 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6792 wxPy_END_ALLOW_THREADS
;
6793 if (PyErr_Occurred()) return NULL
;
6794 } Py_INCREF(Py_None
);
6795 _resultobj
= Py_None
;
6799 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6800 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6803 wxPyTreeCtrl
* _arg0
;
6804 PyObject
* _argo0
= 0;
6805 char *_kwnames
[] = { "self", NULL
};
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6818 wxPy_BEGIN_ALLOW_THREADS
;
6819 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6821 wxPy_END_ALLOW_THREADS
;
6822 if (PyErr_Occurred()) return NULL
;
6823 } _resultobj
= Py_BuildValue("i",_result
);
6827 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6828 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6830 unsigned int _result
;
6831 wxPyTreeCtrl
* _arg0
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6846 wxPy_BEGIN_ALLOW_THREADS
;
6847 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6849 wxPy_END_ALLOW_THREADS
;
6850 if (PyErr_Occurred()) return NULL
;
6851 } _resultobj
= Py_BuildValue("i",_result
);
6855 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6856 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6858 wxPyTreeCtrl
* _arg0
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self","indent", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6877 wxPy_END_ALLOW_THREADS
;
6878 if (PyErr_Occurred()) return NULL
;
6879 } Py_INCREF(Py_None
);
6880 _resultobj
= Py_None
;
6884 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6885 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6887 wxImageList
* _result
;
6888 wxPyTreeCtrl
* _arg0
;
6889 PyObject
* _argo0
= 0;
6890 char *_kwnames
[] = { "self", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6903 wxPy_BEGIN_ALLOW_THREADS
;
6904 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6906 wxPy_END_ALLOW_THREADS
;
6907 if (PyErr_Occurred()) return NULL
;
6908 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6912 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6913 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6915 wxImageList
* _result
;
6916 wxPyTreeCtrl
* _arg0
;
6917 PyObject
* _argo0
= 0;
6918 char *_kwnames
[] = { "self", NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6931 wxPy_BEGIN_ALLOW_THREADS
;
6932 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6934 wxPy_END_ALLOW_THREADS
;
6935 if (PyErr_Occurred()) return NULL
;
6936 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6940 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6941 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6943 wxPyTreeCtrl
* _arg0
;
6944 wxImageList
* _arg1
;
6945 PyObject
* _argo0
= 0;
6946 PyObject
* _argo1
= 0;
6947 char *_kwnames
[] = { "self","imageList", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6967 wxPy_BEGIN_ALLOW_THREADS
;
6968 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6970 wxPy_END_ALLOW_THREADS
;
6971 if (PyErr_Occurred()) return NULL
;
6972 } Py_INCREF(Py_None
);
6973 _resultobj
= Py_None
;
6977 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6978 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6980 wxPyTreeCtrl
* _arg0
;
6981 wxImageList
* _arg1
;
6982 PyObject
* _argo0
= 0;
6983 PyObject
* _argo1
= 0;
6984 char *_kwnames
[] = { "self","imageList", NULL
};
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7004 wxPy_BEGIN_ALLOW_THREADS
;
7005 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
7007 wxPy_END_ALLOW_THREADS
;
7008 if (PyErr_Occurred()) return NULL
;
7009 } Py_INCREF(Py_None
);
7010 _resultobj
= Py_None
;
7014 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7015 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7017 wxPyTreeCtrl
* _arg0
;
7018 wxImageList
* _arg1
;
7019 PyObject
* _argo0
= 0;
7020 PyObject
* _argo1
= 0;
7021 char *_kwnames
[] = { "self","imageList", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7041 wxPy_BEGIN_ALLOW_THREADS
;
7042 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7044 wxPy_END_ALLOW_THREADS
;
7045 if (PyErr_Occurred()) return NULL
;
7046 } Py_INCREF(Py_None
);
7047 _resultobj
= Py_None
;
7051 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7052 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
* _resultobj
;
7054 wxPyTreeCtrl
* _arg0
;
7055 wxImageList
* _arg1
;
7056 PyObject
* _argo0
= 0;
7057 PyObject
* _argo1
= 0;
7058 char *_kwnames
[] = { "self","imageList", NULL
};
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7078 wxPy_BEGIN_ALLOW_THREADS
;
7079 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7081 wxPy_END_ALLOW_THREADS
;
7082 if (PyErr_Occurred()) return NULL
;
7083 } Py_INCREF(Py_None
);
7084 _resultobj
= Py_None
;
7088 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7089 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7091 unsigned int _result
;
7092 wxPyTreeCtrl
* _arg0
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7110 wxPy_END_ALLOW_THREADS
;
7111 if (PyErr_Occurred()) return NULL
;
7112 } _resultobj
= Py_BuildValue("i",_result
);
7116 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7117 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7119 wxPyTreeCtrl
* _arg0
;
7121 PyObject
* _argo0
= 0;
7122 char *_kwnames
[] = { "self","spacing", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7135 wxPy_BEGIN_ALLOW_THREADS
;
7136 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7138 wxPy_END_ALLOW_THREADS
;
7139 if (PyErr_Occurred()) return NULL
;
7140 } Py_INCREF(Py_None
);
7141 _resultobj
= Py_None
;
7145 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7146 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
* _resultobj
;
7149 wxPyTreeCtrl
* _arg0
;
7150 wxTreeItemId
* _arg1
;
7151 PyObject
* _argo0
= 0;
7152 PyObject
* _argo1
= 0;
7153 char *_kwnames
[] = { "self","item", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7173 wxPy_BEGIN_ALLOW_THREADS
;
7174 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7176 wxPy_END_ALLOW_THREADS
;
7177 if (PyErr_Occurred()) return NULL
;
7179 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7187 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7188 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
* _resultobj
;
7191 wxPyTreeCtrl
* _arg0
;
7192 wxTreeItemId
* _arg1
;
7193 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7194 PyObject
* _argo0
= 0;
7195 PyObject
* _argo1
= 0;
7196 char *_kwnames
[] = { "self","item","which", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7216 wxPy_BEGIN_ALLOW_THREADS
;
7217 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7219 wxPy_END_ALLOW_THREADS
;
7220 if (PyErr_Occurred()) return NULL
;
7221 } _resultobj
= Py_BuildValue("i",_result
);
7225 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7226 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
* _resultobj
;
7229 wxPyTreeCtrl
* _arg0
;
7230 wxTreeItemId
* _arg1
;
7231 PyObject
* _argo0
= 0;
7232 PyObject
* _argo1
= 0;
7233 char *_kwnames
[] = { "self","item", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7253 wxPy_BEGIN_ALLOW_THREADS
;
7254 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7256 wxPy_END_ALLOW_THREADS
;
7257 if (PyErr_Occurred()) return NULL
;
7258 } _resultobj
= Py_BuildValue("i",_result
);
7262 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7263 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7265 wxPyTreeCtrl
* _arg0
;
7266 wxTreeItemId
* _arg1
;
7268 PyObject
* _argo0
= 0;
7269 PyObject
* _argo1
= 0;
7270 PyObject
* _obj2
= 0;
7271 char *_kwnames
[] = { "self","item","text", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7291 #if PYTHON_API_VERSION >= 1009
7292 char* tmpPtr
; int tmpSize
;
7293 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7297 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7299 _arg2
= new wxString(tmpPtr
, tmpSize
);
7301 if (!PyString_Check(_obj2
)) {
7302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7305 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7309 wxPy_BEGIN_ALLOW_THREADS
;
7310 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7312 wxPy_END_ALLOW_THREADS
;
7313 if (PyErr_Occurred()) return NULL
;
7314 } Py_INCREF(Py_None
);
7315 _resultobj
= Py_None
;
7323 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7324 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7326 wxPyTreeCtrl
* _arg0
;
7327 wxTreeItemId
* _arg1
;
7329 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7330 PyObject
* _argo0
= 0;
7331 PyObject
* _argo1
= 0;
7332 char *_kwnames
[] = { "self","item","image","which", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7352 wxPy_BEGIN_ALLOW_THREADS
;
7353 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7355 wxPy_END_ALLOW_THREADS
;
7356 if (PyErr_Occurred()) return NULL
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7363 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7365 wxPyTreeCtrl
* _arg0
;
7366 wxTreeItemId
* _arg1
;
7368 PyObject
* _argo0
= 0;
7369 PyObject
* _argo1
= 0;
7370 char *_kwnames
[] = { "self","item","image", NULL
};
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7390 wxPy_BEGIN_ALLOW_THREADS
;
7391 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7393 wxPy_END_ALLOW_THREADS
;
7394 if (PyErr_Occurred()) return NULL
;
7395 } Py_INCREF(Py_None
);
7396 _resultobj
= Py_None
;
7400 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7401 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7403 wxPyTreeCtrl
* _arg0
;
7404 wxTreeItemId
* _arg1
;
7405 bool _arg2
= (bool ) TRUE
;
7406 PyObject
* _argo0
= 0;
7407 PyObject
* _argo1
= 0;
7408 int tempbool2
= (int) TRUE
;
7409 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7428 _arg2
= (bool ) tempbool2
;
7430 wxPy_BEGIN_ALLOW_THREADS
;
7431 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7433 wxPy_END_ALLOW_THREADS
;
7434 if (PyErr_Occurred()) return NULL
;
7435 } Py_INCREF(Py_None
);
7436 _resultobj
= Py_None
;
7440 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7441 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7443 data
= new wxPyTreeItemData();
7444 data
->SetId(item
); // set the id
7445 self
->SetItemData(item
, data
);
7449 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7451 wxPyTreeItemData
* _result
;
7452 wxPyTreeCtrl
* _arg0
;
7453 wxTreeItemId
* _arg1
;
7454 PyObject
* _argo0
= 0;
7455 PyObject
* _argo1
= 0;
7456 char *_kwnames
[] = { "self","item", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7477 wxPy_BEGIN_ALLOW_THREADS
;
7478 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7480 wxPy_END_ALLOW_THREADS
;
7481 if (PyErr_Occurred()) return NULL
;
7483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7484 _resultobj
= Py_BuildValue("s",_ptemp
);
7487 _resultobj
= Py_None
;
7492 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7493 data
->SetId(item
); // set the id
7494 self
->SetItemData(item
, data
);
7496 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
* _resultobj
;
7498 wxPyTreeCtrl
* _arg0
;
7499 wxTreeItemId
* _arg1
;
7500 wxPyTreeItemData
* _arg2
;
7501 PyObject
* _argo0
= 0;
7502 PyObject
* _argo1
= 0;
7503 PyObject
* _argo2
= 0;
7504 char *_kwnames
[] = { "self","item","data", NULL
};
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7524 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7531 wxPy_BEGIN_ALLOW_THREADS
;
7532 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7534 wxPy_END_ALLOW_THREADS
;
7535 if (PyErr_Occurred()) return NULL
;
7536 } Py_INCREF(Py_None
);
7537 _resultobj
= Py_None
;
7541 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7542 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7544 data
= new wxPyTreeItemData();
7545 data
->SetId(item
); // set the id
7546 self
->SetItemData(item
, data
);
7548 return data
->GetData();
7550 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
* _resultobj
;
7553 wxPyTreeCtrl
* _arg0
;
7554 wxTreeItemId
* _arg1
;
7555 PyObject
* _argo0
= 0;
7556 PyObject
* _argo1
= 0;
7557 char *_kwnames
[] = { "self","item", NULL
};
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7577 wxPy_BEGIN_ALLOW_THREADS
;
7578 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7580 wxPy_END_ALLOW_THREADS
;
7581 if (PyErr_Occurred()) return NULL
;
7583 _resultobj
= _result
;
7588 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7589 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7591 data
= new wxPyTreeItemData(obj
);
7592 data
->SetId(item
); // set the id
7593 self
->SetItemData(item
, data
);
7597 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
* _resultobj
;
7599 wxPyTreeCtrl
* _arg0
;
7600 wxTreeItemId
* _arg1
;
7602 PyObject
* _argo0
= 0;
7603 PyObject
* _argo1
= 0;
7604 PyObject
* _obj2
= 0;
7605 char *_kwnames
[] = { "self","item","obj", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7628 wxPy_BEGIN_ALLOW_THREADS
;
7629 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7631 wxPy_END_ALLOW_THREADS
;
7632 if (PyErr_Occurred()) return NULL
;
7633 } Py_INCREF(Py_None
);
7634 _resultobj
= Py_None
;
7638 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7639 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
* _resultobj
;
7642 wxPyTreeCtrl
* _arg0
;
7643 wxTreeItemId
* _arg1
;
7644 PyObject
* _argo0
= 0;
7645 PyObject
* _argo1
= 0;
7646 char *_kwnames
[] = { "self","item", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7666 wxPy_BEGIN_ALLOW_THREADS
;
7667 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7669 wxPy_END_ALLOW_THREADS
;
7670 if (PyErr_Occurred()) return NULL
;
7671 } _resultobj
= Py_BuildValue("i",_result
);
7675 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7676 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
* _resultobj
;
7679 wxPyTreeCtrl
* _arg0
;
7680 wxTreeItemId
* _arg1
;
7681 PyObject
* _argo0
= 0;
7682 PyObject
* _argo1
= 0;
7683 char *_kwnames
[] = { "self","item", NULL
};
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7703 wxPy_BEGIN_ALLOW_THREADS
;
7704 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7706 wxPy_END_ALLOW_THREADS
;
7707 if (PyErr_Occurred()) return NULL
;
7708 } _resultobj
= Py_BuildValue("i",_result
);
7712 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7713 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7716 wxPyTreeCtrl
* _arg0
;
7717 wxTreeItemId
* _arg1
;
7718 PyObject
* _argo0
= 0;
7719 PyObject
* _argo1
= 0;
7720 char *_kwnames
[] = { "self","item", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7740 wxPy_BEGIN_ALLOW_THREADS
;
7741 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7743 wxPy_END_ALLOW_THREADS
;
7744 if (PyErr_Occurred()) return NULL
;
7745 } _resultobj
= Py_BuildValue("i",_result
);
7749 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7750 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7753 wxPyTreeCtrl
* _arg0
;
7754 wxTreeItemId
* _arg1
;
7755 PyObject
* _argo0
= 0;
7756 PyObject
* _argo1
= 0;
7757 char *_kwnames
[] = { "self","item", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7777 wxPy_BEGIN_ALLOW_THREADS
;
7778 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7780 wxPy_END_ALLOW_THREADS
;
7781 if (PyErr_Occurred()) return NULL
;
7782 } _resultobj
= Py_BuildValue("i",_result
);
7786 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7787 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
* _resultobj
;
7789 wxTreeItemId
* _result
;
7790 wxPyTreeCtrl
* _arg0
;
7791 PyObject
* _argo0
= 0;
7792 char *_kwnames
[] = { "self", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7806 wxPy_BEGIN_ALLOW_THREADS
;
7807 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7809 wxPy_END_ALLOW_THREADS
;
7810 if (PyErr_Occurred()) return NULL
;
7811 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7812 _resultobj
= Py_BuildValue("s",_ptemp
);
7816 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7817 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7819 wxTreeItemId
* _result
;
7820 wxPyTreeCtrl
* _arg0
;
7821 PyObject
* _argo0
= 0;
7822 char *_kwnames
[] = { "self", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7839 wxPy_END_ALLOW_THREADS
;
7840 if (PyErr_Occurred()) return NULL
;
7841 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7842 _resultobj
= Py_BuildValue("s",_ptemp
);
7846 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7847 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7849 wxTreeItemId
* _result
;
7850 wxPyTreeCtrl
* _arg0
;
7851 wxTreeItemId
* _arg1
;
7852 PyObject
* _argo0
= 0;
7853 PyObject
* _argo1
= 0;
7854 char *_kwnames
[] = { "self","item", NULL
};
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7868 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7869 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7875 wxPy_BEGIN_ALLOW_THREADS
;
7876 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7878 wxPy_END_ALLOW_THREADS
;
7879 if (PyErr_Occurred()) return NULL
;
7880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7881 _resultobj
= Py_BuildValue("s",_ptemp
);
7885 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7886 wxPyTState
* state
= wxPyBeginBlockThreads();
7887 PyObject
* rval
= PyList_New(0);
7888 wxArrayTreeItemIds array
;
7890 num
= self
->GetSelections(array
);
7891 for (x
=0; x
< num
; x
++) {
7892 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7893 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7894 PyList_Append(rval
, item
);
7896 wxPyEndBlockThreads(state
);
7899 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
* _resultobj
;
7902 wxPyTreeCtrl
* _arg0
;
7903 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7917 wxPy_BEGIN_ALLOW_THREADS
;
7918 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7920 wxPy_END_ALLOW_THREADS
;
7921 if (PyErr_Occurred()) return NULL
;
7923 _resultobj
= _result
;
7928 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7929 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
* _resultobj
;
7932 wxPyTreeCtrl
* _arg0
;
7933 wxTreeItemId
* _arg1
;
7934 bool _arg2
= (bool ) TRUE
;
7935 PyObject
* _argo0
= 0;
7936 PyObject
* _argo1
= 0;
7937 int tempbool2
= (int) TRUE
;
7938 char *_kwnames
[] = { "self","item","recursively", NULL
};
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7957 _arg2
= (bool ) tempbool2
;
7959 wxPy_BEGIN_ALLOW_THREADS
;
7960 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7962 wxPy_END_ALLOW_THREADS
;
7963 if (PyErr_Occurred()) return NULL
;
7964 } _resultobj
= Py_BuildValue("i",_result
);
7968 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7969 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
* _resultobj
;
7971 wxTreeItemId
* _result
;
7972 wxPyTreeCtrl
* _arg0
;
7973 wxTreeItemId
* _arg1
;
7975 PyObject
* _argo0
= 0;
7976 PyObject
* _argo1
= 0;
7978 PyObject
* _obj2
= 0;
7979 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7993 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7994 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8000 temp
= (long) PyInt_AsLong(_obj2
);
8004 wxPy_BEGIN_ALLOW_THREADS
;
8005 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
8007 wxPy_END_ALLOW_THREADS
;
8008 if (PyErr_Occurred()) return NULL
;
8009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8010 _resultobj
= Py_BuildValue("s",_ptemp
);
8013 o
= PyInt_FromLong((long) (*_arg2
));
8014 _resultobj
= t_output_helper(_resultobj
, o
);
8019 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8020 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
* _resultobj
;
8022 wxTreeItemId
* _result
;
8023 wxPyTreeCtrl
* _arg0
;
8024 wxTreeItemId
* _arg1
;
8026 PyObject
* _argo0
= 0;
8027 PyObject
* _argo1
= 0;
8029 PyObject
* _obj2
= 0;
8030 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8051 temp
= (long) PyInt_AsLong(_obj2
);
8055 wxPy_BEGIN_ALLOW_THREADS
;
8056 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8058 wxPy_END_ALLOW_THREADS
;
8059 if (PyErr_Occurred()) return NULL
;
8060 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8061 _resultobj
= Py_BuildValue("s",_ptemp
);
8064 o
= PyInt_FromLong((long) (*_arg2
));
8065 _resultobj
= t_output_helper(_resultobj
, o
);
8070 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8071 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8073 wxTreeItemId
* _result
;
8074 wxPyTreeCtrl
* _arg0
;
8075 wxTreeItemId
* _arg1
;
8076 PyObject
* _argo0
= 0;
8077 PyObject
* _argo1
= 0;
8078 char *_kwnames
[] = { "self","item", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8099 wxPy_BEGIN_ALLOW_THREADS
;
8100 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8102 wxPy_END_ALLOW_THREADS
;
8103 if (PyErr_Occurred()) return NULL
;
8104 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8105 _resultobj
= Py_BuildValue("s",_ptemp
);
8109 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8110 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8112 wxTreeItemId
* _result
;
8113 wxPyTreeCtrl
* _arg0
;
8114 wxTreeItemId
* _arg1
;
8115 PyObject
* _argo0
= 0;
8116 PyObject
* _argo1
= 0;
8117 char *_kwnames
[] = { "self","item", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8138 wxPy_BEGIN_ALLOW_THREADS
;
8139 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8141 wxPy_END_ALLOW_THREADS
;
8142 if (PyErr_Occurred()) return NULL
;
8143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8144 _resultobj
= Py_BuildValue("s",_ptemp
);
8148 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8149 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
* _resultobj
;
8151 wxTreeItemId
* _result
;
8152 wxPyTreeCtrl
* _arg0
;
8153 PyObject
* _argo0
= 0;
8154 char *_kwnames
[] = { "self", NULL
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8168 wxPy_BEGIN_ALLOW_THREADS
;
8169 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8171 wxPy_END_ALLOW_THREADS
;
8172 if (PyErr_Occurred()) return NULL
;
8173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8174 _resultobj
= Py_BuildValue("s",_ptemp
);
8178 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8179 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
* _resultobj
;
8181 wxTreeItemId
* _result
;
8182 wxPyTreeCtrl
* _arg0
;
8183 wxTreeItemId
* _arg1
;
8184 PyObject
* _argo0
= 0;
8185 PyObject
* _argo1
= 0;
8186 char *_kwnames
[] = { "self","item", NULL
};
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8207 wxPy_BEGIN_ALLOW_THREADS
;
8208 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8210 wxPy_END_ALLOW_THREADS
;
8211 if (PyErr_Occurred()) return NULL
;
8212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8213 _resultobj
= Py_BuildValue("s",_ptemp
);
8217 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8218 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8220 wxTreeItemId
* _result
;
8221 wxPyTreeCtrl
* _arg0
;
8222 wxTreeItemId
* _arg1
;
8223 PyObject
* _argo0
= 0;
8224 PyObject
* _argo1
= 0;
8225 char *_kwnames
[] = { "self","item", NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8246 wxPy_BEGIN_ALLOW_THREADS
;
8247 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8249 wxPy_END_ALLOW_THREADS
;
8250 if (PyErr_Occurred()) return NULL
;
8251 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8252 _resultobj
= Py_BuildValue("s",_ptemp
);
8256 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8257 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
* _resultobj
;
8259 wxTreeItemId
* _result
;
8260 wxPyTreeCtrl
* _arg0
;
8261 wxTreeItemId
* _arg1
;
8262 PyObject
* _argo0
= 0;
8263 PyObject
* _argo1
= 0;
8264 char *_kwnames
[] = { "self","item", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8288 wxPy_END_ALLOW_THREADS
;
8289 if (PyErr_Occurred()) return NULL
;
8290 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8291 _resultobj
= Py_BuildValue("s",_ptemp
);
8295 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8296 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8298 wxTreeItemId
* _result
;
8299 wxPyTreeCtrl
* _arg0
;
8301 int _arg2
= (int ) -1;
8302 int _arg3
= (int ) -1;
8303 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8304 PyObject
* _argo0
= 0;
8305 PyObject
* _obj1
= 0;
8306 PyObject
* _argo4
= 0;
8307 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8321 #if PYTHON_API_VERSION >= 1009
8322 char* tmpPtr
; int tmpSize
;
8323 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8327 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8329 _arg1
= new wxString(tmpPtr
, tmpSize
);
8331 if (!PyString_Check(_obj1
)) {
8332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8335 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8339 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8346 wxPy_BEGIN_ALLOW_THREADS
;
8347 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8349 wxPy_END_ALLOW_THREADS
;
8350 if (PyErr_Occurred()) return NULL
;
8351 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8352 _resultobj
= Py_BuildValue("s",_ptemp
);
8360 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8361 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8363 wxTreeItemId
* _result
;
8364 wxPyTreeCtrl
* _arg0
;
8365 wxTreeItemId
* _arg1
;
8367 int _arg3
= (int ) -1;
8368 int _arg4
= (int ) -1;
8369 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8370 PyObject
* _argo0
= 0;
8371 PyObject
* _argo1
= 0;
8372 PyObject
* _obj2
= 0;
8373 PyObject
* _argo5
= 0;
8374 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8395 #if PYTHON_API_VERSION >= 1009
8396 char* tmpPtr
; int tmpSize
;
8397 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8401 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8403 _arg2
= new wxString(tmpPtr
, tmpSize
);
8405 if (!PyString_Check(_obj2
)) {
8406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8409 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8413 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8420 wxPy_BEGIN_ALLOW_THREADS
;
8421 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8423 wxPy_END_ALLOW_THREADS
;
8424 if (PyErr_Occurred()) return NULL
;
8425 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8426 _resultobj
= Py_BuildValue("s",_ptemp
);
8434 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8435 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8437 wxTreeItemId
* _result
;
8438 wxPyTreeCtrl
* _arg0
;
8439 wxTreeItemId
* _arg1
;
8440 wxTreeItemId
* _arg2
;
8442 int _arg4
= (int ) -1;
8443 int _arg5
= (int ) -1;
8444 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8445 PyObject
* _argo0
= 0;
8446 PyObject
* _argo1
= 0;
8447 PyObject
* _argo2
= 0;
8448 PyObject
* _obj3
= 0;
8449 PyObject
* _argo6
= 0;
8450 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8471 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8472 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8478 #if PYTHON_API_VERSION >= 1009
8479 char* tmpPtr
; int tmpSize
;
8480 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8481 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8484 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8486 _arg3
= new wxString(tmpPtr
, tmpSize
);
8488 if (!PyString_Check(_obj3
)) {
8489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8492 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8496 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8503 wxPy_BEGIN_ALLOW_THREADS
;
8504 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8506 wxPy_END_ALLOW_THREADS
;
8507 if (PyErr_Occurred()) return NULL
;
8508 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8509 _resultobj
= Py_BuildValue("s",_ptemp
);
8517 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8518 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
* _resultobj
;
8520 wxTreeItemId
* _result
;
8521 wxPyTreeCtrl
* _arg0
;
8522 wxTreeItemId
* _arg1
;
8525 int _arg4
= (int ) -1;
8526 int _arg5
= (int ) -1;
8527 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8528 PyObject
* _argo0
= 0;
8529 PyObject
* _argo1
= 0;
8530 PyObject
* _obj3
= 0;
8531 PyObject
* _argo6
= 0;
8532 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8553 #if PYTHON_API_VERSION >= 1009
8554 char* tmpPtr
; int tmpSize
;
8555 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8559 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8561 _arg3
= new wxString(tmpPtr
, tmpSize
);
8563 if (!PyString_Check(_obj3
)) {
8564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8567 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8571 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8572 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8578 wxPy_BEGIN_ALLOW_THREADS
;
8579 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8581 wxPy_END_ALLOW_THREADS
;
8582 if (PyErr_Occurred()) return NULL
;
8583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8584 _resultobj
= Py_BuildValue("s",_ptemp
);
8592 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8593 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8595 wxTreeItemId
* _result
;
8596 wxPyTreeCtrl
* _arg0
;
8597 wxTreeItemId
* _arg1
;
8599 int _arg3
= (int ) -1;
8600 int _arg4
= (int ) -1;
8601 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8602 PyObject
* _argo0
= 0;
8603 PyObject
* _argo1
= 0;
8604 PyObject
* _obj2
= 0;
8605 PyObject
* _argo5
= 0;
8606 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8627 #if PYTHON_API_VERSION >= 1009
8628 char* tmpPtr
; int tmpSize
;
8629 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8633 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8635 _arg2
= new wxString(tmpPtr
, tmpSize
);
8637 if (!PyString_Check(_obj2
)) {
8638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8641 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8645 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8652 wxPy_BEGIN_ALLOW_THREADS
;
8653 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8655 wxPy_END_ALLOW_THREADS
;
8656 if (PyErr_Occurred()) return NULL
;
8657 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8658 _resultobj
= Py_BuildValue("s",_ptemp
);
8666 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8667 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8669 wxPyTreeCtrl
* _arg0
;
8670 wxTreeItemId
* _arg1
;
8671 PyObject
* _argo0
= 0;
8672 PyObject
* _argo1
= 0;
8673 char *_kwnames
[] = { "self","item", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8693 wxPy_BEGIN_ALLOW_THREADS
;
8694 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8696 wxPy_END_ALLOW_THREADS
;
8697 if (PyErr_Occurred()) return NULL
;
8698 } Py_INCREF(Py_None
);
8699 _resultobj
= Py_None
;
8703 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8704 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
* _resultobj
;
8706 wxPyTreeCtrl
* _arg0
;
8707 wxTreeItemId
* _arg1
;
8708 PyObject
* _argo0
= 0;
8709 PyObject
* _argo1
= 0;
8710 char *_kwnames
[] = { "self","item", NULL
};
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8730 wxPy_BEGIN_ALLOW_THREADS
;
8731 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8733 wxPy_END_ALLOW_THREADS
;
8734 if (PyErr_Occurred()) return NULL
;
8735 } Py_INCREF(Py_None
);
8736 _resultobj
= Py_None
;
8740 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8741 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8743 wxPyTreeCtrl
* _arg0
;
8744 PyObject
* _argo0
= 0;
8745 char *_kwnames
[] = { "self", NULL
};
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8758 wxPy_BEGIN_ALLOW_THREADS
;
8759 wxTreeCtrl_DeleteAllItems(_arg0
);
8761 wxPy_END_ALLOW_THREADS
;
8762 if (PyErr_Occurred()) return NULL
;
8763 } Py_INCREF(Py_None
);
8764 _resultobj
= Py_None
;
8768 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8769 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
* _resultobj
;
8771 wxPyTreeCtrl
* _arg0
;
8772 wxTreeItemId
* _arg1
;
8773 PyObject
* _argo0
= 0;
8774 PyObject
* _argo1
= 0;
8775 char *_kwnames
[] = { "self","item", NULL
};
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8795 wxPy_BEGIN_ALLOW_THREADS
;
8796 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8798 wxPy_END_ALLOW_THREADS
;
8799 if (PyErr_Occurred()) return NULL
;
8800 } Py_INCREF(Py_None
);
8801 _resultobj
= Py_None
;
8805 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8806 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
* _resultobj
;
8808 wxPyTreeCtrl
* _arg0
;
8809 wxTreeItemId
* _arg1
;
8810 PyObject
* _argo0
= 0;
8811 PyObject
* _argo1
= 0;
8812 char *_kwnames
[] = { "self","item", NULL
};
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8832 wxPy_BEGIN_ALLOW_THREADS
;
8833 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8835 wxPy_END_ALLOW_THREADS
;
8836 if (PyErr_Occurred()) return NULL
;
8837 } Py_INCREF(Py_None
);
8838 _resultobj
= Py_None
;
8842 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8843 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
* _resultobj
;
8845 wxPyTreeCtrl
* _arg0
;
8846 wxTreeItemId
* _arg1
;
8847 PyObject
* _argo0
= 0;
8848 PyObject
* _argo1
= 0;
8849 char *_kwnames
[] = { "self","item", NULL
};
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8869 wxPy_BEGIN_ALLOW_THREADS
;
8870 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8872 wxPy_END_ALLOW_THREADS
;
8873 if (PyErr_Occurred()) return NULL
;
8874 } Py_INCREF(Py_None
);
8875 _resultobj
= Py_None
;
8879 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8880 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
* _resultobj
;
8882 wxPyTreeCtrl
* _arg0
;
8883 wxTreeItemId
* _arg1
;
8884 PyObject
* _argo0
= 0;
8885 PyObject
* _argo1
= 0;
8886 char *_kwnames
[] = { "self","item", NULL
};
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8906 wxPy_BEGIN_ALLOW_THREADS
;
8907 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8909 wxPy_END_ALLOW_THREADS
;
8910 if (PyErr_Occurred()) return NULL
;
8911 } Py_INCREF(Py_None
);
8912 _resultobj
= Py_None
;
8916 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8917 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8919 wxPyTreeCtrl
* _arg0
;
8920 PyObject
* _argo0
= 0;
8921 char *_kwnames
[] = { "self", NULL
};
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8934 wxPy_BEGIN_ALLOW_THREADS
;
8935 wxTreeCtrl_Unselect(_arg0
);
8937 wxPy_END_ALLOW_THREADS
;
8938 if (PyErr_Occurred()) return NULL
;
8939 } Py_INCREF(Py_None
);
8940 _resultobj
= Py_None
;
8944 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8945 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
* _resultobj
;
8947 wxPyTreeCtrl
* _arg0
;
8948 PyObject
* _argo0
= 0;
8949 char *_kwnames
[] = { "self", NULL
};
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8962 wxPy_BEGIN_ALLOW_THREADS
;
8963 wxTreeCtrl_UnselectAll(_arg0
);
8965 wxPy_END_ALLOW_THREADS
;
8966 if (PyErr_Occurred()) return NULL
;
8967 } Py_INCREF(Py_None
);
8968 _resultobj
= Py_None
;
8972 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8973 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
* _resultobj
;
8975 wxPyTreeCtrl
* _arg0
;
8976 wxTreeItemId
* _arg1
;
8977 PyObject
* _argo0
= 0;
8978 PyObject
* _argo1
= 0;
8979 char *_kwnames
[] = { "self","item", NULL
};
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8999 wxPy_BEGIN_ALLOW_THREADS
;
9000 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
9002 wxPy_END_ALLOW_THREADS
;
9003 if (PyErr_Occurred()) return NULL
;
9004 } Py_INCREF(Py_None
);
9005 _resultobj
= Py_None
;
9009 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9010 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
* _resultobj
;
9012 wxPyTreeCtrl
* _arg0
;
9013 wxTreeItemId
* _arg1
;
9014 PyObject
* _argo0
= 0;
9015 PyObject
* _argo1
= 0;
9016 char *_kwnames
[] = { "self","item", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9029 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9036 wxPy_BEGIN_ALLOW_THREADS
;
9037 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9039 wxPy_END_ALLOW_THREADS
;
9040 if (PyErr_Occurred()) return NULL
;
9041 } Py_INCREF(Py_None
);
9042 _resultobj
= Py_None
;
9046 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9047 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9049 wxPyTreeCtrl
* _arg0
;
9050 wxTreeItemId
* _arg1
;
9051 PyObject
* _argo0
= 0;
9052 PyObject
* _argo1
= 0;
9053 char *_kwnames
[] = { "self","item", NULL
};
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9073 wxPy_BEGIN_ALLOW_THREADS
;
9074 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9076 wxPy_END_ALLOW_THREADS
;
9077 if (PyErr_Occurred()) return NULL
;
9078 } Py_INCREF(Py_None
);
9079 _resultobj
= Py_None
;
9083 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9084 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9086 wxTextCtrl
* _result
;
9087 wxPyTreeCtrl
* _arg0
;
9088 wxTreeItemId
* _arg1
;
9089 PyObject
* _argo0
= 0;
9090 PyObject
* _argo1
= 0;
9091 char *_kwnames
[] = { "self","item", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9111 wxPy_BEGIN_ALLOW_THREADS
;
9112 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9114 wxPy_END_ALLOW_THREADS
;
9115 if (PyErr_Occurred()) return NULL
;
9116 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9120 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9121 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
* _resultobj
;
9123 wxTextCtrl
* _result
;
9124 wxPyTreeCtrl
* _arg0
;
9125 PyObject
* _argo0
= 0;
9126 char *_kwnames
[] = { "self", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9139 wxPy_BEGIN_ALLOW_THREADS
;
9140 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9142 wxPy_END_ALLOW_THREADS
;
9143 if (PyErr_Occurred()) return NULL
;
9144 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9148 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9149 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
* _resultobj
;
9151 wxPyTreeCtrl
* _arg0
;
9152 wxTreeItemId
* _arg1
;
9153 int _arg2
= (int ) FALSE
;
9154 PyObject
* _argo0
= 0;
9155 PyObject
* _argo1
= 0;
9156 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9176 wxPy_BEGIN_ALLOW_THREADS
;
9177 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9179 wxPy_END_ALLOW_THREADS
;
9180 if (PyErr_Occurred()) return NULL
;
9181 } Py_INCREF(Py_None
);
9182 _resultobj
= Py_None
;
9186 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9187 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
* _resultobj
;
9189 wxPyTreeCtrl
* _arg0
;
9190 wxTreeItemId
* _arg1
;
9191 PyObject
* _argo0
= 0;
9192 PyObject
* _argo1
= 0;
9193 char *_kwnames
[] = { "self","item", NULL
};
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9213 wxPy_BEGIN_ALLOW_THREADS
;
9214 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9216 wxPy_END_ALLOW_THREADS
;
9217 if (PyErr_Occurred()) return NULL
;
9218 } Py_INCREF(Py_None
);
9219 _resultobj
= Py_None
;
9223 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9224 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9226 wxPyTreeCtrl
* _arg0
;
9227 wxTreeItemId
* _arg1
;
9228 int _arg2
= (int ) TRUE
;
9229 PyObject
* _argo0
= 0;
9230 PyObject
* _argo1
= 0;
9231 char *_kwnames
[] = { "self","item","bold", NULL
};
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9251 wxPy_BEGIN_ALLOW_THREADS
;
9252 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9254 wxPy_END_ALLOW_THREADS
;
9255 if (PyErr_Occurred()) return NULL
;
9256 } Py_INCREF(Py_None
);
9257 _resultobj
= Py_None
;
9261 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9262 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9265 wxPyTreeCtrl
* _arg0
;
9266 wxTreeItemId
* _arg1
;
9267 PyObject
* _argo0
= 0;
9268 PyObject
* _argo1
= 0;
9269 char *_kwnames
[] = { "self","item", NULL
};
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9289 wxPy_BEGIN_ALLOW_THREADS
;
9290 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9292 wxPy_END_ALLOW_THREADS
;
9293 if (PyErr_Occurred()) return NULL
;
9294 } _resultobj
= Py_BuildValue("i",_result
);
9298 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9299 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
* _resultobj
;
9301 wxTreeItemId
* _result
;
9302 wxPyTreeCtrl
* _arg0
;
9306 PyObject
* _argo0
= 0;
9308 PyObject
* _obj1
= 0;
9309 char *_kwnames
[] = { "self","point", NULL
};
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9327 if (! wxPoint_helper(_obj1
, &_arg1
))
9331 wxPy_BEGIN_ALLOW_THREADS
;
9332 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9334 wxPy_END_ALLOW_THREADS
;
9335 if (PyErr_Occurred()) return NULL
;
9336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9337 _resultobj
= Py_BuildValue("s",_ptemp
);
9340 o
= PyInt_FromLong((long) (*_arg2
));
9341 _resultobj
= t_output_helper(_resultobj
, o
);
9346 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9347 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
* _resultobj
;
9349 wxPyTreeCtrl
* _arg0
;
9350 wxTreeItemId
* _arg1
;
9352 PyObject
* _argo0
= 0;
9353 PyObject
* _argo1
= 0;
9355 PyObject
* _obj2
= 0;
9356 char *_kwnames
[] = { "self","item","col", NULL
};
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9377 if (! wxColour_helper(_obj2
, &_arg2
))
9381 wxPy_BEGIN_ALLOW_THREADS
;
9382 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9384 wxPy_END_ALLOW_THREADS
;
9385 if (PyErr_Occurred()) return NULL
;
9386 } Py_INCREF(Py_None
);
9387 _resultobj
= Py_None
;
9391 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9392 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
* _resultobj
;
9394 wxPyTreeCtrl
* _arg0
;
9395 wxTreeItemId
* _arg1
;
9397 PyObject
* _argo0
= 0;
9398 PyObject
* _argo1
= 0;
9400 PyObject
* _obj2
= 0;
9401 char *_kwnames
[] = { "self","item","col", NULL
};
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9422 if (! wxColour_helper(_obj2
, &_arg2
))
9426 wxPy_BEGIN_ALLOW_THREADS
;
9427 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9429 wxPy_END_ALLOW_THREADS
;
9430 if (PyErr_Occurred()) return NULL
;
9431 } Py_INCREF(Py_None
);
9432 _resultobj
= Py_None
;
9436 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9437 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9439 wxPyTreeCtrl
* _arg0
;
9440 wxTreeItemId
* _arg1
;
9442 PyObject
* _argo0
= 0;
9443 PyObject
* _argo1
= 0;
9444 PyObject
* _argo2
= 0;
9445 char *_kwnames
[] = { "self","item","font", NULL
};
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9465 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9466 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9472 wxPy_BEGIN_ALLOW_THREADS
;
9473 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9475 wxPy_END_ALLOW_THREADS
;
9476 if (PyErr_Occurred()) return NULL
;
9477 } Py_INCREF(Py_None
);
9478 _resultobj
= Py_None
;
9482 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9483 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
* _resultobj
;
9485 wxPyTreeCtrl
* _arg0
;
9486 wxTreeItemId
* _arg1
;
9487 int _arg2
= (int ) TRUE
;
9488 PyObject
* _argo0
= 0;
9489 PyObject
* _argo1
= 0;
9490 char *_kwnames
[] = { "self","item","highlight", NULL
};
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9510 wxPy_BEGIN_ALLOW_THREADS
;
9511 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9513 wxPy_END_ALLOW_THREADS
;
9514 if (PyErr_Occurred()) return NULL
;
9515 } Py_INCREF(Py_None
);
9516 _resultobj
= Py_None
;
9520 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9522 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9523 wxPyTState
* state
= wxPyBeginBlockThreads();
9524 wxRect
* r
= new wxRect(rect
);
9525 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9526 wxPyEndBlockThreads(state
);
9534 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
* _resultobj
;
9537 wxPyTreeCtrl
* _arg0
;
9538 wxTreeItemId
* _arg1
;
9539 int _arg2
= (int ) FALSE
;
9540 PyObject
* _argo0
= 0;
9541 PyObject
* _argo1
= 0;
9542 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9562 wxPy_BEGIN_ALLOW_THREADS
;
9563 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9565 wxPy_END_ALLOW_THREADS
;
9566 if (PyErr_Occurred()) return NULL
;
9568 _resultobj
= _result
;
9573 static PyMethodDef controls2cMethods
[] = {
9574 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9839 * This table is used by the pointer type-checker
9841 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9842 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9843 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9844 { "_signed_long","_long",0},
9845 { "_wxPrintQuality","_wxCoord",0},
9846 { "_wxPrintQuality","_int",0},
9847 { "_wxPrintQuality","_signed_int",0},
9848 { "_wxPrintQuality","_unsigned_int",0},
9849 { "_wxPrintQuality","_wxWindowID",0},
9850 { "_wxPrintQuality","_uint",0},
9851 { "_wxPrintQuality","_EBool",0},
9852 { "_wxPrintQuality","_size_t",0},
9853 { "_wxPrintQuality","_time_t",0},
9854 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9855 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9856 { "_byte","_unsigned_char",0},
9857 { "_long","_unsigned_long",0},
9858 { "_long","_signed_long",0},
9859 { "_size_t","_wxCoord",0},
9860 { "_size_t","_wxPrintQuality",0},
9861 { "_size_t","_time_t",0},
9862 { "_size_t","_unsigned_int",0},
9863 { "_size_t","_int",0},
9864 { "_size_t","_wxWindowID",0},
9865 { "_size_t","_uint",0},
9866 { "_uint","_wxCoord",0},
9867 { "_uint","_wxPrintQuality",0},
9868 { "_uint","_time_t",0},
9869 { "_uint","_size_t",0},
9870 { "_uint","_unsigned_int",0},
9871 { "_uint","_int",0},
9872 { "_uint","_wxWindowID",0},
9873 { "_wxChar","_char",0},
9874 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9875 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9876 { "_char","_wxChar",0},
9877 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9878 { "_EBool","_wxCoord",0},
9879 { "_EBool","_wxPrintQuality",0},
9880 { "_EBool","_signed_int",0},
9881 { "_EBool","_int",0},
9882 { "_EBool","_wxWindowID",0},
9883 { "_unsigned_long","_long",0},
9884 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
9885 { "_signed_int","_wxCoord",0},
9886 { "_signed_int","_wxPrintQuality",0},
9887 { "_signed_int","_EBool",0},
9888 { "_signed_int","_wxWindowID",0},
9889 { "_signed_int","_int",0},
9890 { "_WXTYPE","_short",0},
9891 { "_WXTYPE","_signed_short",0},
9892 { "_WXTYPE","_unsigned_short",0},
9893 { "_unsigned_short","_WXTYPE",0},
9894 { "_unsigned_short","_short",0},
9895 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9896 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
9897 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9898 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
9899 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9900 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
9901 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
9902 { "_signed_short","_WXTYPE",0},
9903 { "_signed_short","_short",0},
9904 { "_unsigned_char","_byte",0},
9905 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9906 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
9907 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9908 { "_unsigned_int","_wxCoord",0},
9909 { "_unsigned_int","_wxPrintQuality",0},
9910 { "_unsigned_int","_time_t",0},
9911 { "_unsigned_int","_size_t",0},
9912 { "_unsigned_int","_uint",0},
9913 { "_unsigned_int","_wxWindowID",0},
9914 { "_unsigned_int","_int",0},
9915 { "_short","_WXTYPE",0},
9916 { "_short","_unsigned_short",0},
9917 { "_short","_signed_short",0},
9918 { "_wxWindowID","_wxCoord",0},
9919 { "_wxWindowID","_wxPrintQuality",0},
9920 { "_wxWindowID","_time_t",0},
9921 { "_wxWindowID","_size_t",0},
9922 { "_wxWindowID","_EBool",0},
9923 { "_wxWindowID","_uint",0},
9924 { "_wxWindowID","_int",0},
9925 { "_wxWindowID","_signed_int",0},
9926 { "_wxWindowID","_unsigned_int",0},
9927 { "_int","_wxCoord",0},
9928 { "_int","_wxPrintQuality",0},
9929 { "_int","_time_t",0},
9930 { "_int","_size_t",0},
9931 { "_int","_EBool",0},
9932 { "_int","_uint",0},
9933 { "_int","_wxWindowID",0},
9934 { "_int","_unsigned_int",0},
9935 { "_int","_signed_int",0},
9936 { "_time_t","_wxCoord",0},
9937 { "_time_t","_wxPrintQuality",0},
9938 { "_time_t","_unsigned_int",0},
9939 { "_time_t","_int",0},
9940 { "_time_t","_wxWindowID",0},
9941 { "_time_t","_uint",0},
9942 { "_time_t","_size_t",0},
9943 { "_wxCoord","_int",0},
9944 { "_wxCoord","_signed_int",0},
9945 { "_wxCoord","_unsigned_int",0},
9946 { "_wxCoord","_wxWindowID",0},
9947 { "_wxCoord","_uint",0},
9948 { "_wxCoord","_EBool",0},
9949 { "_wxCoord","_size_t",0},
9950 { "_wxCoord","_time_t",0},
9951 { "_wxCoord","_wxPrintQuality",0},
9952 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
9953 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9954 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
9955 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9956 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9957 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
9958 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9961 static PyObject
*SWIG_globals
;
9965 SWIGEXPORT(void) initcontrols2c() {
9967 SWIG_globals
= SWIG_newvarlink();
9968 m
= Py_InitModule("controls2c", controls2cMethods
);
9969 d
= PyModule_GetDict(m
);
9970 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
9971 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
9972 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
9973 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
9974 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
9975 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
9976 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
9977 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
9978 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
9979 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
9980 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
9981 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
9982 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
9983 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
9984 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
9985 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
9986 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
9987 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
9988 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
9989 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
9990 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
9991 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
9992 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
9993 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
9994 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
9995 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
9996 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
9997 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
9998 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
9999 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
10000 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
10001 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
10002 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
10003 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
10004 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
10005 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
10006 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
10007 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
10008 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
10009 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
10010 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
10011 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
10012 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
10013 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
10014 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
10015 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
10016 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
10017 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
10018 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
10019 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
10020 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
10021 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
10022 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
10023 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
10024 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
10025 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
10026 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
10027 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
10028 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
10029 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
10030 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
10031 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
10032 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
10033 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
10034 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
10035 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
10036 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
10037 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
10038 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
10039 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
10040 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
10041 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
10042 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
10043 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
10044 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
10045 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
10046 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
10047 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
10048 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
10049 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
10050 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
10051 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
10052 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
10053 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
10054 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
10055 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
10056 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
10057 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
10058 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
10059 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
10060 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
10061 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
10062 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
10063 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
10064 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
10065 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
10066 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
10067 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
10068 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
10069 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
10070 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
10071 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
10072 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
10073 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
10074 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
10075 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
10076 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
10077 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
10078 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
10079 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
10080 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
10081 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
10082 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
10083 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
10084 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
10085 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
10086 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
10087 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
10088 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
10089 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
10090 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
10091 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
10092 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
10093 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
10094 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
10095 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
10096 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
10097 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
10098 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
10099 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
10100 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
10101 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
10102 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
10103 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
10104 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
10105 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
10106 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
10108 // Map renamed classes back to their common name for OOR
10109 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
10110 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
10111 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
10114 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10115 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);