2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "string type 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 wxPyTState
* state
= wxPyBeginBlockThreads();
138 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
139 PyObject
* result
= PyEval_CallObject(func
, args
);
142 retval
= PyInt_AsLong(result
);
146 wxPyEndBlockThreads(state
);
151 class wxPyTreeItemData
: public wxTreeItemData
{
153 wxPyTreeItemData(PyObject
* obj
= NULL
) {
160 ~wxPyTreeItemData() {
161 wxPyTState
* state
= wxPyBeginBlockThreads();
163 wxPyEndBlockThreads(state
);
166 PyObject
* GetData() {
171 void SetData(PyObject
* obj
) {
172 wxPyTState
* state
= wxPyBeginBlockThreads();
174 wxPyEndBlockThreads(state
);
181 // C++ version of Python aware wxTreeCtrl
182 class wxPyTreeCtrl
: public wxTreeCtrl
{
183 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
185 wxPyTreeCtrl() : wxTreeCtrl() {}
186 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
190 const wxValidator
& validator
,
192 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
194 bool Create(wxWindow
*parent
, wxWindowID id
,
198 const wxValidator
& validator
,
200 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
204 int OnCompareItems(const wxTreeItemId
& item1
,
205 const wxTreeItemId
& item2
) {
208 wxPyTState
* state
= wxPyBeginBlockThreads();
209 if ((found
= m_myInst
.findCallback("OnCompareItems")))
210 rval
= m_myInst
.callCallback(Py_BuildValue(
212 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
213 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
214 wxPyEndBlockThreads(state
);
216 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
222 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
227 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
228 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxListItemAttr
* _result
;
231 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
232 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
233 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
235 PyObject
* _obj0
= 0;
237 PyObject
* _obj1
= 0;
238 PyObject
* _argo2
= 0;
239 char *_kwnames
[] = { "colText","colBack","font", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
248 if (! wxColour_helper(_obj0
, &_arg0
))
254 if (! wxColour_helper(_obj1
, &_arg1
))
258 if (_argo2
== Py_None
) { _arg2
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
268 wxPy_END_ALLOW_THREADS
;
269 if (PyErr_Occurred()) return NULL
;
271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
272 _resultobj
= Py_BuildValue("s",_ptemp
);
275 _resultobj
= Py_None
;
280 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
281 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxListItemAttr
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colText", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
317 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxListItemAttr
* _arg0
;
321 PyObject
* _argo0
= 0;
323 PyObject
* _obj1
= 0;
324 char *_kwnames
[] = { "self","colBack", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
338 if (! wxColour_helper(_obj1
, &_arg1
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
345 wxPy_END_ALLOW_THREADS
;
346 if (PyErr_Occurred()) return NULL
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
353 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxListItemAttr
* _arg0
;
357 PyObject
* _argo0
= 0;
358 PyObject
* _argo1
= 0;
359 char *_kwnames
[] = { "self","font", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 wxListItemAttr_SetFont(_arg0
,*_arg1
);
382 wxPy_END_ALLOW_THREADS
;
383 if (PyErr_Occurred()) return NULL
;
384 } Py_INCREF(Py_None
);
385 _resultobj
= Py_None
;
389 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
390 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 wxListItemAttr
* _arg0
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 if (PyErr_Occurred()) return NULL
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
418 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
421 wxListItemAttr
* _arg0
;
422 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
439 wxPy_END_ALLOW_THREADS
;
440 if (PyErr_Occurred()) return NULL
;
441 } _resultobj
= Py_BuildValue("i",_result
);
445 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
446 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
449 wxListItemAttr
* _arg0
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
467 wxPy_END_ALLOW_THREADS
;
468 if (PyErr_Occurred()) return NULL
;
469 } _resultobj
= Py_BuildValue("i",_result
);
473 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
474 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxListItemAttr
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
495 _result
= (wxColour
*) &_result_ref
;
497 wxPy_END_ALLOW_THREADS
;
498 if (PyErr_Occurred()) return NULL
;
500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
504 _resultobj
= Py_None
;
509 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
510 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxListItemAttr
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
531 _result
= (wxColour
*) &_result_ref
;
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
537 _resultobj
= Py_BuildValue("s",_ptemp
);
540 _resultobj
= Py_None
;
545 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
546 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxListItemAttr
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
567 _result
= (wxFont
*) &_result_ref
;
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
573 _resultobj
= Py_BuildValue("s",_ptemp
);
576 _resultobj
= Py_None
;
581 static void *SwigwxListItemTowxObject(void *ptr
) {
584 src
= (wxListItem
*) ptr
;
585 dest
= (wxObject
*) src
;
586 return (void *) dest
;
589 #define new_wxListItem() (new wxListItem())
590 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxListItem
* _result
;
593 char *_kwnames
[] = { NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (wxListItem
*)new_wxListItem();
603 wxPy_END_ALLOW_THREADS
;
604 if (PyErr_Occurred()) return NULL
;
606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
607 _resultobj
= Py_BuildValue("s",_ptemp
);
610 _resultobj
= Py_None
;
615 #define delete_wxListItem(_swigobj) (delete _swigobj)
616 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 delete_wxListItem(_arg0
);
636 wxPy_END_ALLOW_THREADS
;
637 if (PyErr_Occurred()) return NULL
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
644 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxListItem_Clear(_arg0
);
664 wxPy_END_ALLOW_THREADS
;
665 if (PyErr_Occurred()) return NULL
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
672 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 wxListItem_ClearAttributes(_arg0
);
692 wxPy_END_ALLOW_THREADS
;
693 if (PyErr_Occurred()) return NULL
;
694 } Py_INCREF(Py_None
);
695 _resultobj
= Py_None
;
699 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
700 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self","mask", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxListItem_SetMask(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
722 if (PyErr_Occurred()) return NULL
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
729 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","id", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxListItem_SetId(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
758 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","col", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 wxListItem_SetColumn(_arg0
,_arg1
);
779 wxPy_END_ALLOW_THREADS
;
780 if (PyErr_Occurred()) return NULL
;
781 } Py_INCREF(Py_None
);
782 _resultobj
= Py_None
;
786 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
787 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self","state", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 wxListItem_SetState(_arg0
,_arg1
);
808 wxPy_END_ALLOW_THREADS
;
809 if (PyErr_Occurred()) return NULL
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
815 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
816 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self","stateMask", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 wxListItem_SetStateMask(_arg0
,_arg1
);
837 wxPy_END_ALLOW_THREADS
;
838 if (PyErr_Occurred()) return NULL
;
839 } Py_INCREF(Py_None
);
840 _resultobj
= Py_None
;
844 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
845 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
849 PyObject
* _argo0
= 0;
850 PyObject
* _obj1
= 0;
851 char *_kwnames
[] = { "self","text", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
864 #if PYTHON_API_VERSION >= 1009
865 char* tmpPtr
; int tmpSize
;
866 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
870 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
872 _arg1
= new wxString(tmpPtr
, tmpSize
);
874 if (!PyString_Check(_obj1
)) {
875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
878 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
882 wxPy_BEGIN_ALLOW_THREADS
;
883 wxListItem_SetText(_arg0
,*_arg1
);
885 wxPy_END_ALLOW_THREADS
;
886 if (PyErr_Occurred()) return NULL
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
896 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
897 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self","image", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxListItem_SetImage(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
926 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self","data", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxListItem_SetData(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 if (PyErr_Occurred()) return NULL
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
955 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self","width", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 wxListItem_SetWidth(_arg0
,_arg1
);
976 wxPy_END_ALLOW_THREADS
;
977 if (PyErr_Occurred()) return NULL
;
978 } Py_INCREF(Py_None
);
979 _resultobj
= Py_None
;
983 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
984 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
987 wxListColumnFormat _arg1
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","align", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 wxListItem_SetAlign(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1012 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1013 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1019 PyObject
* _obj1
= 0;
1020 char *_kwnames
[] = { "self","colText", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1034 if (! wxColour_helper(_obj1
, &_arg1
))
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxListItem_SetTextColour(_arg0
,*_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1042 if (PyErr_Occurred()) return NULL
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1048 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1049 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1053 PyObject
* _argo0
= 0;
1055 PyObject
* _obj1
= 0;
1056 char *_kwnames
[] = { "self","colBack", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1070 if (! wxColour_helper(_obj1
, &_arg1
))
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1085 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _argo1
= 0;
1091 char *_kwnames
[] = { "self","font", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 wxListItem_SetFont(_arg0
,*_arg1
);
1114 wxPy_END_ALLOW_THREADS
;
1115 if (PyErr_Occurred()) return NULL
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1121 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1122 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (long )wxListItem_GetMask(_arg0
);
1143 wxPy_END_ALLOW_THREADS
;
1144 if (PyErr_Occurred()) return NULL
;
1145 } _resultobj
= Py_BuildValue("l",_result
);
1149 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1150 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 char *_kwnames
[] = { "self", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (long )wxListItem_GetId(_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1172 if (PyErr_Occurred()) return NULL
;
1173 } _resultobj
= Py_BuildValue("l",_result
);
1177 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1178 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= (int )wxListItem_GetColumn(_arg0
);
1199 wxPy_END_ALLOW_THREADS
;
1200 if (PyErr_Occurred()) return NULL
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1206 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (long )wxListItem_GetState(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 if (PyErr_Occurred()) return NULL
;
1229 } _resultobj
= Py_BuildValue("l",_result
);
1233 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1234 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1254 _result
= (wxString
*) &_result_ref
;
1256 wxPy_END_ALLOW_THREADS
;
1257 if (PyErr_Occurred()) return NULL
;
1259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1264 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1265 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (int )wxListItem_GetImage(_arg0
);
1286 wxPy_END_ALLOW_THREADS
;
1287 if (PyErr_Occurred()) return NULL
;
1288 } _resultobj
= Py_BuildValue("i",_result
);
1292 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1293 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 _result
= (long )wxListItem_GetData(_arg0
);
1314 wxPy_END_ALLOW_THREADS
;
1315 if (PyErr_Occurred()) return NULL
;
1316 } _resultobj
= Py_BuildValue("l",_result
);
1320 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1321 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (int )wxListItem_GetWidth(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 if (PyErr_Occurred()) return NULL
;
1344 } _resultobj
= Py_BuildValue("i",_result
);
1348 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1349 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxListColumnFormat _result
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 if (PyErr_Occurred()) return NULL
;
1372 } _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1377 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxListItemAttr
* _result
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1406 _resultobj
= Py_None
;
1411 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1412 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1440 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1462 wxPy_END_ALLOW_THREADS
;
1463 if (PyErr_Occurred()) return NULL
;
1464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1465 _resultobj
= Py_BuildValue("s",_ptemp
);
1469 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1470 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1492 wxPy_END_ALLOW_THREADS
;
1493 if (PyErr_Occurred()) return NULL
;
1494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1499 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1500 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1522 wxPy_END_ALLOW_THREADS
;
1523 if (PyErr_Occurred()) return NULL
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1530 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self","m_mask", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1552 wxPy_END_ALLOW_THREADS
;
1553 if (PyErr_Occurred()) return NULL
;
1554 } _resultobj
= Py_BuildValue("l",_result
);
1558 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1559 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (long )wxListItem_m_mask_get(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 if (PyErr_Occurred()) return NULL
;
1582 } _resultobj
= Py_BuildValue("l",_result
);
1586 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1587 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self","m_itemId", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 if (PyErr_Occurred()) return NULL
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1616 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1637 wxPy_END_ALLOW_THREADS
;
1638 if (PyErr_Occurred()) return NULL
;
1639 } _resultobj
= Py_BuildValue("l",_result
);
1643 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1644 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self","m_col", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1673 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (int )wxListItem_m_col_get(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1701 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self","m_state", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1723 wxPy_END_ALLOW_THREADS
;
1724 if (PyErr_Occurred()) return NULL
;
1725 } _resultobj
= Py_BuildValue("l",_result
);
1729 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1730 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1734 PyObject
* _argo0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (long )wxListItem_m_state_get(_arg0
);
1751 wxPy_END_ALLOW_THREADS
;
1752 if (PyErr_Occurred()) return NULL
;
1753 } _resultobj
= Py_BuildValue("l",_result
);
1757 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1758 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1780 wxPy_END_ALLOW_THREADS
;
1781 if (PyErr_Occurred()) return NULL
;
1782 } _resultobj
= Py_BuildValue("l",_result
);
1786 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1787 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("l",_result
);
1814 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1815 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1821 PyObject
* _obj1
= 0;
1822 char *_kwnames
[] = { "self","m_text", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1835 #if PYTHON_API_VERSION >= 1009
1836 char* tmpPtr
; int tmpSize
;
1837 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1841 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1843 _arg1
= new wxString(tmpPtr
, tmpSize
);
1845 if (!PyString_Check(_obj1
)) {
1846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1849 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1856 wxPy_END_ALLOW_THREADS
;
1857 if (PyErr_Occurred()) return NULL
;
1859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1868 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1869 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 if (PyErr_Occurred()) return NULL
;
1893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1898 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1899 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self","m_image", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1922 if (PyErr_Occurred()) return NULL
;
1923 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1928 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= (int )wxListItem_m_image_get(_arg0
);
1949 wxPy_END_ALLOW_THREADS
;
1950 if (PyErr_Occurred()) return NULL
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1956 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self","m_data", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1978 wxPy_END_ALLOW_THREADS
;
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("l",_result
);
1984 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1985 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (long )wxListItem_m_data_get(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("l",_result
);
2012 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
2013 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self","m_format", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2035 wxPy_END_ALLOW_THREADS
;
2036 if (PyErr_Occurred()) return NULL
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2042 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2046 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= (int )wxListItem_m_format_get(_arg0
);
2063 wxPy_END_ALLOW_THREADS
;
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2070 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self","m_width", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2092 wxPy_END_ALLOW_THREADS
;
2093 if (PyErr_Occurred()) return NULL
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2099 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (int )wxListItem_m_width_get(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 if (PyErr_Occurred()) return NULL
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2128 wxNotifyEvent
*dest
;
2129 src
= (wxListEvent
*) ptr
;
2130 dest
= (wxNotifyEvent
*) src
;
2131 return (void *) dest
;
2134 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2136 wxCommandEvent
*dest
;
2137 src
= (wxListEvent
*) ptr
;
2138 dest
= (wxCommandEvent
*) src
;
2139 return (void *) dest
;
2142 static void *SwigwxListEventTowxEvent(void *ptr
) {
2145 src
= (wxListEvent
*) ptr
;
2146 dest
= (wxEvent
*) src
;
2147 return (void *) dest
;
2150 static void *SwigwxListEventTowxObject(void *ptr
) {
2153 src
= (wxListEvent
*) ptr
;
2154 dest
= (wxObject
*) src
;
2155 return (void *) dest
;
2158 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxListEvent
* _result
;
2162 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2163 int _arg1
= (int ) 0;
2164 char *_kwnames
[] = { "commandType","id", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2174 wxPy_END_ALLOW_THREADS
;
2175 if (PyErr_Occurred()) return NULL
;
2177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2178 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 _resultobj
= Py_None
;
2186 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2187 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 wxListEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self","m_code", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2216 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxListEvent_m_code_get(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2244 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 wxListEvent
* _arg0
;
2249 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2266 wxPy_END_ALLOW_THREADS
;
2267 if (PyErr_Occurred()) return NULL
;
2268 } _resultobj
= Py_BuildValue("l",_result
);
2272 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2273 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2276 wxListEvent
* _arg0
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 if (PyErr_Occurred()) return NULL
;
2296 } _resultobj
= Py_BuildValue("l",_result
);
2300 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2301 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxListEvent
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 if (PyErr_Occurred()) return NULL
;
2325 } _resultobj
= Py_BuildValue("l",_result
);
2329 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2330 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2333 wxListEvent
* _arg0
;
2334 PyObject
* _argo0
= 0;
2335 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 if (PyErr_Occurred()) return NULL
;
2353 } _resultobj
= Py_BuildValue("l",_result
);
2357 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2358 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2361 wxListEvent
* _arg0
;
2363 PyObject
* _argo0
= 0;
2364 char *_kwnames
[] = { "self","m_col", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2377 wxPy_BEGIN_ALLOW_THREADS
;
2378 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2380 wxPy_END_ALLOW_THREADS
;
2381 if (PyErr_Occurred()) return NULL
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2386 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2387 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2390 wxListEvent
* _arg0
;
2391 PyObject
* _argo0
= 0;
2392 char *_kwnames
[] = { "self", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (int )wxListEvent_m_col_get(_arg0
);
2408 wxPy_END_ALLOW_THREADS
;
2409 if (PyErr_Occurred()) return NULL
;
2410 } _resultobj
= Py_BuildValue("i",_result
);
2414 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2415 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2418 wxListEvent
* _arg0
;
2420 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2434 _arg1
= (bool ) tempbool1
;
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 if (PyErr_Occurred()) return NULL
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2446 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2449 wxListEvent
* _arg0
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2468 if (PyErr_Occurred()) return NULL
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2474 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2477 wxListEvent
* _arg0
;
2479 PyObject
* _argo0
= 0;
2481 PyObject
* _obj1
= 0;
2482 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2497 if (! wxPoint_helper(_obj1
, &_arg1
))
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2504 wxPy_END_ALLOW_THREADS
;
2505 if (PyErr_Occurred()) return NULL
;
2507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2508 _resultobj
= Py_BuildValue("s",_ptemp
);
2511 _resultobj
= Py_None
;
2516 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2517 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2520 wxListEvent
* _arg0
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2539 wxPy_END_ALLOW_THREADS
;
2540 if (PyErr_Occurred()) return NULL
;
2542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2543 _resultobj
= Py_BuildValue("s",_ptemp
);
2546 _resultobj
= Py_None
;
2551 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2552 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 wxListItem
* _result
;
2555 wxListEvent
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 PyObject
* _argo1
= 0;
2559 char *_kwnames
[] = { "self","m_item", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2582 wxPy_END_ALLOW_THREADS
;
2583 if (PyErr_Occurred()) return NULL
;
2584 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2588 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2589 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxListItem
* _result
;
2592 wxListEvent
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2607 wxPy_BEGIN_ALLOW_THREADS
;
2608 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2610 wxPy_END_ALLOW_THREADS
;
2611 if (PyErr_Occurred()) return NULL
;
2612 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2616 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2617 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2620 wxListEvent
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (int )wxListEvent_GetCode(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 if (PyErr_Occurred()) return NULL
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2645 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxListEvent
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 _result
= (long )wxListEvent_GetIndex(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 if (PyErr_Occurred()) return NULL
;
2668 } _resultobj
= Py_BuildValue("l",_result
);
2672 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2673 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2676 wxListEvent
* _arg0
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2694 wxPy_END_ALLOW_THREADS
;
2695 if (PyErr_Occurred()) return NULL
;
2696 } _resultobj
= Py_BuildValue("l",_result
);
2700 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2701 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2704 wxListEvent
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2722 wxPy_END_ALLOW_THREADS
;
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("l",_result
);
2728 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2729 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxListEvent
* _arg0
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 _result
= (int )wxListEvent_GetColumn(_arg0
);
2750 wxPy_END_ALLOW_THREADS
;
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2757 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2760 wxListEvent
* _arg0
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2778 wxPy_END_ALLOW_THREADS
;
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2785 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 wxListEvent
* _arg0
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2807 wxPy_END_ALLOW_THREADS
;
2808 if (PyErr_Occurred()) return NULL
;
2809 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2810 _resultobj
= Py_BuildValue("s",_ptemp
);
2814 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2815 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxListEvent
* _arg0
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2835 _result
= (wxString
*) &_result_ref
;
2837 wxPy_END_ALLOW_THREADS
;
2838 if (PyErr_Occurred()) return NULL
;
2840 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2845 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2846 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 wxListEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2866 _result
= (wxString
*) &_result_ref
;
2868 wxPy_END_ALLOW_THREADS
;
2869 if (PyErr_Occurred()) return NULL
;
2871 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2876 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2877 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2880 wxListEvent
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= (int )wxListEvent_GetImage(_arg0
);
2898 wxPy_END_ALLOW_THREADS
;
2899 if (PyErr_Occurred()) return NULL
;
2900 } _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2905 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 wxListEvent
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (long )wxListEvent_GetData(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("l",_result
);
2932 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2933 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 wxListEvent
* _arg0
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 _result
= (long )wxListEvent_GetMask(_arg0
);
2954 wxPy_END_ALLOW_THREADS
;
2955 if (PyErr_Occurred()) return NULL
;
2956 } _resultobj
= Py_BuildValue("l",_result
);
2960 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2961 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxListItem
* _result
;
2964 wxListEvent
* _arg0
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2981 _result
= (wxListItem
*) &_result_ref
;
2983 wxPy_END_ALLOW_THREADS
;
2984 if (PyErr_Occurred()) return NULL
;
2985 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2989 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2990 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxListEvent
* _arg0
;
2994 PyObject
* _argo0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
3011 wxPy_END_ALLOW_THREADS
;
3012 if (PyErr_Occurred()) return NULL
;
3013 } _resultobj
= Py_BuildValue("l",_result
);
3017 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
3018 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxListEvent
* _arg0
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
3039 wxPy_END_ALLOW_THREADS
;
3040 if (PyErr_Occurred()) return NULL
;
3041 } _resultobj
= Py_BuildValue("l",_result
);
3045 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
3048 src
= (wxPyListCtrl
*) ptr
;
3049 dest
= (wxControl
*) src
;
3050 return (void *) dest
;
3053 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
3056 src
= (wxPyListCtrl
*) ptr
;
3057 dest
= (wxWindow
*) src
;
3058 return (void *) dest
;
3061 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
3064 src
= (wxPyListCtrl
*) ptr
;
3065 dest
= (wxEvtHandler
*) src
;
3066 return (void *) dest
;
3069 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
3072 src
= (wxPyListCtrl
*) ptr
;
3073 dest
= (wxObject
*) src
;
3074 return (void *) dest
;
3077 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3078 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3080 wxPyListCtrl
* _result
;
3082 wxWindowID _arg1
= (wxWindowID
) -1;
3083 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3084 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3085 long _arg4
= (long ) (wxLC_ICON
);
3086 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3087 char * _arg6
= (char *) "listCtrl";
3088 PyObject
* _argo0
= 0;
3090 PyObject
* _obj2
= 0;
3092 PyObject
* _obj3
= 0;
3093 PyObject
* _argo5
= 0;
3094 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
3110 if (! wxPoint_helper(_obj2
, &_arg2
))
3116 if (! wxSize_helper(_obj3
, &_arg3
))
3120 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3130 wxPy_END_ALLOW_THREADS
;
3131 if (PyErr_Occurred()) return NULL
;
3133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3134 _resultobj
= Py_BuildValue("s",_ptemp
);
3137 _resultobj
= Py_None
;
3142 #define new_wxPreListCtrl() (new wxPyListCtrl())
3143 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxPyListCtrl
* _result
;
3146 char *_kwnames
[] = { NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3156 wxPy_END_ALLOW_THREADS
;
3157 if (PyErr_Occurred()) return NULL
;
3159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3160 _resultobj
= Py_BuildValue("s",_ptemp
);
3163 _resultobj
= Py_None
;
3168 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3169 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3172 wxPyListCtrl
* _arg0
;
3174 wxWindowID _arg2
= (wxWindowID
) -1;
3175 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3176 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3177 long _arg5
= (long ) (wxLC_ICON
);
3178 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3179 char * _arg7
= (char *) "listCtrl";
3180 PyObject
* _argo0
= 0;
3181 PyObject
* _argo1
= 0;
3183 PyObject
* _obj3
= 0;
3185 PyObject
* _obj4
= 0;
3186 PyObject
* _argo6
= 0;
3187 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3209 if (! wxPoint_helper(_obj3
, &_arg3
))
3215 if (! wxSize_helper(_obj4
, &_arg4
))
3219 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3229 wxPy_END_ALLOW_THREADS
;
3230 if (PyErr_Occurred()) return NULL
;
3231 } _resultobj
= Py_BuildValue("i",_result
);
3235 #define wxListCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3236 static PyObject
*_wrap_wxListCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxPyListCtrl
* _arg0
;
3241 PyObject
* _argo0
= 0;
3242 PyObject
* _obj1
= 0;
3243 PyObject
* _obj2
= 0;
3244 char *_kwnames
[] = { "self","self","_class", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setSelf. Expected _wxPyListCtrl_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxListCtrl__setSelf(_arg0
,_arg1
,_arg2
);
3266 wxPy_END_ALLOW_THREADS
;
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3274 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 wxPyListCtrl
* _arg0
;
3279 PyObject
* _argo0
= 0;
3281 PyObject
* _obj1
= 0;
3282 char *_kwnames
[] = { "self","col", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3296 if (! wxColour_helper(_obj1
, &_arg1
))
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3303 wxPy_END_ALLOW_THREADS
;
3304 if (PyErr_Occurred()) return NULL
;
3305 } _resultobj
= Py_BuildValue("i",_result
);
3309 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3310 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3313 wxPyListCtrl
* _arg0
;
3315 PyObject
* _argo0
= 0;
3317 PyObject
* _obj1
= 0;
3318 char *_kwnames
[] = { "self","col", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3332 if (! wxColour_helper(_obj1
, &_arg1
))
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3339 wxPy_END_ALLOW_THREADS
;
3340 if (PyErr_Occurred()) return NULL
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3346 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3349 wxPyListCtrl
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo2
= 0;
3354 char *_kwnames
[] = { "self","col","item", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3367 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3377 wxPy_END_ALLOW_THREADS
;
3378 if (PyErr_Occurred()) return NULL
;
3379 } _resultobj
= Py_BuildValue("i",_result
);
3383 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3384 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3387 wxPyListCtrl
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 PyObject
* _argo2
= 0;
3392 char *_kwnames
[] = { "self","col","item", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3405 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3415 wxPy_END_ALLOW_THREADS
;
3416 if (PyErr_Occurred()) return NULL
;
3417 } _resultobj
= Py_BuildValue("i",_result
);
3421 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3422 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3425 wxPyListCtrl
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self","col", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3444 wxPy_END_ALLOW_THREADS
;
3445 if (PyErr_Occurred()) return NULL
;
3446 } _resultobj
= Py_BuildValue("i",_result
);
3450 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3454 wxPyListCtrl
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","col","width", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3474 wxPy_END_ALLOW_THREADS
;
3475 if (PyErr_Occurred()) return NULL
;
3476 } _resultobj
= Py_BuildValue("i",_result
);
3480 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3481 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxPyListCtrl
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3502 wxPy_END_ALLOW_THREADS
;
3503 if (PyErr_Occurred()) return NULL
;
3504 } _resultobj
= Py_BuildValue("i",_result
);
3508 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3509 wxListItem
* info
= new wxListItem
;
3510 info
->m_itemId
= itemId
;
3512 info
->m_mask
= 0xFFFF;
3513 self
->GetItem(*info
);
3516 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxListItem
* _result
;
3519 wxPyListCtrl
* _arg0
;
3521 int _arg2
= (int ) 0;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self","itemId","col", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3539 wxPy_END_ALLOW_THREADS
;
3540 if (PyErr_Occurred()) return NULL
;
3541 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3545 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3546 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 wxPyListCtrl
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 PyObject
* _argo1
= 0;
3553 char *_kwnames
[] = { "self","info", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3573 wxPy_BEGIN_ALLOW_THREADS
;
3574 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3576 wxPy_END_ALLOW_THREADS
;
3577 if (PyErr_Occurred()) return NULL
;
3578 } _resultobj
= Py_BuildValue("i",_result
);
3582 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3583 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3586 wxPyListCtrl
* _arg0
;
3590 int _arg4
= (int ) -1;
3591 PyObject
* _argo0
= 0;
3592 PyObject
* _obj3
= 0;
3593 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3606 #if PYTHON_API_VERSION >= 1009
3607 char* tmpPtr
; int tmpSize
;
3608 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3612 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3614 _arg3
= new wxString(tmpPtr
, tmpSize
);
3616 if (!PyString_Check(_obj3
)) {
3617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3620 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3627 wxPy_END_ALLOW_THREADS
;
3628 if (PyErr_Occurred()) return NULL
;
3629 } _resultobj
= Py_BuildValue("l",_result
);
3637 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3638 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3641 wxPyListCtrl
* _arg0
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3661 wxPy_END_ALLOW_THREADS
;
3662 if (PyErr_Occurred()) return NULL
;
3663 } _resultobj
= Py_BuildValue("i",_result
);
3667 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3668 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3671 wxPyListCtrl
* _arg0
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3689 wxPy_BEGIN_ALLOW_THREADS
;
3690 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3692 wxPy_END_ALLOW_THREADS
;
3693 if (PyErr_Occurred()) return NULL
;
3694 } _resultobj
= Py_BuildValue("i",_result
);
3698 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3699 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
* _resultobj
;
3702 wxPyListCtrl
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3723 wxPy_END_ALLOW_THREADS
;
3724 if (PyErr_Occurred()) return NULL
;
3725 } _resultobj
= Py_BuildValue("i",_result
);
3729 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3730 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3733 wxPyListCtrl
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 char *_kwnames
[] = { "self","item", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3752 wxPy_END_ALLOW_THREADS
;
3753 if (PyErr_Occurred()) return NULL
;
3755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3763 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3764 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3766 wxPyListCtrl
* _arg0
;
3769 PyObject
* _argo0
= 0;
3770 PyObject
* _obj2
= 0;
3771 char *_kwnames
[] = { "self","item","str", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3784 #if PYTHON_API_VERSION >= 1009
3785 char* tmpPtr
; int tmpSize
;
3786 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3790 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3792 _arg2
= new wxString(tmpPtr
, tmpSize
);
3794 if (!PyString_Check(_obj2
)) {
3795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3798 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3805 wxPy_END_ALLOW_THREADS
;
3806 if (PyErr_Occurred()) return NULL
;
3807 } Py_INCREF(Py_None
);
3808 _resultobj
= Py_None
;
3816 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3817 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3820 wxPyListCtrl
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self","item", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3839 wxPy_END_ALLOW_THREADS
;
3840 if (PyErr_Occurred()) return NULL
;
3841 } _resultobj
= Py_BuildValue("l",_result
);
3845 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3846 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3849 wxPyListCtrl
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","item","data", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3869 wxPy_END_ALLOW_THREADS
;
3870 if (PyErr_Occurred()) return NULL
;
3871 } _resultobj
= Py_BuildValue("i",_result
);
3875 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3876 wxPoint
* pos
= new wxPoint
;
3877 self
->GetItemPosition(item
, *pos
);
3880 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3883 wxPyListCtrl
* _arg0
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self","item", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 if (PyErr_Occurred()) return NULL
;
3906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3907 _resultobj
= Py_BuildValue("s",_ptemp
);
3910 _resultobj
= Py_None
;
3915 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3916 wxRect
* rect
= new wxRect
;
3917 self
->GetItemRect(item
, *rect
, code
);
3920 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3923 wxPyListCtrl
* _arg0
;
3925 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3926 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self","item","code", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3944 wxPy_END_ALLOW_THREADS
;
3945 if (PyErr_Occurred()) return NULL
;
3947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3948 _resultobj
= Py_BuildValue("s",_ptemp
);
3951 _resultobj
= Py_None
;
3956 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3957 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3960 wxPyListCtrl
* _arg0
;
3963 PyObject
* _argo0
= 0;
3965 PyObject
* _obj2
= 0;
3966 char *_kwnames
[] = { "self","item","pos", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3980 if (! wxPoint_helper(_obj2
, &_arg2
))
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3987 wxPy_END_ALLOW_THREADS
;
3988 if (PyErr_Occurred()) return NULL
;
3989 } _resultobj
= Py_BuildValue("i",_result
);
3993 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3994 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
* _resultobj
;
3997 wxPyListCtrl
* _arg0
;
3998 PyObject
* _argo0
= 0;
3999 char *_kwnames
[] = { "self", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
4015 wxPy_END_ALLOW_THREADS
;
4016 if (PyErr_Occurred()) return NULL
;
4017 } _resultobj
= Py_BuildValue("i",_result
);
4021 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
4022 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4025 wxPyListCtrl
* _arg0
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
4043 wxPy_END_ALLOW_THREADS
;
4044 if (PyErr_Occurred()) return NULL
;
4045 } _resultobj
= Py_BuildValue("i",_result
);
4049 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
4050 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4053 wxPyListCtrl
* _arg0
;
4055 PyObject
* _argo0
= 0;
4057 char *_kwnames
[] = { "self","isSmall", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
4069 _arg1
= (bool ) tempbool1
;
4071 wxPy_BEGIN_ALLOW_THREADS
;
4072 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
4074 wxPy_END_ALLOW_THREADS
;
4075 if (PyErr_Occurred()) return NULL
;
4076 } _resultobj
= Py_BuildValue("i",_result
);
4080 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
4081 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4084 wxPyListCtrl
* _arg0
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
4102 wxPy_END_ALLOW_THREADS
;
4103 if (PyErr_Occurred()) return NULL
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4109 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4112 wxPyListCtrl
* _arg0
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
4121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
4128 wxPy_BEGIN_ALLOW_THREADS
;
4129 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
4131 wxPy_END_ALLOW_THREADS
;
4132 if (PyErr_Occurred()) return NULL
;
4133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4134 _resultobj
= Py_BuildValue("s",_ptemp
);
4138 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4139 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 wxPyListCtrl
* _arg0
;
4143 PyObject
* _argo0
= 0;
4145 PyObject
* _obj1
= 0;
4146 char *_kwnames
[] = { "self","col", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4160 if (! wxColour_helper(_obj1
, &_arg1
))
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4167 wxPy_END_ALLOW_THREADS
;
4168 if (PyErr_Occurred()) return NULL
;
4169 } Py_INCREF(Py_None
);
4170 _resultobj
= Py_None
;
4174 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4175 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4178 wxPyListCtrl
* _arg0
;
4179 PyObject
* _argo0
= 0;
4180 char *_kwnames
[] = { "self", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4196 wxPy_END_ALLOW_THREADS
;
4197 if (PyErr_Occurred()) return NULL
;
4198 } _resultobj
= Py_BuildValue("l",_result
);
4202 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4203 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxPyListCtrl
* _arg0
;
4207 bool _arg2
= (bool ) TRUE
;
4208 PyObject
* _argo0
= 0;
4209 int tempbool2
= (int) TRUE
;
4210 char *_kwnames
[] = { "self","style","add", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4222 _arg2
= (bool ) tempbool2
;
4224 wxPy_BEGIN_ALLOW_THREADS
;
4225 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4227 wxPy_END_ALLOW_THREADS
;
4228 if (PyErr_Occurred()) return NULL
;
4229 } Py_INCREF(Py_None
);
4230 _resultobj
= Py_None
;
4234 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4235 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4237 wxPyListCtrl
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self","style", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4256 wxPy_END_ALLOW_THREADS
;
4257 if (PyErr_Occurred()) return NULL
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4264 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4267 wxPyListCtrl
* _arg0
;
4269 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4270 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4271 PyObject
* _argo0
= 0;
4272 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4288 wxPy_END_ALLOW_THREADS
;
4289 if (PyErr_Occurred()) return NULL
;
4290 } _resultobj
= Py_BuildValue("l",_result
);
4294 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4295 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4297 wxImageList
* _result
;
4298 wxPyListCtrl
* _arg0
;
4300 PyObject
* _argo0
= 0;
4301 char *_kwnames
[] = { "self","which", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4317 wxPy_END_ALLOW_THREADS
;
4318 if (PyErr_Occurred()) return NULL
;
4319 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4323 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4324 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
* _resultobj
;
4326 wxPyListCtrl
* _arg0
;
4327 wxImageList
* _arg1
;
4329 PyObject
* _argo0
= 0;
4330 PyObject
* _argo1
= 0;
4331 char *_kwnames
[] = { "self","imageList","which", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4354 wxPy_END_ALLOW_THREADS
;
4355 if (PyErr_Occurred()) return NULL
;
4356 } Py_INCREF(Py_None
);
4357 _resultobj
= Py_None
;
4361 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4362 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4364 wxPyListCtrl
* _arg0
;
4365 wxImageList
* _arg1
;
4367 PyObject
* _argo0
= 0;
4368 PyObject
* _argo1
= 0;
4369 char *_kwnames
[] = { "self","imageList","which", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4392 wxPy_END_ALLOW_THREADS
;
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4400 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4403 wxPyListCtrl
* _arg0
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4418 wxPy_BEGIN_ALLOW_THREADS
;
4419 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4421 wxPy_END_ALLOW_THREADS
;
4422 if (PyErr_Occurred()) return NULL
;
4423 } _resultobj
= Py_BuildValue("i",_result
);
4427 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4428 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4430 wxPyListCtrl
* _arg0
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self","item", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4446 wxPy_BEGIN_ALLOW_THREADS
;
4447 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4449 wxPy_END_ALLOW_THREADS
;
4450 if (PyErr_Occurred()) return NULL
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4457 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4459 wxPyListCtrl
* _arg0
;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4479 wxPy_END_ALLOW_THREADS
;
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4487 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxPyListCtrl
* _arg0
;
4491 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self","flag", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4509 wxPy_END_ALLOW_THREADS
;
4510 if (PyErr_Occurred()) return NULL
;
4511 } _resultobj
= Py_BuildValue("i",_result
);
4515 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4516 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4519 wxPyListCtrl
* _arg0
;
4521 PyObject
* _argo0
= 0;
4522 char *_kwnames
[] = { "self","item", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4538 wxPy_END_ALLOW_THREADS
;
4539 if (PyErr_Occurred()) return NULL
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4545 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4548 wxPyListCtrl
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4566 wxPy_END_ALLOW_THREADS
;
4567 if (PyErr_Occurred()) return NULL
;
4568 } _resultobj
= Py_BuildValue("i",_result
);
4572 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4573 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4576 wxPyListCtrl
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self","col", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4592 wxPy_BEGIN_ALLOW_THREADS
;
4593 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4595 wxPy_END_ALLOW_THREADS
;
4596 if (PyErr_Occurred()) return NULL
;
4597 } _resultobj
= Py_BuildValue("i",_result
);
4601 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4602 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4605 wxPyListCtrl
* _arg0
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4620 wxPy_BEGIN_ALLOW_THREADS
;
4621 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4623 wxPy_END_ALLOW_THREADS
;
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4630 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4632 wxPyListCtrl
* _arg0
;
4633 PyObject
* _argo0
= 0;
4634 char *_kwnames
[] = { "self", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 wxListCtrl_ClearAll(_arg0
);
4650 wxPy_END_ALLOW_THREADS
;
4651 if (PyErr_Occurred()) return NULL
;
4652 } Py_INCREF(Py_None
);
4653 _resultobj
= Py_None
;
4657 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4658 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4661 wxPyListCtrl
* _arg0
;
4663 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self","item", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4680 wxPy_END_ALLOW_THREADS
;
4681 if (PyErr_Occurred()) return NULL
;
4682 } _resultobj
= Py_BuildValue("i",_result
);
4686 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4687 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4690 wxPyListCtrl
* _arg0
;
4693 bool _arg3
= (bool ) FALSE
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _obj2
= 0;
4696 int tempbool3
= (int) FALSE
;
4697 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4710 #if PYTHON_API_VERSION >= 1009
4711 char* tmpPtr
; int tmpSize
;
4712 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4716 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4718 _arg2
= new wxString(tmpPtr
, tmpSize
);
4720 if (!PyString_Check(_obj2
)) {
4721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4724 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4727 _arg3
= (bool ) tempbool3
;
4729 wxPy_BEGIN_ALLOW_THREADS
;
4730 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4732 wxPy_END_ALLOW_THREADS
;
4733 if (PyErr_Occurred()) return NULL
;
4734 } _resultobj
= Py_BuildValue("l",_result
);
4742 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4743 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 wxPyListCtrl
* _arg0
;
4749 PyObject
* _argo0
= 0;
4750 char *_kwnames
[] = { "self","start","data", NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4766 wxPy_END_ALLOW_THREADS
;
4767 if (PyErr_Occurred()) return NULL
;
4768 } _resultobj
= Py_BuildValue("l",_result
);
4772 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4773 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4776 wxPyListCtrl
* _arg0
;
4780 PyObject
* _argo0
= 0;
4782 PyObject
* _obj2
= 0;
4783 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4797 if (! wxPoint_helper(_obj2
, &_arg2
))
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4804 wxPy_END_ALLOW_THREADS
;
4805 if (PyErr_Occurred()) return NULL
;
4806 } _resultobj
= Py_BuildValue("l",_result
);
4810 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4811 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4814 wxPyListCtrl
* _arg0
;
4818 PyObject
* _argo0
= 0;
4820 PyObject
* _obj1
= 0;
4821 char *_kwnames
[] = { "self","point", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4838 if (! wxPoint_helper(_obj1
, &_arg1
))
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4845 wxPy_END_ALLOW_THREADS
;
4846 if (PyErr_Occurred()) return NULL
;
4847 } _resultobj
= Py_BuildValue("l",_result
);
4850 o
= PyInt_FromLong((long) (*_arg2
));
4851 _resultobj
= t_output_helper(_resultobj
, o
);
4856 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4857 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4860 wxPyListCtrl
* _arg0
;
4862 PyObject
* _argo0
= 0;
4863 PyObject
* _argo1
= 0;
4864 char *_kwnames
[] = { "self","info", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4884 wxPy_BEGIN_ALLOW_THREADS
;
4885 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4887 wxPy_END_ALLOW_THREADS
;
4888 if (PyErr_Occurred()) return NULL
;
4889 } _resultobj
= Py_BuildValue("l",_result
);
4893 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4894 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 wxPyListCtrl
* _arg0
;
4900 PyObject
* _argo0
= 0;
4901 PyObject
* _obj2
= 0;
4902 char *_kwnames
[] = { "self","index","label", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4915 #if PYTHON_API_VERSION >= 1009
4916 char* tmpPtr
; int tmpSize
;
4917 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4921 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4923 _arg2
= new wxString(tmpPtr
, tmpSize
);
4925 if (!PyString_Check(_obj2
)) {
4926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4929 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4936 wxPy_END_ALLOW_THREADS
;
4937 if (PyErr_Occurred()) return NULL
;
4938 } _resultobj
= Py_BuildValue("l",_result
);
4946 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4947 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4950 wxPyListCtrl
* _arg0
;
4953 PyObject
* _argo0
= 0;
4954 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4967 wxPy_BEGIN_ALLOW_THREADS
;
4968 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4970 wxPy_END_ALLOW_THREADS
;
4971 if (PyErr_Occurred()) return NULL
;
4972 } _resultobj
= Py_BuildValue("l",_result
);
4976 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4977 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4980 wxPyListCtrl
* _arg0
;
4984 PyObject
* _argo0
= 0;
4985 PyObject
* _obj2
= 0;
4986 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4999 #if PYTHON_API_VERSION >= 1009
5000 char* tmpPtr
; int tmpSize
;
5001 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5005 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5007 _arg2
= new wxString(tmpPtr
, tmpSize
);
5009 if (!PyString_Check(_obj2
)) {
5010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5013 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
5020 wxPy_END_ALLOW_THREADS
;
5021 if (PyErr_Occurred()) return NULL
;
5022 } _resultobj
= Py_BuildValue("l",_result
);
5030 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
5031 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 wxPyListCtrl
* _arg0
;
5037 PyObject
* _argo0
= 0;
5038 PyObject
* _argo2
= 0;
5039 char *_kwnames
[] = { "self","col","info", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
5052 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5053 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
5054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
5059 wxPy_BEGIN_ALLOW_THREADS
;
5060 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
5062 wxPy_END_ALLOW_THREADS
;
5063 if (PyErr_Occurred()) return NULL
;
5064 } _resultobj
= Py_BuildValue("l",_result
);
5068 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5069 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
* _resultobj
;
5072 wxPyListCtrl
* _arg0
;
5075 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5076 int _arg4
= (int ) -1;
5077 PyObject
* _argo0
= 0;
5078 PyObject
* _obj2
= 0;
5079 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5092 #if PYTHON_API_VERSION >= 1009
5093 char* tmpPtr
; int tmpSize
;
5094 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5098 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5100 _arg2
= new wxString(tmpPtr
, tmpSize
);
5102 if (!PyString_Check(_obj2
)) {
5103 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5106 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5113 wxPy_END_ALLOW_THREADS
;
5114 if (PyErr_Occurred()) return NULL
;
5115 } _resultobj
= Py_BuildValue("l",_result
);
5123 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5124 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5126 wxPyListCtrl
* _arg0
;
5128 PyObject
* _argo0
= 0;
5129 char *_kwnames
[] = { "self","count", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5142 wxPy_BEGIN_ALLOW_THREADS
;
5143 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5145 wxPy_END_ALLOW_THREADS
;
5146 if (PyErr_Occurred()) return NULL
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5152 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5153 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5156 wxPyListCtrl
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self","dx","dy", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5176 wxPy_END_ALLOW_THREADS
;
5177 if (PyErr_Occurred()) return NULL
;
5178 } _resultobj
= Py_BuildValue("i",_result
);
5182 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5183 if (!PyCallable_Check(func
))
5185 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5187 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5190 wxPyListCtrl
* _arg0
;
5192 PyObject
* _argo0
= 0;
5193 PyObject
* _obj1
= 0;
5194 char *_kwnames
[] = { "self","func", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5210 wxPy_BEGIN_ALLOW_THREADS
;
5211 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5213 wxPy_END_ALLOW_THREADS
;
5214 if (PyErr_Occurred()) return NULL
;
5215 } _resultobj
= Py_BuildValue("i",_result
);
5219 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5222 src
= (wxListView
*) ptr
;
5223 dest
= (wxPyListCtrl
*) src
;
5224 return (void *) dest
;
5227 static void *SwigwxListViewTowxControl(void *ptr
) {
5230 src
= (wxListView
*) ptr
;
5231 dest
= (wxControl
*) src
;
5232 return (void *) dest
;
5235 static void *SwigwxListViewTowxWindow(void *ptr
) {
5238 src
= (wxListView
*) ptr
;
5239 dest
= (wxWindow
*) src
;
5240 return (void *) dest
;
5243 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5246 src
= (wxListView
*) ptr
;
5247 dest
= (wxEvtHandler
*) src
;
5248 return (void *) dest
;
5251 static void *SwigwxListViewTowxObject(void *ptr
) {
5254 src
= (wxListView
*) ptr
;
5255 dest
= (wxObject
*) src
;
5256 return (void *) dest
;
5259 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5260 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5262 wxListView
* _result
;
5264 wxWindowID _arg1
= (wxWindowID
) -1;
5265 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5266 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5267 long _arg4
= (long ) (wxLC_REPORT
);
5268 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5269 wxString
* _arg6
= (wxString
*) &"listctrl";
5270 PyObject
* _argo0
= 0;
5272 PyObject
* _obj2
= 0;
5274 PyObject
* _obj3
= 0;
5275 PyObject
* _argo5
= 0;
5276 PyObject
* _obj6
= 0;
5277 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5293 if (! wxPoint_helper(_obj2
, &_arg2
))
5299 if (! wxSize_helper(_obj3
, &_arg3
))
5303 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5311 #if PYTHON_API_VERSION >= 1009
5312 char* tmpPtr
; int tmpSize
;
5313 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5314 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5317 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5319 _arg6
= new wxString(tmpPtr
, tmpSize
);
5321 if (!PyString_Check(_obj6
)) {
5322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5325 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5329 wxPy_BEGIN_ALLOW_THREADS
;
5330 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5332 wxPy_END_ALLOW_THREADS
;
5333 if (PyErr_Occurred()) return NULL
;
5335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5336 _resultobj
= Py_BuildValue("s",_ptemp
);
5339 _resultobj
= Py_None
;
5348 #define new_wxPreListView() (new wxListView())
5349 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5351 wxListView
* _result
;
5352 char *_kwnames
[] = { NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5359 wxPy_BEGIN_ALLOW_THREADS
;
5360 _result
= (wxListView
*)new_wxPreListView();
5362 wxPy_END_ALLOW_THREADS
;
5363 if (PyErr_Occurred()) return NULL
;
5365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5366 _resultobj
= Py_BuildValue("s",_ptemp
);
5369 _resultobj
= Py_None
;
5374 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5375 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5380 wxWindowID _arg2
= (wxWindowID
) -1;
5381 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5382 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5383 long _arg5
= (long ) (wxLC_REPORT
);
5384 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5385 wxString
* _arg7
= (wxString
*) &"listctrl";
5386 PyObject
* _argo0
= 0;
5387 PyObject
* _argo1
= 0;
5389 PyObject
* _obj3
= 0;
5391 PyObject
* _obj4
= 0;
5392 PyObject
* _argo6
= 0;
5393 PyObject
* _obj7
= 0;
5394 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5407 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5416 if (! wxPoint_helper(_obj3
, &_arg3
))
5422 if (! wxSize_helper(_obj4
, &_arg4
))
5426 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5434 #if PYTHON_API_VERSION >= 1009
5435 char* tmpPtr
; int tmpSize
;
5436 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5440 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5442 _arg7
= new wxString(tmpPtr
, tmpSize
);
5444 if (!PyString_Check(_obj7
)) {
5445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5448 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5455 wxPy_END_ALLOW_THREADS
;
5456 if (PyErr_Occurred()) return NULL
;
5457 } _resultobj
= Py_BuildValue("i",_result
);
5465 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5466 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5470 bool _arg2
= (bool ) TRUE
;
5471 PyObject
* _argo0
= 0;
5472 int tempbool2
= (int) TRUE
;
5473 char *_kwnames
[] = { "self","n","on", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5485 _arg2
= (bool ) tempbool2
;
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 wxListView_Select(_arg0
,_arg1
,_arg2
);
5490 wxPy_END_ALLOW_THREADS
;
5491 if (PyErr_Occurred()) return NULL
;
5492 } Py_INCREF(Py_None
);
5493 _resultobj
= Py_None
;
5497 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5498 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5502 PyObject
* _argo0
= 0;
5503 char *_kwnames
[] = { "self","index", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5516 wxPy_BEGIN_ALLOW_THREADS
;
5517 wxListView_Focus(_arg0
,_arg1
);
5519 wxPy_END_ALLOW_THREADS
;
5520 if (PyErr_Occurred()) return NULL
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5526 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5527 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
* _resultobj
;
5531 PyObject
* _argo0
= 0;
5532 char *_kwnames
[] = { "self", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5545 wxPy_BEGIN_ALLOW_THREADS
;
5546 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5548 wxPy_END_ALLOW_THREADS
;
5549 if (PyErr_Occurred()) return NULL
;
5550 } _resultobj
= Py_BuildValue("l",_result
);
5554 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5555 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
* _resultobj
;
5560 PyObject
* _argo0
= 0;
5561 char *_kwnames
[] = { "self","item", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5574 wxPy_BEGIN_ALLOW_THREADS
;
5575 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5577 wxPy_END_ALLOW_THREADS
;
5578 if (PyErr_Occurred()) return NULL
;
5579 } _resultobj
= Py_BuildValue("l",_result
);
5583 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5584 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5588 PyObject
* _argo0
= 0;
5589 char *_kwnames
[] = { "self", NULL
};
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5602 wxPy_BEGIN_ALLOW_THREADS
;
5603 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5605 wxPy_END_ALLOW_THREADS
;
5606 if (PyErr_Occurred()) return NULL
;
5607 } _resultobj
= Py_BuildValue("l",_result
);
5611 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5612 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
* _resultobj
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self","index", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5631 wxPy_BEGIN_ALLOW_THREADS
;
5632 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5634 wxPy_END_ALLOW_THREADS
;
5635 if (PyErr_Occurred()) return NULL
;
5636 } _resultobj
= Py_BuildValue("i",_result
);
5640 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5641 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self","col","image", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5663 wxPy_END_ALLOW_THREADS
;
5664 if (PyErr_Occurred()) return NULL
;
5665 } Py_INCREF(Py_None
);
5666 _resultobj
= Py_None
;
5670 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5671 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self","col", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5689 wxPy_BEGIN_ALLOW_THREADS
;
5690 wxListView_ClearColumnImage(_arg0
,_arg1
);
5692 wxPy_END_ALLOW_THREADS
;
5693 if (PyErr_Occurred()) return NULL
;
5694 } Py_INCREF(Py_None
);
5695 _resultobj
= Py_None
;
5699 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5700 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5702 wxTreeItemAttr
* _result
;
5703 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5704 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5705 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5707 PyObject
* _obj0
= 0;
5709 PyObject
* _obj1
= 0;
5710 PyObject
* _argo2
= 0;
5711 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5720 if (! wxColour_helper(_obj0
, &_arg0
))
5726 if (! wxColour_helper(_obj1
, &_arg1
))
5730 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5740 wxPy_END_ALLOW_THREADS
;
5741 if (PyErr_Occurred()) return NULL
;
5743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5744 _resultobj
= Py_BuildValue("s",_ptemp
);
5747 _resultobj
= Py_None
;
5752 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5753 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5755 wxTreeItemAttr
* _arg0
;
5757 PyObject
* _argo0
= 0;
5759 PyObject
* _obj1
= 0;
5760 char *_kwnames
[] = { "self","colText", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5774 if (! wxColour_helper(_obj1
, &_arg1
))
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5781 wxPy_END_ALLOW_THREADS
;
5782 if (PyErr_Occurred()) return NULL
;
5783 } Py_INCREF(Py_None
);
5784 _resultobj
= Py_None
;
5788 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5789 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5791 wxTreeItemAttr
* _arg0
;
5793 PyObject
* _argo0
= 0;
5795 PyObject
* _obj1
= 0;
5796 char *_kwnames
[] = { "self","colBack", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5810 if (! wxColour_helper(_obj1
, &_arg1
))
5814 wxPy_BEGIN_ALLOW_THREADS
;
5815 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5817 wxPy_END_ALLOW_THREADS
;
5818 if (PyErr_Occurred()) return NULL
;
5819 } Py_INCREF(Py_None
);
5820 _resultobj
= Py_None
;
5824 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5825 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5827 wxTreeItemAttr
* _arg0
;
5829 PyObject
* _argo0
= 0;
5830 PyObject
* _argo1
= 0;
5831 char *_kwnames
[] = { "self","font", NULL
};
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5854 wxPy_END_ALLOW_THREADS
;
5855 if (PyErr_Occurred()) return NULL
;
5856 } Py_INCREF(Py_None
);
5857 _resultobj
= Py_None
;
5861 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5862 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5865 wxTreeItemAttr
* _arg0
;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5880 wxPy_BEGIN_ALLOW_THREADS
;
5881 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5883 wxPy_END_ALLOW_THREADS
;
5884 if (PyErr_Occurred()) return NULL
;
5885 } _resultobj
= Py_BuildValue("i",_result
);
5889 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5890 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
* _resultobj
;
5893 wxTreeItemAttr
* _arg0
;
5894 PyObject
* _argo0
= 0;
5895 char *_kwnames
[] = { "self", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5908 wxPy_BEGIN_ALLOW_THREADS
;
5909 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5911 wxPy_END_ALLOW_THREADS
;
5912 if (PyErr_Occurred()) return NULL
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5918 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5921 wxTreeItemAttr
* _arg0
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5939 wxPy_END_ALLOW_THREADS
;
5940 if (PyErr_Occurred()) return NULL
;
5941 } _resultobj
= Py_BuildValue("i",_result
);
5945 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5946 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5949 wxTreeItemAttr
* _arg0
;
5950 PyObject
* _argo0
= 0;
5951 char *_kwnames
[] = { "self", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 const wxColour
& _result_ref
= wxTreeItemAttr_GetTextColour(_arg0
);
5967 _result
= (wxColour
*) &_result_ref
;
5969 wxPy_END_ALLOW_THREADS
;
5970 if (PyErr_Occurred()) return NULL
;
5972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5973 _resultobj
= Py_BuildValue("s",_ptemp
);
5976 _resultobj
= Py_None
;
5981 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5982 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5985 wxTreeItemAttr
* _arg0
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
6001 wxPy_BEGIN_ALLOW_THREADS
;
6002 const wxColour
& _result_ref
= wxTreeItemAttr_GetBackgroundColour(_arg0
);
6003 _result
= (wxColour
*) &_result_ref
;
6005 wxPy_END_ALLOW_THREADS
;
6006 if (PyErr_Occurred()) return NULL
;
6008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6009 _resultobj
= Py_BuildValue("s",_ptemp
);
6012 _resultobj
= Py_None
;
6017 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
6018 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6021 wxTreeItemAttr
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
6037 wxPy_BEGIN_ALLOW_THREADS
;
6038 const wxFont
& _result_ref
= wxTreeItemAttr_GetFont(_arg0
);
6039 _result
= (wxFont
*) &_result_ref
;
6041 wxPy_END_ALLOW_THREADS
;
6042 if (PyErr_Occurred()) return NULL
;
6044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6045 _resultobj
= Py_BuildValue("s",_ptemp
);
6048 _resultobj
= Py_None
;
6053 #define new_wxTreeItemId() (new wxTreeItemId())
6054 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxTreeItemId
* _result
;
6057 char *_kwnames
[] = { NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
6064 wxPy_BEGIN_ALLOW_THREADS
;
6065 _result
= (wxTreeItemId
*)new_wxTreeItemId();
6067 wxPy_END_ALLOW_THREADS
;
6068 if (PyErr_Occurred()) return NULL
;
6070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6074 _resultobj
= Py_None
;
6079 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
6080 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxTreeItemId
* _arg0
;
6083 PyObject
* _argo0
= 0;
6084 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 delete_wxTreeItemId(_arg0
);
6100 wxPy_END_ALLOW_THREADS
;
6101 if (PyErr_Occurred()) return NULL
;
6102 } Py_INCREF(Py_None
);
6103 _resultobj
= Py_None
;
6107 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6108 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6111 wxTreeItemId
* _arg0
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6129 wxPy_END_ALLOW_THREADS
;
6130 if (PyErr_Occurred()) return NULL
;
6131 } _resultobj
= Py_BuildValue("i",_result
);
6135 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6136 if (! other
) return -1;
6137 return *self
!= *other
;
6139 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6142 wxTreeItemId
* _arg0
;
6143 wxTreeItemId
* _arg1
;
6144 PyObject
* _argo0
= 0;
6145 PyObject
* _argo1
= 0;
6146 char *_kwnames
[] = { "self","other", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6169 wxPy_END_ALLOW_THREADS
;
6170 if (PyErr_Occurred()) return NULL
;
6171 } _resultobj
= Py_BuildValue("i",_result
);
6175 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6176 wxPyTreeItemData
*src
;
6178 src
= (wxPyTreeItemData
*) ptr
;
6179 dest
= (wxObject
*) src
;
6180 return (void *) dest
;
6183 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6184 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6186 wxPyTreeItemData
* _result
;
6187 PyObject
* _arg0
= (PyObject
*) NULL
;
6188 PyObject
* _obj0
= 0;
6189 char *_kwnames
[] = { "obj", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6200 wxPy_BEGIN_ALLOW_THREADS
;
6201 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6203 wxPy_END_ALLOW_THREADS
;
6204 if (PyErr_Occurred()) return NULL
;
6206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6207 _resultobj
= Py_BuildValue("s",_ptemp
);
6210 _resultobj
= Py_None
;
6215 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6216 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6219 wxPyTreeItemData
* _arg0
;
6220 PyObject
* _argo0
= 0;
6221 char *_kwnames
[] = { "self", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6234 wxPy_BEGIN_ALLOW_THREADS
;
6235 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6237 wxPy_END_ALLOW_THREADS
;
6238 if (PyErr_Occurred()) return NULL
;
6240 _resultobj
= _result
;
6245 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6246 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6248 wxPyTreeItemData
* _arg0
;
6250 PyObject
* _argo0
= 0;
6251 PyObject
* _obj1
= 0;
6252 char *_kwnames
[] = { "self","obj", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 wxTreeItemData_SetData(_arg0
,_arg1
);
6271 wxPy_END_ALLOW_THREADS
;
6272 if (PyErr_Occurred()) return NULL
;
6273 } Py_INCREF(Py_None
);
6274 _resultobj
= Py_None
;
6278 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6279 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxTreeItemId
* _result
;
6282 wxPyTreeItemData
* _arg0
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6298 wxPy_BEGIN_ALLOW_THREADS
;
6299 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6300 _result
= (wxTreeItemId
*) &_result_ref
;
6302 wxPy_END_ALLOW_THREADS
;
6303 if (PyErr_Occurred()) return NULL
;
6305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6306 _resultobj
= Py_BuildValue("s",_ptemp
);
6309 _resultobj
= Py_None
;
6314 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6315 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxPyTreeItemData
* _arg0
;
6318 wxTreeItemId
* _arg1
;
6319 PyObject
* _argo0
= 0;
6320 PyObject
* _argo1
= 0;
6321 char *_kwnames
[] = { "self","id", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 wxTreeItemData_SetId(_arg0
,*_arg1
);
6344 wxPy_END_ALLOW_THREADS
;
6345 if (PyErr_Occurred()) return NULL
;
6346 } Py_INCREF(Py_None
);
6347 _resultobj
= Py_None
;
6351 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6353 wxNotifyEvent
*dest
;
6354 src
= (wxTreeEvent
*) ptr
;
6355 dest
= (wxNotifyEvent
*) src
;
6356 return (void *) dest
;
6359 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6361 wxCommandEvent
*dest
;
6362 src
= (wxTreeEvent
*) ptr
;
6363 dest
= (wxCommandEvent
*) src
;
6364 return (void *) dest
;
6367 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6370 src
= (wxTreeEvent
*) ptr
;
6371 dest
= (wxEvent
*) src
;
6372 return (void *) dest
;
6375 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6378 src
= (wxTreeEvent
*) ptr
;
6379 dest
= (wxObject
*) src
;
6380 return (void *) dest
;
6383 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6384 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6386 wxTreeEvent
* _result
;
6387 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6388 int _arg1
= (int ) 0;
6389 char *_kwnames
[] = { "commandType","id", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6399 wxPy_END_ALLOW_THREADS
;
6400 if (PyErr_Occurred()) return NULL
;
6402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6403 _resultobj
= Py_BuildValue("s",_ptemp
);
6406 _resultobj
= Py_None
;
6411 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6412 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6414 wxTreeItemId
* _result
;
6415 wxTreeEvent
* _arg0
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6431 wxPy_BEGIN_ALLOW_THREADS
;
6432 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6434 wxPy_END_ALLOW_THREADS
;
6435 if (PyErr_Occurred()) return NULL
;
6436 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6437 _resultobj
= Py_BuildValue("s",_ptemp
);
6441 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6442 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
* _resultobj
;
6444 wxTreeItemId
* _result
;
6445 wxTreeEvent
* _arg0
;
6446 PyObject
* _argo0
= 0;
6447 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6464 wxPy_END_ALLOW_THREADS
;
6465 if (PyErr_Occurred()) return NULL
;
6466 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6467 _resultobj
= Py_BuildValue("s",_ptemp
);
6471 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6472 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6475 wxTreeEvent
* _arg0
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6494 wxPy_END_ALLOW_THREADS
;
6495 if (PyErr_Occurred()) return NULL
;
6496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6497 _resultobj
= Py_BuildValue("s",_ptemp
);
6501 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6502 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6505 wxTreeEvent
* _arg0
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6520 wxPy_BEGIN_ALLOW_THREADS
;
6521 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6523 wxPy_END_ALLOW_THREADS
;
6524 if (PyErr_Occurred()) return NULL
;
6525 } _resultobj
= Py_BuildValue("i",_result
);
6529 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6530 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6533 wxTreeEvent
* _arg0
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_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_GetLabel. Expected _wxTreeEvent_p.");
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6550 _result
= (wxString
*) &_result_ref
;
6552 wxPy_END_ALLOW_THREADS
;
6553 if (PyErr_Occurred()) return NULL
;
6555 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6560 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6563 src
= (wxPyTreeCtrl
*) ptr
;
6564 dest
= (wxControl
*) src
;
6565 return (void *) dest
;
6568 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6571 src
= (wxPyTreeCtrl
*) ptr
;
6572 dest
= (wxWindow
*) src
;
6573 return (void *) dest
;
6576 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6579 src
= (wxPyTreeCtrl
*) ptr
;
6580 dest
= (wxEvtHandler
*) src
;
6581 return (void *) dest
;
6584 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6587 src
= (wxPyTreeCtrl
*) ptr
;
6588 dest
= (wxObject
*) src
;
6589 return (void *) dest
;
6592 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6593 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6595 wxPyTreeCtrl
* _result
;
6597 wxWindowID _arg1
= (wxWindowID
) -1;
6598 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6599 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6600 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6601 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6602 char * _arg6
= (char *) "wxTreeCtrl";
6603 PyObject
* _argo0
= 0;
6605 PyObject
* _obj2
= 0;
6607 PyObject
* _obj3
= 0;
6608 PyObject
* _argo5
= 0;
6609 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6625 if (! wxPoint_helper(_obj2
, &_arg2
))
6631 if (! wxSize_helper(_obj3
, &_arg3
))
6635 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6642 wxPy_BEGIN_ALLOW_THREADS
;
6643 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6645 wxPy_END_ALLOW_THREADS
;
6646 if (PyErr_Occurred()) return NULL
;
6648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6649 _resultobj
= Py_BuildValue("s",_ptemp
);
6652 _resultobj
= Py_None
;
6657 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6658 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6660 wxPyTreeCtrl
* _result
;
6661 char *_kwnames
[] = { NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6668 wxPy_BEGIN_ALLOW_THREADS
;
6669 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6671 wxPy_END_ALLOW_THREADS
;
6672 if (PyErr_Occurred()) return NULL
;
6674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6675 _resultobj
= Py_BuildValue("s",_ptemp
);
6678 _resultobj
= Py_None
;
6683 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6684 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6687 wxPyTreeCtrl
* _arg0
;
6689 wxWindowID _arg2
= (wxWindowID
) -1;
6690 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6691 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6692 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6693 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6694 char * _arg7
= (char *) "wxTreeCtrl";
6695 PyObject
* _argo0
= 0;
6696 PyObject
* _argo1
= 0;
6698 PyObject
* _obj3
= 0;
6700 PyObject
* _obj4
= 0;
6701 PyObject
* _argo6
= 0;
6702 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6724 if (! wxPoint_helper(_obj3
, &_arg3
))
6730 if (! wxSize_helper(_obj4
, &_arg4
))
6734 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6741 wxPy_BEGIN_ALLOW_THREADS
;
6742 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6744 wxPy_END_ALLOW_THREADS
;
6745 if (PyErr_Occurred()) return NULL
;
6746 } _resultobj
= Py_BuildValue("i",_result
);
6750 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
6751 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
* _resultobj
;
6753 wxPyTreeCtrl
* _arg0
;
6756 PyObject
* _argo0
= 0;
6757 PyObject
* _obj1
= 0;
6758 PyObject
* _obj2
= 0;
6759 char *_kwnames
[] = { "self","self","_class", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
6778 wxPy_BEGIN_ALLOW_THREADS
;
6779 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
6781 wxPy_END_ALLOW_THREADS
;
6782 if (PyErr_Occurred()) return NULL
;
6783 } Py_INCREF(Py_None
);
6784 _resultobj
= Py_None
;
6788 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6789 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6792 wxPyTreeCtrl
* _arg0
;
6793 PyObject
* _argo0
= 0;
6794 char *_kwnames
[] = { "self", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6807 wxPy_BEGIN_ALLOW_THREADS
;
6808 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6810 wxPy_END_ALLOW_THREADS
;
6811 if (PyErr_Occurred()) return NULL
;
6812 } _resultobj
= Py_BuildValue("i",_result
);
6816 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6817 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6819 unsigned int _result
;
6820 wxPyTreeCtrl
* _arg0
;
6821 PyObject
* _argo0
= 0;
6822 char *_kwnames
[] = { "self", NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6835 wxPy_BEGIN_ALLOW_THREADS
;
6836 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6838 wxPy_END_ALLOW_THREADS
;
6839 if (PyErr_Occurred()) return NULL
;
6840 } _resultobj
= Py_BuildValue("i",_result
);
6844 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6845 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6847 wxPyTreeCtrl
* _arg0
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self","indent", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6863 wxPy_BEGIN_ALLOW_THREADS
;
6864 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6866 wxPy_END_ALLOW_THREADS
;
6867 if (PyErr_Occurred()) return NULL
;
6868 } Py_INCREF(Py_None
);
6869 _resultobj
= Py_None
;
6873 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6874 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6876 wxImageList
* _result
;
6877 wxPyTreeCtrl
* _arg0
;
6878 PyObject
* _argo0
= 0;
6879 char *_kwnames
[] = { "self", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6892 wxPy_BEGIN_ALLOW_THREADS
;
6893 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6895 wxPy_END_ALLOW_THREADS
;
6896 if (PyErr_Occurred()) return NULL
;
6897 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6901 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6902 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6904 wxImageList
* _result
;
6905 wxPyTreeCtrl
* _arg0
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6920 wxPy_BEGIN_ALLOW_THREADS
;
6921 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6923 wxPy_END_ALLOW_THREADS
;
6924 if (PyErr_Occurred()) return NULL
;
6925 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6929 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6930 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6932 wxPyTreeCtrl
* _arg0
;
6933 wxImageList
* _arg1
;
6934 PyObject
* _argo0
= 0;
6935 PyObject
* _argo1
= 0;
6936 char *_kwnames
[] = { "self","imageList", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6956 wxPy_BEGIN_ALLOW_THREADS
;
6957 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6959 wxPy_END_ALLOW_THREADS
;
6960 if (PyErr_Occurred()) return NULL
;
6961 } Py_INCREF(Py_None
);
6962 _resultobj
= Py_None
;
6966 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6967 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
* _resultobj
;
6969 wxPyTreeCtrl
* _arg0
;
6970 wxImageList
* _arg1
;
6971 PyObject
* _argo0
= 0;
6972 PyObject
* _argo1
= 0;
6973 char *_kwnames
[] = { "self","imageList", NULL
};
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6993 wxPy_BEGIN_ALLOW_THREADS
;
6994 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6996 wxPy_END_ALLOW_THREADS
;
6997 if (PyErr_Occurred()) return NULL
;
6998 } Py_INCREF(Py_None
);
6999 _resultobj
= Py_None
;
7003 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7004 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7006 wxPyTreeCtrl
* _arg0
;
7007 wxImageList
* _arg1
;
7008 PyObject
* _argo0
= 0;
7009 PyObject
* _argo1
= 0;
7010 char *_kwnames
[] = { "self","imageList", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7030 wxPy_BEGIN_ALLOW_THREADS
;
7031 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7033 wxPy_END_ALLOW_THREADS
;
7034 if (PyErr_Occurred()) return NULL
;
7035 } Py_INCREF(Py_None
);
7036 _resultobj
= Py_None
;
7040 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7041 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7043 wxPyTreeCtrl
* _arg0
;
7044 wxImageList
* _arg1
;
7045 PyObject
* _argo0
= 0;
7046 PyObject
* _argo1
= 0;
7047 char *_kwnames
[] = { "self","imageList", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7067 wxPy_BEGIN_ALLOW_THREADS
;
7068 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7070 wxPy_END_ALLOW_THREADS
;
7071 if (PyErr_Occurred()) return NULL
;
7072 } Py_INCREF(Py_None
);
7073 _resultobj
= Py_None
;
7077 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7078 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7080 unsigned int _result
;
7081 wxPyTreeCtrl
* _arg0
;
7082 PyObject
* _argo0
= 0;
7083 char *_kwnames
[] = { "self", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7096 wxPy_BEGIN_ALLOW_THREADS
;
7097 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7099 wxPy_END_ALLOW_THREADS
;
7100 if (PyErr_Occurred()) return NULL
;
7101 } _resultobj
= Py_BuildValue("i",_result
);
7105 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7106 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7108 wxPyTreeCtrl
* _arg0
;
7110 PyObject
* _argo0
= 0;
7111 char *_kwnames
[] = { "self","spacing", NULL
};
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7124 wxPy_BEGIN_ALLOW_THREADS
;
7125 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7127 wxPy_END_ALLOW_THREADS
;
7128 if (PyErr_Occurred()) return NULL
;
7129 } Py_INCREF(Py_None
);
7130 _resultobj
= Py_None
;
7134 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7135 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7138 wxPyTreeCtrl
* _arg0
;
7139 wxTreeItemId
* _arg1
;
7140 PyObject
* _argo0
= 0;
7141 PyObject
* _argo1
= 0;
7142 char *_kwnames
[] = { "self","item", NULL
};
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7162 wxPy_BEGIN_ALLOW_THREADS
;
7163 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7165 wxPy_END_ALLOW_THREADS
;
7166 if (PyErr_Occurred()) return NULL
;
7168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7176 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7177 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7180 wxPyTreeCtrl
* _arg0
;
7181 wxTreeItemId
* _arg1
;
7182 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7183 PyObject
* _argo0
= 0;
7184 PyObject
* _argo1
= 0;
7185 char *_kwnames
[] = { "self","item","which", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7205 wxPy_BEGIN_ALLOW_THREADS
;
7206 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7208 wxPy_END_ALLOW_THREADS
;
7209 if (PyErr_Occurred()) return NULL
;
7210 } _resultobj
= Py_BuildValue("i",_result
);
7214 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7215 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7218 wxPyTreeCtrl
* _arg0
;
7219 wxTreeItemId
* _arg1
;
7220 PyObject
* _argo0
= 0;
7221 PyObject
* _argo1
= 0;
7222 char *_kwnames
[] = { "self","item", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7245 wxPy_END_ALLOW_THREADS
;
7246 if (PyErr_Occurred()) return NULL
;
7247 } _resultobj
= Py_BuildValue("i",_result
);
7251 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7252 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7254 wxPyTreeCtrl
* _arg0
;
7255 wxTreeItemId
* _arg1
;
7257 PyObject
* _argo0
= 0;
7258 PyObject
* _argo1
= 0;
7259 PyObject
* _obj2
= 0;
7260 char *_kwnames
[] = { "self","item","text", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7280 #if PYTHON_API_VERSION >= 1009
7281 char* tmpPtr
; int tmpSize
;
7282 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7286 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7288 _arg2
= new wxString(tmpPtr
, tmpSize
);
7290 if (!PyString_Check(_obj2
)) {
7291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7294 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7298 wxPy_BEGIN_ALLOW_THREADS
;
7299 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7301 wxPy_END_ALLOW_THREADS
;
7302 if (PyErr_Occurred()) return NULL
;
7303 } Py_INCREF(Py_None
);
7304 _resultobj
= Py_None
;
7312 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7313 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7315 wxPyTreeCtrl
* _arg0
;
7316 wxTreeItemId
* _arg1
;
7318 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7319 PyObject
* _argo0
= 0;
7320 PyObject
* _argo1
= 0;
7321 char *_kwnames
[] = { "self","item","image","which", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7341 wxPy_BEGIN_ALLOW_THREADS
;
7342 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7344 wxPy_END_ALLOW_THREADS
;
7345 if (PyErr_Occurred()) return NULL
;
7346 } Py_INCREF(Py_None
);
7347 _resultobj
= Py_None
;
7351 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7352 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
* _resultobj
;
7354 wxPyTreeCtrl
* _arg0
;
7355 wxTreeItemId
* _arg1
;
7357 PyObject
* _argo0
= 0;
7358 PyObject
* _argo1
= 0;
7359 char *_kwnames
[] = { "self","item","image", NULL
};
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7379 wxPy_BEGIN_ALLOW_THREADS
;
7380 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7382 wxPy_END_ALLOW_THREADS
;
7383 if (PyErr_Occurred()) return NULL
;
7384 } Py_INCREF(Py_None
);
7385 _resultobj
= Py_None
;
7389 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7390 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7392 wxPyTreeCtrl
* _arg0
;
7393 wxTreeItemId
* _arg1
;
7394 bool _arg2
= (bool ) TRUE
;
7395 PyObject
* _argo0
= 0;
7396 PyObject
* _argo1
= 0;
7397 int tempbool2
= (int) TRUE
;
7398 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7417 _arg2
= (bool ) tempbool2
;
7419 wxPy_BEGIN_ALLOW_THREADS
;
7420 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7422 wxPy_END_ALLOW_THREADS
;
7423 if (PyErr_Occurred()) return NULL
;
7424 } Py_INCREF(Py_None
);
7425 _resultobj
= Py_None
;
7429 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7430 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7432 data
= new wxPyTreeItemData();
7433 data
->SetId(item
); // set the id
7434 self
->SetItemData(item
, data
);
7438 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7440 wxPyTreeItemData
* _result
;
7441 wxPyTreeCtrl
* _arg0
;
7442 wxTreeItemId
* _arg1
;
7443 PyObject
* _argo0
= 0;
7444 PyObject
* _argo1
= 0;
7445 char *_kwnames
[] = { "self","item", NULL
};
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
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_GetItemData. 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_GetItemData. Expected _wxTreeItemId_p.");
7466 wxPy_BEGIN_ALLOW_THREADS
;
7467 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7469 wxPy_END_ALLOW_THREADS
;
7470 if (PyErr_Occurred()) return NULL
;
7472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7473 _resultobj
= Py_BuildValue("s",_ptemp
);
7476 _resultobj
= Py_None
;
7481 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7482 data
->SetId(item
); // set the id
7483 self
->SetItemData(item
, data
);
7485 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7487 wxPyTreeCtrl
* _arg0
;
7488 wxTreeItemId
* _arg1
;
7489 wxPyTreeItemData
* _arg2
;
7490 PyObject
* _argo0
= 0;
7491 PyObject
* _argo1
= 0;
7492 PyObject
* _argo2
= 0;
7493 char *_kwnames
[] = { "self","item","data", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7513 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7520 wxPy_BEGIN_ALLOW_THREADS
;
7521 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7523 wxPy_END_ALLOW_THREADS
;
7524 if (PyErr_Occurred()) return NULL
;
7525 } Py_INCREF(Py_None
);
7526 _resultobj
= Py_None
;
7530 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7531 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7533 data
= new wxPyTreeItemData();
7534 data
->SetId(item
); // set the id
7535 self
->SetItemData(item
, data
);
7537 return data
->GetData();
7539 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7542 wxPyTreeCtrl
* _arg0
;
7543 wxTreeItemId
* _arg1
;
7544 PyObject
* _argo0
= 0;
7545 PyObject
* _argo1
= 0;
7546 char *_kwnames
[] = { "self","item", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7566 wxPy_BEGIN_ALLOW_THREADS
;
7567 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7569 wxPy_END_ALLOW_THREADS
;
7570 if (PyErr_Occurred()) return NULL
;
7572 _resultobj
= _result
;
7577 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7578 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7580 data
= new wxPyTreeItemData(obj
);
7581 data
->SetId(item
); // set the id
7582 self
->SetItemData(item
, data
);
7586 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
* _resultobj
;
7588 wxPyTreeCtrl
* _arg0
;
7589 wxTreeItemId
* _arg1
;
7591 PyObject
* _argo0
= 0;
7592 PyObject
* _argo1
= 0;
7593 PyObject
* _obj2
= 0;
7594 char *_kwnames
[] = { "self","item","obj", NULL
};
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7617 wxPy_BEGIN_ALLOW_THREADS
;
7618 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7620 wxPy_END_ALLOW_THREADS
;
7621 if (PyErr_Occurred()) return NULL
;
7622 } Py_INCREF(Py_None
);
7623 _resultobj
= Py_None
;
7627 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7628 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
* _resultobj
;
7631 wxPyTreeCtrl
* _arg0
;
7632 wxTreeItemId
* _arg1
;
7633 PyObject
* _argo0
= 0;
7634 PyObject
* _argo1
= 0;
7635 char *_kwnames
[] = { "self","item", NULL
};
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7655 wxPy_BEGIN_ALLOW_THREADS
;
7656 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7658 wxPy_END_ALLOW_THREADS
;
7659 if (PyErr_Occurred()) return NULL
;
7660 } _resultobj
= Py_BuildValue("i",_result
);
7664 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7665 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
* _resultobj
;
7668 wxPyTreeCtrl
* _arg0
;
7669 wxTreeItemId
* _arg1
;
7670 PyObject
* _argo0
= 0;
7671 PyObject
* _argo1
= 0;
7672 char *_kwnames
[] = { "self","item", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7692 wxPy_BEGIN_ALLOW_THREADS
;
7693 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7695 wxPy_END_ALLOW_THREADS
;
7696 if (PyErr_Occurred()) return NULL
;
7697 } _resultobj
= Py_BuildValue("i",_result
);
7701 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7702 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7705 wxPyTreeCtrl
* _arg0
;
7706 wxTreeItemId
* _arg1
;
7707 PyObject
* _argo0
= 0;
7708 PyObject
* _argo1
= 0;
7709 char *_kwnames
[] = { "self","item", NULL
};
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7729 wxPy_BEGIN_ALLOW_THREADS
;
7730 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7732 wxPy_END_ALLOW_THREADS
;
7733 if (PyErr_Occurred()) return NULL
;
7734 } _resultobj
= Py_BuildValue("i",_result
);
7738 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7739 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7742 wxPyTreeCtrl
* _arg0
;
7743 wxTreeItemId
* _arg1
;
7744 PyObject
* _argo0
= 0;
7745 PyObject
* _argo1
= 0;
7746 char *_kwnames
[] = { "self","item", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7766 wxPy_BEGIN_ALLOW_THREADS
;
7767 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7769 wxPy_END_ALLOW_THREADS
;
7770 if (PyErr_Occurred()) return NULL
;
7771 } _resultobj
= Py_BuildValue("i",_result
);
7775 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7776 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7778 wxTreeItemId
* _result
;
7779 wxPyTreeCtrl
* _arg0
;
7780 PyObject
* _argo0
= 0;
7781 char *_kwnames
[] = { "self", NULL
};
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7795 wxPy_BEGIN_ALLOW_THREADS
;
7796 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7798 wxPy_END_ALLOW_THREADS
;
7799 if (PyErr_Occurred()) return NULL
;
7800 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7801 _resultobj
= Py_BuildValue("s",_ptemp
);
7805 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7806 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7808 wxTreeItemId
* _result
;
7809 wxPyTreeCtrl
* _arg0
;
7810 PyObject
* _argo0
= 0;
7811 char *_kwnames
[] = { "self", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7825 wxPy_BEGIN_ALLOW_THREADS
;
7826 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7828 wxPy_END_ALLOW_THREADS
;
7829 if (PyErr_Occurred()) return NULL
;
7830 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7831 _resultobj
= Py_BuildValue("s",_ptemp
);
7835 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7836 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7838 wxTreeItemId
* _result
;
7839 wxPyTreeCtrl
* _arg0
;
7840 wxTreeItemId
* _arg1
;
7841 PyObject
* _argo0
= 0;
7842 PyObject
* _argo1
= 0;
7843 char *_kwnames
[] = { "self","item", NULL
};
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7864 wxPy_BEGIN_ALLOW_THREADS
;
7865 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7867 wxPy_END_ALLOW_THREADS
;
7868 if (PyErr_Occurred()) return NULL
;
7869 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7870 _resultobj
= Py_BuildValue("s",_ptemp
);
7874 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7875 wxPyTState
* state
= wxPyBeginBlockThreads();
7876 PyObject
* rval
= PyList_New(0);
7877 wxArrayTreeItemIds array
;
7879 num
= self
->GetSelections(array
);
7880 for (x
=0; x
< num
; x
++) {
7881 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7882 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7883 PyList_Append(rval
, item
);
7885 wxPyEndBlockThreads(state
);
7888 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
* _resultobj
;
7891 wxPyTreeCtrl
* _arg0
;
7892 PyObject
* _argo0
= 0;
7893 char *_kwnames
[] = { "self", NULL
};
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7906 wxPy_BEGIN_ALLOW_THREADS
;
7907 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7909 wxPy_END_ALLOW_THREADS
;
7910 if (PyErr_Occurred()) return NULL
;
7912 _resultobj
= _result
;
7917 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7918 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7921 wxPyTreeCtrl
* _arg0
;
7922 wxTreeItemId
* _arg1
;
7923 bool _arg2
= (bool ) TRUE
;
7924 PyObject
* _argo0
= 0;
7925 PyObject
* _argo1
= 0;
7926 int tempbool2
= (int) TRUE
;
7927 char *_kwnames
[] = { "self","item","recursively", NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7946 _arg2
= (bool ) tempbool2
;
7948 wxPy_BEGIN_ALLOW_THREADS
;
7949 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7951 wxPy_END_ALLOW_THREADS
;
7952 if (PyErr_Occurred()) return NULL
;
7953 } _resultobj
= Py_BuildValue("i",_result
);
7957 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7958 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
* _resultobj
;
7960 wxTreeItemId
* _result
;
7961 wxPyTreeCtrl
* _arg0
;
7962 wxTreeItemId
* _arg1
;
7964 PyObject
* _argo0
= 0;
7965 PyObject
* _argo1
= 0;
7967 PyObject
* _obj2
= 0;
7968 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7989 temp
= (long) PyInt_AsLong(_obj2
);
7993 wxPy_BEGIN_ALLOW_THREADS
;
7994 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7996 wxPy_END_ALLOW_THREADS
;
7997 if (PyErr_Occurred()) return NULL
;
7998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7999 _resultobj
= Py_BuildValue("s",_ptemp
);
8002 o
= PyInt_FromLong((long) (*_arg2
));
8003 _resultobj
= t_output_helper(_resultobj
, o
);
8008 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8009 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
* _resultobj
;
8011 wxTreeItemId
* _result
;
8012 wxPyTreeCtrl
* _arg0
;
8013 wxTreeItemId
* _arg1
;
8015 PyObject
* _argo0
= 0;
8016 PyObject
* _argo1
= 0;
8018 PyObject
* _obj2
= 0;
8019 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8040 temp
= (long) PyInt_AsLong(_obj2
);
8044 wxPy_BEGIN_ALLOW_THREADS
;
8045 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8047 wxPy_END_ALLOW_THREADS
;
8048 if (PyErr_Occurred()) return NULL
;
8049 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8050 _resultobj
= Py_BuildValue("s",_ptemp
);
8053 o
= PyInt_FromLong((long) (*_arg2
));
8054 _resultobj
= t_output_helper(_resultobj
, o
);
8059 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8060 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
* _resultobj
;
8062 wxTreeItemId
* _result
;
8063 wxPyTreeCtrl
* _arg0
;
8064 wxTreeItemId
* _arg1
;
8065 PyObject
* _argo0
= 0;
8066 PyObject
* _argo1
= 0;
8067 char *_kwnames
[] = { "self","item", NULL
};
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8088 wxPy_BEGIN_ALLOW_THREADS
;
8089 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8091 wxPy_END_ALLOW_THREADS
;
8092 if (PyErr_Occurred()) return NULL
;
8093 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8094 _resultobj
= Py_BuildValue("s",_ptemp
);
8098 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8099 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
* _resultobj
;
8101 wxTreeItemId
* _result
;
8102 wxPyTreeCtrl
* _arg0
;
8103 wxTreeItemId
* _arg1
;
8104 PyObject
* _argo0
= 0;
8105 PyObject
* _argo1
= 0;
8106 char *_kwnames
[] = { "self","item", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
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_GetPrevSibling. 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_GetPrevSibling. Expected _wxTreeItemId_p.");
8127 wxPy_BEGIN_ALLOW_THREADS
;
8128 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8130 wxPy_END_ALLOW_THREADS
;
8131 if (PyErr_Occurred()) return NULL
;
8132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8133 _resultobj
= Py_BuildValue("s",_ptemp
);
8137 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8138 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8140 wxTreeItemId
* _result
;
8141 wxPyTreeCtrl
* _arg0
;
8142 PyObject
* _argo0
= 0;
8143 char *_kwnames
[] = { "self", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8157 wxPy_BEGIN_ALLOW_THREADS
;
8158 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8160 wxPy_END_ALLOW_THREADS
;
8161 if (PyErr_Occurred()) return NULL
;
8162 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8163 _resultobj
= Py_BuildValue("s",_ptemp
);
8167 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8168 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
* _resultobj
;
8170 wxTreeItemId
* _result
;
8171 wxPyTreeCtrl
* _arg0
;
8172 wxTreeItemId
* _arg1
;
8173 PyObject
* _argo0
= 0;
8174 PyObject
* _argo1
= 0;
8175 char *_kwnames
[] = { "self","item", NULL
};
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8196 wxPy_BEGIN_ALLOW_THREADS
;
8197 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8199 wxPy_END_ALLOW_THREADS
;
8200 if (PyErr_Occurred()) return NULL
;
8201 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8202 _resultobj
= Py_BuildValue("s",_ptemp
);
8206 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8207 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
* _resultobj
;
8209 wxTreeItemId
* _result
;
8210 wxPyTreeCtrl
* _arg0
;
8211 wxTreeItemId
* _arg1
;
8212 PyObject
* _argo0
= 0;
8213 PyObject
* _argo1
= 0;
8214 char *_kwnames
[] = { "self","item", NULL
};
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8235 wxPy_BEGIN_ALLOW_THREADS
;
8236 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8238 wxPy_END_ALLOW_THREADS
;
8239 if (PyErr_Occurred()) return NULL
;
8240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8241 _resultobj
= Py_BuildValue("s",_ptemp
);
8245 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8246 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
* _resultobj
;
8248 wxTreeItemId
* _result
;
8249 wxPyTreeCtrl
* _arg0
;
8250 wxTreeItemId
* _arg1
;
8251 PyObject
* _argo0
= 0;
8252 PyObject
* _argo1
= 0;
8253 char *_kwnames
[] = { "self","item", NULL
};
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8274 wxPy_BEGIN_ALLOW_THREADS
;
8275 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8277 wxPy_END_ALLOW_THREADS
;
8278 if (PyErr_Occurred()) return NULL
;
8279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8280 _resultobj
= Py_BuildValue("s",_ptemp
);
8284 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8285 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
* _resultobj
;
8287 wxTreeItemId
* _result
;
8288 wxPyTreeCtrl
* _arg0
;
8290 int _arg2
= (int ) -1;
8291 int _arg3
= (int ) -1;
8292 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8293 PyObject
* _argo0
= 0;
8294 PyObject
* _obj1
= 0;
8295 PyObject
* _argo4
= 0;
8296 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8310 #if PYTHON_API_VERSION >= 1009
8311 char* tmpPtr
; int tmpSize
;
8312 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8316 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8318 _arg1
= new wxString(tmpPtr
, tmpSize
);
8320 if (!PyString_Check(_obj1
)) {
8321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8324 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8328 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8335 wxPy_BEGIN_ALLOW_THREADS
;
8336 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8338 wxPy_END_ALLOW_THREADS
;
8339 if (PyErr_Occurred()) return NULL
;
8340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8341 _resultobj
= Py_BuildValue("s",_ptemp
);
8349 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8350 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
* _resultobj
;
8352 wxTreeItemId
* _result
;
8353 wxPyTreeCtrl
* _arg0
;
8354 wxTreeItemId
* _arg1
;
8356 int _arg3
= (int ) -1;
8357 int _arg4
= (int ) -1;
8358 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8359 PyObject
* _argo0
= 0;
8360 PyObject
* _argo1
= 0;
8361 PyObject
* _obj2
= 0;
8362 PyObject
* _argo5
= 0;
8363 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8384 #if PYTHON_API_VERSION >= 1009
8385 char* tmpPtr
; int tmpSize
;
8386 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8390 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8392 _arg2
= new wxString(tmpPtr
, tmpSize
);
8394 if (!PyString_Check(_obj2
)) {
8395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8398 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8402 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8403 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8409 wxPy_BEGIN_ALLOW_THREADS
;
8410 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8412 wxPy_END_ALLOW_THREADS
;
8413 if (PyErr_Occurred()) return NULL
;
8414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8415 _resultobj
= Py_BuildValue("s",_ptemp
);
8423 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8424 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
* _resultobj
;
8426 wxTreeItemId
* _result
;
8427 wxPyTreeCtrl
* _arg0
;
8428 wxTreeItemId
* _arg1
;
8429 wxTreeItemId
* _arg2
;
8431 int _arg4
= (int ) -1;
8432 int _arg5
= (int ) -1;
8433 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8434 PyObject
* _argo0
= 0;
8435 PyObject
* _argo1
= 0;
8436 PyObject
* _argo2
= 0;
8437 PyObject
* _obj3
= 0;
8438 PyObject
* _argo6
= 0;
8439 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8453 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8460 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8461 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8467 #if PYTHON_API_VERSION >= 1009
8468 char* tmpPtr
; int tmpSize
;
8469 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8473 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8475 _arg3
= new wxString(tmpPtr
, tmpSize
);
8477 if (!PyString_Check(_obj3
)) {
8478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8481 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8485 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8486 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8492 wxPy_BEGIN_ALLOW_THREADS
;
8493 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8495 wxPy_END_ALLOW_THREADS
;
8496 if (PyErr_Occurred()) return NULL
;
8497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8498 _resultobj
= Py_BuildValue("s",_ptemp
);
8506 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8507 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
* _resultobj
;
8509 wxTreeItemId
* _result
;
8510 wxPyTreeCtrl
* _arg0
;
8511 wxTreeItemId
* _arg1
;
8514 int _arg4
= (int ) -1;
8515 int _arg5
= (int ) -1;
8516 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8517 PyObject
* _argo0
= 0;
8518 PyObject
* _argo1
= 0;
8519 PyObject
* _obj3
= 0;
8520 PyObject
* _argo6
= 0;
8521 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8542 #if PYTHON_API_VERSION >= 1009
8543 char* tmpPtr
; int tmpSize
;
8544 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8548 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8550 _arg3
= new wxString(tmpPtr
, tmpSize
);
8552 if (!PyString_Check(_obj3
)) {
8553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8556 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8560 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8561 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8567 wxPy_BEGIN_ALLOW_THREADS
;
8568 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8570 wxPy_END_ALLOW_THREADS
;
8571 if (PyErr_Occurred()) return NULL
;
8572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8573 _resultobj
= Py_BuildValue("s",_ptemp
);
8581 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8582 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
* _resultobj
;
8584 wxTreeItemId
* _result
;
8585 wxPyTreeCtrl
* _arg0
;
8586 wxTreeItemId
* _arg1
;
8588 int _arg3
= (int ) -1;
8589 int _arg4
= (int ) -1;
8590 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8591 PyObject
* _argo0
= 0;
8592 PyObject
* _argo1
= 0;
8593 PyObject
* _obj2
= 0;
8594 PyObject
* _argo5
= 0;
8595 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8616 #if PYTHON_API_VERSION >= 1009
8617 char* tmpPtr
; int tmpSize
;
8618 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8622 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8624 _arg2
= new wxString(tmpPtr
, tmpSize
);
8626 if (!PyString_Check(_obj2
)) {
8627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8630 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8634 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8635 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8641 wxPy_BEGIN_ALLOW_THREADS
;
8642 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8644 wxPy_END_ALLOW_THREADS
;
8645 if (PyErr_Occurred()) return NULL
;
8646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8647 _resultobj
= Py_BuildValue("s",_ptemp
);
8655 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8656 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
* _resultobj
;
8658 wxPyTreeCtrl
* _arg0
;
8659 wxTreeItemId
* _arg1
;
8660 PyObject
* _argo0
= 0;
8661 PyObject
* _argo1
= 0;
8662 char *_kwnames
[] = { "self","item", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8682 wxPy_BEGIN_ALLOW_THREADS
;
8683 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8685 wxPy_END_ALLOW_THREADS
;
8686 if (PyErr_Occurred()) return NULL
;
8687 } Py_INCREF(Py_None
);
8688 _resultobj
= Py_None
;
8692 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8693 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
* _resultobj
;
8695 wxPyTreeCtrl
* _arg0
;
8696 wxTreeItemId
* _arg1
;
8697 PyObject
* _argo0
= 0;
8698 PyObject
* _argo1
= 0;
8699 char *_kwnames
[] = { "self","item", NULL
};
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8719 wxPy_BEGIN_ALLOW_THREADS
;
8720 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8722 wxPy_END_ALLOW_THREADS
;
8723 if (PyErr_Occurred()) return NULL
;
8724 } Py_INCREF(Py_None
);
8725 _resultobj
= Py_None
;
8729 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8730 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
* _resultobj
;
8732 wxPyTreeCtrl
* _arg0
;
8733 PyObject
* _argo0
= 0;
8734 char *_kwnames
[] = { "self", NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8747 wxPy_BEGIN_ALLOW_THREADS
;
8748 wxTreeCtrl_DeleteAllItems(_arg0
);
8750 wxPy_END_ALLOW_THREADS
;
8751 if (PyErr_Occurred()) return NULL
;
8752 } Py_INCREF(Py_None
);
8753 _resultobj
= Py_None
;
8757 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8758 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
* _resultobj
;
8760 wxPyTreeCtrl
* _arg0
;
8761 wxTreeItemId
* _arg1
;
8762 PyObject
* _argo0
= 0;
8763 PyObject
* _argo1
= 0;
8764 char *_kwnames
[] = { "self","item", NULL
};
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8784 wxPy_BEGIN_ALLOW_THREADS
;
8785 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8787 wxPy_END_ALLOW_THREADS
;
8788 if (PyErr_Occurred()) return NULL
;
8789 } Py_INCREF(Py_None
);
8790 _resultobj
= Py_None
;
8794 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8795 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
* _resultobj
;
8797 wxPyTreeCtrl
* _arg0
;
8798 wxTreeItemId
* _arg1
;
8799 PyObject
* _argo0
= 0;
8800 PyObject
* _argo1
= 0;
8801 char *_kwnames
[] = { "self","item", NULL
};
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8821 wxPy_BEGIN_ALLOW_THREADS
;
8822 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8824 wxPy_END_ALLOW_THREADS
;
8825 if (PyErr_Occurred()) return NULL
;
8826 } Py_INCREF(Py_None
);
8827 _resultobj
= Py_None
;
8831 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8832 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
* _resultobj
;
8834 wxPyTreeCtrl
* _arg0
;
8835 wxTreeItemId
* _arg1
;
8836 PyObject
* _argo0
= 0;
8837 PyObject
* _argo1
= 0;
8838 char *_kwnames
[] = { "self","item", NULL
};
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8858 wxPy_BEGIN_ALLOW_THREADS
;
8859 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8861 wxPy_END_ALLOW_THREADS
;
8862 if (PyErr_Occurred()) return NULL
;
8863 } Py_INCREF(Py_None
);
8864 _resultobj
= Py_None
;
8868 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8869 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
* _resultobj
;
8871 wxPyTreeCtrl
* _arg0
;
8872 wxTreeItemId
* _arg1
;
8873 PyObject
* _argo0
= 0;
8874 PyObject
* _argo1
= 0;
8875 char *_kwnames
[] = { "self","item", NULL
};
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8895 wxPy_BEGIN_ALLOW_THREADS
;
8896 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8898 wxPy_END_ALLOW_THREADS
;
8899 if (PyErr_Occurred()) return NULL
;
8900 } Py_INCREF(Py_None
);
8901 _resultobj
= Py_None
;
8905 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8906 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
* _resultobj
;
8908 wxPyTreeCtrl
* _arg0
;
8909 PyObject
* _argo0
= 0;
8910 char *_kwnames
[] = { "self", NULL
};
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8923 wxPy_BEGIN_ALLOW_THREADS
;
8924 wxTreeCtrl_Unselect(_arg0
);
8926 wxPy_END_ALLOW_THREADS
;
8927 if (PyErr_Occurred()) return NULL
;
8928 } Py_INCREF(Py_None
);
8929 _resultobj
= Py_None
;
8933 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8934 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
* _resultobj
;
8936 wxPyTreeCtrl
* _arg0
;
8937 PyObject
* _argo0
= 0;
8938 char *_kwnames
[] = { "self", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8951 wxPy_BEGIN_ALLOW_THREADS
;
8952 wxTreeCtrl_UnselectAll(_arg0
);
8954 wxPy_END_ALLOW_THREADS
;
8955 if (PyErr_Occurred()) return NULL
;
8956 } Py_INCREF(Py_None
);
8957 _resultobj
= Py_None
;
8961 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8962 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
* _resultobj
;
8964 wxPyTreeCtrl
* _arg0
;
8965 wxTreeItemId
* _arg1
;
8966 PyObject
* _argo0
= 0;
8967 PyObject
* _argo1
= 0;
8968 char *_kwnames
[] = { "self","item", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8988 wxPy_BEGIN_ALLOW_THREADS
;
8989 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8991 wxPy_END_ALLOW_THREADS
;
8992 if (PyErr_Occurred()) return NULL
;
8993 } Py_INCREF(Py_None
);
8994 _resultobj
= Py_None
;
8998 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8999 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
* _resultobj
;
9001 wxPyTreeCtrl
* _arg0
;
9002 wxTreeItemId
* _arg1
;
9003 PyObject
* _argo0
= 0;
9004 PyObject
* _argo1
= 0;
9005 char *_kwnames
[] = { "self","item", NULL
};
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9025 wxPy_BEGIN_ALLOW_THREADS
;
9026 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9028 wxPy_END_ALLOW_THREADS
;
9029 if (PyErr_Occurred()) return NULL
;
9030 } Py_INCREF(Py_None
);
9031 _resultobj
= Py_None
;
9035 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9036 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
* _resultobj
;
9038 wxPyTreeCtrl
* _arg0
;
9039 wxTreeItemId
* _arg1
;
9040 PyObject
* _argo0
= 0;
9041 PyObject
* _argo1
= 0;
9042 char *_kwnames
[] = { "self","item", NULL
};
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9062 wxPy_BEGIN_ALLOW_THREADS
;
9063 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9065 wxPy_END_ALLOW_THREADS
;
9066 if (PyErr_Occurred()) return NULL
;
9067 } Py_INCREF(Py_None
);
9068 _resultobj
= Py_None
;
9072 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9073 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
* _resultobj
;
9075 wxPyTreeCtrl
* _arg0
;
9076 wxTreeItemId
* _arg1
;
9077 PyObject
* _argo0
= 0;
9078 PyObject
* _argo1
= 0;
9079 char *_kwnames
[] = { "self","item", NULL
};
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9099 wxPy_BEGIN_ALLOW_THREADS
;
9100 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9102 wxPy_END_ALLOW_THREADS
;
9103 if (PyErr_Occurred()) return NULL
;
9104 } Py_INCREF(Py_None
);
9105 _resultobj
= Py_None
;
9109 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9110 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9112 wxPyTreeCtrl
* _arg0
;
9113 wxTreeItemId
* _arg1
;
9114 PyObject
* _argo0
= 0;
9115 PyObject
* _argo1
= 0;
9116 char *_kwnames
[] = { "self","item", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9136 wxPy_BEGIN_ALLOW_THREADS
;
9137 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9139 wxPy_END_ALLOW_THREADS
;
9140 if (PyErr_Occurred()) return NULL
;
9141 } Py_INCREF(Py_None
);
9142 _resultobj
= Py_None
;
9146 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9147 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
* _resultobj
;
9149 wxPyTreeCtrl
* _arg0
;
9150 wxTreeItemId
* _arg1
;
9151 int _arg2
= (int ) TRUE
;
9152 PyObject
* _argo0
= 0;
9153 PyObject
* _argo1
= 0;
9154 char *_kwnames
[] = { "self","item","bold", NULL
};
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9174 wxPy_BEGIN_ALLOW_THREADS
;
9175 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9177 wxPy_END_ALLOW_THREADS
;
9178 if (PyErr_Occurred()) return NULL
;
9179 } Py_INCREF(Py_None
);
9180 _resultobj
= Py_None
;
9184 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9185 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
* _resultobj
;
9188 wxPyTreeCtrl
* _arg0
;
9189 wxTreeItemId
* _arg1
;
9190 PyObject
* _argo0
= 0;
9191 PyObject
* _argo1
= 0;
9192 char *_kwnames
[] = { "self","item", NULL
};
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9212 wxPy_BEGIN_ALLOW_THREADS
;
9213 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9215 wxPy_END_ALLOW_THREADS
;
9216 if (PyErr_Occurred()) return NULL
;
9217 } _resultobj
= Py_BuildValue("i",_result
);
9221 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9222 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
* _resultobj
;
9224 wxTreeItemId
* _result
;
9225 wxPyTreeCtrl
* _arg0
;
9229 PyObject
* _argo0
= 0;
9231 PyObject
* _obj1
= 0;
9232 char *_kwnames
[] = { "self","point", NULL
};
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9250 if (! wxPoint_helper(_obj1
, &_arg1
))
9254 wxPy_BEGIN_ALLOW_THREADS
;
9255 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9257 wxPy_END_ALLOW_THREADS
;
9258 if (PyErr_Occurred()) return NULL
;
9259 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9260 _resultobj
= Py_BuildValue("s",_ptemp
);
9263 o
= PyInt_FromLong((long) (*_arg2
));
9264 _resultobj
= t_output_helper(_resultobj
, o
);
9269 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9270 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
* _resultobj
;
9272 wxPyTreeCtrl
* _arg0
;
9273 wxTreeItemId
* _arg1
;
9275 PyObject
* _argo0
= 0;
9276 PyObject
* _argo1
= 0;
9278 PyObject
* _obj2
= 0;
9279 char *_kwnames
[] = { "self","item","col", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9300 if (! wxColour_helper(_obj2
, &_arg2
))
9304 wxPy_BEGIN_ALLOW_THREADS
;
9305 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9307 wxPy_END_ALLOW_THREADS
;
9308 if (PyErr_Occurred()) return NULL
;
9309 } Py_INCREF(Py_None
);
9310 _resultobj
= Py_None
;
9314 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9315 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9317 wxPyTreeCtrl
* _arg0
;
9318 wxTreeItemId
* _arg1
;
9320 PyObject
* _argo0
= 0;
9321 PyObject
* _argo1
= 0;
9323 PyObject
* _obj2
= 0;
9324 char *_kwnames
[] = { "self","item","col", NULL
};
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9345 if (! wxColour_helper(_obj2
, &_arg2
))
9349 wxPy_BEGIN_ALLOW_THREADS
;
9350 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9352 wxPy_END_ALLOW_THREADS
;
9353 if (PyErr_Occurred()) return NULL
;
9354 } Py_INCREF(Py_None
);
9355 _resultobj
= Py_None
;
9359 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9360 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
* _resultobj
;
9362 wxPyTreeCtrl
* _arg0
;
9363 wxTreeItemId
* _arg1
;
9365 PyObject
* _argo0
= 0;
9366 PyObject
* _argo1
= 0;
9367 PyObject
* _argo2
= 0;
9368 char *_kwnames
[] = { "self","item","font", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9388 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9389 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9395 wxPy_BEGIN_ALLOW_THREADS
;
9396 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9398 wxPy_END_ALLOW_THREADS
;
9399 if (PyErr_Occurred()) return NULL
;
9400 } Py_INCREF(Py_None
);
9401 _resultobj
= Py_None
;
9405 static PyMethodDef controls2cMethods
[] = {
9406 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
9407 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9408 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9409 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9410 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
9411 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
9412 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
9413 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9414 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
9415 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9416 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
9417 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
9418 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
9419 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9420 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
9421 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
9422 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
9423 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9424 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
9425 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9426 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9427 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
9428 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9429 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
9430 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
9431 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
9432 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
9433 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
9434 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
9435 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
9436 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
9437 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
9438 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9439 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
9440 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9441 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
9442 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9443 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
9444 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9445 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
9446 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9447 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9448 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9449 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9450 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9451 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9452 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9453 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9454 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9455 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9456 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9457 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9458 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9459 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9460 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9461 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9462 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9463 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9464 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9465 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9466 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9467 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9468 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9469 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9470 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9471 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9472 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9473 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9474 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9475 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9476 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9477 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9478 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "wxListCtrl__setSelf", (PyCFunction
) _wrap_wxListCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9667 * This table is used by the pointer type-checker
9669 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9670 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9671 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9672 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
9673 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9674 { "_signed_long","_long",0},
9675 { "_class_wxPyListCtrl","_class_wxListView",SwigwxListViewTowxPyListCtrl
},
9676 { "_class_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
9677 { "_wxPrintQuality","_wxCoord",0},
9678 { "_wxPrintQuality","_int",0},
9679 { "_wxPrintQuality","_signed_int",0},
9680 { "_wxPrintQuality","_unsigned_int",0},
9681 { "_wxPrintQuality","_wxWindowID",0},
9682 { "_wxPrintQuality","_uint",0},
9683 { "_wxPrintQuality","_EBool",0},
9684 { "_wxPrintQuality","_size_t",0},
9685 { "_wxPrintQuality","_time_t",0},
9686 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9687 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9688 { "_class_wxEvtHandler","_class_wxListView",SwigwxListViewTowxEvtHandler
},
9689 { "_class_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
9690 { "_class_wxEvtHandler","_class_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9691 { "_class_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9692 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9693 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9694 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9695 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9696 { "_byte","_unsigned_char",0},
9697 { "_long","_unsigned_long",0},
9698 { "_long","_signed_long",0},
9699 { "_class_wxObject","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9700 { "_class_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9701 { "_class_wxObject","_class_wxTreeEvent",SwigwxTreeEventTowxObject
},
9702 { "_class_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
9703 { "_class_wxObject","_class_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9704 { "_class_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9705 { "_class_wxObject","_class_wxListView",SwigwxListViewTowxObject
},
9706 { "_class_wxObject","_wxListView",SwigwxListViewTowxObject
},
9707 { "_class_wxObject","_class_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9708 { "_class_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9709 { "_class_wxObject","_class_wxListEvent",SwigwxListEventTowxObject
},
9710 { "_class_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
9711 { "_class_wxObject","_class_wxListItem",SwigwxListItemTowxObject
},
9712 { "_class_wxObject","_wxListItem",SwigwxListItemTowxObject
},
9713 { "_size_t","_wxCoord",0},
9714 { "_size_t","_wxPrintQuality",0},
9715 { "_size_t","_time_t",0},
9716 { "_size_t","_unsigned_int",0},
9717 { "_size_t","_int",0},
9718 { "_size_t","_wxWindowID",0},
9719 { "_size_t","_uint",0},
9720 { "_uint","_wxCoord",0},
9721 { "_uint","_wxPrintQuality",0},
9722 { "_uint","_time_t",0},
9723 { "_uint","_size_t",0},
9724 { "_uint","_unsigned_int",0},
9725 { "_uint","_int",0},
9726 { "_uint","_wxWindowID",0},
9727 { "_wxChar","_char",0},
9728 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9729 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9730 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
9731 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9732 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9733 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9734 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
9735 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9736 { "_char","_wxChar",0},
9737 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9738 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9739 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9740 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9741 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9742 { "_EBool","_wxCoord",0},
9743 { "_EBool","_wxPrintQuality",0},
9744 { "_EBool","_signed_int",0},
9745 { "_EBool","_int",0},
9746 { "_EBool","_wxWindowID",0},
9747 { "_unsigned_long","_long",0},
9748 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
9749 { "_signed_int","_wxCoord",0},
9750 { "_signed_int","_wxPrintQuality",0},
9751 { "_signed_int","_EBool",0},
9752 { "_signed_int","_wxWindowID",0},
9753 { "_signed_int","_int",0},
9754 { "_WXTYPE","_short",0},
9755 { "_WXTYPE","_signed_short",0},
9756 { "_WXTYPE","_unsigned_short",0},
9757 { "_unsigned_short","_WXTYPE",0},
9758 { "_unsigned_short","_short",0},
9759 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9760 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9761 { "_class_wxWindow","_class_wxListView",SwigwxListViewTowxWindow
},
9762 { "_class_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
9763 { "_class_wxWindow","_class_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9764 { "_class_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9765 { "_wxObject","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9766 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9767 { "_wxObject","_class_wxTreeEvent",SwigwxTreeEventTowxObject
},
9768 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
9769 { "_wxObject","_class_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9770 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9771 { "_wxObject","_class_wxListView",SwigwxListViewTowxObject
},
9772 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
9773 { "_wxObject","_class_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9774 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9775 { "_wxObject","_class_wxListEvent",SwigwxListEventTowxObject
},
9776 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
9777 { "_wxObject","_class_wxListItem",SwigwxListItemTowxObject
},
9778 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
9779 { "_signed_short","_WXTYPE",0},
9780 { "_signed_short","_short",0},
9781 { "_unsigned_char","_byte",0},
9782 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9783 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9784 { "_wxControl","_class_wxListView",SwigwxListViewTowxControl
},
9785 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
9786 { "_wxControl","_class_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9787 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9788 { "_unsigned_int","_wxCoord",0},
9789 { "_unsigned_int","_wxPrintQuality",0},
9790 { "_unsigned_int","_time_t",0},
9791 { "_unsigned_int","_size_t",0},
9792 { "_unsigned_int","_uint",0},
9793 { "_unsigned_int","_wxWindowID",0},
9794 { "_unsigned_int","_int",0},
9795 { "_short","_WXTYPE",0},
9796 { "_short","_unsigned_short",0},
9797 { "_short","_signed_short",0},
9798 { "_wxWindowID","_wxCoord",0},
9799 { "_wxWindowID","_wxPrintQuality",0},
9800 { "_wxWindowID","_time_t",0},
9801 { "_wxWindowID","_size_t",0},
9802 { "_wxWindowID","_EBool",0},
9803 { "_wxWindowID","_uint",0},
9804 { "_wxWindowID","_int",0},
9805 { "_wxWindowID","_signed_int",0},
9806 { "_wxWindowID","_unsigned_int",0},
9807 { "_int","_wxCoord",0},
9808 { "_int","_wxPrintQuality",0},
9809 { "_int","_time_t",0},
9810 { "_int","_size_t",0},
9811 { "_int","_EBool",0},
9812 { "_int","_uint",0},
9813 { "_int","_wxWindowID",0},
9814 { "_int","_unsigned_int",0},
9815 { "_int","_signed_int",0},
9816 { "_time_t","_wxCoord",0},
9817 { "_time_t","_wxPrintQuality",0},
9818 { "_time_t","_unsigned_int",0},
9819 { "_time_t","_int",0},
9820 { "_time_t","_wxWindowID",0},
9821 { "_time_t","_uint",0},
9822 { "_time_t","_size_t",0},
9823 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9824 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9825 { "_class_wxControl","_class_wxListView",SwigwxListViewTowxControl
},
9826 { "_class_wxControl","_wxListView",SwigwxListViewTowxControl
},
9827 { "_class_wxControl","_class_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9828 { "_class_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9829 { "_wxCoord","_int",0},
9830 { "_wxCoord","_signed_int",0},
9831 { "_wxCoord","_unsigned_int",0},
9832 { "_wxCoord","_wxWindowID",0},
9833 { "_wxCoord","_uint",0},
9834 { "_wxCoord","_EBool",0},
9835 { "_wxCoord","_size_t",0},
9836 { "_wxCoord","_time_t",0},
9837 { "_wxCoord","_wxPrintQuality",0},
9838 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9839 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9840 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
9841 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9842 { "_wxPyListCtrl","_class_wxListView",SwigwxListViewTowxPyListCtrl
},
9843 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
9844 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9845 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9846 { "_wxEvtHandler","_class_wxListView",SwigwxListViewTowxEvtHandler
},
9847 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
9848 { "_wxEvtHandler","_class_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9849 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9850 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9851 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9852 { "_wxWindow","_class_wxListView",SwigwxListViewTowxWindow
},
9853 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
9854 { "_wxWindow","_class_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9855 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9858 static PyObject
*SWIG_globals
;
9862 SWIGEXPORT(void) initcontrols2c() {
9864 SWIG_globals
= SWIG_newvarlink();
9865 m
= Py_InitModule("controls2c", controls2cMethods
);
9866 d
= PyModule_GetDict(m
);
9867 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
9868 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
9869 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
9870 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
9871 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
9872 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
9873 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
9874 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
9875 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
9876 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
9877 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
9878 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
9879 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
9880 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
9881 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
9882 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
9883 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
9884 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
9885 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
9886 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
9887 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
9888 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
9889 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
9890 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
9891 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
9892 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
9893 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
9894 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
9895 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
9896 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
9897 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
9898 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
9899 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
9900 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
9901 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
9902 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
9903 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
9904 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
9905 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
9906 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
9907 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
9908 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
9909 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
9910 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
9911 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
9912 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
9913 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
9914 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
9915 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
9916 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
9917 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
9918 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
9919 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
9920 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
9921 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
9922 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
9923 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
9924 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
9925 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
9926 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
9927 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
9928 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
9929 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
9930 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
9931 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
9932 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
9933 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
9934 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
9935 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
9936 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
9937 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
9938 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
9939 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
9940 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
9941 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
9942 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
9943 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
9944 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
9945 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
9946 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
9947 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
9948 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
9949 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
9950 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
9951 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
9952 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
9953 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
9954 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
9955 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
9956 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
9957 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
9958 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
9959 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
9960 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
9961 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
9962 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
9963 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
9964 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
9965 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
9966 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
9967 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
9968 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
9969 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
9970 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
9971 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
9972 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
9973 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
9974 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
9975 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
9976 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
9977 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
9978 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
9979 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
9980 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
9981 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
9982 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
9983 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
9984 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
9985 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
9986 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
9987 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
9988 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
9989 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
9990 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
9991 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
9992 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
9993 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
9994 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
9995 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
9996 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
9997 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
9998 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
9999 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
10000 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
10001 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
10002 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
10004 // Map renamed classes back to their common name for OOR
10005 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
10006 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
10007 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
10010 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10011 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);