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 is required for parameter";
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 bool doSave
= wxPyRestoreThread();
138 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
139 PyObject
* result
= PyEval_CallObject(func
, args
);
142 retval
= PyInt_AsLong(result
);
146 wxPySaveThread(doSave
);
151 class wxPyTreeItemData
: public wxTreeItemData
{
153 wxPyTreeItemData(PyObject
* obj
= NULL
) {
160 ~wxPyTreeItemData() {
161 bool doSave
= wxPyRestoreThread();
163 wxPySaveThread(doSave
);
166 PyObject
* GetData() {
171 void SetData(PyObject
* obj
) {
172 bool doSave
= wxPyRestoreThread();
174 wxPySaveThread(doSave
);
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
) {
207 bool doSave
= wxPyRestoreThread();
208 if (m_myInst
.findCallback("OnCompareItems"))
209 rval
= m_myInst
.callCallback(Py_BuildValue(
211 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
212 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
214 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
215 wxPySaveThread(doSave
);
221 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
226 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
227 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
228 PyObject
* _resultobj
;
229 wxListItemAttr
* _result
;
230 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
231 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
232 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
234 PyObject
* _obj0
= 0;
236 PyObject
* _obj1
= 0;
237 PyObject
* _argo2
= 0;
238 char *_kwnames
[] = { "colText","colBack","font", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
247 if (! wxColour_helper(_obj0
, &_arg0
))
253 if (! wxColour_helper(_obj1
, &_arg1
))
257 if (_argo2
== Py_None
) { _arg2
= NULL
; }
258 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
264 wxPy_BEGIN_ALLOW_THREADS
;
265 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
267 wxPy_END_ALLOW_THREADS
;
268 if (PyErr_Occurred()) return NULL
;
270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
271 _resultobj
= Py_BuildValue("s",_ptemp
);
274 _resultobj
= Py_None
;
279 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
280 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
282 wxListItemAttr
* _arg0
;
284 PyObject
* _argo0
= 0;
286 PyObject
* _obj1
= 0;
287 char *_kwnames
[] = { "self","colText", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
301 if (! wxColour_helper(_obj1
, &_arg1
))
305 wxPy_BEGIN_ALLOW_THREADS
;
306 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
308 wxPy_END_ALLOW_THREADS
;
309 if (PyErr_Occurred()) return NULL
;
310 } Py_INCREF(Py_None
);
311 _resultobj
= Py_None
;
315 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
316 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
318 wxListItemAttr
* _arg0
;
320 PyObject
* _argo0
= 0;
322 PyObject
* _obj1
= 0;
323 char *_kwnames
[] = { "self","colBack", NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
337 if (! wxColour_helper(_obj1
, &_arg1
))
341 wxPy_BEGIN_ALLOW_THREADS
;
342 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
344 wxPy_END_ALLOW_THREADS
;
345 if (PyErr_Occurred()) return NULL
;
346 } Py_INCREF(Py_None
);
347 _resultobj
= Py_None
;
351 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
352 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
354 wxListItemAttr
* _arg0
;
356 PyObject
* _argo0
= 0;
357 PyObject
* _argo1
= 0;
358 char *_kwnames
[] = { "self","font", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
378 wxPy_BEGIN_ALLOW_THREADS
;
379 wxListItemAttr_SetFont(_arg0
,*_arg1
);
381 wxPy_END_ALLOW_THREADS
;
382 if (PyErr_Occurred()) return NULL
;
383 } Py_INCREF(Py_None
);
384 _resultobj
= Py_None
;
388 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
389 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
392 wxListItemAttr
* _arg0
;
393 PyObject
* _argo0
= 0;
394 char *_kwnames
[] = { "self", NULL
};
397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
407 wxPy_BEGIN_ALLOW_THREADS
;
408 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
410 wxPy_END_ALLOW_THREADS
;
411 if (PyErr_Occurred()) return NULL
;
412 } _resultobj
= Py_BuildValue("i",_result
);
416 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
417 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 wxListItemAttr
* _arg0
;
421 PyObject
* _argo0
= 0;
422 char *_kwnames
[] = { "self", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
438 wxPy_END_ALLOW_THREADS
;
439 if (PyErr_Occurred()) return NULL
;
440 } _resultobj
= Py_BuildValue("i",_result
);
444 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
445 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
448 wxListItemAttr
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
463 wxPy_BEGIN_ALLOW_THREADS
;
464 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
466 wxPy_END_ALLOW_THREADS
;
467 if (PyErr_Occurred()) return NULL
;
468 } _resultobj
= Py_BuildValue("i",_result
);
472 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
473 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
476 wxListItemAttr
* _arg0
;
477 PyObject
* _argo0
= 0;
478 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
494 _result
= (wxColour
*) &_result_ref
;
496 wxPy_END_ALLOW_THREADS
;
497 if (PyErr_Occurred()) return NULL
;
499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
503 _resultobj
= Py_None
;
508 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
509 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 wxListItemAttr
* _arg0
;
513 PyObject
* _argo0
= 0;
514 char *_kwnames
[] = { "self", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
528 wxPy_BEGIN_ALLOW_THREADS
;
529 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
530 _result
= (wxColour
*) &_result_ref
;
532 wxPy_END_ALLOW_THREADS
;
533 if (PyErr_Occurred()) return NULL
;
535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
536 _resultobj
= Py_BuildValue("s",_ptemp
);
539 _resultobj
= Py_None
;
544 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
545 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
546 PyObject
* _resultobj
;
548 wxListItemAttr
* _arg0
;
549 PyObject
* _argo0
= 0;
550 char *_kwnames
[] = { "self", NULL
};
554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
564 wxPy_BEGIN_ALLOW_THREADS
;
565 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
566 _result
= (wxFont
*) &_result_ref
;
568 wxPy_END_ALLOW_THREADS
;
569 if (PyErr_Occurred()) return NULL
;
571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
572 _resultobj
= Py_BuildValue("s",_ptemp
);
575 _resultobj
= Py_None
;
580 static void *SwigwxListItemTowxObject(void *ptr
) {
583 src
= (wxListItem
*) ptr
;
584 dest
= (wxObject
*) src
;
585 return (void *) dest
;
588 #define new_wxListItem() (new wxListItem())
589 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
591 wxListItem
* _result
;
592 char *_kwnames
[] = { NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= (wxListItem
*)new_wxListItem();
602 wxPy_END_ALLOW_THREADS
;
603 if (PyErr_Occurred()) return NULL
;
605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
606 _resultobj
= Py_BuildValue("s",_ptemp
);
609 _resultobj
= Py_None
;
614 #define delete_wxListItem(_swigobj) (delete _swigobj)
615 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
618 PyObject
* _argo0
= 0;
619 char *_kwnames
[] = { "self", NULL
};
622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
632 wxPy_BEGIN_ALLOW_THREADS
;
633 delete_wxListItem(_arg0
);
635 wxPy_END_ALLOW_THREADS
;
636 if (PyErr_Occurred()) return NULL
;
637 } Py_INCREF(Py_None
);
638 _resultobj
= Py_None
;
642 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
643 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
646 PyObject
* _argo0
= 0;
647 char *_kwnames
[] = { "self", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
660 wxPy_BEGIN_ALLOW_THREADS
;
661 wxListItem_Clear(_arg0
);
663 wxPy_END_ALLOW_THREADS
;
664 if (PyErr_Occurred()) return NULL
;
665 } Py_INCREF(Py_None
);
666 _resultobj
= Py_None
;
670 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
671 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
674 PyObject
* _argo0
= 0;
675 char *_kwnames
[] = { "self", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 wxListItem_ClearAttributes(_arg0
);
691 wxPy_END_ALLOW_THREADS
;
692 if (PyErr_Occurred()) return NULL
;
693 } Py_INCREF(Py_None
);
694 _resultobj
= Py_None
;
698 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
699 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
703 PyObject
* _argo0
= 0;
704 char *_kwnames
[] = { "self","mask", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
717 wxPy_BEGIN_ALLOW_THREADS
;
718 wxListItem_SetMask(_arg0
,_arg1
);
720 wxPy_END_ALLOW_THREADS
;
721 if (PyErr_Occurred()) return NULL
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
727 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
728 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
732 PyObject
* _argo0
= 0;
733 char *_kwnames
[] = { "self","id", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
746 wxPy_BEGIN_ALLOW_THREADS
;
747 wxListItem_SetId(_arg0
,_arg1
);
749 wxPy_END_ALLOW_THREADS
;
750 if (PyErr_Occurred()) return NULL
;
751 } Py_INCREF(Py_None
);
752 _resultobj
= Py_None
;
756 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
757 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
761 PyObject
* _argo0
= 0;
762 char *_kwnames
[] = { "self","col", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
775 wxPy_BEGIN_ALLOW_THREADS
;
776 wxListItem_SetColumn(_arg0
,_arg1
);
778 wxPy_END_ALLOW_THREADS
;
779 if (PyErr_Occurred()) return NULL
;
780 } Py_INCREF(Py_None
);
781 _resultobj
= Py_None
;
785 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
786 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
790 PyObject
* _argo0
= 0;
791 char *_kwnames
[] = { "self","state", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
804 wxPy_BEGIN_ALLOW_THREADS
;
805 wxListItem_SetState(_arg0
,_arg1
);
807 wxPy_END_ALLOW_THREADS
;
808 if (PyErr_Occurred()) return NULL
;
809 } Py_INCREF(Py_None
);
810 _resultobj
= Py_None
;
814 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
815 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
819 PyObject
* _argo0
= 0;
820 char *_kwnames
[] = { "self","stateMask", NULL
};
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
833 wxPy_BEGIN_ALLOW_THREADS
;
834 wxListItem_SetStateMask(_arg0
,_arg1
);
836 wxPy_END_ALLOW_THREADS
;
837 if (PyErr_Occurred()) return NULL
;
838 } Py_INCREF(Py_None
);
839 _resultobj
= Py_None
;
843 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
844 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
848 PyObject
* _argo0
= 0;
849 PyObject
* _obj1
= 0;
850 char *_kwnames
[] = { "self","text", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
863 #if PYTHON_API_VERSION >= 1009
864 char* tmpPtr
; int tmpSize
;
865 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
869 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
871 _arg1
= new wxString(tmpPtr
, tmpSize
);
873 if (!PyString_Check(_obj1
)) {
874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
877 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
881 wxPy_BEGIN_ALLOW_THREADS
;
882 wxListItem_SetText(_arg0
,*_arg1
);
884 wxPy_END_ALLOW_THREADS
;
885 if (PyErr_Occurred()) return NULL
;
886 } Py_INCREF(Py_None
);
887 _resultobj
= Py_None
;
895 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
896 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
900 PyObject
* _argo0
= 0;
901 char *_kwnames
[] = { "self","image", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
914 wxPy_BEGIN_ALLOW_THREADS
;
915 wxListItem_SetImage(_arg0
,_arg1
);
917 wxPy_END_ALLOW_THREADS
;
918 if (PyErr_Occurred()) return NULL
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
925 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
929 PyObject
* _argo0
= 0;
930 char *_kwnames
[] = { "self","data", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
943 wxPy_BEGIN_ALLOW_THREADS
;
944 wxListItem_SetData(_arg0
,_arg1
);
946 wxPy_END_ALLOW_THREADS
;
947 if (PyErr_Occurred()) return NULL
;
948 } Py_INCREF(Py_None
);
949 _resultobj
= Py_None
;
953 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
954 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self","width", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 wxListItem_SetWidth(_arg0
,_arg1
);
975 wxPy_END_ALLOW_THREADS
;
976 if (PyErr_Occurred()) return NULL
;
977 } Py_INCREF(Py_None
);
978 _resultobj
= Py_None
;
982 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
983 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
986 wxListColumnFormat _arg1
;
987 PyObject
* _argo0
= 0;
988 char *_kwnames
[] = { "self","align", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 wxListItem_SetAlign(_arg0
,_arg1
);
1004 wxPy_END_ALLOW_THREADS
;
1005 if (PyErr_Occurred()) return NULL
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1011 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1012 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1016 PyObject
* _argo0
= 0;
1018 PyObject
* _obj1
= 0;
1019 char *_kwnames
[] = { "self","colText", NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1033 if (! wxColour_helper(_obj1
, &_arg1
))
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 wxListItem_SetTextColour(_arg0
,*_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 if (PyErr_Occurred()) return NULL
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1047 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1048 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1052 PyObject
* _argo0
= 0;
1054 PyObject
* _obj1
= 0;
1055 char *_kwnames
[] = { "self","colBack", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1069 if (! wxColour_helper(_obj1
, &_arg1
))
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1076 wxPy_END_ALLOW_THREADS
;
1077 if (PyErr_Occurred()) return NULL
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1084 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 PyObject
* _argo0
= 0;
1089 PyObject
* _argo1
= 0;
1090 char *_kwnames
[] = { "self","font", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 wxListItem_SetFont(_arg0
,*_arg1
);
1113 wxPy_END_ALLOW_THREADS
;
1114 if (PyErr_Occurred()) return NULL
;
1115 } Py_INCREF(Py_None
);
1116 _resultobj
= Py_None
;
1120 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1121 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1125 PyObject
* _argo0
= 0;
1126 char *_kwnames
[] = { "self", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1139 wxPy_BEGIN_ALLOW_THREADS
;
1140 _result
= (long )wxListItem_GetMask(_arg0
);
1142 wxPy_END_ALLOW_THREADS
;
1143 if (PyErr_Occurred()) return NULL
;
1144 } _resultobj
= Py_BuildValue("l",_result
);
1148 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1149 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1153 PyObject
* _argo0
= 0;
1154 char *_kwnames
[] = { "self", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (long )wxListItem_GetId(_arg0
);
1170 wxPy_END_ALLOW_THREADS
;
1171 if (PyErr_Occurred()) return NULL
;
1172 } _resultobj
= Py_BuildValue("l",_result
);
1176 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1177 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1181 PyObject
* _argo0
= 0;
1182 char *_kwnames
[] = { "self", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 _result
= (int )wxListItem_GetColumn(_arg0
);
1198 wxPy_END_ALLOW_THREADS
;
1199 if (PyErr_Occurred()) return NULL
;
1200 } _resultobj
= Py_BuildValue("i",_result
);
1204 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1205 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1209 PyObject
* _argo0
= 0;
1210 char *_kwnames
[] = { "self", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1223 wxPy_BEGIN_ALLOW_THREADS
;
1224 _result
= (long )wxListItem_GetState(_arg0
);
1226 wxPy_END_ALLOW_THREADS
;
1227 if (PyErr_Occurred()) return NULL
;
1228 } _resultobj
= Py_BuildValue("l",_result
);
1232 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1233 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1253 _result
= (wxString
*) &_result_ref
;
1255 wxPy_END_ALLOW_THREADS
;
1256 if (PyErr_Occurred()) return NULL
;
1258 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1263 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1264 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1268 PyObject
* _argo0
= 0;
1269 char *_kwnames
[] = { "self", NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1282 wxPy_BEGIN_ALLOW_THREADS
;
1283 _result
= (int )wxListItem_GetImage(_arg0
);
1285 wxPy_END_ALLOW_THREADS
;
1286 if (PyErr_Occurred()) return NULL
;
1287 } _resultobj
= Py_BuildValue("i",_result
);
1291 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1292 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1296 PyObject
* _argo0
= 0;
1297 char *_kwnames
[] = { "self", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 _result
= (long )wxListItem_GetData(_arg0
);
1313 wxPy_END_ALLOW_THREADS
;
1314 if (PyErr_Occurred()) return NULL
;
1315 } _resultobj
= Py_BuildValue("l",_result
);
1319 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1320 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 _result
= (int )wxListItem_GetWidth(_arg0
);
1341 wxPy_END_ALLOW_THREADS
;
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1348 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1350 wxListColumnFormat _result
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1366 wxPy_BEGIN_ALLOW_THREADS
;
1367 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1369 wxPy_END_ALLOW_THREADS
;
1370 if (PyErr_Occurred()) return NULL
;
1371 } _resultobj
= Py_BuildValue("i",_result
);
1375 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1376 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1378 wxListItemAttr
* _result
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1398 wxPy_END_ALLOW_THREADS
;
1399 if (PyErr_Occurred()) return NULL
;
1401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1402 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 _resultobj
= Py_None
;
1410 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1411 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1415 PyObject
* _argo0
= 0;
1416 char *_kwnames
[] = { "self", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1432 wxPy_END_ALLOW_THREADS
;
1433 if (PyErr_Occurred()) return NULL
;
1434 } _resultobj
= Py_BuildValue("i",_result
);
1438 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1439 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1458 wxPy_BEGIN_ALLOW_THREADS
;
1459 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1461 wxPy_END_ALLOW_THREADS
;
1462 if (PyErr_Occurred()) return NULL
;
1463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1464 _resultobj
= Py_BuildValue("s",_ptemp
);
1468 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1469 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1473 PyObject
* _argo0
= 0;
1474 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1491 wxPy_END_ALLOW_THREADS
;
1492 if (PyErr_Occurred()) return NULL
;
1493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1494 _resultobj
= Py_BuildValue("s",_ptemp
);
1498 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1499 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1503 PyObject
* _argo0
= 0;
1504 char *_kwnames
[] = { "self", NULL
};
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1518 wxPy_BEGIN_ALLOW_THREADS
;
1519 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1521 wxPy_END_ALLOW_THREADS
;
1522 if (PyErr_Occurred()) return NULL
;
1523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1524 _resultobj
= Py_BuildValue("s",_ptemp
);
1528 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1529 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1534 PyObject
* _argo0
= 0;
1535 char *_kwnames
[] = { "self","m_mask", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1548 wxPy_BEGIN_ALLOW_THREADS
;
1549 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1551 wxPy_END_ALLOW_THREADS
;
1552 if (PyErr_Occurred()) return NULL
;
1553 } _resultobj
= Py_BuildValue("l",_result
);
1557 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1558 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1562 PyObject
* _argo0
= 0;
1563 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (long )wxListItem_m_mask_get(_arg0
);
1579 wxPy_END_ALLOW_THREADS
;
1580 if (PyErr_Occurred()) return NULL
;
1581 } _resultobj
= Py_BuildValue("l",_result
);
1585 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1586 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
* _resultobj
;
1591 PyObject
* _argo0
= 0;
1592 char *_kwnames
[] = { "self","m_itemId", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1608 wxPy_END_ALLOW_THREADS
;
1609 if (PyErr_Occurred()) return NULL
;
1610 } _resultobj
= Py_BuildValue("l",_result
);
1614 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1615 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 if (PyErr_Occurred()) return NULL
;
1638 } _resultobj
= Py_BuildValue("l",_result
);
1642 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1643 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
* _resultobj
;
1648 PyObject
* _argo0
= 0;
1649 char *_kwnames
[] = { "self","m_col", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1662 wxPy_BEGIN_ALLOW_THREADS
;
1663 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1665 wxPy_END_ALLOW_THREADS
;
1666 if (PyErr_Occurred()) return NULL
;
1667 } _resultobj
= Py_BuildValue("i",_result
);
1671 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1672 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1676 PyObject
* _argo0
= 0;
1677 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 _result
= (int )wxListItem_m_col_get(_arg0
);
1693 wxPy_END_ALLOW_THREADS
;
1694 if (PyErr_Occurred()) return NULL
;
1695 } _resultobj
= Py_BuildValue("i",_result
);
1699 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1700 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self","m_state", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1722 wxPy_END_ALLOW_THREADS
;
1723 if (PyErr_Occurred()) return NULL
;
1724 } _resultobj
= Py_BuildValue("l",_result
);
1728 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1729 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 _result
= (long )wxListItem_m_state_get(_arg0
);
1750 wxPy_END_ALLOW_THREADS
;
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("l",_result
);
1756 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1757 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1779 wxPy_END_ALLOW_THREADS
;
1780 if (PyErr_Occurred()) return NULL
;
1781 } _resultobj
= Py_BuildValue("l",_result
);
1785 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1786 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1790 PyObject
* _argo0
= 0;
1791 char *_kwnames
[] = { "self", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1807 wxPy_END_ALLOW_THREADS
;
1808 if (PyErr_Occurred()) return NULL
;
1809 } _resultobj
= Py_BuildValue("l",_result
);
1813 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1814 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1819 PyObject
* _argo0
= 0;
1820 PyObject
* _obj1
= 0;
1821 char *_kwnames
[] = { "self","m_text", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1834 #if PYTHON_API_VERSION >= 1009
1835 char* tmpPtr
; int tmpSize
;
1836 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1837 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1840 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1842 _arg1
= new wxString(tmpPtr
, tmpSize
);
1844 if (!PyString_Check(_obj1
)) {
1845 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1848 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1855 wxPy_END_ALLOW_THREADS
;
1856 if (PyErr_Occurred()) return NULL
;
1858 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1867 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1868 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1872 PyObject
* _argo0
= 0;
1873 char *_kwnames
[] = { "self", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1889 wxPy_END_ALLOW_THREADS
;
1890 if (PyErr_Occurred()) return NULL
;
1892 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1897 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1898 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self","m_image", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1920 wxPy_END_ALLOW_THREADS
;
1921 if (PyErr_Occurred()) return NULL
;
1922 } _resultobj
= Py_BuildValue("i",_result
);
1926 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1927 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1931 PyObject
* _argo0
= 0;
1932 char *_kwnames
[] = { "self", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (int )wxListItem_m_image_get(_arg0
);
1948 wxPy_END_ALLOW_THREADS
;
1949 if (PyErr_Occurred()) return NULL
;
1950 } _resultobj
= Py_BuildValue("i",_result
);
1954 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1955 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1960 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self","m_data", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1977 wxPy_END_ALLOW_THREADS
;
1978 if (PyErr_Occurred()) return NULL
;
1979 } _resultobj
= Py_BuildValue("l",_result
);
1983 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1984 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1988 PyObject
* _argo0
= 0;
1989 char *_kwnames
[] = { "self", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 _result
= (long )wxListItem_m_data_get(_arg0
);
2005 wxPy_END_ALLOW_THREADS
;
2006 if (PyErr_Occurred()) return NULL
;
2007 } _resultobj
= Py_BuildValue("l",_result
);
2011 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
2012 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2017 PyObject
* _argo0
= 0;
2018 char *_kwnames
[] = { "self","m_format", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2034 wxPy_END_ALLOW_THREADS
;
2035 if (PyErr_Occurred()) return NULL
;
2036 } _resultobj
= Py_BuildValue("i",_result
);
2040 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2041 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2046 char *_kwnames
[] = { "self", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (int )wxListItem_m_format_get(_arg0
);
2062 wxPy_END_ALLOW_THREADS
;
2063 if (PyErr_Occurred()) return NULL
;
2064 } _resultobj
= Py_BuildValue("i",_result
);
2068 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2069 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2074 PyObject
* _argo0
= 0;
2075 char *_kwnames
[] = { "self","m_width", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2088 wxPy_BEGIN_ALLOW_THREADS
;
2089 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2091 wxPy_END_ALLOW_THREADS
;
2092 if (PyErr_Occurred()) return NULL
;
2093 } _resultobj
= Py_BuildValue("i",_result
);
2097 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2098 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 _result
= (int )wxListItem_m_width_get(_arg0
);
2119 wxPy_END_ALLOW_THREADS
;
2120 if (PyErr_Occurred()) return NULL
;
2121 } _resultobj
= Py_BuildValue("i",_result
);
2125 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2127 wxNotifyEvent
*dest
;
2128 src
= (wxListEvent
*) ptr
;
2129 dest
= (wxNotifyEvent
*) src
;
2130 return (void *) dest
;
2133 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2135 wxCommandEvent
*dest
;
2136 src
= (wxListEvent
*) ptr
;
2137 dest
= (wxCommandEvent
*) src
;
2138 return (void *) dest
;
2141 static void *SwigwxListEventTowxEvent(void *ptr
) {
2144 src
= (wxListEvent
*) ptr
;
2145 dest
= (wxEvent
*) src
;
2146 return (void *) dest
;
2149 static void *SwigwxListEventTowxObject(void *ptr
) {
2152 src
= (wxListEvent
*) ptr
;
2153 dest
= (wxObject
*) src
;
2154 return (void *) dest
;
2157 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2158 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2160 wxListEvent
* _result
;
2161 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2162 int _arg1
= (int ) 0;
2163 char *_kwnames
[] = { "commandType","id", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2173 wxPy_END_ALLOW_THREADS
;
2174 if (PyErr_Occurred()) return NULL
;
2176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2177 _resultobj
= Py_BuildValue("s",_ptemp
);
2180 _resultobj
= Py_None
;
2185 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2186 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2189 wxListEvent
* _arg0
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self","m_code", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2208 wxPy_END_ALLOW_THREADS
;
2209 if (PyErr_Occurred()) return NULL
;
2210 } _resultobj
= Py_BuildValue("i",_result
);
2214 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2215 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2218 wxListEvent
* _arg0
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 _result
= (int )wxListEvent_m_code_get(_arg0
);
2236 wxPy_END_ALLOW_THREADS
;
2237 if (PyErr_Occurred()) return NULL
;
2238 } _resultobj
= Py_BuildValue("i",_result
);
2242 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2243 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2246 wxListEvent
* _arg0
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2265 wxPy_END_ALLOW_THREADS
;
2266 if (PyErr_Occurred()) return NULL
;
2267 } _resultobj
= Py_BuildValue("l",_result
);
2271 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2272 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2275 wxListEvent
* _arg0
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2293 wxPy_END_ALLOW_THREADS
;
2294 if (PyErr_Occurred()) return NULL
;
2295 } _resultobj
= Py_BuildValue("l",_result
);
2299 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2300 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2303 wxListEvent
* _arg0
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2322 wxPy_END_ALLOW_THREADS
;
2323 if (PyErr_Occurred()) return NULL
;
2324 } _resultobj
= Py_BuildValue("l",_result
);
2328 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2329 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2332 wxListEvent
* _arg0
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2347 wxPy_BEGIN_ALLOW_THREADS
;
2348 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2350 wxPy_END_ALLOW_THREADS
;
2351 if (PyErr_Occurred()) return NULL
;
2352 } _resultobj
= Py_BuildValue("l",_result
);
2356 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2357 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2360 wxListEvent
* _arg0
;
2362 PyObject
* _argo0
= 0;
2363 char *_kwnames
[] = { "self","m_col", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2379 wxPy_END_ALLOW_THREADS
;
2380 if (PyErr_Occurred()) return NULL
;
2381 } _resultobj
= Py_BuildValue("i",_result
);
2385 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2386 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2389 wxListEvent
* _arg0
;
2390 PyObject
* _argo0
= 0;
2391 char *_kwnames
[] = { "self", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 _result
= (int )wxListEvent_m_col_get(_arg0
);
2407 wxPy_END_ALLOW_THREADS
;
2408 if (PyErr_Occurred()) return NULL
;
2409 } _resultobj
= Py_BuildValue("i",_result
);
2413 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2414 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2417 wxListEvent
* _arg0
;
2419 PyObject
* _argo0
= 0;
2421 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2433 _arg1
= (bool ) tempbool1
;
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2438 wxPy_END_ALLOW_THREADS
;
2439 if (PyErr_Occurred()) return NULL
;
2440 } _resultobj
= Py_BuildValue("i",_result
);
2444 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2445 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2448 wxListEvent
* _arg0
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2463 wxPy_BEGIN_ALLOW_THREADS
;
2464 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2466 wxPy_END_ALLOW_THREADS
;
2467 if (PyErr_Occurred()) return NULL
;
2468 } _resultobj
= Py_BuildValue("i",_result
);
2472 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2473 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2476 wxListEvent
* _arg0
;
2478 PyObject
* _argo0
= 0;
2480 PyObject
* _obj1
= 0;
2481 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2496 if (! wxPoint_helper(_obj1
, &_arg1
))
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2503 wxPy_END_ALLOW_THREADS
;
2504 if (PyErr_Occurred()) return NULL
;
2506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2507 _resultobj
= Py_BuildValue("s",_ptemp
);
2510 _resultobj
= Py_None
;
2515 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2516 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2519 wxListEvent
* _arg0
;
2520 PyObject
* _argo0
= 0;
2521 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2538 wxPy_END_ALLOW_THREADS
;
2539 if (PyErr_Occurred()) return NULL
;
2541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2542 _resultobj
= Py_BuildValue("s",_ptemp
);
2545 _resultobj
= Py_None
;
2550 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2551 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2553 wxListItem
* _result
;
2554 wxListEvent
* _arg0
;
2556 PyObject
* _argo0
= 0;
2557 PyObject
* _argo1
= 0;
2558 char *_kwnames
[] = { "self","m_item", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2578 wxPy_BEGIN_ALLOW_THREADS
;
2579 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2581 wxPy_END_ALLOW_THREADS
;
2582 if (PyErr_Occurred()) return NULL
;
2583 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2587 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2588 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2590 wxListItem
* _result
;
2591 wxListEvent
* _arg0
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_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_m_item_get. Expected _wxListEvent_p.");
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2609 wxPy_END_ALLOW_THREADS
;
2610 if (PyErr_Occurred()) return NULL
;
2611 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2615 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2616 static PyObject
*_wrap_wxListEvent_GetCode(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_GetCode",_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_GetCode. Expected _wxListEvent_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 _result
= (int )wxListEvent_GetCode(_arg0
);
2637 wxPy_END_ALLOW_THREADS
;
2638 if (PyErr_Occurred()) return NULL
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2644 static PyObject
*_wrap_wxListEvent_GetIndex(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_GetIndex",_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_GetIndex. Expected _wxListEvent_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (long )wxListEvent_GetIndex(_arg0
);
2665 wxPy_END_ALLOW_THREADS
;
2666 if (PyErr_Occurred()) return NULL
;
2667 } _resultobj
= Py_BuildValue("l",_result
);
2671 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2672 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2675 wxListEvent
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2693 wxPy_END_ALLOW_THREADS
;
2694 if (PyErr_Occurred()) return NULL
;
2695 } _resultobj
= Py_BuildValue("l",_result
);
2699 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2700 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2703 wxListEvent
* _arg0
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2721 wxPy_END_ALLOW_THREADS
;
2722 if (PyErr_Occurred()) return NULL
;
2723 } _resultobj
= Py_BuildValue("l",_result
);
2727 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2728 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2731 wxListEvent
* _arg0
;
2732 PyObject
* _argo0
= 0;
2733 char *_kwnames
[] = { "self", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (int )wxListEvent_GetColumn(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 if (PyErr_Occurred()) return NULL
;
2751 } _resultobj
= Py_BuildValue("i",_result
);
2755 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2756 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2759 wxListEvent
* _arg0
;
2760 PyObject
* _argo0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2777 wxPy_END_ALLOW_THREADS
;
2778 if (PyErr_Occurred()) return NULL
;
2779 } _resultobj
= Py_BuildValue("i",_result
);
2783 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2784 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
* _resultobj
;
2787 wxListEvent
* _arg0
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2803 wxPy_BEGIN_ALLOW_THREADS
;
2804 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2806 wxPy_END_ALLOW_THREADS
;
2807 if (PyErr_Occurred()) return NULL
;
2808 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2809 _resultobj
= Py_BuildValue("s",_ptemp
);
2813 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2814 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2817 wxListEvent
* _arg0
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2834 _result
= (wxString
*) &_result_ref
;
2836 wxPy_END_ALLOW_THREADS
;
2837 if (PyErr_Occurred()) return NULL
;
2839 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2844 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2845 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2848 wxListEvent
* _arg0
;
2849 PyObject
* _argo0
= 0;
2850 char *_kwnames
[] = { "self", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2865 _result
= (wxString
*) &_result_ref
;
2867 wxPy_END_ALLOW_THREADS
;
2868 if (PyErr_Occurred()) return NULL
;
2870 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2875 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2876 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2879 wxListEvent
* _arg0
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 _result
= (int )wxListEvent_GetImage(_arg0
);
2897 wxPy_END_ALLOW_THREADS
;
2898 if (PyErr_Occurred()) return NULL
;
2899 } _resultobj
= Py_BuildValue("i",_result
);
2903 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2904 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2907 wxListEvent
* _arg0
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 _result
= (long )wxListEvent_GetData(_arg0
);
2925 wxPy_END_ALLOW_THREADS
;
2926 if (PyErr_Occurred()) return NULL
;
2927 } _resultobj
= Py_BuildValue("l",_result
);
2931 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2932 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2935 wxListEvent
* _arg0
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 _result
= (long )wxListEvent_GetMask(_arg0
);
2953 wxPy_END_ALLOW_THREADS
;
2954 if (PyErr_Occurred()) return NULL
;
2955 } _resultobj
= Py_BuildValue("l",_result
);
2959 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2960 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
* _resultobj
;
2962 wxListItem
* _result
;
2963 wxListEvent
* _arg0
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2978 wxPy_BEGIN_ALLOW_THREADS
;
2979 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2980 _result
= (wxListItem
*) &_result_ref
;
2982 wxPy_END_ALLOW_THREADS
;
2983 if (PyErr_Occurred()) return NULL
;
2984 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2988 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2989 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2992 wxListEvent
* _arg0
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
3007 wxPy_BEGIN_ALLOW_THREADS
;
3008 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
3010 wxPy_END_ALLOW_THREADS
;
3011 if (PyErr_Occurred()) return NULL
;
3012 } _resultobj
= Py_BuildValue("l",_result
);
3016 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
3017 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3020 wxListEvent
* _arg0
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
3035 wxPy_BEGIN_ALLOW_THREADS
;
3036 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
3038 wxPy_END_ALLOW_THREADS
;
3039 if (PyErr_Occurred()) return NULL
;
3040 } _resultobj
= Py_BuildValue("l",_result
);
3044 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
3047 src
= (wxPyListCtrl
*) ptr
;
3048 dest
= (wxControl
*) src
;
3049 return (void *) dest
;
3052 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
3055 src
= (wxPyListCtrl
*) ptr
;
3056 dest
= (wxWindow
*) src
;
3057 return (void *) dest
;
3060 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
3063 src
= (wxPyListCtrl
*) ptr
;
3064 dest
= (wxEvtHandler
*) src
;
3065 return (void *) dest
;
3068 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
3071 src
= (wxPyListCtrl
*) ptr
;
3072 dest
= (wxObject
*) src
;
3073 return (void *) dest
;
3076 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3077 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3079 wxPyListCtrl
* _result
;
3081 wxWindowID _arg1
= (wxWindowID
) -1;
3082 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3083 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3084 long _arg4
= (long ) (wxLC_ICON
);
3085 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3086 char * _arg6
= (char *) "listCtrl";
3087 PyObject
* _argo0
= 0;
3089 PyObject
* _obj2
= 0;
3091 PyObject
* _obj3
= 0;
3092 PyObject
* _argo5
= 0;
3093 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
3109 if (! wxPoint_helper(_obj2
, &_arg2
))
3115 if (! wxSize_helper(_obj3
, &_arg3
))
3119 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3129 wxPy_END_ALLOW_THREADS
;
3130 if (PyErr_Occurred()) return NULL
;
3132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3133 _resultobj
= Py_BuildValue("s",_ptemp
);
3136 _resultobj
= Py_None
;
3141 #define new_wxPreListCtrl() (new wxPyListCtrl())
3142 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxPyListCtrl
* _result
;
3145 char *_kwnames
[] = { NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3155 wxPy_END_ALLOW_THREADS
;
3156 if (PyErr_Occurred()) return NULL
;
3158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3159 _resultobj
= Py_BuildValue("s",_ptemp
);
3162 _resultobj
= Py_None
;
3167 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3168 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3171 wxPyListCtrl
* _arg0
;
3173 wxWindowID _arg2
= (wxWindowID
) -1;
3174 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3175 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3176 long _arg5
= (long ) (wxLC_ICON
);
3177 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3178 char * _arg7
= (char *) "listCtrl";
3179 PyObject
* _argo0
= 0;
3180 PyObject
* _argo1
= 0;
3182 PyObject
* _obj3
= 0;
3184 PyObject
* _obj4
= 0;
3185 PyObject
* _argo6
= 0;
3186 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3208 if (! wxPoint_helper(_obj3
, &_arg3
))
3214 if (! wxSize_helper(_obj4
, &_arg4
))
3218 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3228 wxPy_END_ALLOW_THREADS
;
3229 if (PyErr_Occurred()) return NULL
;
3230 } _resultobj
= Py_BuildValue("i",_result
);
3234 #define wxListCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3235 static PyObject
*_wrap_wxListCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxPyListCtrl
* _arg0
;
3240 PyObject
* _argo0
= 0;
3241 PyObject
* _obj1
= 0;
3242 PyObject
* _obj2
= 0;
3243 char *_kwnames
[] = { "self","self","_class", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setSelf. Expected _wxPyListCtrl_p.");
3262 wxPy_BEGIN_ALLOW_THREADS
;
3263 wxListCtrl__setSelf(_arg0
,_arg1
,_arg2
);
3265 wxPy_END_ALLOW_THREADS
;
3266 if (PyErr_Occurred()) return NULL
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3273 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3276 wxPyListCtrl
* _arg0
;
3278 PyObject
* _argo0
= 0;
3280 PyObject
* _obj1
= 0;
3281 char *_kwnames
[] = { "self","col", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3295 if (! wxColour_helper(_obj1
, &_arg1
))
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3302 wxPy_END_ALLOW_THREADS
;
3303 if (PyErr_Occurred()) return NULL
;
3304 } _resultobj
= Py_BuildValue("i",_result
);
3308 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3309 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3312 wxPyListCtrl
* _arg0
;
3314 PyObject
* _argo0
= 0;
3316 PyObject
* _obj1
= 0;
3317 char *_kwnames
[] = { "self","col", NULL
};
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3331 if (! wxColour_helper(_obj1
, &_arg1
))
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3338 wxPy_END_ALLOW_THREADS
;
3339 if (PyErr_Occurred()) return NULL
;
3340 } _resultobj
= Py_BuildValue("i",_result
);
3344 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3345 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3348 wxPyListCtrl
* _arg0
;
3351 PyObject
* _argo0
= 0;
3352 PyObject
* _argo2
= 0;
3353 char *_kwnames
[] = { "self","col","item", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3366 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3373 wxPy_BEGIN_ALLOW_THREADS
;
3374 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3376 wxPy_END_ALLOW_THREADS
;
3377 if (PyErr_Occurred()) return NULL
;
3378 } _resultobj
= Py_BuildValue("i",_result
);
3382 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3383 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3386 wxPyListCtrl
* _arg0
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo2
= 0;
3391 char *_kwnames
[] = { "self","col","item", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3404 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3414 wxPy_END_ALLOW_THREADS
;
3415 if (PyErr_Occurred()) return NULL
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3420 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3421 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3424 wxPyListCtrl
* _arg0
;
3426 PyObject
* _argo0
= 0;
3427 char *_kwnames
[] = { "self","col", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3443 wxPy_END_ALLOW_THREADS
;
3444 if (PyErr_Occurred()) return NULL
;
3445 } _resultobj
= Py_BuildValue("i",_result
);
3449 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3450 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3453 wxPyListCtrl
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","col","width", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3473 wxPy_END_ALLOW_THREADS
;
3474 if (PyErr_Occurred()) return NULL
;
3475 } _resultobj
= Py_BuildValue("i",_result
);
3479 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3480 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3483 wxPyListCtrl
* _arg0
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3501 wxPy_END_ALLOW_THREADS
;
3502 if (PyErr_Occurred()) return NULL
;
3503 } _resultobj
= Py_BuildValue("i",_result
);
3507 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3508 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxTextCtrl
* _result
;
3511 wxPyListCtrl
* _arg0
;
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3529 wxPy_END_ALLOW_THREADS
;
3530 if (PyErr_Occurred()) return NULL
;
3531 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3535 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3536 wxListItem
* info
= new wxListItem
;
3537 info
->m_itemId
= itemId
;
3539 info
->m_mask
= 0xFFFF;
3540 self
->GetItem(*info
);
3543 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3545 wxListItem
* _result
;
3546 wxPyListCtrl
* _arg0
;
3548 int _arg2
= (int ) 0;
3549 PyObject
* _argo0
= 0;
3550 char *_kwnames
[] = { "self","itemId","col", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3566 wxPy_END_ALLOW_THREADS
;
3567 if (PyErr_Occurred()) return NULL
;
3568 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3572 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3573 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3576 wxPyListCtrl
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 PyObject
* _argo1
= 0;
3580 char *_kwnames
[] = { "self","info", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3603 wxPy_END_ALLOW_THREADS
;
3604 if (PyErr_Occurred()) return NULL
;
3605 } _resultobj
= Py_BuildValue("i",_result
);
3609 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3610 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3613 wxPyListCtrl
* _arg0
;
3617 int _arg4
= (int ) -1;
3618 PyObject
* _argo0
= 0;
3619 PyObject
* _obj3
= 0;
3620 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3633 #if PYTHON_API_VERSION >= 1009
3634 char* tmpPtr
; int tmpSize
;
3635 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3639 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3641 _arg3
= new wxString(tmpPtr
, tmpSize
);
3643 if (!PyString_Check(_obj3
)) {
3644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3647 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3651 wxPy_BEGIN_ALLOW_THREADS
;
3652 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3654 wxPy_END_ALLOW_THREADS
;
3655 if (PyErr_Occurred()) return NULL
;
3656 } _resultobj
= Py_BuildValue("l",_result
);
3664 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3665 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3668 wxPyListCtrl
* _arg0
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3688 wxPy_END_ALLOW_THREADS
;
3689 if (PyErr_Occurred()) return NULL
;
3690 } _resultobj
= Py_BuildValue("i",_result
);
3694 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3695 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3698 wxPyListCtrl
* _arg0
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3719 wxPy_END_ALLOW_THREADS
;
3720 if (PyErr_Occurred()) return NULL
;
3721 } _resultobj
= Py_BuildValue("i",_result
);
3725 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3726 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3729 wxPyListCtrl
* _arg0
;
3733 PyObject
* _argo0
= 0;
3734 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3747 wxPy_BEGIN_ALLOW_THREADS
;
3748 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3750 wxPy_END_ALLOW_THREADS
;
3751 if (PyErr_Occurred()) return NULL
;
3752 } _resultobj
= Py_BuildValue("i",_result
);
3756 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3757 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3760 wxPyListCtrl
* _arg0
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self","item", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3779 wxPy_END_ALLOW_THREADS
;
3780 if (PyErr_Occurred()) return NULL
;
3782 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3790 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3791 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3793 wxPyListCtrl
* _arg0
;
3796 PyObject
* _argo0
= 0;
3797 PyObject
* _obj2
= 0;
3798 char *_kwnames
[] = { "self","item","str", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3811 #if PYTHON_API_VERSION >= 1009
3812 char* tmpPtr
; int tmpSize
;
3813 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3817 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3819 _arg2
= new wxString(tmpPtr
, tmpSize
);
3821 if (!PyString_Check(_obj2
)) {
3822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3825 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3829 wxPy_BEGIN_ALLOW_THREADS
;
3830 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3832 wxPy_END_ALLOW_THREADS
;
3833 if (PyErr_Occurred()) return NULL
;
3834 } Py_INCREF(Py_None
);
3835 _resultobj
= Py_None
;
3843 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3844 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3847 wxPyListCtrl
* _arg0
;
3849 PyObject
* _argo0
= 0;
3850 char *_kwnames
[] = { "self","item", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3866 wxPy_END_ALLOW_THREADS
;
3867 if (PyErr_Occurred()) return NULL
;
3868 } _resultobj
= Py_BuildValue("l",_result
);
3872 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3873 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3876 wxPyListCtrl
* _arg0
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self","item","data", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3896 wxPy_END_ALLOW_THREADS
;
3897 if (PyErr_Occurred()) return NULL
;
3898 } _resultobj
= Py_BuildValue("i",_result
);
3902 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3903 wxPoint
* pos
= new wxPoint
;
3904 self
->GetItemPosition(item
, *pos
);
3907 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3910 wxPyListCtrl
* _arg0
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self","item", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
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_GetItemPosition. Expected _wxPyListCtrl_p.");
3927 wxPy_BEGIN_ALLOW_THREADS
;
3928 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3930 wxPy_END_ALLOW_THREADS
;
3931 if (PyErr_Occurred()) return NULL
;
3933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3934 _resultobj
= Py_BuildValue("s",_ptemp
);
3937 _resultobj
= Py_None
;
3942 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3943 wxRect
* rect
= new wxRect
;
3944 self
->GetItemRect(item
, *rect
, code
);
3947 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxPyListCtrl
* _arg0
;
3952 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self","item","code", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3971 wxPy_END_ALLOW_THREADS
;
3972 if (PyErr_Occurred()) return NULL
;
3974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3975 _resultobj
= Py_BuildValue("s",_ptemp
);
3978 _resultobj
= Py_None
;
3983 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3984 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3987 wxPyListCtrl
* _arg0
;
3990 PyObject
* _argo0
= 0;
3992 PyObject
* _obj2
= 0;
3993 char *_kwnames
[] = { "self","item","pos", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
4007 if (! wxPoint_helper(_obj2
, &_arg2
))
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4014 wxPy_END_ALLOW_THREADS
;
4015 if (PyErr_Occurred()) return NULL
;
4016 } _resultobj
= Py_BuildValue("i",_result
);
4020 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
4021 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4024 wxPyListCtrl
* _arg0
;
4025 PyObject
* _argo0
= 0;
4026 char *_kwnames
[] = { "self", NULL
};
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
4032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
4042 wxPy_END_ALLOW_THREADS
;
4043 if (PyErr_Occurred()) return NULL
;
4044 } _resultobj
= Py_BuildValue("i",_result
);
4048 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
4049 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4052 wxPyListCtrl
* _arg0
;
4053 PyObject
* _argo0
= 0;
4054 char *_kwnames
[] = { "self", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
4070 wxPy_END_ALLOW_THREADS
;
4071 if (PyErr_Occurred()) return NULL
;
4072 } _resultobj
= Py_BuildValue("i",_result
);
4076 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
4077 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4080 wxPyListCtrl
* _arg0
;
4082 PyObject
* _argo0
= 0;
4084 char *_kwnames
[] = { "self","isSmall", NULL
};
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
4090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
4096 _arg1
= (bool ) tempbool1
;
4098 wxPy_BEGIN_ALLOW_THREADS
;
4099 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
4101 wxPy_END_ALLOW_THREADS
;
4102 if (PyErr_Occurred()) return NULL
;
4103 } _resultobj
= Py_BuildValue("i",_result
);
4107 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
4108 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4111 wxPyListCtrl
* _arg0
;
4112 PyObject
* _argo0
= 0;
4113 char *_kwnames
[] = { "self", NULL
};
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
4119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
4129 wxPy_END_ALLOW_THREADS
;
4130 if (PyErr_Occurred()) return NULL
;
4131 } _resultobj
= Py_BuildValue("i",_result
);
4135 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4136 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4139 wxPyListCtrl
* _arg0
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
4158 wxPy_END_ALLOW_THREADS
;
4159 if (PyErr_Occurred()) return NULL
;
4160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4161 _resultobj
= Py_BuildValue("s",_ptemp
);
4165 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4166 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4168 wxPyListCtrl
* _arg0
;
4170 PyObject
* _argo0
= 0;
4172 PyObject
* _obj1
= 0;
4173 char *_kwnames
[] = { "self","col", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4187 if (! wxColour_helper(_obj1
, &_arg1
))
4191 wxPy_BEGIN_ALLOW_THREADS
;
4192 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4194 wxPy_END_ALLOW_THREADS
;
4195 if (PyErr_Occurred()) return NULL
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4201 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4202 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4205 wxPyListCtrl
* _arg0
;
4206 PyObject
* _argo0
= 0;
4207 char *_kwnames
[] = { "self", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4220 wxPy_BEGIN_ALLOW_THREADS
;
4221 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4223 wxPy_END_ALLOW_THREADS
;
4224 if (PyErr_Occurred()) return NULL
;
4225 } _resultobj
= Py_BuildValue("l",_result
);
4229 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4230 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4232 wxPyListCtrl
* _arg0
;
4234 bool _arg2
= (bool ) TRUE
;
4235 PyObject
* _argo0
= 0;
4236 int tempbool2
= (int) TRUE
;
4237 char *_kwnames
[] = { "self","style","add", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4249 _arg2
= (bool ) tempbool2
;
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4254 wxPy_END_ALLOW_THREADS
;
4255 if (PyErr_Occurred()) return NULL
;
4256 } Py_INCREF(Py_None
);
4257 _resultobj
= Py_None
;
4261 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4262 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4264 wxPyListCtrl
* _arg0
;
4266 PyObject
* _argo0
= 0;
4267 char *_kwnames
[] = { "self","style", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4283 wxPy_END_ALLOW_THREADS
;
4284 if (PyErr_Occurred()) return NULL
;
4285 } Py_INCREF(Py_None
);
4286 _resultobj
= Py_None
;
4290 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4291 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4294 wxPyListCtrl
* _arg0
;
4296 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4297 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4298 PyObject
* _argo0
= 0;
4299 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4312 wxPy_BEGIN_ALLOW_THREADS
;
4313 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4315 wxPy_END_ALLOW_THREADS
;
4316 if (PyErr_Occurred()) return NULL
;
4317 } _resultobj
= Py_BuildValue("l",_result
);
4321 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4322 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4324 wxImageList
* _result
;
4325 wxPyListCtrl
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self","which", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4341 wxPy_BEGIN_ALLOW_THREADS
;
4342 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4344 wxPy_END_ALLOW_THREADS
;
4345 if (PyErr_Occurred()) return NULL
;
4346 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4350 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4351 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
* _resultobj
;
4353 wxPyListCtrl
* _arg0
;
4354 wxImageList
* _arg1
;
4356 PyObject
* _argo0
= 0;
4357 PyObject
* _argo1
= 0;
4358 char *_kwnames
[] = { "self","imageList","which", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4378 wxPy_BEGIN_ALLOW_THREADS
;
4379 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4381 wxPy_END_ALLOW_THREADS
;
4382 if (PyErr_Occurred()) return NULL
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4389 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4391 wxPyListCtrl
* _arg0
;
4392 wxImageList
* _arg1
;
4394 PyObject
* _argo0
= 0;
4395 PyObject
* _argo1
= 0;
4396 char *_kwnames
[] = { "self","imageList","which", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4419 wxPy_END_ALLOW_THREADS
;
4420 if (PyErr_Occurred()) return NULL
;
4421 } Py_INCREF(Py_None
);
4422 _resultobj
= Py_None
;
4426 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4427 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4430 wxPyListCtrl
* _arg0
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4448 wxPy_END_ALLOW_THREADS
;
4449 if (PyErr_Occurred()) return NULL
;
4450 } _resultobj
= Py_BuildValue("i",_result
);
4454 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4455 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4457 wxPyListCtrl
* _arg0
;
4459 PyObject
* _argo0
= 0;
4460 char *_kwnames
[] = { "self","item", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4473 wxPy_BEGIN_ALLOW_THREADS
;
4474 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4476 wxPy_END_ALLOW_THREADS
;
4477 if (PyErr_Occurred()) return NULL
;
4478 } Py_INCREF(Py_None
);
4479 _resultobj
= Py_None
;
4483 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4484 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4486 wxPyListCtrl
* _arg0
;
4489 PyObject
* _argo0
= 0;
4490 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4503 wxPy_BEGIN_ALLOW_THREADS
;
4504 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4506 wxPy_END_ALLOW_THREADS
;
4507 if (PyErr_Occurred()) return NULL
;
4508 } Py_INCREF(Py_None
);
4509 _resultobj
= Py_None
;
4513 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4514 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4517 wxPyListCtrl
* _arg0
;
4518 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4519 PyObject
* _argo0
= 0;
4520 char *_kwnames
[] = { "self","flag", NULL
};
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4533 wxPy_BEGIN_ALLOW_THREADS
;
4534 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4536 wxPy_END_ALLOW_THREADS
;
4537 if (PyErr_Occurred()) return NULL
;
4538 } _resultobj
= Py_BuildValue("i",_result
);
4542 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4543 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4546 wxPyListCtrl
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self","item", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
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_DeleteItem. Expected _wxPyListCtrl_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4565 wxPy_END_ALLOW_THREADS
;
4566 if (PyErr_Occurred()) return NULL
;
4567 } _resultobj
= Py_BuildValue("i",_result
);
4571 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4572 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4575 wxPyListCtrl
* _arg0
;
4576 PyObject
* _argo0
= 0;
4577 char *_kwnames
[] = { "self", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4593 wxPy_END_ALLOW_THREADS
;
4594 if (PyErr_Occurred()) return NULL
;
4595 } _resultobj
= Py_BuildValue("i",_result
);
4599 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4600 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4603 wxPyListCtrl
* _arg0
;
4605 PyObject
* _argo0
= 0;
4606 char *_kwnames
[] = { "self","col", NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4619 wxPy_BEGIN_ALLOW_THREADS
;
4620 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4622 wxPy_END_ALLOW_THREADS
;
4623 if (PyErr_Occurred()) return NULL
;
4624 } _resultobj
= Py_BuildValue("i",_result
);
4628 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4629 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4632 wxPyListCtrl
* _arg0
;
4633 PyObject
* _argo0
= 0;
4634 char *_kwnames
[] = { "self", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4650 wxPy_END_ALLOW_THREADS
;
4651 if (PyErr_Occurred()) return NULL
;
4652 } _resultobj
= Py_BuildValue("i",_result
);
4656 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4657 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4659 wxPyListCtrl
* _arg0
;
4660 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4674 wxPy_BEGIN_ALLOW_THREADS
;
4675 wxListCtrl_ClearAll(_arg0
);
4677 wxPy_END_ALLOW_THREADS
;
4678 if (PyErr_Occurred()) return NULL
;
4679 } Py_INCREF(Py_None
);
4680 _resultobj
= Py_None
;
4684 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4685 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4687 wxTextCtrl
* _result
;
4688 wxPyListCtrl
* _arg0
;
4690 PyObject
* _argo0
= 0;
4691 char *_kwnames
[] = { "self","item", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4707 wxPy_END_ALLOW_THREADS
;
4708 if (PyErr_Occurred()) return NULL
;
4709 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4713 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4714 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4717 wxPyListCtrl
* _arg0
;
4719 PyObject
* _argo0
= 0;
4721 char *_kwnames
[] = { "self","cancel", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4733 _arg1
= (bool ) tempbool1
;
4735 wxPy_BEGIN_ALLOW_THREADS
;
4736 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4738 wxPy_END_ALLOW_THREADS
;
4739 if (PyErr_Occurred()) return NULL
;
4740 } _resultobj
= Py_BuildValue("i",_result
);
4744 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4745 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
* _resultobj
;
4748 wxPyListCtrl
* _arg0
;
4750 PyObject
* _argo0
= 0;
4751 char *_kwnames
[] = { "self","item", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4767 wxPy_END_ALLOW_THREADS
;
4768 if (PyErr_Occurred()) return NULL
;
4769 } _resultobj
= Py_BuildValue("i",_result
);
4773 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4774 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxPyListCtrl
* _arg0
;
4780 bool _arg3
= (bool ) FALSE
;
4781 PyObject
* _argo0
= 0;
4782 PyObject
* _obj2
= 0;
4783 int tempbool3
= (int) FALSE
;
4784 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4797 #if PYTHON_API_VERSION >= 1009
4798 char* tmpPtr
; int tmpSize
;
4799 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4803 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4805 _arg2
= new wxString(tmpPtr
, tmpSize
);
4807 if (!PyString_Check(_obj2
)) {
4808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4811 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4814 _arg3
= (bool ) tempbool3
;
4816 wxPy_BEGIN_ALLOW_THREADS
;
4817 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4819 wxPy_END_ALLOW_THREADS
;
4820 if (PyErr_Occurred()) return NULL
;
4821 } _resultobj
= Py_BuildValue("l",_result
);
4829 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4830 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4833 wxPyListCtrl
* _arg0
;
4836 PyObject
* _argo0
= 0;
4837 char *_kwnames
[] = { "self","start","data", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4850 wxPy_BEGIN_ALLOW_THREADS
;
4851 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4853 wxPy_END_ALLOW_THREADS
;
4854 if (PyErr_Occurred()) return NULL
;
4855 } _resultobj
= Py_BuildValue("l",_result
);
4859 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4860 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
* _resultobj
;
4863 wxPyListCtrl
* _arg0
;
4867 PyObject
* _argo0
= 0;
4869 PyObject
* _obj2
= 0;
4870 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4884 if (! wxPoint_helper(_obj2
, &_arg2
))
4888 wxPy_BEGIN_ALLOW_THREADS
;
4889 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4891 wxPy_END_ALLOW_THREADS
;
4892 if (PyErr_Occurred()) return NULL
;
4893 } _resultobj
= Py_BuildValue("l",_result
);
4897 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4898 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4901 wxPyListCtrl
* _arg0
;
4905 PyObject
* _argo0
= 0;
4907 PyObject
* _obj1
= 0;
4908 char *_kwnames
[] = { "self","point", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4925 if (! wxPoint_helper(_obj1
, &_arg1
))
4929 wxPy_BEGIN_ALLOW_THREADS
;
4930 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4932 wxPy_END_ALLOW_THREADS
;
4933 if (PyErr_Occurred()) return NULL
;
4934 } _resultobj
= Py_BuildValue("l",_result
);
4937 o
= PyInt_FromLong((long) (*_arg2
));
4938 _resultobj
= t_output_helper(_resultobj
, o
);
4943 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4944 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4947 wxPyListCtrl
* _arg0
;
4949 PyObject
* _argo0
= 0;
4950 PyObject
* _argo1
= 0;
4951 char *_kwnames
[] = { "self","info", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4974 wxPy_END_ALLOW_THREADS
;
4975 if (PyErr_Occurred()) return NULL
;
4976 } _resultobj
= Py_BuildValue("l",_result
);
4980 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4981 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4984 wxPyListCtrl
* _arg0
;
4987 PyObject
* _argo0
= 0;
4988 PyObject
* _obj2
= 0;
4989 char *_kwnames
[] = { "self","index","label", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
5002 #if PYTHON_API_VERSION >= 1009
5003 char* tmpPtr
; int tmpSize
;
5004 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5008 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5010 _arg2
= new wxString(tmpPtr
, tmpSize
);
5012 if (!PyString_Check(_obj2
)) {
5013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5016 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5020 wxPy_BEGIN_ALLOW_THREADS
;
5021 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
5023 wxPy_END_ALLOW_THREADS
;
5024 if (PyErr_Occurred()) return NULL
;
5025 } _resultobj
= Py_BuildValue("l",_result
);
5033 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
5034 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
* _resultobj
;
5037 wxPyListCtrl
* _arg0
;
5040 PyObject
* _argo0
= 0;
5041 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
5054 wxPy_BEGIN_ALLOW_THREADS
;
5055 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
5057 wxPy_END_ALLOW_THREADS
;
5058 if (PyErr_Occurred()) return NULL
;
5059 } _resultobj
= Py_BuildValue("l",_result
);
5063 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
5064 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5067 wxPyListCtrl
* _arg0
;
5071 PyObject
* _argo0
= 0;
5072 PyObject
* _obj2
= 0;
5073 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
5079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
5086 #if PYTHON_API_VERSION >= 1009
5087 char* tmpPtr
; int tmpSize
;
5088 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5092 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5094 _arg2
= new wxString(tmpPtr
, tmpSize
);
5096 if (!PyString_Check(_obj2
)) {
5097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5100 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
5107 wxPy_END_ALLOW_THREADS
;
5108 if (PyErr_Occurred()) return NULL
;
5109 } _resultobj
= Py_BuildValue("l",_result
);
5117 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
5118 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5121 wxPyListCtrl
* _arg0
;
5124 PyObject
* _argo0
= 0;
5125 PyObject
* _argo2
= 0;
5126 char *_kwnames
[] = { "self","col","info", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
5139 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
5149 wxPy_END_ALLOW_THREADS
;
5150 if (PyErr_Occurred()) return NULL
;
5151 } _resultobj
= Py_BuildValue("l",_result
);
5155 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5156 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
* _resultobj
;
5159 wxPyListCtrl
* _arg0
;
5162 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5163 int _arg4
= (int ) -1;
5164 PyObject
* _argo0
= 0;
5165 PyObject
* _obj2
= 0;
5166 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5179 #if PYTHON_API_VERSION >= 1009
5180 char* tmpPtr
; int tmpSize
;
5181 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5185 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5187 _arg2
= new wxString(tmpPtr
, tmpSize
);
5189 if (!PyString_Check(_obj2
)) {
5190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5193 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5197 wxPy_BEGIN_ALLOW_THREADS
;
5198 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5200 wxPy_END_ALLOW_THREADS
;
5201 if (PyErr_Occurred()) return NULL
;
5202 } _resultobj
= Py_BuildValue("l",_result
);
5210 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5211 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5213 wxPyListCtrl
* _arg0
;
5215 PyObject
* _argo0
= 0;
5216 char *_kwnames
[] = { "self","count", NULL
};
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5229 wxPy_BEGIN_ALLOW_THREADS
;
5230 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5232 wxPy_END_ALLOW_THREADS
;
5233 if (PyErr_Occurred()) return NULL
;
5234 } Py_INCREF(Py_None
);
5235 _resultobj
= Py_None
;
5239 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5240 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5243 wxPyListCtrl
* _arg0
;
5246 PyObject
* _argo0
= 0;
5247 char *_kwnames
[] = { "self","dx","dy", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5263 wxPy_END_ALLOW_THREADS
;
5264 if (PyErr_Occurred()) return NULL
;
5265 } _resultobj
= Py_BuildValue("i",_result
);
5269 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5270 if (!PyCallable_Check(func
))
5272 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5274 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5277 wxPyListCtrl
* _arg0
;
5279 PyObject
* _argo0
= 0;
5280 PyObject
* _obj1
= 0;
5281 char *_kwnames
[] = { "self","func", NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5297 wxPy_BEGIN_ALLOW_THREADS
;
5298 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5300 wxPy_END_ALLOW_THREADS
;
5301 if (PyErr_Occurred()) return NULL
;
5302 } _resultobj
= Py_BuildValue("i",_result
);
5306 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5309 src
= (wxListView
*) ptr
;
5310 dest
= (wxPyListCtrl
*) src
;
5311 return (void *) dest
;
5314 static void *SwigwxListViewTowxControl(void *ptr
) {
5317 src
= (wxListView
*) ptr
;
5318 dest
= (wxControl
*) src
;
5319 return (void *) dest
;
5322 static void *SwigwxListViewTowxWindow(void *ptr
) {
5325 src
= (wxListView
*) ptr
;
5326 dest
= (wxWindow
*) src
;
5327 return (void *) dest
;
5330 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5333 src
= (wxListView
*) ptr
;
5334 dest
= (wxEvtHandler
*) src
;
5335 return (void *) dest
;
5338 static void *SwigwxListViewTowxObject(void *ptr
) {
5341 src
= (wxListView
*) ptr
;
5342 dest
= (wxObject
*) src
;
5343 return (void *) dest
;
5346 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5347 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5349 wxListView
* _result
;
5351 wxWindowID _arg1
= (wxWindowID
) -1;
5352 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5353 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5354 long _arg4
= (long ) (wxLC_REPORT
);
5355 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5356 wxString
* _arg6
= (wxString
*) &"listctrl";
5357 PyObject
* _argo0
= 0;
5359 PyObject
* _obj2
= 0;
5361 PyObject
* _obj3
= 0;
5362 PyObject
* _argo5
= 0;
5363 PyObject
* _obj6
= 0;
5364 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5380 if (! wxPoint_helper(_obj2
, &_arg2
))
5386 if (! wxSize_helper(_obj3
, &_arg3
))
5390 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5398 #if PYTHON_API_VERSION >= 1009
5399 char* tmpPtr
; int tmpSize
;
5400 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5404 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5406 _arg6
= new wxString(tmpPtr
, tmpSize
);
5408 if (!PyString_Check(_obj6
)) {
5409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5412 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5419 wxPy_END_ALLOW_THREADS
;
5420 if (PyErr_Occurred()) return NULL
;
5422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5423 _resultobj
= Py_BuildValue("s",_ptemp
);
5426 _resultobj
= Py_None
;
5435 #define new_wxPreListView() (new wxListView())
5436 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5438 wxListView
* _result
;
5439 char *_kwnames
[] = { NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5446 wxPy_BEGIN_ALLOW_THREADS
;
5447 _result
= (wxListView
*)new_wxPreListView();
5449 wxPy_END_ALLOW_THREADS
;
5450 if (PyErr_Occurred()) return NULL
;
5452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5453 _resultobj
= Py_BuildValue("s",_ptemp
);
5456 _resultobj
= Py_None
;
5461 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5462 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5467 wxWindowID _arg2
= (wxWindowID
) -1;
5468 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5469 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5470 long _arg5
= (long ) (wxLC_REPORT
);
5471 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5472 wxString
* _arg7
= (wxString
*) &"listctrl";
5473 PyObject
* _argo0
= 0;
5474 PyObject
* _argo1
= 0;
5476 PyObject
* _obj3
= 0;
5478 PyObject
* _obj4
= 0;
5479 PyObject
* _argo6
= 0;
5480 PyObject
* _obj7
= 0;
5481 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5503 if (! wxPoint_helper(_obj3
, &_arg3
))
5509 if (! wxSize_helper(_obj4
, &_arg4
))
5513 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5514 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5521 #if PYTHON_API_VERSION >= 1009
5522 char* tmpPtr
; int tmpSize
;
5523 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5527 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5529 _arg7
= new wxString(tmpPtr
, tmpSize
);
5531 if (!PyString_Check(_obj7
)) {
5532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5535 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5542 wxPy_END_ALLOW_THREADS
;
5543 if (PyErr_Occurred()) return NULL
;
5544 } _resultobj
= Py_BuildValue("i",_result
);
5552 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5553 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5557 bool _arg2
= (bool ) TRUE
;
5558 PyObject
* _argo0
= 0;
5559 int tempbool2
= (int) TRUE
;
5560 char *_kwnames
[] = { "self","n","on", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5572 _arg2
= (bool ) tempbool2
;
5574 wxPy_BEGIN_ALLOW_THREADS
;
5575 wxListView_Select(_arg0
,_arg1
,_arg2
);
5577 wxPy_END_ALLOW_THREADS
;
5578 if (PyErr_Occurred()) return NULL
;
5579 } Py_INCREF(Py_None
);
5580 _resultobj
= Py_None
;
5584 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5585 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
* _resultobj
;
5589 PyObject
* _argo0
= 0;
5590 char *_kwnames
[] = { "self","index", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5603 wxPy_BEGIN_ALLOW_THREADS
;
5604 wxListView_Focus(_arg0
,_arg1
);
5606 wxPy_END_ALLOW_THREADS
;
5607 if (PyErr_Occurred()) return NULL
;
5608 } Py_INCREF(Py_None
);
5609 _resultobj
= Py_None
;
5613 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5614 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5618 PyObject
* _argo0
= 0;
5619 char *_kwnames
[] = { "self", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5632 wxPy_BEGIN_ALLOW_THREADS
;
5633 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5635 wxPy_END_ALLOW_THREADS
;
5636 if (PyErr_Occurred()) return NULL
;
5637 } _resultobj
= Py_BuildValue("l",_result
);
5641 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5642 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self","item", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5664 wxPy_END_ALLOW_THREADS
;
5665 if (PyErr_Occurred()) return NULL
;
5666 } _resultobj
= Py_BuildValue("l",_result
);
5670 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5671 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5689 wxPy_BEGIN_ALLOW_THREADS
;
5690 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5692 wxPy_END_ALLOW_THREADS
;
5693 if (PyErr_Occurred()) return NULL
;
5694 } _resultobj
= Py_BuildValue("l",_result
);
5698 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5699 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self","index", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5718 wxPy_BEGIN_ALLOW_THREADS
;
5719 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5721 wxPy_END_ALLOW_THREADS
;
5722 if (PyErr_Occurred()) return NULL
;
5723 } _resultobj
= Py_BuildValue("i",_result
);
5727 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5728 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self","col","image", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5747 wxPy_BEGIN_ALLOW_THREADS
;
5748 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5750 wxPy_END_ALLOW_THREADS
;
5751 if (PyErr_Occurred()) return NULL
;
5752 } Py_INCREF(Py_None
);
5753 _resultobj
= Py_None
;
5757 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5758 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5762 PyObject
* _argo0
= 0;
5763 char *_kwnames
[] = { "self","col", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 wxListView_ClearColumnImage(_arg0
,_arg1
);
5779 wxPy_END_ALLOW_THREADS
;
5780 if (PyErr_Occurred()) return NULL
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5786 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5787 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5789 wxTreeItemAttr
* _result
;
5790 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5791 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5792 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5794 PyObject
* _obj0
= 0;
5796 PyObject
* _obj1
= 0;
5797 PyObject
* _argo2
= 0;
5798 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5807 if (! wxColour_helper(_obj0
, &_arg0
))
5813 if (! wxColour_helper(_obj1
, &_arg1
))
5817 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5824 wxPy_BEGIN_ALLOW_THREADS
;
5825 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5827 wxPy_END_ALLOW_THREADS
;
5828 if (PyErr_Occurred()) return NULL
;
5830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5831 _resultobj
= Py_BuildValue("s",_ptemp
);
5834 _resultobj
= Py_None
;
5839 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5840 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5842 wxTreeItemAttr
* _arg0
;
5844 PyObject
* _argo0
= 0;
5846 PyObject
* _obj1
= 0;
5847 char *_kwnames
[] = { "self","colText", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5861 if (! wxColour_helper(_obj1
, &_arg1
))
5865 wxPy_BEGIN_ALLOW_THREADS
;
5866 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5868 wxPy_END_ALLOW_THREADS
;
5869 if (PyErr_Occurred()) return NULL
;
5870 } Py_INCREF(Py_None
);
5871 _resultobj
= Py_None
;
5875 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5876 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5878 wxTreeItemAttr
* _arg0
;
5880 PyObject
* _argo0
= 0;
5882 PyObject
* _obj1
= 0;
5883 char *_kwnames
[] = { "self","colBack", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5897 if (! wxColour_helper(_obj1
, &_arg1
))
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5904 wxPy_END_ALLOW_THREADS
;
5905 if (PyErr_Occurred()) return NULL
;
5906 } Py_INCREF(Py_None
);
5907 _resultobj
= Py_None
;
5911 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5912 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
* _resultobj
;
5914 wxTreeItemAttr
* _arg0
;
5916 PyObject
* _argo0
= 0;
5917 PyObject
* _argo1
= 0;
5918 char *_kwnames
[] = { "self","font", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5938 wxPy_BEGIN_ALLOW_THREADS
;
5939 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5941 wxPy_END_ALLOW_THREADS
;
5942 if (PyErr_Occurred()) return NULL
;
5943 } Py_INCREF(Py_None
);
5944 _resultobj
= Py_None
;
5948 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5949 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5952 wxTreeItemAttr
* _arg0
;
5953 PyObject
* _argo0
= 0;
5954 char *_kwnames
[] = { "self", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5967 wxPy_BEGIN_ALLOW_THREADS
;
5968 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5970 wxPy_END_ALLOW_THREADS
;
5971 if (PyErr_Occurred()) return NULL
;
5972 } _resultobj
= Py_BuildValue("i",_result
);
5976 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5977 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
* _resultobj
;
5980 wxTreeItemAttr
* _arg0
;
5981 PyObject
* _argo0
= 0;
5982 char *_kwnames
[] = { "self", NULL
};
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5995 wxPy_BEGIN_ALLOW_THREADS
;
5996 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5998 wxPy_END_ALLOW_THREADS
;
5999 if (PyErr_Occurred()) return NULL
;
6000 } _resultobj
= Py_BuildValue("i",_result
);
6004 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
6005 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6008 wxTreeItemAttr
* _arg0
;
6009 PyObject
* _argo0
= 0;
6010 char *_kwnames
[] = { "self", NULL
};
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
6023 wxPy_BEGIN_ALLOW_THREADS
;
6024 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
6026 wxPy_END_ALLOW_THREADS
;
6027 if (PyErr_Occurred()) return NULL
;
6028 } _resultobj
= Py_BuildValue("i",_result
);
6032 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6033 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6036 wxTreeItemAttr
* _arg0
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
6052 wxPy_BEGIN_ALLOW_THREADS
;
6053 const wxColour
& _result_ref
= wxTreeItemAttr_GetTextColour(_arg0
);
6054 _result
= (wxColour
*) &_result_ref
;
6056 wxPy_END_ALLOW_THREADS
;
6057 if (PyErr_Occurred()) return NULL
;
6059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6060 _resultobj
= Py_BuildValue("s",_ptemp
);
6063 _resultobj
= Py_None
;
6068 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6069 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6072 wxTreeItemAttr
* _arg0
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self", NULL
};
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
6088 wxPy_BEGIN_ALLOW_THREADS
;
6089 const wxColour
& _result_ref
= wxTreeItemAttr_GetBackgroundColour(_arg0
);
6090 _result
= (wxColour
*) &_result_ref
;
6092 wxPy_END_ALLOW_THREADS
;
6093 if (PyErr_Occurred()) return NULL
;
6095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6096 _resultobj
= Py_BuildValue("s",_ptemp
);
6099 _resultobj
= Py_None
;
6104 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
6105 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6108 wxTreeItemAttr
* _arg0
;
6109 PyObject
* _argo0
= 0;
6110 char *_kwnames
[] = { "self", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
6124 wxPy_BEGIN_ALLOW_THREADS
;
6125 const wxFont
& _result_ref
= wxTreeItemAttr_GetFont(_arg0
);
6126 _result
= (wxFont
*) &_result_ref
;
6128 wxPy_END_ALLOW_THREADS
;
6129 if (PyErr_Occurred()) return NULL
;
6131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6132 _resultobj
= Py_BuildValue("s",_ptemp
);
6135 _resultobj
= Py_None
;
6140 #define new_wxTreeItemId() (new wxTreeItemId())
6141 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6143 wxTreeItemId
* _result
;
6144 char *_kwnames
[] = { NULL
};
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
6151 wxPy_BEGIN_ALLOW_THREADS
;
6152 _result
= (wxTreeItemId
*)new_wxTreeItemId();
6154 wxPy_END_ALLOW_THREADS
;
6155 if (PyErr_Occurred()) return NULL
;
6157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6161 _resultobj
= Py_None
;
6166 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
6167 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
* _resultobj
;
6169 wxTreeItemId
* _arg0
;
6170 PyObject
* _argo0
= 0;
6171 char *_kwnames
[] = { "self", NULL
};
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
6177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6184 wxPy_BEGIN_ALLOW_THREADS
;
6185 delete_wxTreeItemId(_arg0
);
6187 wxPy_END_ALLOW_THREADS
;
6188 if (PyErr_Occurred()) return NULL
;
6189 } Py_INCREF(Py_None
);
6190 _resultobj
= Py_None
;
6194 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6195 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6198 wxTreeItemId
* _arg0
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6213 wxPy_BEGIN_ALLOW_THREADS
;
6214 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6216 wxPy_END_ALLOW_THREADS
;
6217 if (PyErr_Occurred()) return NULL
;
6218 } _resultobj
= Py_BuildValue("i",_result
);
6222 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6223 if (! other
) return -1;
6224 return *self
!= *other
;
6226 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6229 wxTreeItemId
* _arg0
;
6230 wxTreeItemId
* _arg1
;
6231 PyObject
* _argo0
= 0;
6232 PyObject
* _argo1
= 0;
6233 char *_kwnames
[] = { "self","other", NULL
};
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6253 wxPy_BEGIN_ALLOW_THREADS
;
6254 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6256 wxPy_END_ALLOW_THREADS
;
6257 if (PyErr_Occurred()) return NULL
;
6258 } _resultobj
= Py_BuildValue("i",_result
);
6262 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6263 wxPyTreeItemData
*src
;
6265 src
= (wxPyTreeItemData
*) ptr
;
6266 dest
= (wxObject
*) src
;
6267 return (void *) dest
;
6270 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6271 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
* _resultobj
;
6273 wxPyTreeItemData
* _result
;
6274 PyObject
* _arg0
= (PyObject
*) NULL
;
6275 PyObject
* _obj0
= 0;
6276 char *_kwnames
[] = { "obj", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 if (PyErr_Occurred()) return NULL
;
6293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6294 _resultobj
= Py_BuildValue("s",_ptemp
);
6297 _resultobj
= Py_None
;
6302 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6303 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
* _resultobj
;
6306 wxPyTreeItemData
* _arg0
;
6307 PyObject
* _argo0
= 0;
6308 char *_kwnames
[] = { "self", NULL
};
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6321 wxPy_BEGIN_ALLOW_THREADS
;
6322 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6324 wxPy_END_ALLOW_THREADS
;
6325 if (PyErr_Occurred()) return NULL
;
6327 _resultobj
= _result
;
6332 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6333 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
* _resultobj
;
6335 wxPyTreeItemData
* _arg0
;
6337 PyObject
* _argo0
= 0;
6338 PyObject
* _obj1
= 0;
6339 char *_kwnames
[] = { "self","obj", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6355 wxPy_BEGIN_ALLOW_THREADS
;
6356 wxTreeItemData_SetData(_arg0
,_arg1
);
6358 wxPy_END_ALLOW_THREADS
;
6359 if (PyErr_Occurred()) return NULL
;
6360 } Py_INCREF(Py_None
);
6361 _resultobj
= Py_None
;
6365 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6366 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6368 wxTreeItemId
* _result
;
6369 wxPyTreeItemData
* _arg0
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6385 wxPy_BEGIN_ALLOW_THREADS
;
6386 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6387 _result
= (wxTreeItemId
*) &_result_ref
;
6389 wxPy_END_ALLOW_THREADS
;
6390 if (PyErr_Occurred()) return NULL
;
6392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6393 _resultobj
= Py_BuildValue("s",_ptemp
);
6396 _resultobj
= Py_None
;
6401 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6402 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
* _resultobj
;
6404 wxPyTreeItemData
* _arg0
;
6405 wxTreeItemId
* _arg1
;
6406 PyObject
* _argo0
= 0;
6407 PyObject
* _argo1
= 0;
6408 char *_kwnames
[] = { "self","id", NULL
};
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 wxTreeItemData_SetId(_arg0
,*_arg1
);
6431 wxPy_END_ALLOW_THREADS
;
6432 if (PyErr_Occurred()) return NULL
;
6433 } Py_INCREF(Py_None
);
6434 _resultobj
= Py_None
;
6438 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6440 wxNotifyEvent
*dest
;
6441 src
= (wxTreeEvent
*) ptr
;
6442 dest
= (wxNotifyEvent
*) src
;
6443 return (void *) dest
;
6446 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6448 wxCommandEvent
*dest
;
6449 src
= (wxTreeEvent
*) ptr
;
6450 dest
= (wxCommandEvent
*) src
;
6451 return (void *) dest
;
6454 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6457 src
= (wxTreeEvent
*) ptr
;
6458 dest
= (wxEvent
*) src
;
6459 return (void *) dest
;
6462 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6465 src
= (wxTreeEvent
*) ptr
;
6466 dest
= (wxObject
*) src
;
6467 return (void *) dest
;
6470 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6471 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6473 wxTreeEvent
* _result
;
6474 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6475 int _arg1
= (int ) 0;
6476 char *_kwnames
[] = { "commandType","id", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6483 wxPy_BEGIN_ALLOW_THREADS
;
6484 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6486 wxPy_END_ALLOW_THREADS
;
6487 if (PyErr_Occurred()) return NULL
;
6489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6490 _resultobj
= Py_BuildValue("s",_ptemp
);
6493 _resultobj
= Py_None
;
6498 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6499 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6501 wxTreeItemId
* _result
;
6502 wxTreeEvent
* _arg0
;
6503 PyObject
* _argo0
= 0;
6504 char *_kwnames
[] = { "self", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6518 wxPy_BEGIN_ALLOW_THREADS
;
6519 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6521 wxPy_END_ALLOW_THREADS
;
6522 if (PyErr_Occurred()) return NULL
;
6523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6524 _resultobj
= Py_BuildValue("s",_ptemp
);
6528 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6529 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6531 wxTreeItemId
* _result
;
6532 wxTreeEvent
* _arg0
;
6533 PyObject
* _argo0
= 0;
6534 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6551 wxPy_END_ALLOW_THREADS
;
6552 if (PyErr_Occurred()) return NULL
;
6553 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6554 _resultobj
= Py_BuildValue("s",_ptemp
);
6558 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6559 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6562 wxTreeEvent
* _arg0
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6578 wxPy_BEGIN_ALLOW_THREADS
;
6579 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6581 wxPy_END_ALLOW_THREADS
;
6582 if (PyErr_Occurred()) return NULL
;
6583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6584 _resultobj
= Py_BuildValue("s",_ptemp
);
6588 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6589 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6592 wxTreeEvent
* _arg0
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6607 wxPy_BEGIN_ALLOW_THREADS
;
6608 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6610 wxPy_END_ALLOW_THREADS
;
6611 if (PyErr_Occurred()) return NULL
;
6612 } _resultobj
= Py_BuildValue("i",_result
);
6616 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6617 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6620 wxTreeEvent
* _arg0
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6635 wxPy_BEGIN_ALLOW_THREADS
;
6636 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6637 _result
= (wxString
*) &_result_ref
;
6639 wxPy_END_ALLOW_THREADS
;
6640 if (PyErr_Occurred()) return NULL
;
6642 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6647 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6650 src
= (wxPyTreeCtrl
*) ptr
;
6651 dest
= (wxControl
*) src
;
6652 return (void *) dest
;
6655 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6658 src
= (wxPyTreeCtrl
*) ptr
;
6659 dest
= (wxWindow
*) src
;
6660 return (void *) dest
;
6663 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6666 src
= (wxPyTreeCtrl
*) ptr
;
6667 dest
= (wxEvtHandler
*) src
;
6668 return (void *) dest
;
6671 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6674 src
= (wxPyTreeCtrl
*) ptr
;
6675 dest
= (wxObject
*) src
;
6676 return (void *) dest
;
6679 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6680 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6682 wxPyTreeCtrl
* _result
;
6684 wxWindowID _arg1
= (wxWindowID
) -1;
6685 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6686 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6687 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6688 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6689 char * _arg6
= (char *) "wxTreeCtrl";
6690 PyObject
* _argo0
= 0;
6692 PyObject
* _obj2
= 0;
6694 PyObject
* _obj3
= 0;
6695 PyObject
* _argo5
= 0;
6696 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6712 if (! wxPoint_helper(_obj2
, &_arg2
))
6718 if (! wxSize_helper(_obj3
, &_arg3
))
6722 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6732 wxPy_END_ALLOW_THREADS
;
6733 if (PyErr_Occurred()) return NULL
;
6735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6736 _resultobj
= Py_BuildValue("s",_ptemp
);
6739 _resultobj
= Py_None
;
6744 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6745 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6747 wxPyTreeCtrl
* _result
;
6748 char *_kwnames
[] = { NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6755 wxPy_BEGIN_ALLOW_THREADS
;
6756 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6758 wxPy_END_ALLOW_THREADS
;
6759 if (PyErr_Occurred()) return NULL
;
6761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6762 _resultobj
= Py_BuildValue("s",_ptemp
);
6765 _resultobj
= Py_None
;
6770 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6771 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
* _resultobj
;
6774 wxPyTreeCtrl
* _arg0
;
6776 wxWindowID _arg2
= (wxWindowID
) -1;
6777 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6778 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6779 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6780 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6781 char * _arg7
= (char *) "wxTreeCtrl";
6782 PyObject
* _argo0
= 0;
6783 PyObject
* _argo1
= 0;
6785 PyObject
* _obj3
= 0;
6787 PyObject
* _obj4
= 0;
6788 PyObject
* _argo6
= 0;
6789 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6811 if (! wxPoint_helper(_obj3
, &_arg3
))
6817 if (! wxSize_helper(_obj4
, &_arg4
))
6821 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6828 wxPy_BEGIN_ALLOW_THREADS
;
6829 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6831 wxPy_END_ALLOW_THREADS
;
6832 if (PyErr_Occurred()) return NULL
;
6833 } _resultobj
= Py_BuildValue("i",_result
);
6837 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
6838 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6840 wxPyTreeCtrl
* _arg0
;
6843 PyObject
* _argo0
= 0;
6844 PyObject
* _obj1
= 0;
6845 PyObject
* _obj2
= 0;
6846 char *_kwnames
[] = { "self","self","_class", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
6868 wxPy_END_ALLOW_THREADS
;
6869 if (PyErr_Occurred()) return NULL
;
6870 } Py_INCREF(Py_None
);
6871 _resultobj
= Py_None
;
6875 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6876 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
* _resultobj
;
6879 wxPyTreeCtrl
* _arg0
;
6880 PyObject
* _argo0
= 0;
6881 char *_kwnames
[] = { "self", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6894 wxPy_BEGIN_ALLOW_THREADS
;
6895 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6897 wxPy_END_ALLOW_THREADS
;
6898 if (PyErr_Occurred()) return NULL
;
6899 } _resultobj
= Py_BuildValue("i",_result
);
6903 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6904 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
* _resultobj
;
6906 unsigned int _result
;
6907 wxPyTreeCtrl
* _arg0
;
6908 PyObject
* _argo0
= 0;
6909 char *_kwnames
[] = { "self", NULL
};
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6922 wxPy_BEGIN_ALLOW_THREADS
;
6923 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6925 wxPy_END_ALLOW_THREADS
;
6926 if (PyErr_Occurred()) return NULL
;
6927 } _resultobj
= Py_BuildValue("i",_result
);
6931 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6932 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6934 wxPyTreeCtrl
* _arg0
;
6936 PyObject
* _argo0
= 0;
6937 char *_kwnames
[] = { "self","indent", NULL
};
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6950 wxPy_BEGIN_ALLOW_THREADS
;
6951 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6953 wxPy_END_ALLOW_THREADS
;
6954 if (PyErr_Occurred()) return NULL
;
6955 } Py_INCREF(Py_None
);
6956 _resultobj
= Py_None
;
6960 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6961 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6963 wxImageList
* _result
;
6964 wxPyTreeCtrl
* _arg0
;
6965 PyObject
* _argo0
= 0;
6966 char *_kwnames
[] = { "self", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6979 wxPy_BEGIN_ALLOW_THREADS
;
6980 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6982 wxPy_END_ALLOW_THREADS
;
6983 if (PyErr_Occurred()) return NULL
;
6984 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6988 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6989 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6991 wxImageList
* _result
;
6992 wxPyTreeCtrl
* _arg0
;
6993 PyObject
* _argo0
= 0;
6994 char *_kwnames
[] = { "self", NULL
};
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
7000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
7007 wxPy_BEGIN_ALLOW_THREADS
;
7008 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
7010 wxPy_END_ALLOW_THREADS
;
7011 if (PyErr_Occurred()) return NULL
;
7012 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7016 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
7017 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
* _resultobj
;
7019 wxPyTreeCtrl
* _arg0
;
7020 wxImageList
* _arg1
;
7021 PyObject
* _argo0
= 0;
7022 PyObject
* _argo1
= 0;
7023 char *_kwnames
[] = { "self","imageList", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
7036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
7043 wxPy_BEGIN_ALLOW_THREADS
;
7044 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
7046 wxPy_END_ALLOW_THREADS
;
7047 if (PyErr_Occurred()) return NULL
;
7048 } Py_INCREF(Py_None
);
7049 _resultobj
= Py_None
;
7053 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
7054 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7056 wxPyTreeCtrl
* _arg0
;
7057 wxImageList
* _arg1
;
7058 PyObject
* _argo0
= 0;
7059 PyObject
* _argo1
= 0;
7060 char *_kwnames
[] = { "self","imageList", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
7073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7080 wxPy_BEGIN_ALLOW_THREADS
;
7081 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
7083 wxPy_END_ALLOW_THREADS
;
7084 if (PyErr_Occurred()) return NULL
;
7085 } Py_INCREF(Py_None
);
7086 _resultobj
= Py_None
;
7090 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7091 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7093 wxPyTreeCtrl
* _arg0
;
7094 wxImageList
* _arg1
;
7095 PyObject
* _argo0
= 0;
7096 PyObject
* _argo1
= 0;
7097 char *_kwnames
[] = { "self","imageList", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7117 wxPy_BEGIN_ALLOW_THREADS
;
7118 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7120 wxPy_END_ALLOW_THREADS
;
7121 if (PyErr_Occurred()) return NULL
;
7122 } Py_INCREF(Py_None
);
7123 _resultobj
= Py_None
;
7127 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7128 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7130 wxPyTreeCtrl
* _arg0
;
7131 wxImageList
* _arg1
;
7132 PyObject
* _argo0
= 0;
7133 PyObject
* _argo1
= 0;
7134 char *_kwnames
[] = { "self","imageList", NULL
};
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7154 wxPy_BEGIN_ALLOW_THREADS
;
7155 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7157 wxPy_END_ALLOW_THREADS
;
7158 if (PyErr_Occurred()) return NULL
;
7159 } Py_INCREF(Py_None
);
7160 _resultobj
= Py_None
;
7164 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7165 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7167 unsigned int _result
;
7168 wxPyTreeCtrl
* _arg0
;
7169 PyObject
* _argo0
= 0;
7170 char *_kwnames
[] = { "self", NULL
};
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7183 wxPy_BEGIN_ALLOW_THREADS
;
7184 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7186 wxPy_END_ALLOW_THREADS
;
7187 if (PyErr_Occurred()) return NULL
;
7188 } _resultobj
= Py_BuildValue("i",_result
);
7192 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7193 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7195 wxPyTreeCtrl
* _arg0
;
7197 PyObject
* _argo0
= 0;
7198 char *_kwnames
[] = { "self","spacing", NULL
};
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7211 wxPy_BEGIN_ALLOW_THREADS
;
7212 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7214 wxPy_END_ALLOW_THREADS
;
7215 if (PyErr_Occurred()) return NULL
;
7216 } Py_INCREF(Py_None
);
7217 _resultobj
= Py_None
;
7221 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7222 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
* _resultobj
;
7225 wxPyTreeCtrl
* _arg0
;
7226 wxTreeItemId
* _arg1
;
7227 PyObject
* _argo0
= 0;
7228 PyObject
* _argo1
= 0;
7229 char *_kwnames
[] = { "self","item", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7249 wxPy_BEGIN_ALLOW_THREADS
;
7250 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7252 wxPy_END_ALLOW_THREADS
;
7253 if (PyErr_Occurred()) return NULL
;
7255 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7263 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7264 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7267 wxPyTreeCtrl
* _arg0
;
7268 wxTreeItemId
* _arg1
;
7269 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7270 PyObject
* _argo0
= 0;
7271 PyObject
* _argo1
= 0;
7272 char *_kwnames
[] = { "self","item","which", NULL
};
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7295 wxPy_END_ALLOW_THREADS
;
7296 if (PyErr_Occurred()) return NULL
;
7297 } _resultobj
= Py_BuildValue("i",_result
);
7301 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7302 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7305 wxPyTreeCtrl
* _arg0
;
7306 wxTreeItemId
* _arg1
;
7307 PyObject
* _argo0
= 0;
7308 PyObject
* _argo1
= 0;
7309 char *_kwnames
[] = { "self","item", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7329 wxPy_BEGIN_ALLOW_THREADS
;
7330 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7332 wxPy_END_ALLOW_THREADS
;
7333 if (PyErr_Occurred()) return NULL
;
7334 } _resultobj
= Py_BuildValue("i",_result
);
7338 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7339 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
* _resultobj
;
7341 wxPyTreeCtrl
* _arg0
;
7342 wxTreeItemId
* _arg1
;
7344 PyObject
* _argo0
= 0;
7345 PyObject
* _argo1
= 0;
7346 PyObject
* _obj2
= 0;
7347 char *_kwnames
[] = { "self","item","text", NULL
};
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7367 #if PYTHON_API_VERSION >= 1009
7368 char* tmpPtr
; int tmpSize
;
7369 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7373 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7375 _arg2
= new wxString(tmpPtr
, tmpSize
);
7377 if (!PyString_Check(_obj2
)) {
7378 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7381 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7385 wxPy_BEGIN_ALLOW_THREADS
;
7386 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7388 wxPy_END_ALLOW_THREADS
;
7389 if (PyErr_Occurred()) return NULL
;
7390 } Py_INCREF(Py_None
);
7391 _resultobj
= Py_None
;
7399 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7400 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7402 wxPyTreeCtrl
* _arg0
;
7403 wxTreeItemId
* _arg1
;
7405 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7406 PyObject
* _argo0
= 0;
7407 PyObject
* _argo1
= 0;
7408 char *_kwnames
[] = { "self","item","image","which", NULL
};
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7428 wxPy_BEGIN_ALLOW_THREADS
;
7429 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7431 wxPy_END_ALLOW_THREADS
;
7432 if (PyErr_Occurred()) return NULL
;
7433 } Py_INCREF(Py_None
);
7434 _resultobj
= Py_None
;
7438 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7439 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7441 wxPyTreeCtrl
* _arg0
;
7442 wxTreeItemId
* _arg1
;
7444 PyObject
* _argo0
= 0;
7445 PyObject
* _argo1
= 0;
7446 char *_kwnames
[] = { "self","item","image", NULL
};
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7459 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7460 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7466 wxPy_BEGIN_ALLOW_THREADS
;
7467 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7469 wxPy_END_ALLOW_THREADS
;
7470 if (PyErr_Occurred()) return NULL
;
7471 } Py_INCREF(Py_None
);
7472 _resultobj
= Py_None
;
7476 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7477 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7479 wxPyTreeCtrl
* _arg0
;
7480 wxTreeItemId
* _arg1
;
7481 bool _arg2
= (bool ) TRUE
;
7482 PyObject
* _argo0
= 0;
7483 PyObject
* _argo1
= 0;
7484 int tempbool2
= (int) TRUE
;
7485 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7504 _arg2
= (bool ) tempbool2
;
7506 wxPy_BEGIN_ALLOW_THREADS
;
7507 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7509 wxPy_END_ALLOW_THREADS
;
7510 if (PyErr_Occurred()) return NULL
;
7511 } Py_INCREF(Py_None
);
7512 _resultobj
= Py_None
;
7516 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7517 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7519 data
= new wxPyTreeItemData();
7520 data
->SetId(item
); // set the id
7521 self
->SetItemData(item
, data
);
7525 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
* _resultobj
;
7527 wxPyTreeItemData
* _result
;
7528 wxPyTreeCtrl
* _arg0
;
7529 wxTreeItemId
* _arg1
;
7530 PyObject
* _argo0
= 0;
7531 PyObject
* _argo1
= 0;
7532 char *_kwnames
[] = { "self","item", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7553 wxPy_BEGIN_ALLOW_THREADS
;
7554 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7556 wxPy_END_ALLOW_THREADS
;
7557 if (PyErr_Occurred()) return NULL
;
7559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7560 _resultobj
= Py_BuildValue("s",_ptemp
);
7563 _resultobj
= Py_None
;
7568 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7569 data
->SetId(item
); // set the id
7570 self
->SetItemData(item
, data
);
7572 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7574 wxPyTreeCtrl
* _arg0
;
7575 wxTreeItemId
* _arg1
;
7576 wxPyTreeItemData
* _arg2
;
7577 PyObject
* _argo0
= 0;
7578 PyObject
* _argo1
= 0;
7579 PyObject
* _argo2
= 0;
7580 char *_kwnames
[] = { "self","item","data", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7600 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7607 wxPy_BEGIN_ALLOW_THREADS
;
7608 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7610 wxPy_END_ALLOW_THREADS
;
7611 if (PyErr_Occurred()) return NULL
;
7612 } Py_INCREF(Py_None
);
7613 _resultobj
= Py_None
;
7617 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7618 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7620 data
= new wxPyTreeItemData();
7621 data
->SetId(item
); // set the id
7622 self
->SetItemData(item
, data
);
7624 return data
->GetData();
7626 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7629 wxPyTreeCtrl
* _arg0
;
7630 wxTreeItemId
* _arg1
;
7631 PyObject
* _argo0
= 0;
7632 PyObject
* _argo1
= 0;
7633 char *_kwnames
[] = { "self","item", NULL
};
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7653 wxPy_BEGIN_ALLOW_THREADS
;
7654 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7656 wxPy_END_ALLOW_THREADS
;
7657 if (PyErr_Occurred()) return NULL
;
7659 _resultobj
= _result
;
7664 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7665 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7667 data
= new wxPyTreeItemData(obj
);
7668 data
->SetId(item
); // set the id
7669 self
->SetItemData(item
, data
);
7673 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7675 wxPyTreeCtrl
* _arg0
;
7676 wxTreeItemId
* _arg1
;
7678 PyObject
* _argo0
= 0;
7679 PyObject
* _argo1
= 0;
7680 PyObject
* _obj2
= 0;
7681 char *_kwnames
[] = { "self","item","obj", NULL
};
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7704 wxPy_BEGIN_ALLOW_THREADS
;
7705 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7707 wxPy_END_ALLOW_THREADS
;
7708 if (PyErr_Occurred()) return NULL
;
7709 } Py_INCREF(Py_None
);
7710 _resultobj
= Py_None
;
7714 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7715 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
* _resultobj
;
7718 wxPyTreeCtrl
* _arg0
;
7719 wxTreeItemId
* _arg1
;
7720 PyObject
* _argo0
= 0;
7721 PyObject
* _argo1
= 0;
7722 char *_kwnames
[] = { "self","item", NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7742 wxPy_BEGIN_ALLOW_THREADS
;
7743 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7745 wxPy_END_ALLOW_THREADS
;
7746 if (PyErr_Occurred()) return NULL
;
7747 } _resultobj
= Py_BuildValue("i",_result
);
7751 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7752 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7755 wxPyTreeCtrl
* _arg0
;
7756 wxTreeItemId
* _arg1
;
7757 PyObject
* _argo0
= 0;
7758 PyObject
* _argo1
= 0;
7759 char *_kwnames
[] = { "self","item", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7779 wxPy_BEGIN_ALLOW_THREADS
;
7780 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7782 wxPy_END_ALLOW_THREADS
;
7783 if (PyErr_Occurred()) return NULL
;
7784 } _resultobj
= Py_BuildValue("i",_result
);
7788 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7789 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7792 wxPyTreeCtrl
* _arg0
;
7793 wxTreeItemId
* _arg1
;
7794 PyObject
* _argo0
= 0;
7795 PyObject
* _argo1
= 0;
7796 char *_kwnames
[] = { "self","item", NULL
};
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7816 wxPy_BEGIN_ALLOW_THREADS
;
7817 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7819 wxPy_END_ALLOW_THREADS
;
7820 if (PyErr_Occurred()) return NULL
;
7821 } _resultobj
= Py_BuildValue("i",_result
);
7825 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7826 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7829 wxPyTreeCtrl
* _arg0
;
7830 wxTreeItemId
* _arg1
;
7831 PyObject
* _argo0
= 0;
7832 PyObject
* _argo1
= 0;
7833 char *_kwnames
[] = { "self","item", NULL
};
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7853 wxPy_BEGIN_ALLOW_THREADS
;
7854 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7856 wxPy_END_ALLOW_THREADS
;
7857 if (PyErr_Occurred()) return NULL
;
7858 } _resultobj
= Py_BuildValue("i",_result
);
7862 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7863 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
* _resultobj
;
7865 wxTreeItemId
* _result
;
7866 wxPyTreeCtrl
* _arg0
;
7867 PyObject
* _argo0
= 0;
7868 char *_kwnames
[] = { "self", NULL
};
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7882 wxPy_BEGIN_ALLOW_THREADS
;
7883 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7885 wxPy_END_ALLOW_THREADS
;
7886 if (PyErr_Occurred()) return NULL
;
7887 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7888 _resultobj
= Py_BuildValue("s",_ptemp
);
7892 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7893 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
* _resultobj
;
7895 wxTreeItemId
* _result
;
7896 wxPyTreeCtrl
* _arg0
;
7897 PyObject
* _argo0
= 0;
7898 char *_kwnames
[] = { "self", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7912 wxPy_BEGIN_ALLOW_THREADS
;
7913 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7915 wxPy_END_ALLOW_THREADS
;
7916 if (PyErr_Occurred()) return NULL
;
7917 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7918 _resultobj
= Py_BuildValue("s",_ptemp
);
7922 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7923 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7925 wxTreeItemId
* _result
;
7926 wxPyTreeCtrl
* _arg0
;
7927 wxTreeItemId
* _arg1
;
7928 PyObject
* _argo0
= 0;
7929 PyObject
* _argo1
= 0;
7930 char *_kwnames
[] = { "self","item", NULL
};
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7951 wxPy_BEGIN_ALLOW_THREADS
;
7952 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7954 wxPy_END_ALLOW_THREADS
;
7955 if (PyErr_Occurred()) return NULL
;
7956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7957 _resultobj
= Py_BuildValue("s",_ptemp
);
7961 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7962 bool doSave
= wxPyRestoreThread();
7963 PyObject
* rval
= PyList_New(0);
7964 wxArrayTreeItemIds array
;
7966 num
= self
->GetSelections(array
);
7967 for (x
=0; x
< num
; x
++) {
7968 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7969 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7970 PyList_Append(rval
, item
);
7972 wxPySaveThread(doSave
);
7975 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
* _resultobj
;
7978 wxPyTreeCtrl
* _arg0
;
7979 PyObject
* _argo0
= 0;
7980 char *_kwnames
[] = { "self", NULL
};
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
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_GetSelections. Expected _wxPyTreeCtrl_p.");
7993 wxPy_BEGIN_ALLOW_THREADS
;
7994 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7996 wxPy_END_ALLOW_THREADS
;
7997 if (PyErr_Occurred()) return NULL
;
7999 _resultobj
= _result
;
8004 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
8005 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8008 wxPyTreeCtrl
* _arg0
;
8009 wxTreeItemId
* _arg1
;
8010 bool _arg2
= (bool ) TRUE
;
8011 PyObject
* _argo0
= 0;
8012 PyObject
* _argo1
= 0;
8013 int tempbool2
= (int) TRUE
;
8014 char *_kwnames
[] = { "self","item","recursively", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
8027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
8033 _arg2
= (bool ) tempbool2
;
8035 wxPy_BEGIN_ALLOW_THREADS
;
8036 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
8038 wxPy_END_ALLOW_THREADS
;
8039 if (PyErr_Occurred()) return NULL
;
8040 } _resultobj
= Py_BuildValue("i",_result
);
8044 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
8045 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8047 wxTreeItemId
* _result
;
8048 wxPyTreeCtrl
* _arg0
;
8049 wxTreeItemId
* _arg1
;
8051 PyObject
* _argo0
= 0;
8052 PyObject
* _argo1
= 0;
8054 PyObject
* _obj2
= 0;
8055 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8076 temp
= (long) PyInt_AsLong(_obj2
);
8080 wxPy_BEGIN_ALLOW_THREADS
;
8081 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
8083 wxPy_END_ALLOW_THREADS
;
8084 if (PyErr_Occurred()) return NULL
;
8085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8086 _resultobj
= Py_BuildValue("s",_ptemp
);
8089 o
= PyInt_FromLong((long) (*_arg2
));
8090 _resultobj
= t_output_helper(_resultobj
, o
);
8095 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8096 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8098 wxTreeItemId
* _result
;
8099 wxPyTreeCtrl
* _arg0
;
8100 wxTreeItemId
* _arg1
;
8102 PyObject
* _argo0
= 0;
8103 PyObject
* _argo1
= 0;
8105 PyObject
* _obj2
= 0;
8106 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8127 temp
= (long) PyInt_AsLong(_obj2
);
8131 wxPy_BEGIN_ALLOW_THREADS
;
8132 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8134 wxPy_END_ALLOW_THREADS
;
8135 if (PyErr_Occurred()) return NULL
;
8136 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8137 _resultobj
= Py_BuildValue("s",_ptemp
);
8140 o
= PyInt_FromLong((long) (*_arg2
));
8141 _resultobj
= t_output_helper(_resultobj
, o
);
8146 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8147 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8149 wxTreeItemId
* _result
;
8150 wxPyTreeCtrl
* _arg0
;
8151 wxTreeItemId
* _arg1
;
8152 PyObject
* _argo0
= 0;
8153 PyObject
* _argo1
= 0;
8154 char *_kwnames
[] = { "self","item", NULL
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
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_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8175 wxPy_BEGIN_ALLOW_THREADS
;
8176 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8178 wxPy_END_ALLOW_THREADS
;
8179 if (PyErr_Occurred()) return NULL
;
8180 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8181 _resultobj
= Py_BuildValue("s",_ptemp
);
8185 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8186 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
* _resultobj
;
8188 wxTreeItemId
* _result
;
8189 wxPyTreeCtrl
* _arg0
;
8190 wxTreeItemId
* _arg1
;
8191 PyObject
* _argo0
= 0;
8192 PyObject
* _argo1
= 0;
8193 char *_kwnames
[] = { "self","item", NULL
};
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8207 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8214 wxPy_BEGIN_ALLOW_THREADS
;
8215 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8217 wxPy_END_ALLOW_THREADS
;
8218 if (PyErr_Occurred()) return NULL
;
8219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8220 _resultobj
= Py_BuildValue("s",_ptemp
);
8224 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8225 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
* _resultobj
;
8227 wxTreeItemId
* _result
;
8228 wxPyTreeCtrl
* _arg0
;
8229 PyObject
* _argo0
= 0;
8230 char *_kwnames
[] = { "self", NULL
};
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8244 wxPy_BEGIN_ALLOW_THREADS
;
8245 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8247 wxPy_END_ALLOW_THREADS
;
8248 if (PyErr_Occurred()) return NULL
;
8249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8250 _resultobj
= Py_BuildValue("s",_ptemp
);
8254 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8255 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
* _resultobj
;
8257 wxTreeItemId
* _result
;
8258 wxPyTreeCtrl
* _arg0
;
8259 wxTreeItemId
* _arg1
;
8260 PyObject
* _argo0
= 0;
8261 PyObject
* _argo1
= 0;
8262 char *_kwnames
[] = { "self","item", NULL
};
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8283 wxPy_BEGIN_ALLOW_THREADS
;
8284 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8286 wxPy_END_ALLOW_THREADS
;
8287 if (PyErr_Occurred()) return NULL
;
8288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8289 _resultobj
= Py_BuildValue("s",_ptemp
);
8293 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8294 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8296 wxTreeItemId
* _result
;
8297 wxPyTreeCtrl
* _arg0
;
8298 wxTreeItemId
* _arg1
;
8299 PyObject
* _argo0
= 0;
8300 PyObject
* _argo1
= 0;
8301 char *_kwnames
[] = { "self","item", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8322 wxPy_BEGIN_ALLOW_THREADS
;
8323 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8325 wxPy_END_ALLOW_THREADS
;
8326 if (PyErr_Occurred()) return NULL
;
8327 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8328 _resultobj
= Py_BuildValue("s",_ptemp
);
8332 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8333 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
* _resultobj
;
8335 wxTreeItemId
* _result
;
8336 wxPyTreeCtrl
* _arg0
;
8337 wxTreeItemId
* _arg1
;
8338 PyObject
* _argo0
= 0;
8339 PyObject
* _argo1
= 0;
8340 char *_kwnames
[] = { "self","item", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8361 wxPy_BEGIN_ALLOW_THREADS
;
8362 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8364 wxPy_END_ALLOW_THREADS
;
8365 if (PyErr_Occurred()) return NULL
;
8366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8367 _resultobj
= Py_BuildValue("s",_ptemp
);
8371 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8372 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
* _resultobj
;
8374 wxTreeItemId
* _result
;
8375 wxPyTreeCtrl
* _arg0
;
8377 int _arg2
= (int ) -1;
8378 int _arg3
= (int ) -1;
8379 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8380 PyObject
* _argo0
= 0;
8381 PyObject
* _obj1
= 0;
8382 PyObject
* _argo4
= 0;
8383 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8397 #if PYTHON_API_VERSION >= 1009
8398 char* tmpPtr
; int tmpSize
;
8399 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8403 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8405 _arg1
= new wxString(tmpPtr
, tmpSize
);
8407 if (!PyString_Check(_obj1
)) {
8408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8411 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8415 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8416 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8422 wxPy_BEGIN_ALLOW_THREADS
;
8423 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8425 wxPy_END_ALLOW_THREADS
;
8426 if (PyErr_Occurred()) return NULL
;
8427 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8428 _resultobj
= Py_BuildValue("s",_ptemp
);
8436 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8437 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
* _resultobj
;
8439 wxTreeItemId
* _result
;
8440 wxPyTreeCtrl
* _arg0
;
8441 wxTreeItemId
* _arg1
;
8443 int _arg3
= (int ) -1;
8444 int _arg4
= (int ) -1;
8445 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8446 PyObject
* _argo0
= 0;
8447 PyObject
* _argo1
= 0;
8448 PyObject
* _obj2
= 0;
8449 PyObject
* _argo5
= 0;
8450 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
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_PrependItem. 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_PrependItem. Expected _wxTreeItemId_p.");
8471 #if PYTHON_API_VERSION >= 1009
8472 char* tmpPtr
; int tmpSize
;
8473 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8477 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8479 _arg2
= new wxString(tmpPtr
, tmpSize
);
8481 if (!PyString_Check(_obj2
)) {
8482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8485 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8489 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8496 wxPy_BEGIN_ALLOW_THREADS
;
8497 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8499 wxPy_END_ALLOW_THREADS
;
8500 if (PyErr_Occurred()) return NULL
;
8501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8502 _resultobj
= Py_BuildValue("s",_ptemp
);
8510 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8511 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
* _resultobj
;
8513 wxTreeItemId
* _result
;
8514 wxPyTreeCtrl
* _arg0
;
8515 wxTreeItemId
* _arg1
;
8516 wxTreeItemId
* _arg2
;
8518 int _arg4
= (int ) -1;
8519 int _arg5
= (int ) -1;
8520 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8521 PyObject
* _argo0
= 0;
8522 PyObject
* _argo1
= 0;
8523 PyObject
* _argo2
= 0;
8524 PyObject
* _obj3
= 0;
8525 PyObject
* _argo6
= 0;
8526 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8547 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8548 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8554 #if PYTHON_API_VERSION >= 1009
8555 char* tmpPtr
; int tmpSize
;
8556 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8560 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8562 _arg3
= new wxString(tmpPtr
, tmpSize
);
8564 if (!PyString_Check(_obj3
)) {
8565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8568 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8572 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8579 wxPy_BEGIN_ALLOW_THREADS
;
8580 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8582 wxPy_END_ALLOW_THREADS
;
8583 if (PyErr_Occurred()) return NULL
;
8584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8585 _resultobj
= Py_BuildValue("s",_ptemp
);
8593 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8594 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
* _resultobj
;
8596 wxTreeItemId
* _result
;
8597 wxPyTreeCtrl
* _arg0
;
8598 wxTreeItemId
* _arg1
;
8601 int _arg4
= (int ) -1;
8602 int _arg5
= (int ) -1;
8603 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8604 PyObject
* _argo0
= 0;
8605 PyObject
* _argo1
= 0;
8606 PyObject
* _obj3
= 0;
8607 PyObject
* _argo6
= 0;
8608 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8629 #if PYTHON_API_VERSION >= 1009
8630 char* tmpPtr
; int tmpSize
;
8631 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8635 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8637 _arg3
= new wxString(tmpPtr
, tmpSize
);
8639 if (!PyString_Check(_obj3
)) {
8640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8643 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8647 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8648 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8654 wxPy_BEGIN_ALLOW_THREADS
;
8655 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8657 wxPy_END_ALLOW_THREADS
;
8658 if (PyErr_Occurred()) return NULL
;
8659 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8660 _resultobj
= Py_BuildValue("s",_ptemp
);
8668 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8669 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
* _resultobj
;
8671 wxTreeItemId
* _result
;
8672 wxPyTreeCtrl
* _arg0
;
8673 wxTreeItemId
* _arg1
;
8675 int _arg3
= (int ) -1;
8676 int _arg4
= (int ) -1;
8677 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8678 PyObject
* _argo0
= 0;
8679 PyObject
* _argo1
= 0;
8680 PyObject
* _obj2
= 0;
8681 PyObject
* _argo5
= 0;
8682 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8703 #if PYTHON_API_VERSION >= 1009
8704 char* tmpPtr
; int tmpSize
;
8705 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8706 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8709 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8711 _arg2
= new wxString(tmpPtr
, tmpSize
);
8713 if (!PyString_Check(_obj2
)) {
8714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8717 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8721 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8722 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8728 wxPy_BEGIN_ALLOW_THREADS
;
8729 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8731 wxPy_END_ALLOW_THREADS
;
8732 if (PyErr_Occurred()) return NULL
;
8733 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8734 _resultobj
= Py_BuildValue("s",_ptemp
);
8742 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8743 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8745 wxPyTreeCtrl
* _arg0
;
8746 wxTreeItemId
* _arg1
;
8747 PyObject
* _argo0
= 0;
8748 PyObject
* _argo1
= 0;
8749 char *_kwnames
[] = { "self","item", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8769 wxPy_BEGIN_ALLOW_THREADS
;
8770 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8772 wxPy_END_ALLOW_THREADS
;
8773 if (PyErr_Occurred()) return NULL
;
8774 } Py_INCREF(Py_None
);
8775 _resultobj
= Py_None
;
8779 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8780 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
* _resultobj
;
8782 wxPyTreeCtrl
* _arg0
;
8783 wxTreeItemId
* _arg1
;
8784 PyObject
* _argo0
= 0;
8785 PyObject
* _argo1
= 0;
8786 char *_kwnames
[] = { "self","item", NULL
};
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8806 wxPy_BEGIN_ALLOW_THREADS
;
8807 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8809 wxPy_END_ALLOW_THREADS
;
8810 if (PyErr_Occurred()) return NULL
;
8811 } Py_INCREF(Py_None
);
8812 _resultobj
= Py_None
;
8816 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8817 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8819 wxPyTreeCtrl
* _arg0
;
8820 PyObject
* _argo0
= 0;
8821 char *_kwnames
[] = { "self", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8834 wxPy_BEGIN_ALLOW_THREADS
;
8835 wxTreeCtrl_DeleteAllItems(_arg0
);
8837 wxPy_END_ALLOW_THREADS
;
8838 if (PyErr_Occurred()) return NULL
;
8839 } Py_INCREF(Py_None
);
8840 _resultobj
= Py_None
;
8844 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8845 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
* _resultobj
;
8847 wxPyTreeCtrl
* _arg0
;
8848 wxTreeItemId
* _arg1
;
8849 PyObject
* _argo0
= 0;
8850 PyObject
* _argo1
= 0;
8851 char *_kwnames
[] = { "self","item", NULL
};
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8871 wxPy_BEGIN_ALLOW_THREADS
;
8872 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8874 wxPy_END_ALLOW_THREADS
;
8875 if (PyErr_Occurred()) return NULL
;
8876 } Py_INCREF(Py_None
);
8877 _resultobj
= Py_None
;
8881 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8882 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8884 wxPyTreeCtrl
* _arg0
;
8885 wxTreeItemId
* _arg1
;
8886 PyObject
* _argo0
= 0;
8887 PyObject
* _argo1
= 0;
8888 char *_kwnames
[] = { "self","item", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8908 wxPy_BEGIN_ALLOW_THREADS
;
8909 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8911 wxPy_END_ALLOW_THREADS
;
8912 if (PyErr_Occurred()) return NULL
;
8913 } Py_INCREF(Py_None
);
8914 _resultobj
= Py_None
;
8918 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8919 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
* _resultobj
;
8921 wxPyTreeCtrl
* _arg0
;
8922 wxTreeItemId
* _arg1
;
8923 PyObject
* _argo0
= 0;
8924 PyObject
* _argo1
= 0;
8925 char *_kwnames
[] = { "self","item", NULL
};
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8945 wxPy_BEGIN_ALLOW_THREADS
;
8946 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8948 wxPy_END_ALLOW_THREADS
;
8949 if (PyErr_Occurred()) return NULL
;
8950 } Py_INCREF(Py_None
);
8951 _resultobj
= Py_None
;
8955 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8956 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8958 wxPyTreeCtrl
* _arg0
;
8959 wxTreeItemId
* _arg1
;
8960 PyObject
* _argo0
= 0;
8961 PyObject
* _argo1
= 0;
8962 char *_kwnames
[] = { "self","item", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8982 wxPy_BEGIN_ALLOW_THREADS
;
8983 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8985 wxPy_END_ALLOW_THREADS
;
8986 if (PyErr_Occurred()) return NULL
;
8987 } Py_INCREF(Py_None
);
8988 _resultobj
= Py_None
;
8992 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8993 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
* _resultobj
;
8995 wxPyTreeCtrl
* _arg0
;
8996 PyObject
* _argo0
= 0;
8997 char *_kwnames
[] = { "self", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
9010 wxPy_BEGIN_ALLOW_THREADS
;
9011 wxTreeCtrl_Unselect(_arg0
);
9013 wxPy_END_ALLOW_THREADS
;
9014 if (PyErr_Occurred()) return NULL
;
9015 } Py_INCREF(Py_None
);
9016 _resultobj
= Py_None
;
9020 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
9021 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
* _resultobj
;
9023 wxPyTreeCtrl
* _arg0
;
9024 PyObject
* _argo0
= 0;
9025 char *_kwnames
[] = { "self", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
9038 wxPy_BEGIN_ALLOW_THREADS
;
9039 wxTreeCtrl_UnselectAll(_arg0
);
9041 wxPy_END_ALLOW_THREADS
;
9042 if (PyErr_Occurred()) return NULL
;
9043 } Py_INCREF(Py_None
);
9044 _resultobj
= Py_None
;
9048 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
9049 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
* _resultobj
;
9051 wxPyTreeCtrl
* _arg0
;
9052 wxTreeItemId
* _arg1
;
9053 PyObject
* _argo0
= 0;
9054 PyObject
* _argo1
= 0;
9055 char *_kwnames
[] = { "self","item", NULL
};
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
9061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
9068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9075 wxPy_BEGIN_ALLOW_THREADS
;
9076 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
9078 wxPy_END_ALLOW_THREADS
;
9079 if (PyErr_Occurred()) return NULL
;
9080 } Py_INCREF(Py_None
);
9081 _resultobj
= Py_None
;
9085 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9086 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
* _resultobj
;
9088 wxPyTreeCtrl
* _arg0
;
9089 wxTreeItemId
* _arg1
;
9090 PyObject
* _argo0
= 0;
9091 PyObject
* _argo1
= 0;
9092 char *_kwnames
[] = { "self","item", NULL
};
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9112 wxPy_BEGIN_ALLOW_THREADS
;
9113 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9115 wxPy_END_ALLOW_THREADS
;
9116 if (PyErr_Occurred()) return NULL
;
9117 } Py_INCREF(Py_None
);
9118 _resultobj
= Py_None
;
9122 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9123 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9125 wxPyTreeCtrl
* _arg0
;
9126 wxTreeItemId
* _arg1
;
9127 PyObject
* _argo0
= 0;
9128 PyObject
* _argo1
= 0;
9129 char *_kwnames
[] = { "self","item", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9149 wxPy_BEGIN_ALLOW_THREADS
;
9150 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9152 wxPy_END_ALLOW_THREADS
;
9153 if (PyErr_Occurred()) return NULL
;
9154 } Py_INCREF(Py_None
);
9155 _resultobj
= Py_None
;
9159 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9160 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
* _resultobj
;
9162 wxTextCtrl
* _result
;
9163 wxPyTreeCtrl
* _arg0
;
9164 wxTreeItemId
* _arg1
;
9165 PyObject
* _argo0
= 0;
9166 PyObject
* _argo1
= 0;
9167 char *_kwnames
[] = { "self","item", NULL
};
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9187 wxPy_BEGIN_ALLOW_THREADS
;
9188 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9190 wxPy_END_ALLOW_THREADS
;
9191 if (PyErr_Occurred()) return NULL
;
9192 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9196 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9197 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9199 wxTextCtrl
* _result
;
9200 wxPyTreeCtrl
* _arg0
;
9201 PyObject
* _argo0
= 0;
9202 char *_kwnames
[] = { "self", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9215 wxPy_BEGIN_ALLOW_THREADS
;
9216 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9218 wxPy_END_ALLOW_THREADS
;
9219 if (PyErr_Occurred()) return NULL
;
9220 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9224 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9225 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
* _resultobj
;
9227 wxPyTreeCtrl
* _arg0
;
9228 wxTreeItemId
* _arg1
;
9229 int _arg2
= (int ) FALSE
;
9230 PyObject
* _argo0
= 0;
9231 PyObject
* _argo1
= 0;
9232 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9252 wxPy_BEGIN_ALLOW_THREADS
;
9253 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9255 wxPy_END_ALLOW_THREADS
;
9256 if (PyErr_Occurred()) return NULL
;
9257 } Py_INCREF(Py_None
);
9258 _resultobj
= Py_None
;
9262 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9263 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 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_SortChildren",_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_SortChildren. 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_SortChildren. Expected _wxTreeItemId_p.");
9289 wxPy_BEGIN_ALLOW_THREADS
;
9290 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9292 wxPy_END_ALLOW_THREADS
;
9293 if (PyErr_Occurred()) return NULL
;
9294 } Py_INCREF(Py_None
);
9295 _resultobj
= Py_None
;
9299 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9300 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
* _resultobj
;
9302 wxPyTreeCtrl
* _arg0
;
9303 wxTreeItemId
* _arg1
;
9304 int _arg2
= (int ) TRUE
;
9305 PyObject
* _argo0
= 0;
9306 PyObject
* _argo1
= 0;
9307 char *_kwnames
[] = { "self","item","bold", NULL
};
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9327 wxPy_BEGIN_ALLOW_THREADS
;
9328 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9330 wxPy_END_ALLOW_THREADS
;
9331 if (PyErr_Occurred()) return NULL
;
9332 } Py_INCREF(Py_None
);
9333 _resultobj
= Py_None
;
9337 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9338 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
* _resultobj
;
9341 wxPyTreeCtrl
* _arg0
;
9342 wxTreeItemId
* _arg1
;
9343 PyObject
* _argo0
= 0;
9344 PyObject
* _argo1
= 0;
9345 char *_kwnames
[] = { "self","item", NULL
};
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9365 wxPy_BEGIN_ALLOW_THREADS
;
9366 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9368 wxPy_END_ALLOW_THREADS
;
9369 if (PyErr_Occurred()) return NULL
;
9370 } _resultobj
= Py_BuildValue("i",_result
);
9374 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9375 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
* _resultobj
;
9377 wxTreeItemId
* _result
;
9378 wxPyTreeCtrl
* _arg0
;
9382 PyObject
* _argo0
= 0;
9384 PyObject
* _obj1
= 0;
9385 char *_kwnames
[] = { "self","point", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9403 if (! wxPoint_helper(_obj1
, &_arg1
))
9407 wxPy_BEGIN_ALLOW_THREADS
;
9408 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9410 wxPy_END_ALLOW_THREADS
;
9411 if (PyErr_Occurred()) return NULL
;
9412 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9413 _resultobj
= Py_BuildValue("s",_ptemp
);
9416 o
= PyInt_FromLong((long) (*_arg2
));
9417 _resultobj
= t_output_helper(_resultobj
, o
);
9422 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9423 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
* _resultobj
;
9425 wxPyTreeCtrl
* _arg0
;
9426 wxTreeItemId
* _arg1
;
9428 PyObject
* _argo0
= 0;
9429 PyObject
* _argo1
= 0;
9431 PyObject
* _obj2
= 0;
9432 char *_kwnames
[] = { "self","item","col", NULL
};
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9453 if (! wxColour_helper(_obj2
, &_arg2
))
9457 wxPy_BEGIN_ALLOW_THREADS
;
9458 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9460 wxPy_END_ALLOW_THREADS
;
9461 if (PyErr_Occurred()) return NULL
;
9462 } Py_INCREF(Py_None
);
9463 _resultobj
= Py_None
;
9467 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9468 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9470 wxPyTreeCtrl
* _arg0
;
9471 wxTreeItemId
* _arg1
;
9473 PyObject
* _argo0
= 0;
9474 PyObject
* _argo1
= 0;
9476 PyObject
* _obj2
= 0;
9477 char *_kwnames
[] = { "self","item","col", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9498 if (! wxColour_helper(_obj2
, &_arg2
))
9502 wxPy_BEGIN_ALLOW_THREADS
;
9503 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9505 wxPy_END_ALLOW_THREADS
;
9506 if (PyErr_Occurred()) return NULL
;
9507 } Py_INCREF(Py_None
);
9508 _resultobj
= Py_None
;
9512 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9513 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
* _resultobj
;
9515 wxPyTreeCtrl
* _arg0
;
9516 wxTreeItemId
* _arg1
;
9518 PyObject
* _argo0
= 0;
9519 PyObject
* _argo1
= 0;
9520 PyObject
* _argo2
= 0;
9521 char *_kwnames
[] = { "self","item","font", NULL
};
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9541 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9542 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9548 wxPy_BEGIN_ALLOW_THREADS
;
9549 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9551 wxPy_END_ALLOW_THREADS
;
9552 if (PyErr_Occurred()) return NULL
;
9553 } Py_INCREF(Py_None
);
9554 _resultobj
= Py_None
;
9558 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9559 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
* _resultobj
;
9561 wxPyTreeCtrl
* _arg0
;
9562 wxTreeItemId
* _arg1
;
9563 int _arg2
= (int ) TRUE
;
9564 PyObject
* _argo0
= 0;
9565 PyObject
* _argo1
= 0;
9566 char *_kwnames
[] = { "self","item","highlight", NULL
};
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9586 wxPy_BEGIN_ALLOW_THREADS
;
9587 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9589 wxPy_END_ALLOW_THREADS
;
9590 if (PyErr_Occurred()) return NULL
;
9591 } Py_INCREF(Py_None
);
9592 _resultobj
= Py_None
;
9596 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9598 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9599 bool doSave
= wxPyRestoreThread();
9600 wxRect
* r
= new wxRect(rect
);
9601 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9602 wxPySaveThread(doSave
);
9610 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
* _resultobj
;
9613 wxPyTreeCtrl
* _arg0
;
9614 wxTreeItemId
* _arg1
;
9615 int _arg2
= (int ) FALSE
;
9616 PyObject
* _argo0
= 0;
9617 PyObject
* _argo1
= 0;
9618 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9638 wxPy_BEGIN_ALLOW_THREADS
;
9639 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9641 wxPy_END_ALLOW_THREADS
;
9642 if (PyErr_Occurred()) return NULL
;
9644 _resultobj
= _result
;
9649 static PyMethodDef controls2cMethods
[] = {
9650 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
9669 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
9670 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
9671 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9672 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
9673 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9674 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9675 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
9676 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9677 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
9678 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
9679 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
9680 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
9681 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
9682 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
9683 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
9684 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
9685 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
9686 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9687 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxListCtrl__setSelf", (PyCFunction
) _wrap_wxListCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9918 * This table is used by the pointer type-checker
9920 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9921 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9922 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9923 { "_signed_long","_long",0},
9924 { "_wxPrintQuality","_wxCoord",0},
9925 { "_wxPrintQuality","_int",0},
9926 { "_wxPrintQuality","_signed_int",0},
9927 { "_wxPrintQuality","_unsigned_int",0},
9928 { "_wxPrintQuality","_wxWindowID",0},
9929 { "_wxPrintQuality","_uint",0},
9930 { "_wxPrintQuality","_EBool",0},
9931 { "_wxPrintQuality","_size_t",0},
9932 { "_wxPrintQuality","_time_t",0},
9933 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9934 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9935 { "_byte","_unsigned_char",0},
9936 { "_long","_unsigned_long",0},
9937 { "_long","_signed_long",0},
9938 { "_size_t","_wxCoord",0},
9939 { "_size_t","_wxPrintQuality",0},
9940 { "_size_t","_time_t",0},
9941 { "_size_t","_unsigned_int",0},
9942 { "_size_t","_int",0},
9943 { "_size_t","_wxWindowID",0},
9944 { "_size_t","_uint",0},
9945 { "_uint","_wxCoord",0},
9946 { "_uint","_wxPrintQuality",0},
9947 { "_uint","_time_t",0},
9948 { "_uint","_size_t",0},
9949 { "_uint","_unsigned_int",0},
9950 { "_uint","_int",0},
9951 { "_uint","_wxWindowID",0},
9952 { "_wxChar","_char",0},
9953 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9954 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9955 { "_char","_wxChar",0},
9956 { "_EBool","_wxCoord",0},
9957 { "_EBool","_wxPrintQuality",0},
9958 { "_EBool","_signed_int",0},
9959 { "_EBool","_int",0},
9960 { "_EBool","_wxWindowID",0},
9961 { "_unsigned_long","_long",0},
9962 { "_signed_int","_wxCoord",0},
9963 { "_signed_int","_wxPrintQuality",0},
9964 { "_signed_int","_EBool",0},
9965 { "_signed_int","_wxWindowID",0},
9966 { "_signed_int","_int",0},
9967 { "_WXTYPE","_short",0},
9968 { "_WXTYPE","_signed_short",0},
9969 { "_WXTYPE","_unsigned_short",0},
9970 { "_unsigned_short","_WXTYPE",0},
9971 { "_unsigned_short","_short",0},
9972 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9973 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
9974 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9975 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
9976 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9977 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
9978 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
9979 { "_signed_short","_WXTYPE",0},
9980 { "_signed_short","_short",0},
9981 { "_unsigned_char","_byte",0},
9982 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9983 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
9984 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9985 { "_unsigned_int","_wxCoord",0},
9986 { "_unsigned_int","_wxPrintQuality",0},
9987 { "_unsigned_int","_time_t",0},
9988 { "_unsigned_int","_size_t",0},
9989 { "_unsigned_int","_uint",0},
9990 { "_unsigned_int","_wxWindowID",0},
9991 { "_unsigned_int","_int",0},
9992 { "_short","_WXTYPE",0},
9993 { "_short","_unsigned_short",0},
9994 { "_short","_signed_short",0},
9995 { "_wxWindowID","_wxCoord",0},
9996 { "_wxWindowID","_wxPrintQuality",0},
9997 { "_wxWindowID","_time_t",0},
9998 { "_wxWindowID","_size_t",0},
9999 { "_wxWindowID","_EBool",0},
10000 { "_wxWindowID","_uint",0},
10001 { "_wxWindowID","_int",0},
10002 { "_wxWindowID","_signed_int",0},
10003 { "_wxWindowID","_unsigned_int",0},
10004 { "_int","_wxCoord",0},
10005 { "_int","_wxPrintQuality",0},
10006 { "_int","_time_t",0},
10007 { "_int","_size_t",0},
10008 { "_int","_EBool",0},
10009 { "_int","_uint",0},
10010 { "_int","_wxWindowID",0},
10011 { "_int","_unsigned_int",0},
10012 { "_int","_signed_int",0},
10013 { "_time_t","_wxCoord",0},
10014 { "_time_t","_wxPrintQuality",0},
10015 { "_time_t","_unsigned_int",0},
10016 { "_time_t","_int",0},
10017 { "_time_t","_wxWindowID",0},
10018 { "_time_t","_uint",0},
10019 { "_time_t","_size_t",0},
10020 { "_wxCoord","_int",0},
10021 { "_wxCoord","_signed_int",0},
10022 { "_wxCoord","_unsigned_int",0},
10023 { "_wxCoord","_wxWindowID",0},
10024 { "_wxCoord","_uint",0},
10025 { "_wxCoord","_EBool",0},
10026 { "_wxCoord","_size_t",0},
10027 { "_wxCoord","_time_t",0},
10028 { "_wxCoord","_wxPrintQuality",0},
10029 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
10030 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
10031 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
10032 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
10033 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
10034 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
10035 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
10038 static PyObject
*SWIG_globals
;
10042 SWIGEXPORT(void) initcontrols2c() {
10044 SWIG_globals
= SWIG_newvarlink();
10045 m
= Py_InitModule("controls2c", controls2cMethods
);
10046 d
= PyModule_GetDict(m
);
10047 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
10048 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
10049 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
10050 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
10051 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
10052 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
10053 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
10054 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
10055 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
10056 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
10057 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
10058 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
10059 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
10060 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
10061 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
10062 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
10063 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
10064 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
10065 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
10066 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
10067 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
10068 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
10069 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
10070 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
10071 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
10072 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
10073 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
10074 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
10075 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
10076 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
10077 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
10078 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
10079 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
10080 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
10081 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
10082 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
10083 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
10084 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
10085 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
10086 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
10087 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
10088 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
10089 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
10090 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
10091 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
10092 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
10093 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
10094 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
10095 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
10096 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
10097 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
10098 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
10099 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
10100 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
10101 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
10102 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
10103 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
10104 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
10105 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
10106 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
10107 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
10108 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
10109 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
10110 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
10111 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
10112 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
10113 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
10114 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
10115 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
10116 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
10117 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
10118 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
10119 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
10120 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
10121 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
10122 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
10123 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
10124 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
10125 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
10126 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
10127 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
10128 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
10129 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
10130 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
10131 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
10132 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
10133 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
10134 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
10135 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
10136 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
10137 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
10138 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
10139 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
10140 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
10141 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
10142 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
10143 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
10144 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
10145 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
10146 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
10147 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
10148 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
10149 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
10150 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
10151 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
10152 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
10153 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
10154 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
10155 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
10156 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
10157 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
10158 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
10159 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
10160 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
10161 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
10162 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
10163 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
10164 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
10165 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
10166 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
10167 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
10168 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
10169 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
10170 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
10171 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
10172 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
10173 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
10174 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
10175 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
10176 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
10177 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
10178 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
10179 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
10180 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
10181 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
10182 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
10184 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
10185 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
10188 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10189 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);