2 * FILE : src/mac/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "String type required";
98 // C++ Version of a Python aware class
99 class wxPyListCtrl
: public wxListCtrl
{
100 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
102 wxPyListCtrl() : wxListCtrl() {}
103 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
107 const wxValidator
& validator
,
109 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
111 bool Create(wxWindow
* parent
, wxWindowID id
,
115 const wxValidator
& validator
,
117 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
120 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
121 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
122 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
127 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
129 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
130 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
131 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
132 // Python aware sorting function for wxPyListCtrl
133 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
135 PyObject
* func
= (PyObject
*)funcPtr
;
136 wxPyTState
* state
= wxPyBeginBlockThreads();
138 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
139 PyObject
* result
= PyEval_CallObject(func
, args
);
142 retval
= PyInt_AsLong(result
);
146 wxPyEndBlockThreads(state
);
151 class wxPyTreeItemData
: public wxTreeItemData
{
153 wxPyTreeItemData(PyObject
* obj
= NULL
) {
160 ~wxPyTreeItemData() {
161 wxPyTState
* state
= wxPyBeginBlockThreads();
163 wxPyEndBlockThreads(state
);
166 PyObject
* GetData() {
171 void SetData(PyObject
* obj
) {
172 wxPyTState
* state
= wxPyBeginBlockThreads();
174 wxPyEndBlockThreads(state
);
181 // C++ version of Python aware wxTreeCtrl
182 class wxPyTreeCtrl
: public wxTreeCtrl
{
183 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
185 wxPyTreeCtrl() : wxTreeCtrl() {}
186 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
190 const wxValidator
& validator
,
192 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
194 bool Create(wxWindow
*parent
, wxWindowID id
,
198 const wxValidator
& validator
,
200 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
204 int OnCompareItems(const wxTreeItemId
& item1
,
205 const wxTreeItemId
& item2
) {
208 wxPyTState
* state
= wxPyBeginBlockThreads();
209 if ((found
= m_myInst
.findCallback("OnCompareItems")))
210 rval
= m_myInst
.callCallback(Py_BuildValue(
212 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
213 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
214 wxPyEndBlockThreads(state
);
216 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
222 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
227 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
228 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxListItemAttr
* _result
;
231 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
232 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
233 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
235 PyObject
* _obj0
= 0;
237 PyObject
* _obj1
= 0;
238 PyObject
* _argo2
= 0;
239 char *_kwnames
[] = { "colText","colBack","font", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
248 if (! wxColour_helper(_obj0
, &_arg0
))
254 if (! wxColour_helper(_obj1
, &_arg1
))
258 if (_argo2
== Py_None
) { _arg2
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
268 wxPy_END_ALLOW_THREADS
;
269 if (PyErr_Occurred()) return NULL
;
271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
272 _resultobj
= Py_BuildValue("s",_ptemp
);
275 _resultobj
= Py_None
;
280 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
281 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxListItemAttr
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colText", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
317 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxListItemAttr
* _arg0
;
321 PyObject
* _argo0
= 0;
323 PyObject
* _obj1
= 0;
324 char *_kwnames
[] = { "self","colBack", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
338 if (! wxColour_helper(_obj1
, &_arg1
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
345 wxPy_END_ALLOW_THREADS
;
346 if (PyErr_Occurred()) return NULL
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
353 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxListItemAttr
* _arg0
;
357 PyObject
* _argo0
= 0;
358 PyObject
* _argo1
= 0;
359 char *_kwnames
[] = { "self","font", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 wxListItemAttr_SetFont(_arg0
,*_arg1
);
382 wxPy_END_ALLOW_THREADS
;
383 if (PyErr_Occurred()) return NULL
;
384 } Py_INCREF(Py_None
);
385 _resultobj
= Py_None
;
389 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
390 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 wxListItemAttr
* _arg0
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 if (PyErr_Occurred()) return NULL
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
418 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
421 wxListItemAttr
* _arg0
;
422 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
439 wxPy_END_ALLOW_THREADS
;
440 if (PyErr_Occurred()) return NULL
;
441 } _resultobj
= Py_BuildValue("i",_result
);
445 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
446 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
449 wxListItemAttr
* _arg0
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
467 wxPy_END_ALLOW_THREADS
;
468 if (PyErr_Occurred()) return NULL
;
469 } _resultobj
= Py_BuildValue("i",_result
);
473 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
474 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxListItemAttr
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
495 _result
= (wxColour
*) &_result_ref
;
497 wxPy_END_ALLOW_THREADS
;
498 if (PyErr_Occurred()) return NULL
;
500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
504 _resultobj
= Py_None
;
509 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
510 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxListItemAttr
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
531 _result
= (wxColour
*) &_result_ref
;
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
537 _resultobj
= Py_BuildValue("s",_ptemp
);
540 _resultobj
= Py_None
;
545 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
546 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxListItemAttr
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
567 _result
= (wxFont
*) &_result_ref
;
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
573 _resultobj
= Py_BuildValue("s",_ptemp
);
576 _resultobj
= Py_None
;
581 static void *SwigwxListItemTowxObject(void *ptr
) {
584 src
= (wxListItem
*) ptr
;
585 dest
= (wxObject
*) src
;
586 return (void *) dest
;
589 #define new_wxListItem() (new wxListItem())
590 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxListItem
* _result
;
593 char *_kwnames
[] = { NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (wxListItem
*)new_wxListItem();
603 wxPy_END_ALLOW_THREADS
;
604 if (PyErr_Occurred()) return NULL
;
606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
607 _resultobj
= Py_BuildValue("s",_ptemp
);
610 _resultobj
= Py_None
;
615 #define delete_wxListItem(_swigobj) (delete _swigobj)
616 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 delete_wxListItem(_arg0
);
636 wxPy_END_ALLOW_THREADS
;
637 if (PyErr_Occurred()) return NULL
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
644 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxListItem_Clear(_arg0
);
664 wxPy_END_ALLOW_THREADS
;
665 if (PyErr_Occurred()) return NULL
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
672 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 wxListItem_ClearAttributes(_arg0
);
692 wxPy_END_ALLOW_THREADS
;
693 if (PyErr_Occurred()) return NULL
;
694 } Py_INCREF(Py_None
);
695 _resultobj
= Py_None
;
699 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
700 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self","mask", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxListItem_SetMask(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
722 if (PyErr_Occurred()) return NULL
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
729 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","id", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxListItem_SetId(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
758 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","col", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 wxListItem_SetColumn(_arg0
,_arg1
);
779 wxPy_END_ALLOW_THREADS
;
780 if (PyErr_Occurred()) return NULL
;
781 } Py_INCREF(Py_None
);
782 _resultobj
= Py_None
;
786 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
787 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self","state", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 wxListItem_SetState(_arg0
,_arg1
);
808 wxPy_END_ALLOW_THREADS
;
809 if (PyErr_Occurred()) return NULL
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
815 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
816 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self","stateMask", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 wxListItem_SetStateMask(_arg0
,_arg1
);
837 wxPy_END_ALLOW_THREADS
;
838 if (PyErr_Occurred()) return NULL
;
839 } Py_INCREF(Py_None
);
840 _resultobj
= Py_None
;
844 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
845 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
849 PyObject
* _argo0
= 0;
850 PyObject
* _obj1
= 0;
851 char *_kwnames
[] = { "self","text", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
864 #if PYTHON_API_VERSION >= 1009
865 char* tmpPtr
; int tmpSize
;
866 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
870 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
872 _arg1
= new wxString(tmpPtr
, tmpSize
);
874 if (!PyString_Check(_obj1
)) {
875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
878 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
882 wxPy_BEGIN_ALLOW_THREADS
;
883 wxListItem_SetText(_arg0
,*_arg1
);
885 wxPy_END_ALLOW_THREADS
;
886 if (PyErr_Occurred()) return NULL
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
896 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
897 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self","image", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxListItem_SetImage(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
926 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self","data", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxListItem_SetData(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 if (PyErr_Occurred()) return NULL
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
955 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self","width", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 wxListItem_SetWidth(_arg0
,_arg1
);
976 wxPy_END_ALLOW_THREADS
;
977 if (PyErr_Occurred()) return NULL
;
978 } Py_INCREF(Py_None
);
979 _resultobj
= Py_None
;
983 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
984 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
987 wxListColumnFormat _arg1
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","align", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 wxListItem_SetAlign(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1012 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1013 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1019 PyObject
* _obj1
= 0;
1020 char *_kwnames
[] = { "self","colText", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1034 if (! wxColour_helper(_obj1
, &_arg1
))
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxListItem_SetTextColour(_arg0
,*_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1042 if (PyErr_Occurred()) return NULL
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1048 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1049 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1053 PyObject
* _argo0
= 0;
1055 PyObject
* _obj1
= 0;
1056 char *_kwnames
[] = { "self","colBack", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1070 if (! wxColour_helper(_obj1
, &_arg1
))
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1085 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _argo1
= 0;
1091 char *_kwnames
[] = { "self","font", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 wxListItem_SetFont(_arg0
,*_arg1
);
1114 wxPy_END_ALLOW_THREADS
;
1115 if (PyErr_Occurred()) return NULL
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1121 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1122 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (long )wxListItem_GetMask(_arg0
);
1143 wxPy_END_ALLOW_THREADS
;
1144 if (PyErr_Occurred()) return NULL
;
1145 } _resultobj
= Py_BuildValue("l",_result
);
1149 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1150 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 char *_kwnames
[] = { "self", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (long )wxListItem_GetId(_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1172 if (PyErr_Occurred()) return NULL
;
1173 } _resultobj
= Py_BuildValue("l",_result
);
1177 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1178 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= (int )wxListItem_GetColumn(_arg0
);
1199 wxPy_END_ALLOW_THREADS
;
1200 if (PyErr_Occurred()) return NULL
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1206 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (long )wxListItem_GetState(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 if (PyErr_Occurred()) return NULL
;
1229 } _resultobj
= Py_BuildValue("l",_result
);
1233 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1234 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1254 _result
= (wxString
*) &_result_ref
;
1256 wxPy_END_ALLOW_THREADS
;
1257 if (PyErr_Occurred()) return NULL
;
1259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1264 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1265 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (int )wxListItem_GetImage(_arg0
);
1286 wxPy_END_ALLOW_THREADS
;
1287 if (PyErr_Occurred()) return NULL
;
1288 } _resultobj
= Py_BuildValue("i",_result
);
1292 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1293 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 _result
= (long )wxListItem_GetData(_arg0
);
1314 wxPy_END_ALLOW_THREADS
;
1315 if (PyErr_Occurred()) return NULL
;
1316 } _resultobj
= Py_BuildValue("l",_result
);
1320 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1321 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (int )wxListItem_GetWidth(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 if (PyErr_Occurred()) return NULL
;
1344 } _resultobj
= Py_BuildValue("i",_result
);
1348 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1349 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxListColumnFormat _result
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 if (PyErr_Occurred()) return NULL
;
1372 } _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1377 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxListItemAttr
* _result
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1406 _resultobj
= Py_None
;
1411 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1412 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1440 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1462 wxPy_END_ALLOW_THREADS
;
1463 if (PyErr_Occurred()) return NULL
;
1464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1465 _resultobj
= Py_BuildValue("s",_ptemp
);
1469 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1470 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1492 wxPy_END_ALLOW_THREADS
;
1493 if (PyErr_Occurred()) return NULL
;
1494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1499 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1500 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1522 wxPy_END_ALLOW_THREADS
;
1523 if (PyErr_Occurred()) return NULL
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1530 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self","m_mask", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1552 wxPy_END_ALLOW_THREADS
;
1553 if (PyErr_Occurred()) return NULL
;
1554 } _resultobj
= Py_BuildValue("l",_result
);
1558 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1559 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (long )wxListItem_m_mask_get(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 if (PyErr_Occurred()) return NULL
;
1582 } _resultobj
= Py_BuildValue("l",_result
);
1586 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1587 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self","m_itemId", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 if (PyErr_Occurred()) return NULL
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1616 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1637 wxPy_END_ALLOW_THREADS
;
1638 if (PyErr_Occurred()) return NULL
;
1639 } _resultobj
= Py_BuildValue("l",_result
);
1643 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1644 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self","m_col", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1673 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (int )wxListItem_m_col_get(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1701 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self","m_state", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1723 wxPy_END_ALLOW_THREADS
;
1724 if (PyErr_Occurred()) return NULL
;
1725 } _resultobj
= Py_BuildValue("l",_result
);
1729 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1730 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1734 PyObject
* _argo0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (long )wxListItem_m_state_get(_arg0
);
1751 wxPy_END_ALLOW_THREADS
;
1752 if (PyErr_Occurred()) return NULL
;
1753 } _resultobj
= Py_BuildValue("l",_result
);
1757 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1758 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1780 wxPy_END_ALLOW_THREADS
;
1781 if (PyErr_Occurred()) return NULL
;
1782 } _resultobj
= Py_BuildValue("l",_result
);
1786 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1787 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("l",_result
);
1814 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1815 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1821 PyObject
* _obj1
= 0;
1822 char *_kwnames
[] = { "self","m_text", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1835 #if PYTHON_API_VERSION >= 1009
1836 char* tmpPtr
; int tmpSize
;
1837 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1841 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1843 _arg1
= new wxString(tmpPtr
, tmpSize
);
1845 if (!PyString_Check(_obj1
)) {
1846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1849 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1856 wxPy_END_ALLOW_THREADS
;
1857 if (PyErr_Occurred()) return NULL
;
1859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1868 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1869 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 if (PyErr_Occurred()) return NULL
;
1893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1898 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1899 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self","m_image", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1922 if (PyErr_Occurred()) return NULL
;
1923 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1928 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= (int )wxListItem_m_image_get(_arg0
);
1949 wxPy_END_ALLOW_THREADS
;
1950 if (PyErr_Occurred()) return NULL
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1956 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self","m_data", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1978 wxPy_END_ALLOW_THREADS
;
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("l",_result
);
1984 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1985 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (long )wxListItem_m_data_get(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("l",_result
);
2012 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
2013 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self","m_format", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2035 wxPy_END_ALLOW_THREADS
;
2036 if (PyErr_Occurred()) return NULL
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2042 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2046 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= (int )wxListItem_m_format_get(_arg0
);
2063 wxPy_END_ALLOW_THREADS
;
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2070 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self","m_width", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2092 wxPy_END_ALLOW_THREADS
;
2093 if (PyErr_Occurred()) return NULL
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2099 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (int )wxListItem_m_width_get(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 if (PyErr_Occurred()) return NULL
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2128 wxNotifyEvent
*dest
;
2129 src
= (wxListEvent
*) ptr
;
2130 dest
= (wxNotifyEvent
*) src
;
2131 return (void *) dest
;
2134 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2136 wxCommandEvent
*dest
;
2137 src
= (wxListEvent
*) ptr
;
2138 dest
= (wxCommandEvent
*) src
;
2139 return (void *) dest
;
2142 static void *SwigwxListEventTowxEvent(void *ptr
) {
2145 src
= (wxListEvent
*) ptr
;
2146 dest
= (wxEvent
*) src
;
2147 return (void *) dest
;
2150 static void *SwigwxListEventTowxObject(void *ptr
) {
2153 src
= (wxListEvent
*) ptr
;
2154 dest
= (wxObject
*) src
;
2155 return (void *) dest
;
2158 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxListEvent
* _result
;
2162 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2163 int _arg1
= (int ) 0;
2164 char *_kwnames
[] = { "commandType","id", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2174 wxPy_END_ALLOW_THREADS
;
2175 if (PyErr_Occurred()) return NULL
;
2177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2178 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 _resultobj
= Py_None
;
2186 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2187 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 wxListEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self","m_code", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2216 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxListEvent_m_code_get(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2244 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 wxListEvent
* _arg0
;
2249 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_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_oldItemIndex_set. Expected _wxListEvent_p.");
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2266 wxPy_END_ALLOW_THREADS
;
2267 if (PyErr_Occurred()) return NULL
;
2268 } _resultobj
= Py_BuildValue("l",_result
);
2272 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2273 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_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_oldItemIndex_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_oldItemIndex_get. Expected _wxListEvent_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 if (PyErr_Occurred()) return NULL
;
2296 } _resultobj
= Py_BuildValue("l",_result
);
2300 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2301 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxListEvent
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_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_itemIndex_set. Expected _wxListEvent_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 if (PyErr_Occurred()) return NULL
;
2325 } _resultobj
= Py_BuildValue("l",_result
);
2329 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2330 static PyObject
*_wrap_wxListEvent_m_itemIndex_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_itemIndex_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_itemIndex_get. Expected _wxListEvent_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (long )wxListEvent_m_itemIndex_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_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2415 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2418 wxListEvent
* _arg0
;
2420 PyObject
* _argo0
= 0;
2422 PyObject
* _obj1
= 0;
2423 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2438 if (! wxPoint_helper(_obj1
, &_arg1
))
2442 wxPy_BEGIN_ALLOW_THREADS
;
2443 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2445 wxPy_END_ALLOW_THREADS
;
2446 if (PyErr_Occurred()) return NULL
;
2448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2449 _resultobj
= Py_BuildValue("s",_ptemp
);
2452 _resultobj
= Py_None
;
2457 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2458 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2461 wxListEvent
* _arg0
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "self", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2480 wxPy_END_ALLOW_THREADS
;
2481 if (PyErr_Occurred()) return NULL
;
2483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2484 _resultobj
= Py_BuildValue("s",_ptemp
);
2487 _resultobj
= Py_None
;
2492 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2493 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2495 wxListItem
* _result
;
2496 wxListEvent
* _arg0
;
2498 PyObject
* _argo0
= 0;
2499 PyObject
* _argo1
= 0;
2500 char *_kwnames
[] = { "self","m_item", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2520 wxPy_BEGIN_ALLOW_THREADS
;
2521 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2523 wxPy_END_ALLOW_THREADS
;
2524 if (PyErr_Occurred()) return NULL
;
2525 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2529 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2530 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2532 wxListItem
* _result
;
2533 wxListEvent
* _arg0
;
2534 PyObject
* _argo0
= 0;
2535 char *_kwnames
[] = { "self", NULL
};
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2548 wxPy_BEGIN_ALLOW_THREADS
;
2549 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2551 wxPy_END_ALLOW_THREADS
;
2552 if (PyErr_Occurred()) return NULL
;
2553 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2557 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2558 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2561 wxListEvent
* _arg0
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 _result
= (int )wxListEvent_GetCode(_arg0
);
2579 wxPy_END_ALLOW_THREADS
;
2580 if (PyErr_Occurred()) return NULL
;
2581 } _resultobj
= Py_BuildValue("i",_result
);
2585 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2586 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2589 wxListEvent
* _arg0
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 _result
= (long )wxListEvent_GetIndex(_arg0
);
2607 wxPy_END_ALLOW_THREADS
;
2608 if (PyErr_Occurred()) return NULL
;
2609 } _resultobj
= Py_BuildValue("l",_result
);
2613 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2614 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2617 wxListEvent
* _arg0
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 _result
= (int )wxListEvent_GetColumn(_arg0
);
2635 wxPy_END_ALLOW_THREADS
;
2636 if (PyErr_Occurred()) return NULL
;
2637 } _resultobj
= Py_BuildValue("i",_result
);
2641 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2642 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2645 wxListEvent
* _arg0
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2661 wxPy_BEGIN_ALLOW_THREADS
;
2662 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2664 wxPy_END_ALLOW_THREADS
;
2665 if (PyErr_Occurred()) return NULL
;
2666 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2667 _resultobj
= Py_BuildValue("s",_ptemp
);
2671 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2672 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2675 wxListEvent
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2692 _result
= (wxString
*) &_result_ref
;
2694 wxPy_END_ALLOW_THREADS
;
2695 if (PyErr_Occurred()) return NULL
;
2697 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2702 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2703 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2706 wxListEvent
* _arg0
;
2707 PyObject
* _argo0
= 0;
2708 char *_kwnames
[] = { "self", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2723 _result
= (wxString
*) &_result_ref
;
2725 wxPy_END_ALLOW_THREADS
;
2726 if (PyErr_Occurred()) return NULL
;
2728 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2733 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2734 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2737 wxListEvent
* _arg0
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 _result
= (int )wxListEvent_GetImage(_arg0
);
2755 wxPy_END_ALLOW_THREADS
;
2756 if (PyErr_Occurred()) return NULL
;
2757 } _resultobj
= Py_BuildValue("i",_result
);
2761 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2762 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2765 wxListEvent
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (long )wxListEvent_GetData(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2784 if (PyErr_Occurred()) return NULL
;
2785 } _resultobj
= Py_BuildValue("l",_result
);
2789 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2790 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2793 wxListEvent
* _arg0
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 _result
= (long )wxListEvent_GetMask(_arg0
);
2811 wxPy_END_ALLOW_THREADS
;
2812 if (PyErr_Occurred()) return NULL
;
2813 } _resultobj
= Py_BuildValue("l",_result
);
2817 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2818 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2820 wxListItem
* _result
;
2821 wxListEvent
* _arg0
;
2822 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2838 _result
= (wxListItem
*) &_result_ref
;
2840 wxPy_END_ALLOW_THREADS
;
2841 if (PyErr_Occurred()) return NULL
;
2842 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2846 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2847 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2850 wxListEvent
* _arg0
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2865 wxPy_BEGIN_ALLOW_THREADS
;
2866 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2868 wxPy_END_ALLOW_THREADS
;
2869 if (PyErr_Occurred()) return NULL
;
2870 } _resultobj
= Py_BuildValue("l",_result
);
2874 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2875 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2878 wxListEvent
* _arg0
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2893 wxPy_BEGIN_ALLOW_THREADS
;
2894 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2896 wxPy_END_ALLOW_THREADS
;
2897 if (PyErr_Occurred()) return NULL
;
2898 } _resultobj
= Py_BuildValue("l",_result
);
2902 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2905 src
= (wxPyListCtrl
*) ptr
;
2906 dest
= (wxControl
*) src
;
2907 return (void *) dest
;
2910 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2913 src
= (wxPyListCtrl
*) ptr
;
2914 dest
= (wxWindow
*) src
;
2915 return (void *) dest
;
2918 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2921 src
= (wxPyListCtrl
*) ptr
;
2922 dest
= (wxEvtHandler
*) src
;
2923 return (void *) dest
;
2926 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2929 src
= (wxPyListCtrl
*) ptr
;
2930 dest
= (wxObject
*) src
;
2931 return (void *) dest
;
2934 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2935 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2937 wxPyListCtrl
* _result
;
2939 wxWindowID _arg1
= (wxWindowID
) -1;
2940 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2941 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2942 long _arg4
= (long ) (wxLC_ICON
);
2943 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2944 char * _arg6
= (char *) "listCtrl";
2945 PyObject
* _argo0
= 0;
2947 PyObject
* _obj2
= 0;
2949 PyObject
* _obj3
= 0;
2950 PyObject
* _argo5
= 0;
2951 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2967 if (! wxPoint_helper(_obj2
, &_arg2
))
2973 if (! wxSize_helper(_obj3
, &_arg3
))
2977 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2984 wxPy_BEGIN_ALLOW_THREADS
;
2985 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2987 wxPy_END_ALLOW_THREADS
;
2988 if (PyErr_Occurred()) return NULL
;
2990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2991 _resultobj
= Py_BuildValue("s",_ptemp
);
2994 _resultobj
= Py_None
;
2999 #define new_wxPreListCtrl() (new wxPyListCtrl())
3000 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3002 wxPyListCtrl
* _result
;
3003 char *_kwnames
[] = { NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3013 wxPy_END_ALLOW_THREADS
;
3014 if (PyErr_Occurred()) return NULL
;
3016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3017 _resultobj
= Py_BuildValue("s",_ptemp
);
3020 _resultobj
= Py_None
;
3025 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3026 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3029 wxPyListCtrl
* _arg0
;
3031 wxWindowID _arg2
= (wxWindowID
) -1;
3032 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3033 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3034 long _arg5
= (long ) (wxLC_ICON
);
3035 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3036 char * _arg7
= (char *) "listCtrl";
3037 PyObject
* _argo0
= 0;
3038 PyObject
* _argo1
= 0;
3040 PyObject
* _obj3
= 0;
3042 PyObject
* _obj4
= 0;
3043 PyObject
* _argo6
= 0;
3044 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3066 if (! wxPoint_helper(_obj3
, &_arg3
))
3072 if (! wxSize_helper(_obj4
, &_arg4
))
3076 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3086 wxPy_END_ALLOW_THREADS
;
3087 if (PyErr_Occurred()) return NULL
;
3088 } _resultobj
= Py_BuildValue("i",_result
);
3092 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3093 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3095 wxPyListCtrl
* _arg0
;
3098 PyObject
* _argo0
= 0;
3099 PyObject
* _obj1
= 0;
3100 PyObject
* _obj2
= 0;
3101 char *_kwnames
[] = { "self","self","_class", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3120 wxPy_BEGIN_ALLOW_THREADS
;
3121 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3123 wxPy_END_ALLOW_THREADS
;
3124 if (PyErr_Occurred()) return NULL
;
3125 } Py_INCREF(Py_None
);
3126 _resultobj
= Py_None
;
3130 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3131 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3134 wxPyListCtrl
* _arg0
;
3136 PyObject
* _argo0
= 0;
3138 PyObject
* _obj1
= 0;
3139 char *_kwnames
[] = { "self","col", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3153 if (! wxColour_helper(_obj1
, &_arg1
))
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3160 wxPy_END_ALLOW_THREADS
;
3161 if (PyErr_Occurred()) return NULL
;
3162 } _resultobj
= Py_BuildValue("i",_result
);
3166 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3167 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3170 wxPyListCtrl
* _arg0
;
3172 PyObject
* _argo0
= 0;
3174 PyObject
* _obj1
= 0;
3175 char *_kwnames
[] = { "self","col", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3189 if (! wxColour_helper(_obj1
, &_arg1
))
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3196 wxPy_END_ALLOW_THREADS
;
3197 if (PyErr_Occurred()) return NULL
;
3198 } _resultobj
= Py_BuildValue("i",_result
);
3202 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3203 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3206 wxPyListCtrl
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 PyObject
* _argo2
= 0;
3211 char *_kwnames
[] = { "self","col","item", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3224 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3234 wxPy_END_ALLOW_THREADS
;
3235 if (PyErr_Occurred()) return NULL
;
3236 } _resultobj
= Py_BuildValue("i",_result
);
3240 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3241 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3244 wxPyListCtrl
* _arg0
;
3247 PyObject
* _argo0
= 0;
3248 PyObject
* _argo2
= 0;
3249 char *_kwnames
[] = { "self","col","item", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3262 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3272 wxPy_END_ALLOW_THREADS
;
3273 if (PyErr_Occurred()) return NULL
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3279 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 wxPyListCtrl
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self","col", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3301 wxPy_END_ALLOW_THREADS
;
3302 if (PyErr_Occurred()) return NULL
;
3303 } _resultobj
= Py_BuildValue("i",_result
);
3307 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3311 wxPyListCtrl
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self","col","width", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3331 wxPy_END_ALLOW_THREADS
;
3332 if (PyErr_Occurred()) return NULL
;
3333 } _resultobj
= Py_BuildValue("i",_result
);
3337 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3338 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3341 wxPyListCtrl
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self", NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3356 wxPy_BEGIN_ALLOW_THREADS
;
3357 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3359 wxPy_END_ALLOW_THREADS
;
3360 if (PyErr_Occurred()) return NULL
;
3361 } _resultobj
= Py_BuildValue("i",_result
);
3365 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3366 wxListItem
* info
= new wxListItem
;
3367 info
->m_itemId
= itemId
;
3369 info
->m_mask
= 0xFFFF;
3370 self
->GetItem(*info
);
3373 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3375 wxListItem
* _result
;
3376 wxPyListCtrl
* _arg0
;
3378 int _arg2
= (int ) 0;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "self","itemId","col", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3393 wxPy_BEGIN_ALLOW_THREADS
;
3394 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3396 wxPy_END_ALLOW_THREADS
;
3397 if (PyErr_Occurred()) return NULL
;
3398 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3402 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3403 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3406 wxPyListCtrl
* _arg0
;
3408 PyObject
* _argo0
= 0;
3409 PyObject
* _argo1
= 0;
3410 char *_kwnames
[] = { "self","info", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3433 wxPy_END_ALLOW_THREADS
;
3434 if (PyErr_Occurred()) return NULL
;
3435 } _resultobj
= Py_BuildValue("i",_result
);
3439 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3440 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3443 wxPyListCtrl
* _arg0
;
3447 int _arg4
= (int ) -1;
3448 PyObject
* _argo0
= 0;
3449 PyObject
* _obj3
= 0;
3450 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3463 #if PYTHON_API_VERSION >= 1009
3464 char* tmpPtr
; int tmpSize
;
3465 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3469 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3471 _arg3
= new wxString(tmpPtr
, tmpSize
);
3473 if (!PyString_Check(_obj3
)) {
3474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3477 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3481 wxPy_BEGIN_ALLOW_THREADS
;
3482 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3484 wxPy_END_ALLOW_THREADS
;
3485 if (PyErr_Occurred()) return NULL
;
3486 } _resultobj
= Py_BuildValue("l",_result
);
3494 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3495 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3498 wxPyListCtrl
* _arg0
;
3501 PyObject
* _argo0
= 0;
3502 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3518 wxPy_END_ALLOW_THREADS
;
3519 if (PyErr_Occurred()) return NULL
;
3520 } _resultobj
= Py_BuildValue("i",_result
);
3524 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3525 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3528 wxPyListCtrl
* _arg0
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3546 wxPy_BEGIN_ALLOW_THREADS
;
3547 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3549 wxPy_END_ALLOW_THREADS
;
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3556 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3559 wxPyListCtrl
* _arg0
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3580 wxPy_END_ALLOW_THREADS
;
3581 if (PyErr_Occurred()) return NULL
;
3582 } _resultobj
= Py_BuildValue("i",_result
);
3586 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3587 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3590 wxPyListCtrl
* _arg0
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self","item", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
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_GetItemText. Expected _wxPyListCtrl_p.");
3606 wxPy_BEGIN_ALLOW_THREADS
;
3607 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3609 wxPy_END_ALLOW_THREADS
;
3610 if (PyErr_Occurred()) return NULL
;
3612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3620 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3621 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxPyListCtrl
* _arg0
;
3626 PyObject
* _argo0
= 0;
3627 PyObject
* _obj2
= 0;
3628 char *_kwnames
[] = { "self","item","str", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3641 #if PYTHON_API_VERSION >= 1009
3642 char* tmpPtr
; int tmpSize
;
3643 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3647 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3649 _arg2
= new wxString(tmpPtr
, tmpSize
);
3651 if (!PyString_Check(_obj2
)) {
3652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3655 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3662 wxPy_END_ALLOW_THREADS
;
3663 if (PyErr_Occurred()) return NULL
;
3664 } Py_INCREF(Py_None
);
3665 _resultobj
= Py_None
;
3673 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3674 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3677 wxPyListCtrl
* _arg0
;
3679 PyObject
* _argo0
= 0;
3680 char *_kwnames
[] = { "self","item", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3696 wxPy_END_ALLOW_THREADS
;
3697 if (PyErr_Occurred()) return NULL
;
3698 } _resultobj
= Py_BuildValue("l",_result
);
3702 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3703 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3706 wxPyListCtrl
* _arg0
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self","item","data", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3726 wxPy_END_ALLOW_THREADS
;
3727 if (PyErr_Occurred()) return NULL
;
3728 } _resultobj
= Py_BuildValue("i",_result
);
3732 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3733 wxPoint
* pos
= new wxPoint
;
3734 self
->GetItemPosition(item
, *pos
);
3737 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3740 wxPyListCtrl
* _arg0
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "self","item", NULL
};
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3757 wxPy_BEGIN_ALLOW_THREADS
;
3758 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3760 wxPy_END_ALLOW_THREADS
;
3761 if (PyErr_Occurred()) return NULL
;
3763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3764 _resultobj
= Py_BuildValue("s",_ptemp
);
3767 _resultobj
= Py_None
;
3772 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3773 wxRect
* rect
= new wxRect
;
3774 self
->GetItemRect(item
, *rect
, code
);
3777 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3780 wxPyListCtrl
* _arg0
;
3782 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3783 PyObject
* _argo0
= 0;
3784 char *_kwnames
[] = { "self","item","code", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3801 wxPy_END_ALLOW_THREADS
;
3802 if (PyErr_Occurred()) return NULL
;
3804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3805 _resultobj
= Py_BuildValue("s",_ptemp
);
3808 _resultobj
= Py_None
;
3813 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3814 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3817 wxPyListCtrl
* _arg0
;
3820 PyObject
* _argo0
= 0;
3822 PyObject
* _obj2
= 0;
3823 char *_kwnames
[] = { "self","item","pos", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_SetItemPosition. Expected _wxPyListCtrl_p.");
3837 if (! wxPoint_helper(_obj2
, &_arg2
))
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3844 wxPy_END_ALLOW_THREADS
;
3845 if (PyErr_Occurred()) return NULL
;
3846 } _resultobj
= Py_BuildValue("i",_result
);
3850 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3851 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3854 wxPyListCtrl
* _arg0
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3872 wxPy_END_ALLOW_THREADS
;
3873 if (PyErr_Occurred()) return NULL
;
3874 } _resultobj
= Py_BuildValue("i",_result
);
3878 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3879 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxPyListCtrl
* _arg0
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3900 wxPy_END_ALLOW_THREADS
;
3901 if (PyErr_Occurred()) return NULL
;
3902 } _resultobj
= Py_BuildValue("i",_result
);
3906 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3907 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3910 wxPyListCtrl
* _arg0
;
3912 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self","isSmall", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3926 _arg1
= (bool ) tempbool1
;
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 if (PyErr_Occurred()) return NULL
;
3933 } _resultobj
= Py_BuildValue("i",_result
);
3937 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3938 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3941 wxPyListCtrl
* _arg0
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3959 wxPy_END_ALLOW_THREADS
;
3960 if (PyErr_Occurred()) return NULL
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3965 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3966 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3969 wxPyListCtrl
* _arg0
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3985 wxPy_BEGIN_ALLOW_THREADS
;
3986 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3988 wxPy_END_ALLOW_THREADS
;
3989 if (PyErr_Occurred()) return NULL
;
3990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3991 _resultobj
= Py_BuildValue("s",_ptemp
);
3995 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3996 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3998 wxPyListCtrl
* _arg0
;
4000 PyObject
* _argo0
= 0;
4002 PyObject
* _obj1
= 0;
4003 char *_kwnames
[] = { "self","col", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4017 if (! wxColour_helper(_obj1
, &_arg1
))
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4024 wxPy_END_ALLOW_THREADS
;
4025 if (PyErr_Occurred()) return NULL
;
4026 } Py_INCREF(Py_None
);
4027 _resultobj
= Py_None
;
4031 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4032 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4035 wxPyListCtrl
* _arg0
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4050 wxPy_BEGIN_ALLOW_THREADS
;
4051 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4053 wxPy_END_ALLOW_THREADS
;
4054 if (PyErr_Occurred()) return NULL
;
4055 } _resultobj
= Py_BuildValue("l",_result
);
4059 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4060 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4062 wxPyListCtrl
* _arg0
;
4064 bool _arg2
= (bool ) TRUE
;
4065 PyObject
* _argo0
= 0;
4066 int tempbool2
= (int) TRUE
;
4067 char *_kwnames
[] = { "self","style","add", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4079 _arg2
= (bool ) tempbool2
;
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4084 wxPy_END_ALLOW_THREADS
;
4085 if (PyErr_Occurred()) return NULL
;
4086 } Py_INCREF(Py_None
);
4087 _resultobj
= Py_None
;
4091 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4092 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4094 wxPyListCtrl
* _arg0
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self","style", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4113 wxPy_END_ALLOW_THREADS
;
4114 if (PyErr_Occurred()) return NULL
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4120 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4121 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4124 wxPyListCtrl
* _arg0
;
4126 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4127 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4142 wxPy_BEGIN_ALLOW_THREADS
;
4143 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4145 wxPy_END_ALLOW_THREADS
;
4146 if (PyErr_Occurred()) return NULL
;
4147 } _resultobj
= Py_BuildValue("l",_result
);
4151 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4152 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4154 wxImageList
* _result
;
4155 wxPyListCtrl
* _arg0
;
4157 PyObject
* _argo0
= 0;
4158 char *_kwnames
[] = { "self","which", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4171 wxPy_BEGIN_ALLOW_THREADS
;
4172 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4174 wxPy_END_ALLOW_THREADS
;
4175 if (PyErr_Occurred()) return NULL
;
4176 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4180 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4181 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4183 wxPyListCtrl
* _arg0
;
4184 wxImageList
* _arg1
;
4186 PyObject
* _argo0
= 0;
4187 PyObject
* _argo1
= 0;
4188 char *_kwnames
[] = { "self","imageList","which", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4208 wxPy_BEGIN_ALLOW_THREADS
;
4209 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4211 wxPy_END_ALLOW_THREADS
;
4212 if (PyErr_Occurred()) return NULL
;
4213 } Py_INCREF(Py_None
);
4214 _resultobj
= Py_None
;
4218 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4219 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4221 wxPyListCtrl
* _arg0
;
4222 wxImageList
* _arg1
;
4224 PyObject
* _argo0
= 0;
4225 PyObject
* _argo1
= 0;
4226 char *_kwnames
[] = { "self","imageList","which", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4249 wxPy_END_ALLOW_THREADS
;
4250 if (PyErr_Occurred()) return NULL
;
4251 } Py_INCREF(Py_None
);
4252 _resultobj
= Py_None
;
4256 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4257 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4260 wxPyListCtrl
* _arg0
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4275 wxPy_BEGIN_ALLOW_THREADS
;
4276 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4278 wxPy_END_ALLOW_THREADS
;
4279 if (PyErr_Occurred()) return NULL
;
4280 } _resultobj
= Py_BuildValue("i",_result
);
4284 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4285 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4287 wxPyListCtrl
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self","item", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4306 wxPy_END_ALLOW_THREADS
;
4307 if (PyErr_Occurred()) return NULL
;
4308 } Py_INCREF(Py_None
);
4309 _resultobj
= Py_None
;
4313 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4314 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4316 wxPyListCtrl
* _arg0
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4333 wxPy_BEGIN_ALLOW_THREADS
;
4334 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4336 wxPy_END_ALLOW_THREADS
;
4337 if (PyErr_Occurred()) return NULL
;
4338 } Py_INCREF(Py_None
);
4339 _resultobj
= Py_None
;
4343 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4344 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 wxPyListCtrl
* _arg0
;
4348 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4349 PyObject
* _argo0
= 0;
4350 char *_kwnames
[] = { "self","flag", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4366 wxPy_END_ALLOW_THREADS
;
4367 if (PyErr_Occurred()) return NULL
;
4368 } _resultobj
= Py_BuildValue("i",_result
);
4372 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4373 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4376 wxPyListCtrl
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self","item", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4395 wxPy_END_ALLOW_THREADS
;
4396 if (PyErr_Occurred()) return NULL
;
4397 } _resultobj
= Py_BuildValue("i",_result
);
4401 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4402 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 wxPyListCtrl
* _arg0
;
4406 PyObject
* _argo0
= 0;
4407 char *_kwnames
[] = { "self", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4420 wxPy_BEGIN_ALLOW_THREADS
;
4421 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4423 wxPy_END_ALLOW_THREADS
;
4424 if (PyErr_Occurred()) return NULL
;
4425 } _resultobj
= Py_BuildValue("i",_result
);
4429 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4430 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4433 wxPyListCtrl
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self","col", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4449 wxPy_BEGIN_ALLOW_THREADS
;
4450 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4452 wxPy_END_ALLOW_THREADS
;
4453 if (PyErr_Occurred()) return NULL
;
4454 } _resultobj
= Py_BuildValue("i",_result
);
4458 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4459 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4462 wxPyListCtrl
* _arg0
;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4480 wxPy_END_ALLOW_THREADS
;
4481 if (PyErr_Occurred()) return NULL
;
4482 } _resultobj
= Py_BuildValue("i",_result
);
4486 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4487 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxPyListCtrl
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4504 wxPy_BEGIN_ALLOW_THREADS
;
4505 wxListCtrl_ClearAll(_arg0
);
4507 wxPy_END_ALLOW_THREADS
;
4508 if (PyErr_Occurred()) return NULL
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4515 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4518 wxPyListCtrl
* _arg0
;
4520 PyObject
* _argo0
= 0;
4521 char *_kwnames
[] = { "self","item", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4534 wxPy_BEGIN_ALLOW_THREADS
;
4535 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4537 wxPy_END_ALLOW_THREADS
;
4538 if (PyErr_Occurred()) return NULL
;
4539 } _resultobj
= Py_BuildValue("i",_result
);
4543 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4544 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 wxPyListCtrl
* _arg0
;
4550 bool _arg3
= (bool ) FALSE
;
4551 PyObject
* _argo0
= 0;
4552 PyObject
* _obj2
= 0;
4553 int tempbool3
= (int) FALSE
;
4554 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4567 #if PYTHON_API_VERSION >= 1009
4568 char* tmpPtr
; int tmpSize
;
4569 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4570 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4573 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4575 _arg2
= new wxString(tmpPtr
, tmpSize
);
4577 if (!PyString_Check(_obj2
)) {
4578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4581 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4584 _arg3
= (bool ) tempbool3
;
4586 wxPy_BEGIN_ALLOW_THREADS
;
4587 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4589 wxPy_END_ALLOW_THREADS
;
4590 if (PyErr_Occurred()) return NULL
;
4591 } _resultobj
= Py_BuildValue("l",_result
);
4599 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4600 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4603 wxPyListCtrl
* _arg0
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self","start","data", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_FindItemData. Expected _wxPyListCtrl_p.");
4620 wxPy_BEGIN_ALLOW_THREADS
;
4621 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4623 wxPy_END_ALLOW_THREADS
;
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("l",_result
);
4629 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4630 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4633 wxPyListCtrl
* _arg0
;
4637 PyObject
* _argo0
= 0;
4639 PyObject
* _obj2
= 0;
4640 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4654 if (! wxPoint_helper(_obj2
, &_arg2
))
4658 wxPy_BEGIN_ALLOW_THREADS
;
4659 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4661 wxPy_END_ALLOW_THREADS
;
4662 if (PyErr_Occurred()) return NULL
;
4663 } _resultobj
= Py_BuildValue("l",_result
);
4667 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4668 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4671 wxPyListCtrl
* _arg0
;
4675 PyObject
* _argo0
= 0;
4677 PyObject
* _obj1
= 0;
4678 char *_kwnames
[] = { "self","point", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4695 if (! wxPoint_helper(_obj1
, &_arg1
))
4699 wxPy_BEGIN_ALLOW_THREADS
;
4700 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4702 wxPy_END_ALLOW_THREADS
;
4703 if (PyErr_Occurred()) return NULL
;
4704 } _resultobj
= Py_BuildValue("l",_result
);
4707 o
= PyInt_FromLong((long) (*_arg2
));
4708 _resultobj
= t_output_helper(_resultobj
, o
);
4713 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4714 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4717 wxPyListCtrl
* _arg0
;
4719 PyObject
* _argo0
= 0;
4720 PyObject
* _argo1
= 0;
4721 char *_kwnames
[] = { "self","info", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4741 wxPy_BEGIN_ALLOW_THREADS
;
4742 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4744 wxPy_END_ALLOW_THREADS
;
4745 if (PyErr_Occurred()) return NULL
;
4746 } _resultobj
= Py_BuildValue("l",_result
);
4750 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4751 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4754 wxPyListCtrl
* _arg0
;
4757 PyObject
* _argo0
= 0;
4758 PyObject
* _obj2
= 0;
4759 char *_kwnames
[] = { "self","index","label", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4772 #if PYTHON_API_VERSION >= 1009
4773 char* tmpPtr
; int tmpSize
;
4774 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4778 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4780 _arg2
= new wxString(tmpPtr
, tmpSize
);
4782 if (!PyString_Check(_obj2
)) {
4783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4786 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4790 wxPy_BEGIN_ALLOW_THREADS
;
4791 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4793 wxPy_END_ALLOW_THREADS
;
4794 if (PyErr_Occurred()) return NULL
;
4795 } _resultobj
= Py_BuildValue("l",_result
);
4803 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4804 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4807 wxPyListCtrl
* _arg0
;
4810 PyObject
* _argo0
= 0;
4811 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4824 wxPy_BEGIN_ALLOW_THREADS
;
4825 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4827 wxPy_END_ALLOW_THREADS
;
4828 if (PyErr_Occurred()) return NULL
;
4829 } _resultobj
= Py_BuildValue("l",_result
);
4833 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4834 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4837 wxPyListCtrl
* _arg0
;
4841 PyObject
* _argo0
= 0;
4842 PyObject
* _obj2
= 0;
4843 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4856 #if PYTHON_API_VERSION >= 1009
4857 char* tmpPtr
; int tmpSize
;
4858 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4859 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4862 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4864 _arg2
= new wxString(tmpPtr
, tmpSize
);
4866 if (!PyString_Check(_obj2
)) {
4867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4870 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4877 wxPy_END_ALLOW_THREADS
;
4878 if (PyErr_Occurred()) return NULL
;
4879 } _resultobj
= Py_BuildValue("l",_result
);
4887 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4888 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4891 wxPyListCtrl
* _arg0
;
4894 PyObject
* _argo0
= 0;
4895 PyObject
* _argo2
= 0;
4896 char *_kwnames
[] = { "self","col","info", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4909 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4916 wxPy_BEGIN_ALLOW_THREADS
;
4917 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4919 wxPy_END_ALLOW_THREADS
;
4920 if (PyErr_Occurred()) return NULL
;
4921 } _resultobj
= Py_BuildValue("l",_result
);
4925 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4926 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4929 wxPyListCtrl
* _arg0
;
4932 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4933 int _arg4
= (int ) -1;
4934 PyObject
* _argo0
= 0;
4935 PyObject
* _obj2
= 0;
4936 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4949 #if PYTHON_API_VERSION >= 1009
4950 char* tmpPtr
; int tmpSize
;
4951 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4955 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4957 _arg2
= new wxString(tmpPtr
, tmpSize
);
4959 if (!PyString_Check(_obj2
)) {
4960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4963 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4967 wxPy_BEGIN_ALLOW_THREADS
;
4968 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4970 wxPy_END_ALLOW_THREADS
;
4971 if (PyErr_Occurred()) return NULL
;
4972 } _resultobj
= Py_BuildValue("l",_result
);
4980 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4981 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4983 wxPyListCtrl
* _arg0
;
4985 PyObject
* _argo0
= 0;
4986 char *_kwnames
[] = { "self","count", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
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_SetItemCount. Expected _wxPyListCtrl_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 if (PyErr_Occurred()) return NULL
;
5004 } Py_INCREF(Py_None
);
5005 _resultobj
= Py_None
;
5009 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5010 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5013 wxPyListCtrl
* _arg0
;
5016 PyObject
* _argo0
= 0;
5017 char *_kwnames
[] = { "self","dx","dy", NULL
};
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5030 wxPy_BEGIN_ALLOW_THREADS
;
5031 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5033 wxPy_END_ALLOW_THREADS
;
5034 if (PyErr_Occurred()) return NULL
;
5035 } _resultobj
= Py_BuildValue("i",_result
);
5039 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5040 if (!PyCallable_Check(func
))
5042 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5044 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5047 wxPyListCtrl
* _arg0
;
5049 PyObject
* _argo0
= 0;
5050 PyObject
* _obj1
= 0;
5051 char *_kwnames
[] = { "self","func", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5067 wxPy_BEGIN_ALLOW_THREADS
;
5068 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5070 wxPy_END_ALLOW_THREADS
;
5071 if (PyErr_Occurred()) return NULL
;
5072 } _resultobj
= Py_BuildValue("i",_result
);
5076 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5079 src
= (wxListView
*) ptr
;
5080 dest
= (wxPyListCtrl
*) src
;
5081 return (void *) dest
;
5084 static void *SwigwxListViewTowxControl(void *ptr
) {
5087 src
= (wxListView
*) ptr
;
5088 dest
= (wxControl
*) src
;
5089 return (void *) dest
;
5092 static void *SwigwxListViewTowxWindow(void *ptr
) {
5095 src
= (wxListView
*) ptr
;
5096 dest
= (wxWindow
*) src
;
5097 return (void *) dest
;
5100 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5103 src
= (wxListView
*) ptr
;
5104 dest
= (wxEvtHandler
*) src
;
5105 return (void *) dest
;
5108 static void *SwigwxListViewTowxObject(void *ptr
) {
5111 src
= (wxListView
*) ptr
;
5112 dest
= (wxObject
*) src
;
5113 return (void *) dest
;
5116 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5117 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 wxListView
* _result
;
5121 wxWindowID _arg1
= (wxWindowID
) -1;
5122 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5123 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5124 long _arg4
= (long ) (wxLC_REPORT
);
5125 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5126 wxString
* _arg6
= (wxString
*) &"listctrl";
5127 PyObject
* _argo0
= 0;
5129 PyObject
* _obj2
= 0;
5131 PyObject
* _obj3
= 0;
5132 PyObject
* _argo5
= 0;
5133 PyObject
* _obj6
= 0;
5134 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5150 if (! wxPoint_helper(_obj2
, &_arg2
))
5156 if (! wxSize_helper(_obj3
, &_arg3
))
5160 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5168 #if PYTHON_API_VERSION >= 1009
5169 char* tmpPtr
; int tmpSize
;
5170 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5174 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5176 _arg6
= new wxString(tmpPtr
, tmpSize
);
5178 if (!PyString_Check(_obj6
)) {
5179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5182 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5186 wxPy_BEGIN_ALLOW_THREADS
;
5187 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5189 wxPy_END_ALLOW_THREADS
;
5190 if (PyErr_Occurred()) return NULL
;
5192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5193 _resultobj
= Py_BuildValue("s",_ptemp
);
5196 _resultobj
= Py_None
;
5205 #define new_wxPreListView() (new wxListView())
5206 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5208 wxListView
* _result
;
5209 char *_kwnames
[] = { NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5216 wxPy_BEGIN_ALLOW_THREADS
;
5217 _result
= (wxListView
*)new_wxPreListView();
5219 wxPy_END_ALLOW_THREADS
;
5220 if (PyErr_Occurred()) return NULL
;
5222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5223 _resultobj
= Py_BuildValue("s",_ptemp
);
5226 _resultobj
= Py_None
;
5231 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5232 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5237 wxWindowID _arg2
= (wxWindowID
) -1;
5238 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5239 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5240 long _arg5
= (long ) (wxLC_REPORT
);
5241 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5242 wxString
* _arg7
= (wxString
*) &"listctrl";
5243 PyObject
* _argo0
= 0;
5244 PyObject
* _argo1
= 0;
5246 PyObject
* _obj3
= 0;
5248 PyObject
* _obj4
= 0;
5249 PyObject
* _argo6
= 0;
5250 PyObject
* _obj7
= 0;
5251 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5273 if (! wxPoint_helper(_obj3
, &_arg3
))
5279 if (! wxSize_helper(_obj4
, &_arg4
))
5283 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5291 #if PYTHON_API_VERSION >= 1009
5292 char* tmpPtr
; int tmpSize
;
5293 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5297 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5299 _arg7
= new wxString(tmpPtr
, tmpSize
);
5301 if (!PyString_Check(_obj7
)) {
5302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5305 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5312 wxPy_END_ALLOW_THREADS
;
5313 if (PyErr_Occurred()) return NULL
;
5314 } _resultobj
= Py_BuildValue("i",_result
);
5322 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5323 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
* _resultobj
;
5327 bool _arg2
= (bool ) TRUE
;
5328 PyObject
* _argo0
= 0;
5329 int tempbool2
= (int) TRUE
;
5330 char *_kwnames
[] = { "self","n","on", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5342 _arg2
= (bool ) tempbool2
;
5344 wxPy_BEGIN_ALLOW_THREADS
;
5345 wxListView_Select(_arg0
,_arg1
,_arg2
);
5347 wxPy_END_ALLOW_THREADS
;
5348 if (PyErr_Occurred()) return NULL
;
5349 } Py_INCREF(Py_None
);
5350 _resultobj
= Py_None
;
5354 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5355 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5359 PyObject
* _argo0
= 0;
5360 char *_kwnames
[] = { "self","index", NULL
};
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5373 wxPy_BEGIN_ALLOW_THREADS
;
5374 wxListView_Focus(_arg0
,_arg1
);
5376 wxPy_END_ALLOW_THREADS
;
5377 if (PyErr_Occurred()) return NULL
;
5378 } Py_INCREF(Py_None
);
5379 _resultobj
= Py_None
;
5383 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5384 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5388 PyObject
* _argo0
= 0;
5389 char *_kwnames
[] = { "self", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5402 wxPy_BEGIN_ALLOW_THREADS
;
5403 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5405 wxPy_END_ALLOW_THREADS
;
5406 if (PyErr_Occurred()) return NULL
;
5407 } _resultobj
= Py_BuildValue("l",_result
);
5411 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5412 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5417 PyObject
* _argo0
= 0;
5418 char *_kwnames
[] = { "self","item", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5431 wxPy_BEGIN_ALLOW_THREADS
;
5432 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5434 wxPy_END_ALLOW_THREADS
;
5435 if (PyErr_Occurred()) return NULL
;
5436 } _resultobj
= Py_BuildValue("l",_result
);
5440 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5441 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5445 PyObject
* _argo0
= 0;
5446 char *_kwnames
[] = { "self", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5459 wxPy_BEGIN_ALLOW_THREADS
;
5460 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5462 wxPy_END_ALLOW_THREADS
;
5463 if (PyErr_Occurred()) return NULL
;
5464 } _resultobj
= Py_BuildValue("l",_result
);
5468 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5469 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5474 PyObject
* _argo0
= 0;
5475 char *_kwnames
[] = { "self","index", NULL
};
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5488 wxPy_BEGIN_ALLOW_THREADS
;
5489 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5491 wxPy_END_ALLOW_THREADS
;
5492 if (PyErr_Occurred()) return NULL
;
5493 } _resultobj
= Py_BuildValue("i",_result
);
5497 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5498 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5503 PyObject
* _argo0
= 0;
5504 char *_kwnames
[] = { "self","col","image", NULL
};
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5520 wxPy_END_ALLOW_THREADS
;
5521 if (PyErr_Occurred()) return NULL
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5527 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5528 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5532 PyObject
* _argo0
= 0;
5533 char *_kwnames
[] = { "self","col", NULL
};
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5546 wxPy_BEGIN_ALLOW_THREADS
;
5547 wxListView_ClearColumnImage(_arg0
,_arg1
);
5549 wxPy_END_ALLOW_THREADS
;
5550 if (PyErr_Occurred()) return NULL
;
5551 } Py_INCREF(Py_None
);
5552 _resultobj
= Py_None
;
5556 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5557 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5559 wxTreeItemAttr
* _result
;
5560 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5561 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5562 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5564 PyObject
* _obj0
= 0;
5566 PyObject
* _obj1
= 0;
5567 PyObject
* _argo2
= 0;
5568 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5577 if (! wxColour_helper(_obj0
, &_arg0
))
5583 if (! wxColour_helper(_obj1
, &_arg1
))
5587 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5594 wxPy_BEGIN_ALLOW_THREADS
;
5595 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5597 wxPy_END_ALLOW_THREADS
;
5598 if (PyErr_Occurred()) return NULL
;
5600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5601 _resultobj
= Py_BuildValue("s",_ptemp
);
5604 _resultobj
= Py_None
;
5609 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5610 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5612 wxTreeItemAttr
* _arg0
;
5614 PyObject
* _argo0
= 0;
5616 PyObject
* _obj1
= 0;
5617 char *_kwnames
[] = { "self","colText", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5631 if (! wxColour_helper(_obj1
, &_arg1
))
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5638 wxPy_END_ALLOW_THREADS
;
5639 if (PyErr_Occurred()) return NULL
;
5640 } Py_INCREF(Py_None
);
5641 _resultobj
= Py_None
;
5645 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5646 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5648 wxTreeItemAttr
* _arg0
;
5650 PyObject
* _argo0
= 0;
5652 PyObject
* _obj1
= 0;
5653 char *_kwnames
[] = { "self","colBack", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5667 if (! wxColour_helper(_obj1
, &_arg1
))
5671 wxPy_BEGIN_ALLOW_THREADS
;
5672 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5674 wxPy_END_ALLOW_THREADS
;
5675 if (PyErr_Occurred()) return NULL
;
5676 } Py_INCREF(Py_None
);
5677 _resultobj
= Py_None
;
5681 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5682 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
* _resultobj
;
5684 wxTreeItemAttr
* _arg0
;
5686 PyObject
* _argo0
= 0;
5687 PyObject
* _argo1
= 0;
5688 char *_kwnames
[] = { "self","font", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5708 wxPy_BEGIN_ALLOW_THREADS
;
5709 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5711 wxPy_END_ALLOW_THREADS
;
5712 if (PyErr_Occurred()) return NULL
;
5713 } Py_INCREF(Py_None
);
5714 _resultobj
= Py_None
;
5718 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5719 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5722 wxTreeItemAttr
* _arg0
;
5723 PyObject
* _argo0
= 0;
5724 char *_kwnames
[] = { "self", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5740 wxPy_END_ALLOW_THREADS
;
5741 if (PyErr_Occurred()) return NULL
;
5742 } _resultobj
= Py_BuildValue("i",_result
);
5746 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5747 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5750 wxTreeItemAttr
* _arg0
;
5751 PyObject
* _argo0
= 0;
5752 char *_kwnames
[] = { "self", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5765 wxPy_BEGIN_ALLOW_THREADS
;
5766 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5768 wxPy_END_ALLOW_THREADS
;
5769 if (PyErr_Occurred()) return NULL
;
5770 } _resultobj
= Py_BuildValue("i",_result
);
5774 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5775 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5778 wxTreeItemAttr
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5796 wxPy_END_ALLOW_THREADS
;
5797 if (PyErr_Occurred()) return NULL
;
5798 } _resultobj
= Py_BuildValue("i",_result
);
5802 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5803 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5806 wxTreeItemAttr
* _arg0
;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 const wxColour
& _result_ref
= wxTreeItemAttr_GetTextColour(_arg0
);
5824 _result
= (wxColour
*) &_result_ref
;
5826 wxPy_END_ALLOW_THREADS
;
5827 if (PyErr_Occurred()) return NULL
;
5829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5830 _resultobj
= Py_BuildValue("s",_ptemp
);
5833 _resultobj
= Py_None
;
5838 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5839 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5842 wxTreeItemAttr
* _arg0
;
5843 PyObject
* _argo0
= 0;
5844 char *_kwnames
[] = { "self", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5858 wxPy_BEGIN_ALLOW_THREADS
;
5859 const wxColour
& _result_ref
= wxTreeItemAttr_GetBackgroundColour(_arg0
);
5860 _result
= (wxColour
*) &_result_ref
;
5862 wxPy_END_ALLOW_THREADS
;
5863 if (PyErr_Occurred()) return NULL
;
5865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5866 _resultobj
= Py_BuildValue("s",_ptemp
);
5869 _resultobj
= Py_None
;
5874 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5875 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5878 wxTreeItemAttr
* _arg0
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5894 wxPy_BEGIN_ALLOW_THREADS
;
5895 const wxFont
& _result_ref
= wxTreeItemAttr_GetFont(_arg0
);
5896 _result
= (wxFont
*) &_result_ref
;
5898 wxPy_END_ALLOW_THREADS
;
5899 if (PyErr_Occurred()) return NULL
;
5901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5902 _resultobj
= Py_BuildValue("s",_ptemp
);
5905 _resultobj
= Py_None
;
5910 #define new_wxTreeItemId() (new wxTreeItemId())
5911 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5913 wxTreeItemId
* _result
;
5914 char *_kwnames
[] = { NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5921 wxPy_BEGIN_ALLOW_THREADS
;
5922 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5924 wxPy_END_ALLOW_THREADS
;
5925 if (PyErr_Occurred()) return NULL
;
5927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5928 _resultobj
= Py_BuildValue("s",_ptemp
);
5931 _resultobj
= Py_None
;
5936 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5937 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5939 wxTreeItemId
* _arg0
;
5940 PyObject
* _argo0
= 0;
5941 char *_kwnames
[] = { "self", NULL
};
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5954 wxPy_BEGIN_ALLOW_THREADS
;
5955 delete_wxTreeItemId(_arg0
);
5957 wxPy_END_ALLOW_THREADS
;
5958 if (PyErr_Occurred()) return NULL
;
5959 } Py_INCREF(Py_None
);
5960 _resultobj
= Py_None
;
5964 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5965 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5968 wxTreeItemId
* _arg0
;
5969 PyObject
* _argo0
= 0;
5970 char *_kwnames
[] = { "self", NULL
};
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5983 wxPy_BEGIN_ALLOW_THREADS
;
5984 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5986 wxPy_END_ALLOW_THREADS
;
5987 if (PyErr_Occurred()) return NULL
;
5988 } _resultobj
= Py_BuildValue("i",_result
);
5992 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5993 if (! other
) return -1;
5994 return *self
!= *other
;
5996 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
* _resultobj
;
5999 wxTreeItemId
* _arg0
;
6000 wxTreeItemId
* _arg1
;
6001 PyObject
* _argo0
= 0;
6002 PyObject
* _argo1
= 0;
6003 char *_kwnames
[] = { "self","other", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6023 wxPy_BEGIN_ALLOW_THREADS
;
6024 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6026 wxPy_END_ALLOW_THREADS
;
6027 if (PyErr_Occurred()) return NULL
;
6028 } _resultobj
= Py_BuildValue("i",_result
);
6032 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6033 wxPyTreeItemData
*src
;
6035 src
= (wxPyTreeItemData
*) ptr
;
6036 dest
= (wxObject
*) src
;
6037 return (void *) dest
;
6040 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6041 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6043 wxPyTreeItemData
* _result
;
6044 PyObject
* _arg0
= (PyObject
*) NULL
;
6045 PyObject
* _obj0
= 0;
6046 char *_kwnames
[] = { "obj", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6057 wxPy_BEGIN_ALLOW_THREADS
;
6058 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6060 wxPy_END_ALLOW_THREADS
;
6061 if (PyErr_Occurred()) return NULL
;
6063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6064 _resultobj
= Py_BuildValue("s",_ptemp
);
6067 _resultobj
= Py_None
;
6072 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6073 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6076 wxPyTreeItemData
* _arg0
;
6077 PyObject
* _argo0
= 0;
6078 char *_kwnames
[] = { "self", NULL
};
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6091 wxPy_BEGIN_ALLOW_THREADS
;
6092 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6094 wxPy_END_ALLOW_THREADS
;
6095 if (PyErr_Occurred()) return NULL
;
6097 _resultobj
= _result
;
6102 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6103 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6105 wxPyTreeItemData
* _arg0
;
6107 PyObject
* _argo0
= 0;
6108 PyObject
* _obj1
= 0;
6109 char *_kwnames
[] = { "self","obj", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6125 wxPy_BEGIN_ALLOW_THREADS
;
6126 wxTreeItemData_SetData(_arg0
,_arg1
);
6128 wxPy_END_ALLOW_THREADS
;
6129 if (PyErr_Occurred()) return NULL
;
6130 } Py_INCREF(Py_None
);
6131 _resultobj
= Py_None
;
6135 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6136 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6138 wxTreeItemId
* _result
;
6139 wxPyTreeItemData
* _arg0
;
6140 PyObject
* _argo0
= 0;
6141 char *_kwnames
[] = { "self", NULL
};
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6155 wxPy_BEGIN_ALLOW_THREADS
;
6156 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6157 _result
= (wxTreeItemId
*) &_result_ref
;
6159 wxPy_END_ALLOW_THREADS
;
6160 if (PyErr_Occurred()) return NULL
;
6162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6163 _resultobj
= Py_BuildValue("s",_ptemp
);
6166 _resultobj
= Py_None
;
6171 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6172 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6174 wxPyTreeItemData
* _arg0
;
6175 wxTreeItemId
* _arg1
;
6176 PyObject
* _argo0
= 0;
6177 PyObject
* _argo1
= 0;
6178 char *_kwnames
[] = { "self","id", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6198 wxPy_BEGIN_ALLOW_THREADS
;
6199 wxTreeItemData_SetId(_arg0
,*_arg1
);
6201 wxPy_END_ALLOW_THREADS
;
6202 if (PyErr_Occurred()) return NULL
;
6203 } Py_INCREF(Py_None
);
6204 _resultobj
= Py_None
;
6208 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6210 wxNotifyEvent
*dest
;
6211 src
= (wxTreeEvent
*) ptr
;
6212 dest
= (wxNotifyEvent
*) src
;
6213 return (void *) dest
;
6216 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6218 wxCommandEvent
*dest
;
6219 src
= (wxTreeEvent
*) ptr
;
6220 dest
= (wxCommandEvent
*) src
;
6221 return (void *) dest
;
6224 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6227 src
= (wxTreeEvent
*) ptr
;
6228 dest
= (wxEvent
*) src
;
6229 return (void *) dest
;
6232 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6235 src
= (wxTreeEvent
*) ptr
;
6236 dest
= (wxObject
*) src
;
6237 return (void *) dest
;
6240 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6241 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6243 wxTreeEvent
* _result
;
6244 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6245 int _arg1
= (int ) 0;
6246 char *_kwnames
[] = { "commandType","id", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6253 wxPy_BEGIN_ALLOW_THREADS
;
6254 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6256 wxPy_END_ALLOW_THREADS
;
6257 if (PyErr_Occurred()) return NULL
;
6259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6260 _resultobj
= Py_BuildValue("s",_ptemp
);
6263 _resultobj
= Py_None
;
6268 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6269 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6271 wxTreeItemId
* _result
;
6272 wxTreeEvent
* _arg0
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6291 wxPy_END_ALLOW_THREADS
;
6292 if (PyErr_Occurred()) return NULL
;
6293 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6294 _resultobj
= Py_BuildValue("s",_ptemp
);
6298 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6299 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6301 wxTreeItemId
* _result
;
6302 wxTreeEvent
* _arg0
;
6303 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6321 wxPy_END_ALLOW_THREADS
;
6322 if (PyErr_Occurred()) return NULL
;
6323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6324 _resultobj
= Py_BuildValue("s",_ptemp
);
6328 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6329 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6332 wxTreeEvent
* _arg0
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6348 wxPy_BEGIN_ALLOW_THREADS
;
6349 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6351 wxPy_END_ALLOW_THREADS
;
6352 if (PyErr_Occurred()) return NULL
;
6353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6354 _resultobj
= Py_BuildValue("s",_ptemp
);
6358 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6359 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6361 wxKeyEvent
* _result
;
6362 wxTreeEvent
* _arg0
;
6363 PyObject
* _argo0
= 0;
6364 char *_kwnames
[] = { "self", NULL
};
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6378 wxPy_BEGIN_ALLOW_THREADS
;
6379 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6380 _result
= (wxKeyEvent
*) &_result_ref
;
6382 wxPy_END_ALLOW_THREADS
;
6383 if (PyErr_Occurred()) return NULL
;
6385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6386 _resultobj
= Py_BuildValue("s",_ptemp
);
6389 _resultobj
= Py_None
;
6394 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6395 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
* _resultobj
;
6398 wxTreeEvent
* _arg0
;
6399 PyObject
* _argo0
= 0;
6400 char *_kwnames
[] = { "self", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6413 wxPy_BEGIN_ALLOW_THREADS
;
6414 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6416 wxPy_END_ALLOW_THREADS
;
6417 if (PyErr_Occurred()) return NULL
;
6418 } _resultobj
= Py_BuildValue("i",_result
);
6422 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6423 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6426 wxTreeEvent
* _arg0
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6441 wxPy_BEGIN_ALLOW_THREADS
;
6442 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6443 _result
= (wxString
*) &_result_ref
;
6445 wxPy_END_ALLOW_THREADS
;
6446 if (PyErr_Occurred()) return NULL
;
6448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6453 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6456 src
= (wxPyTreeCtrl
*) ptr
;
6457 dest
= (wxControl
*) src
;
6458 return (void *) dest
;
6461 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6464 src
= (wxPyTreeCtrl
*) ptr
;
6465 dest
= (wxWindow
*) src
;
6466 return (void *) dest
;
6469 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6472 src
= (wxPyTreeCtrl
*) ptr
;
6473 dest
= (wxEvtHandler
*) src
;
6474 return (void *) dest
;
6477 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6480 src
= (wxPyTreeCtrl
*) ptr
;
6481 dest
= (wxObject
*) src
;
6482 return (void *) dest
;
6485 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6486 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
* _resultobj
;
6488 wxPyTreeCtrl
* _result
;
6490 wxWindowID _arg1
= (wxWindowID
) -1;
6491 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6492 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6493 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6494 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6495 char * _arg6
= (char *) "wxTreeCtrl";
6496 PyObject
* _argo0
= 0;
6498 PyObject
* _obj2
= 0;
6500 PyObject
* _obj3
= 0;
6501 PyObject
* _argo5
= 0;
6502 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6518 if (! wxPoint_helper(_obj2
, &_arg2
))
6524 if (! wxSize_helper(_obj3
, &_arg3
))
6528 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6535 wxPy_BEGIN_ALLOW_THREADS
;
6536 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6538 wxPy_END_ALLOW_THREADS
;
6539 if (PyErr_Occurred()) return NULL
;
6541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6542 _resultobj
= Py_BuildValue("s",_ptemp
);
6545 _resultobj
= Py_None
;
6550 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6551 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6553 wxPyTreeCtrl
* _result
;
6554 char *_kwnames
[] = { NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6561 wxPy_BEGIN_ALLOW_THREADS
;
6562 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6564 wxPy_END_ALLOW_THREADS
;
6565 if (PyErr_Occurred()) return NULL
;
6567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6568 _resultobj
= Py_BuildValue("s",_ptemp
);
6571 _resultobj
= Py_None
;
6576 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6577 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
* _resultobj
;
6580 wxPyTreeCtrl
* _arg0
;
6582 wxWindowID _arg2
= (wxWindowID
) -1;
6583 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6584 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6585 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6586 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6587 char * _arg7
= (char *) "wxTreeCtrl";
6588 PyObject
* _argo0
= 0;
6589 PyObject
* _argo1
= 0;
6591 PyObject
* _obj3
= 0;
6593 PyObject
* _obj4
= 0;
6594 PyObject
* _argo6
= 0;
6595 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6617 if (! wxPoint_helper(_obj3
, &_arg3
))
6623 if (! wxSize_helper(_obj4
, &_arg4
))
6627 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6634 wxPy_BEGIN_ALLOW_THREADS
;
6635 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6637 wxPy_END_ALLOW_THREADS
;
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6644 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6646 wxPyTreeCtrl
* _arg0
;
6649 PyObject
* _argo0
= 0;
6650 PyObject
* _obj1
= 0;
6651 PyObject
* _obj2
= 0;
6652 char *_kwnames
[] = { "self","self","_class", NULL
};
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6671 wxPy_BEGIN_ALLOW_THREADS
;
6672 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6674 wxPy_END_ALLOW_THREADS
;
6675 if (PyErr_Occurred()) return NULL
;
6676 } Py_INCREF(Py_None
);
6677 _resultobj
= Py_None
;
6681 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6682 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
* _resultobj
;
6685 wxPyTreeCtrl
* _arg0
;
6686 PyObject
* _argo0
= 0;
6687 char *_kwnames
[] = { "self", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6700 wxPy_BEGIN_ALLOW_THREADS
;
6701 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6703 wxPy_END_ALLOW_THREADS
;
6704 if (PyErr_Occurred()) return NULL
;
6705 } _resultobj
= Py_BuildValue("i",_result
);
6709 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6710 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6712 unsigned int _result
;
6713 wxPyTreeCtrl
* _arg0
;
6714 PyObject
* _argo0
= 0;
6715 char *_kwnames
[] = { "self", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6728 wxPy_BEGIN_ALLOW_THREADS
;
6729 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6731 wxPy_END_ALLOW_THREADS
;
6732 if (PyErr_Occurred()) return NULL
;
6733 } _resultobj
= Py_BuildValue("i",_result
);
6737 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6738 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6740 wxPyTreeCtrl
* _arg0
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self","indent", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6756 wxPy_BEGIN_ALLOW_THREADS
;
6757 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6759 wxPy_END_ALLOW_THREADS
;
6760 if (PyErr_Occurred()) return NULL
;
6761 } Py_INCREF(Py_None
);
6762 _resultobj
= Py_None
;
6766 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6767 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6769 wxImageList
* _result
;
6770 wxPyTreeCtrl
* _arg0
;
6771 PyObject
* _argo0
= 0;
6772 char *_kwnames
[] = { "self", NULL
};
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6785 wxPy_BEGIN_ALLOW_THREADS
;
6786 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6788 wxPy_END_ALLOW_THREADS
;
6789 if (PyErr_Occurred()) return NULL
;
6790 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6794 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6795 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
* _resultobj
;
6797 wxImageList
* _result
;
6798 wxPyTreeCtrl
* _arg0
;
6799 PyObject
* _argo0
= 0;
6800 char *_kwnames
[] = { "self", NULL
};
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6813 wxPy_BEGIN_ALLOW_THREADS
;
6814 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6816 wxPy_END_ALLOW_THREADS
;
6817 if (PyErr_Occurred()) return NULL
;
6818 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6822 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6823 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6825 wxPyTreeCtrl
* _arg0
;
6826 wxImageList
* _arg1
;
6827 PyObject
* _argo0
= 0;
6828 PyObject
* _argo1
= 0;
6829 char *_kwnames
[] = { "self","imageList", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6849 wxPy_BEGIN_ALLOW_THREADS
;
6850 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6852 wxPy_END_ALLOW_THREADS
;
6853 if (PyErr_Occurred()) return NULL
;
6854 } Py_INCREF(Py_None
);
6855 _resultobj
= Py_None
;
6859 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6860 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6862 wxPyTreeCtrl
* _arg0
;
6863 wxImageList
* _arg1
;
6864 PyObject
* _argo0
= 0;
6865 PyObject
* _argo1
= 0;
6866 char *_kwnames
[] = { "self","imageList", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6886 wxPy_BEGIN_ALLOW_THREADS
;
6887 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6889 wxPy_END_ALLOW_THREADS
;
6890 if (PyErr_Occurred()) return NULL
;
6891 } Py_INCREF(Py_None
);
6892 _resultobj
= Py_None
;
6896 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6897 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6899 wxPyTreeCtrl
* _arg0
;
6900 wxImageList
* _arg1
;
6901 PyObject
* _argo0
= 0;
6902 PyObject
* _argo1
= 0;
6903 char *_kwnames
[] = { "self","imageList", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6923 wxPy_BEGIN_ALLOW_THREADS
;
6924 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6926 wxPy_END_ALLOW_THREADS
;
6927 if (PyErr_Occurred()) return NULL
;
6928 } Py_INCREF(Py_None
);
6929 _resultobj
= Py_None
;
6933 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6934 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
* _resultobj
;
6936 wxPyTreeCtrl
* _arg0
;
6937 wxImageList
* _arg1
;
6938 PyObject
* _argo0
= 0;
6939 PyObject
* _argo1
= 0;
6940 char *_kwnames
[] = { "self","imageList", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6960 wxPy_BEGIN_ALLOW_THREADS
;
6961 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6963 wxPy_END_ALLOW_THREADS
;
6964 if (PyErr_Occurred()) return NULL
;
6965 } Py_INCREF(Py_None
);
6966 _resultobj
= Py_None
;
6970 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6971 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
* _resultobj
;
6973 unsigned int _result
;
6974 wxPyTreeCtrl
* _arg0
;
6975 PyObject
* _argo0
= 0;
6976 char *_kwnames
[] = { "self", NULL
};
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6989 wxPy_BEGIN_ALLOW_THREADS
;
6990 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6992 wxPy_END_ALLOW_THREADS
;
6993 if (PyErr_Occurred()) return NULL
;
6994 } _resultobj
= Py_BuildValue("i",_result
);
6998 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6999 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
* _resultobj
;
7001 wxPyTreeCtrl
* _arg0
;
7003 PyObject
* _argo0
= 0;
7004 char *_kwnames
[] = { "self","spacing", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7017 wxPy_BEGIN_ALLOW_THREADS
;
7018 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7020 wxPy_END_ALLOW_THREADS
;
7021 if (PyErr_Occurred()) return NULL
;
7022 } Py_INCREF(Py_None
);
7023 _resultobj
= Py_None
;
7027 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7028 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7031 wxPyTreeCtrl
* _arg0
;
7032 wxTreeItemId
* _arg1
;
7033 PyObject
* _argo0
= 0;
7034 PyObject
* _argo1
= 0;
7035 char *_kwnames
[] = { "self","item", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7055 wxPy_BEGIN_ALLOW_THREADS
;
7056 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7058 wxPy_END_ALLOW_THREADS
;
7059 if (PyErr_Occurred()) return NULL
;
7061 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7069 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7070 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7073 wxPyTreeCtrl
* _arg0
;
7074 wxTreeItemId
* _arg1
;
7075 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _argo1
= 0;
7078 char *_kwnames
[] = { "self","item","which", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7098 wxPy_BEGIN_ALLOW_THREADS
;
7099 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7101 wxPy_END_ALLOW_THREADS
;
7102 if (PyErr_Occurred()) return NULL
;
7103 } _resultobj
= Py_BuildValue("i",_result
);
7107 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7108 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7111 wxPyTreeCtrl
* _arg0
;
7112 wxTreeItemId
* _arg1
;
7113 PyObject
* _argo0
= 0;
7114 PyObject
* _argo1
= 0;
7115 char *_kwnames
[] = { "self","item", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7135 wxPy_BEGIN_ALLOW_THREADS
;
7136 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7138 wxPy_END_ALLOW_THREADS
;
7139 if (PyErr_Occurred()) return NULL
;
7140 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7145 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7147 wxPyTreeCtrl
* _arg0
;
7148 wxTreeItemId
* _arg1
;
7150 PyObject
* _argo0
= 0;
7151 PyObject
* _argo1
= 0;
7152 PyObject
* _obj2
= 0;
7153 char *_kwnames
[] = { "self","item","text", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7173 #if PYTHON_API_VERSION >= 1009
7174 char* tmpPtr
; int tmpSize
;
7175 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7176 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7179 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7181 _arg2
= new wxString(tmpPtr
, tmpSize
);
7183 if (!PyString_Check(_obj2
)) {
7184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7187 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7191 wxPy_BEGIN_ALLOW_THREADS
;
7192 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7194 wxPy_END_ALLOW_THREADS
;
7195 if (PyErr_Occurred()) return NULL
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7205 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7206 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
* _resultobj
;
7208 wxPyTreeCtrl
* _arg0
;
7209 wxTreeItemId
* _arg1
;
7211 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7212 PyObject
* _argo0
= 0;
7213 PyObject
* _argo1
= 0;
7214 char *_kwnames
[] = { "self","item","image","which", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7234 wxPy_BEGIN_ALLOW_THREADS
;
7235 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7237 wxPy_END_ALLOW_THREADS
;
7238 if (PyErr_Occurred()) return NULL
;
7239 } Py_INCREF(Py_None
);
7240 _resultobj
= Py_None
;
7244 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7245 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
* _resultobj
;
7247 wxPyTreeCtrl
* _arg0
;
7248 wxTreeItemId
* _arg1
;
7250 PyObject
* _argo0
= 0;
7251 PyObject
* _argo1
= 0;
7252 char *_kwnames
[] = { "self","item","image", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7272 wxPy_BEGIN_ALLOW_THREADS
;
7273 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7275 wxPy_END_ALLOW_THREADS
;
7276 if (PyErr_Occurred()) return NULL
;
7277 } Py_INCREF(Py_None
);
7278 _resultobj
= Py_None
;
7282 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7283 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7285 wxPyTreeCtrl
* _arg0
;
7286 wxTreeItemId
* _arg1
;
7287 bool _arg2
= (bool ) TRUE
;
7288 PyObject
* _argo0
= 0;
7289 PyObject
* _argo1
= 0;
7290 int tempbool2
= (int) TRUE
;
7291 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7310 _arg2
= (bool ) tempbool2
;
7312 wxPy_BEGIN_ALLOW_THREADS
;
7313 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7315 wxPy_END_ALLOW_THREADS
;
7316 if (PyErr_Occurred()) return NULL
;
7317 } Py_INCREF(Py_None
);
7318 _resultobj
= Py_None
;
7322 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7323 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7325 data
= new wxPyTreeItemData();
7326 data
->SetId(item
); // set the id
7327 self
->SetItemData(item
, data
);
7331 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7333 wxPyTreeItemData
* _result
;
7334 wxPyTreeCtrl
* _arg0
;
7335 wxTreeItemId
* _arg1
;
7336 PyObject
* _argo0
= 0;
7337 PyObject
* _argo1
= 0;
7338 char *_kwnames
[] = { "self","item", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7359 wxPy_BEGIN_ALLOW_THREADS
;
7360 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7362 wxPy_END_ALLOW_THREADS
;
7363 if (PyErr_Occurred()) return NULL
;
7365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7366 _resultobj
= Py_BuildValue("s",_ptemp
);
7369 _resultobj
= Py_None
;
7374 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7375 data
->SetId(item
); // set the id
7376 self
->SetItemData(item
, data
);
7378 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7380 wxPyTreeCtrl
* _arg0
;
7381 wxTreeItemId
* _arg1
;
7382 wxPyTreeItemData
* _arg2
;
7383 PyObject
* _argo0
= 0;
7384 PyObject
* _argo1
= 0;
7385 PyObject
* _argo2
= 0;
7386 char *_kwnames
[] = { "self","item","data", NULL
};
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7406 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7413 wxPy_BEGIN_ALLOW_THREADS
;
7414 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7416 wxPy_END_ALLOW_THREADS
;
7417 if (PyErr_Occurred()) return NULL
;
7418 } Py_INCREF(Py_None
);
7419 _resultobj
= Py_None
;
7423 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7424 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7426 data
= new wxPyTreeItemData();
7427 data
->SetId(item
); // set the id
7428 self
->SetItemData(item
, data
);
7430 return data
->GetData();
7432 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7435 wxPyTreeCtrl
* _arg0
;
7436 wxTreeItemId
* _arg1
;
7437 PyObject
* _argo0
= 0;
7438 PyObject
* _argo1
= 0;
7439 char *_kwnames
[] = { "self","item", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7459 wxPy_BEGIN_ALLOW_THREADS
;
7460 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7462 wxPy_END_ALLOW_THREADS
;
7463 if (PyErr_Occurred()) return NULL
;
7465 _resultobj
= _result
;
7470 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7471 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7473 data
= new wxPyTreeItemData(obj
);
7474 data
->SetId(item
); // set the id
7475 self
->SetItemData(item
, data
);
7479 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7481 wxPyTreeCtrl
* _arg0
;
7482 wxTreeItemId
* _arg1
;
7484 PyObject
* _argo0
= 0;
7485 PyObject
* _argo1
= 0;
7486 PyObject
* _obj2
= 0;
7487 char *_kwnames
[] = { "self","item","obj", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7510 wxPy_BEGIN_ALLOW_THREADS
;
7511 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7513 wxPy_END_ALLOW_THREADS
;
7514 if (PyErr_Occurred()) return NULL
;
7515 } Py_INCREF(Py_None
);
7516 _resultobj
= Py_None
;
7520 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7521 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7524 wxPyTreeCtrl
* _arg0
;
7525 wxTreeItemId
* _arg1
;
7526 PyObject
* _argo0
= 0;
7527 PyObject
* _argo1
= 0;
7528 char *_kwnames
[] = { "self","item", NULL
};
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7548 wxPy_BEGIN_ALLOW_THREADS
;
7549 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7551 wxPy_END_ALLOW_THREADS
;
7552 if (PyErr_Occurred()) return NULL
;
7553 } _resultobj
= Py_BuildValue("i",_result
);
7557 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7558 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
* _resultobj
;
7561 wxPyTreeCtrl
* _arg0
;
7562 wxTreeItemId
* _arg1
;
7563 PyObject
* _argo0
= 0;
7564 PyObject
* _argo1
= 0;
7565 char *_kwnames
[] = { "self","item", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7585 wxPy_BEGIN_ALLOW_THREADS
;
7586 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7588 wxPy_END_ALLOW_THREADS
;
7589 if (PyErr_Occurred()) return NULL
;
7590 } _resultobj
= Py_BuildValue("i",_result
);
7594 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7595 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
* _resultobj
;
7598 wxPyTreeCtrl
* _arg0
;
7599 wxTreeItemId
* _arg1
;
7600 PyObject
* _argo0
= 0;
7601 PyObject
* _argo1
= 0;
7602 char *_kwnames
[] = { "self","item", NULL
};
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7622 wxPy_BEGIN_ALLOW_THREADS
;
7623 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7625 wxPy_END_ALLOW_THREADS
;
7626 if (PyErr_Occurred()) return NULL
;
7627 } _resultobj
= Py_BuildValue("i",_result
);
7631 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7632 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
* _resultobj
;
7635 wxPyTreeCtrl
* _arg0
;
7636 wxTreeItemId
* _arg1
;
7637 PyObject
* _argo0
= 0;
7638 PyObject
* _argo1
= 0;
7639 char *_kwnames
[] = { "self","item", NULL
};
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7659 wxPy_BEGIN_ALLOW_THREADS
;
7660 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7662 wxPy_END_ALLOW_THREADS
;
7663 if (PyErr_Occurred()) return NULL
;
7664 } _resultobj
= Py_BuildValue("i",_result
);
7668 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7669 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
* _resultobj
;
7671 wxTreeItemId
* _result
;
7672 wxPyTreeCtrl
* _arg0
;
7673 PyObject
* _argo0
= 0;
7674 char *_kwnames
[] = { "self", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7688 wxPy_BEGIN_ALLOW_THREADS
;
7689 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7691 wxPy_END_ALLOW_THREADS
;
7692 if (PyErr_Occurred()) return NULL
;
7693 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7694 _resultobj
= Py_BuildValue("s",_ptemp
);
7698 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7699 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
* _resultobj
;
7701 wxTreeItemId
* _result
;
7702 wxPyTreeCtrl
* _arg0
;
7703 PyObject
* _argo0
= 0;
7704 char *_kwnames
[] = { "self", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7718 wxPy_BEGIN_ALLOW_THREADS
;
7719 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7721 wxPy_END_ALLOW_THREADS
;
7722 if (PyErr_Occurred()) return NULL
;
7723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7724 _resultobj
= Py_BuildValue("s",_ptemp
);
7728 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7729 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7731 wxTreeItemId
* _result
;
7732 wxPyTreeCtrl
* _arg0
;
7733 wxTreeItemId
* _arg1
;
7734 PyObject
* _argo0
= 0;
7735 PyObject
* _argo1
= 0;
7736 char *_kwnames
[] = { "self","item", NULL
};
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7757 wxPy_BEGIN_ALLOW_THREADS
;
7758 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7760 wxPy_END_ALLOW_THREADS
;
7761 if (PyErr_Occurred()) return NULL
;
7762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7763 _resultobj
= Py_BuildValue("s",_ptemp
);
7767 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7768 wxPyTState
* state
= wxPyBeginBlockThreads();
7769 PyObject
* rval
= PyList_New(0);
7770 wxArrayTreeItemIds array
;
7772 num
= self
->GetSelections(array
);
7773 for (x
=0; x
< num
; x
++) {
7774 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7775 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7776 PyList_Append(rval
, item
);
7778 wxPyEndBlockThreads(state
);
7781 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7784 wxPyTreeCtrl
* _arg0
;
7785 PyObject
* _argo0
= 0;
7786 char *_kwnames
[] = { "self", NULL
};
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7799 wxPy_BEGIN_ALLOW_THREADS
;
7800 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7802 wxPy_END_ALLOW_THREADS
;
7803 if (PyErr_Occurred()) return NULL
;
7805 _resultobj
= _result
;
7810 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7811 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
* _resultobj
;
7814 wxPyTreeCtrl
* _arg0
;
7815 wxTreeItemId
* _arg1
;
7816 bool _arg2
= (bool ) TRUE
;
7817 PyObject
* _argo0
= 0;
7818 PyObject
* _argo1
= 0;
7819 int tempbool2
= (int) TRUE
;
7820 char *_kwnames
[] = { "self","item","recursively", NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7833 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7834 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7839 _arg2
= (bool ) tempbool2
;
7841 wxPy_BEGIN_ALLOW_THREADS
;
7842 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7844 wxPy_END_ALLOW_THREADS
;
7845 if (PyErr_Occurred()) return NULL
;
7846 } _resultobj
= Py_BuildValue("i",_result
);
7850 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7851 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7853 wxTreeItemId
* _result
;
7854 wxPyTreeCtrl
* _arg0
;
7855 wxTreeItemId
* _arg1
;
7857 PyObject
* _argo0
= 0;
7858 PyObject
* _argo1
= 0;
7860 PyObject
* _obj2
= 0;
7861 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7882 temp
= (long) PyInt_AsLong(_obj2
);
7886 wxPy_BEGIN_ALLOW_THREADS
;
7887 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7889 wxPy_END_ALLOW_THREADS
;
7890 if (PyErr_Occurred()) return NULL
;
7891 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7892 _resultobj
= Py_BuildValue("s",_ptemp
);
7895 o
= PyInt_FromLong((long) (*_arg2
));
7896 _resultobj
= t_output_helper(_resultobj
, o
);
7901 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7902 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7904 wxTreeItemId
* _result
;
7905 wxPyTreeCtrl
* _arg0
;
7906 wxTreeItemId
* _arg1
;
7908 PyObject
* _argo0
= 0;
7909 PyObject
* _argo1
= 0;
7911 PyObject
* _obj2
= 0;
7912 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7933 temp
= (long) PyInt_AsLong(_obj2
);
7937 wxPy_BEGIN_ALLOW_THREADS
;
7938 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7940 wxPy_END_ALLOW_THREADS
;
7941 if (PyErr_Occurred()) return NULL
;
7942 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7943 _resultobj
= Py_BuildValue("s",_ptemp
);
7946 o
= PyInt_FromLong((long) (*_arg2
));
7947 _resultobj
= t_output_helper(_resultobj
, o
);
7952 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7953 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7955 wxTreeItemId
* _result
;
7956 wxPyTreeCtrl
* _arg0
;
7957 wxTreeItemId
* _arg1
;
7958 PyObject
* _argo0
= 0;
7959 PyObject
* _argo1
= 0;
7960 char *_kwnames
[] = { "self","item", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7981 wxPy_BEGIN_ALLOW_THREADS
;
7982 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7984 wxPy_END_ALLOW_THREADS
;
7985 if (PyErr_Occurred()) return NULL
;
7986 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7987 _resultobj
= Py_BuildValue("s",_ptemp
);
7991 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7992 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
* _resultobj
;
7994 wxTreeItemId
* _result
;
7995 wxPyTreeCtrl
* _arg0
;
7996 wxTreeItemId
* _arg1
;
7997 PyObject
* _argo0
= 0;
7998 PyObject
* _argo1
= 0;
7999 char *_kwnames
[] = { "self","item", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8020 wxPy_BEGIN_ALLOW_THREADS
;
8021 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8023 wxPy_END_ALLOW_THREADS
;
8024 if (PyErr_Occurred()) return NULL
;
8025 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8026 _resultobj
= Py_BuildValue("s",_ptemp
);
8030 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8031 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8033 wxTreeItemId
* _result
;
8034 wxPyTreeCtrl
* _arg0
;
8035 PyObject
* _argo0
= 0;
8036 char *_kwnames
[] = { "self", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8050 wxPy_BEGIN_ALLOW_THREADS
;
8051 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8053 wxPy_END_ALLOW_THREADS
;
8054 if (PyErr_Occurred()) return NULL
;
8055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8056 _resultobj
= Py_BuildValue("s",_ptemp
);
8060 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8061 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8063 wxTreeItemId
* _result
;
8064 wxPyTreeCtrl
* _arg0
;
8065 wxTreeItemId
* _arg1
;
8066 PyObject
* _argo0
= 0;
8067 PyObject
* _argo1
= 0;
8068 char *_kwnames
[] = { "self","item", NULL
};
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8089 wxPy_BEGIN_ALLOW_THREADS
;
8090 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8092 wxPy_END_ALLOW_THREADS
;
8093 if (PyErr_Occurred()) return NULL
;
8094 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8095 _resultobj
= Py_BuildValue("s",_ptemp
);
8099 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8100 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
* _resultobj
;
8102 wxTreeItemId
* _result
;
8103 wxPyTreeCtrl
* _arg0
;
8104 wxTreeItemId
* _arg1
;
8105 PyObject
* _argo0
= 0;
8106 PyObject
* _argo1
= 0;
8107 char *_kwnames
[] = { "self","item", NULL
};
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8128 wxPy_BEGIN_ALLOW_THREADS
;
8129 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8131 wxPy_END_ALLOW_THREADS
;
8132 if (PyErr_Occurred()) return NULL
;
8133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8134 _resultobj
= Py_BuildValue("s",_ptemp
);
8138 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8139 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
* _resultobj
;
8141 wxTreeItemId
* _result
;
8142 wxPyTreeCtrl
* _arg0
;
8143 wxTreeItemId
* _arg1
;
8144 PyObject
* _argo0
= 0;
8145 PyObject
* _argo1
= 0;
8146 char *_kwnames
[] = { "self","item", NULL
};
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8167 wxPy_BEGIN_ALLOW_THREADS
;
8168 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8170 wxPy_END_ALLOW_THREADS
;
8171 if (PyErr_Occurred()) return NULL
;
8172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8173 _resultobj
= Py_BuildValue("s",_ptemp
);
8177 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8178 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8180 wxTreeItemId
* _result
;
8181 wxPyTreeCtrl
* _arg0
;
8183 int _arg2
= (int ) -1;
8184 int _arg3
= (int ) -1;
8185 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8186 PyObject
* _argo0
= 0;
8187 PyObject
* _obj1
= 0;
8188 PyObject
* _argo4
= 0;
8189 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8203 #if PYTHON_API_VERSION >= 1009
8204 char* tmpPtr
; int tmpSize
;
8205 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8209 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8211 _arg1
= new wxString(tmpPtr
, tmpSize
);
8213 if (!PyString_Check(_obj1
)) {
8214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8217 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8221 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8222 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8228 wxPy_BEGIN_ALLOW_THREADS
;
8229 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8231 wxPy_END_ALLOW_THREADS
;
8232 if (PyErr_Occurred()) return NULL
;
8233 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8234 _resultobj
= Py_BuildValue("s",_ptemp
);
8242 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8243 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
* _resultobj
;
8245 wxTreeItemId
* _result
;
8246 wxPyTreeCtrl
* _arg0
;
8247 wxTreeItemId
* _arg1
;
8249 int _arg3
= (int ) -1;
8250 int _arg4
= (int ) -1;
8251 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8252 PyObject
* _argo0
= 0;
8253 PyObject
* _argo1
= 0;
8254 PyObject
* _obj2
= 0;
8255 PyObject
* _argo5
= 0;
8256 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8277 #if PYTHON_API_VERSION >= 1009
8278 char* tmpPtr
; int tmpSize
;
8279 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8283 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8285 _arg2
= new wxString(tmpPtr
, tmpSize
);
8287 if (!PyString_Check(_obj2
)) {
8288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8291 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8295 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8296 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8302 wxPy_BEGIN_ALLOW_THREADS
;
8303 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8305 wxPy_END_ALLOW_THREADS
;
8306 if (PyErr_Occurred()) return NULL
;
8307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8308 _resultobj
= Py_BuildValue("s",_ptemp
);
8316 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8317 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
* _resultobj
;
8319 wxTreeItemId
* _result
;
8320 wxPyTreeCtrl
* _arg0
;
8321 wxTreeItemId
* _arg1
;
8322 wxTreeItemId
* _arg2
;
8324 int _arg4
= (int ) -1;
8325 int _arg5
= (int ) -1;
8326 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8327 PyObject
* _argo0
= 0;
8328 PyObject
* _argo1
= 0;
8329 PyObject
* _argo2
= 0;
8330 PyObject
* _obj3
= 0;
8331 PyObject
* _argo6
= 0;
8332 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8353 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8354 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8360 #if PYTHON_API_VERSION >= 1009
8361 char* tmpPtr
; int tmpSize
;
8362 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8366 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8368 _arg3
= new wxString(tmpPtr
, tmpSize
);
8370 if (!PyString_Check(_obj3
)) {
8371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8374 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8378 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8379 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8385 wxPy_BEGIN_ALLOW_THREADS
;
8386 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8388 wxPy_END_ALLOW_THREADS
;
8389 if (PyErr_Occurred()) return NULL
;
8390 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8391 _resultobj
= Py_BuildValue("s",_ptemp
);
8399 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8400 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
* _resultobj
;
8402 wxTreeItemId
* _result
;
8403 wxPyTreeCtrl
* _arg0
;
8404 wxTreeItemId
* _arg1
;
8407 int _arg4
= (int ) -1;
8408 int _arg5
= (int ) -1;
8409 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8410 PyObject
* _argo0
= 0;
8411 PyObject
* _argo1
= 0;
8412 PyObject
* _obj3
= 0;
8413 PyObject
* _argo6
= 0;
8414 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8435 #if PYTHON_API_VERSION >= 1009
8436 char* tmpPtr
; int tmpSize
;
8437 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8441 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8443 _arg3
= new wxString(tmpPtr
, tmpSize
);
8445 if (!PyString_Check(_obj3
)) {
8446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8449 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8453 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8460 wxPy_BEGIN_ALLOW_THREADS
;
8461 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8463 wxPy_END_ALLOW_THREADS
;
8464 if (PyErr_Occurred()) return NULL
;
8465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8466 _resultobj
= Py_BuildValue("s",_ptemp
);
8474 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8475 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
* _resultobj
;
8477 wxTreeItemId
* _result
;
8478 wxPyTreeCtrl
* _arg0
;
8479 wxTreeItemId
* _arg1
;
8481 int _arg3
= (int ) -1;
8482 int _arg4
= (int ) -1;
8483 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8484 PyObject
* _argo0
= 0;
8485 PyObject
* _argo1
= 0;
8486 PyObject
* _obj2
= 0;
8487 PyObject
* _argo5
= 0;
8488 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8509 #if PYTHON_API_VERSION >= 1009
8510 char* tmpPtr
; int tmpSize
;
8511 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8515 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8517 _arg2
= new wxString(tmpPtr
, tmpSize
);
8519 if (!PyString_Check(_obj2
)) {
8520 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8523 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8527 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8534 wxPy_BEGIN_ALLOW_THREADS
;
8535 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8537 wxPy_END_ALLOW_THREADS
;
8538 if (PyErr_Occurred()) return NULL
;
8539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8540 _resultobj
= Py_BuildValue("s",_ptemp
);
8548 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8549 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
* _resultobj
;
8551 wxPyTreeCtrl
* _arg0
;
8552 wxTreeItemId
* _arg1
;
8553 PyObject
* _argo0
= 0;
8554 PyObject
* _argo1
= 0;
8555 char *_kwnames
[] = { "self","item", NULL
};
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8575 wxPy_BEGIN_ALLOW_THREADS
;
8576 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8578 wxPy_END_ALLOW_THREADS
;
8579 if (PyErr_Occurred()) return NULL
;
8580 } Py_INCREF(Py_None
);
8581 _resultobj
= Py_None
;
8585 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8586 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
* _resultobj
;
8588 wxPyTreeCtrl
* _arg0
;
8589 wxTreeItemId
* _arg1
;
8590 PyObject
* _argo0
= 0;
8591 PyObject
* _argo1
= 0;
8592 char *_kwnames
[] = { "self","item", NULL
};
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8612 wxPy_BEGIN_ALLOW_THREADS
;
8613 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8615 wxPy_END_ALLOW_THREADS
;
8616 if (PyErr_Occurred()) return NULL
;
8617 } Py_INCREF(Py_None
);
8618 _resultobj
= Py_None
;
8622 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8623 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8625 wxPyTreeCtrl
* _arg0
;
8626 PyObject
* _argo0
= 0;
8627 char *_kwnames
[] = { "self", NULL
};
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8640 wxPy_BEGIN_ALLOW_THREADS
;
8641 wxTreeCtrl_DeleteAllItems(_arg0
);
8643 wxPy_END_ALLOW_THREADS
;
8644 if (PyErr_Occurred()) return NULL
;
8645 } Py_INCREF(Py_None
);
8646 _resultobj
= Py_None
;
8650 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8651 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
* _resultobj
;
8653 wxPyTreeCtrl
* _arg0
;
8654 wxTreeItemId
* _arg1
;
8655 PyObject
* _argo0
= 0;
8656 PyObject
* _argo1
= 0;
8657 char *_kwnames
[] = { "self","item", NULL
};
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8677 wxPy_BEGIN_ALLOW_THREADS
;
8678 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8680 wxPy_END_ALLOW_THREADS
;
8681 if (PyErr_Occurred()) return NULL
;
8682 } Py_INCREF(Py_None
);
8683 _resultobj
= Py_None
;
8687 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8688 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8690 wxPyTreeCtrl
* _arg0
;
8691 wxTreeItemId
* _arg1
;
8692 PyObject
* _argo0
= 0;
8693 PyObject
* _argo1
= 0;
8694 char *_kwnames
[] = { "self","item", NULL
};
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8714 wxPy_BEGIN_ALLOW_THREADS
;
8715 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8717 wxPy_END_ALLOW_THREADS
;
8718 if (PyErr_Occurred()) return NULL
;
8719 } Py_INCREF(Py_None
);
8720 _resultobj
= Py_None
;
8724 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8725 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8727 wxPyTreeCtrl
* _arg0
;
8728 wxTreeItemId
* _arg1
;
8729 PyObject
* _argo0
= 0;
8730 PyObject
* _argo1
= 0;
8731 char *_kwnames
[] = { "self","item", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8751 wxPy_BEGIN_ALLOW_THREADS
;
8752 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8754 wxPy_END_ALLOW_THREADS
;
8755 if (PyErr_Occurred()) return NULL
;
8756 } Py_INCREF(Py_None
);
8757 _resultobj
= Py_None
;
8761 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8762 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
* _resultobj
;
8764 wxPyTreeCtrl
* _arg0
;
8765 wxTreeItemId
* _arg1
;
8766 PyObject
* _argo0
= 0;
8767 PyObject
* _argo1
= 0;
8768 char *_kwnames
[] = { "self","item", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8788 wxPy_BEGIN_ALLOW_THREADS
;
8789 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8791 wxPy_END_ALLOW_THREADS
;
8792 if (PyErr_Occurred()) return NULL
;
8793 } Py_INCREF(Py_None
);
8794 _resultobj
= Py_None
;
8798 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8799 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
* _resultobj
;
8801 wxPyTreeCtrl
* _arg0
;
8802 PyObject
* _argo0
= 0;
8803 char *_kwnames
[] = { "self", NULL
};
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8816 wxPy_BEGIN_ALLOW_THREADS
;
8817 wxTreeCtrl_Unselect(_arg0
);
8819 wxPy_END_ALLOW_THREADS
;
8820 if (PyErr_Occurred()) return NULL
;
8821 } Py_INCREF(Py_None
);
8822 _resultobj
= Py_None
;
8826 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8827 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
* _resultobj
;
8829 wxPyTreeCtrl
* _arg0
;
8830 PyObject
* _argo0
= 0;
8831 char *_kwnames
[] = { "self", NULL
};
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8844 wxPy_BEGIN_ALLOW_THREADS
;
8845 wxTreeCtrl_UnselectAll(_arg0
);
8847 wxPy_END_ALLOW_THREADS
;
8848 if (PyErr_Occurred()) return NULL
;
8849 } Py_INCREF(Py_None
);
8850 _resultobj
= Py_None
;
8854 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8855 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8857 wxPyTreeCtrl
* _arg0
;
8858 wxTreeItemId
* _arg1
;
8859 PyObject
* _argo0
= 0;
8860 PyObject
* _argo1
= 0;
8861 char *_kwnames
[] = { "self","item", NULL
};
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8881 wxPy_BEGIN_ALLOW_THREADS
;
8882 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8884 wxPy_END_ALLOW_THREADS
;
8885 if (PyErr_Occurred()) return NULL
;
8886 } Py_INCREF(Py_None
);
8887 _resultobj
= Py_None
;
8891 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8892 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
* _resultobj
;
8894 wxPyTreeCtrl
* _arg0
;
8895 wxTreeItemId
* _arg1
;
8896 PyObject
* _argo0
= 0;
8897 PyObject
* _argo1
= 0;
8898 char *_kwnames
[] = { "self","item", NULL
};
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8918 wxPy_BEGIN_ALLOW_THREADS
;
8919 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8921 wxPy_END_ALLOW_THREADS
;
8922 if (PyErr_Occurred()) return NULL
;
8923 } Py_INCREF(Py_None
);
8924 _resultobj
= Py_None
;
8928 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8929 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8931 wxPyTreeCtrl
* _arg0
;
8932 wxTreeItemId
* _arg1
;
8933 PyObject
* _argo0
= 0;
8934 PyObject
* _argo1
= 0;
8935 char *_kwnames
[] = { "self","item", NULL
};
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8955 wxPy_BEGIN_ALLOW_THREADS
;
8956 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8958 wxPy_END_ALLOW_THREADS
;
8959 if (PyErr_Occurred()) return NULL
;
8960 } Py_INCREF(Py_None
);
8961 _resultobj
= Py_None
;
8965 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8966 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
* _resultobj
;
8968 wxPyTreeCtrl
* _arg0
;
8969 wxTreeItemId
* _arg1
;
8970 PyObject
* _argo0
= 0;
8971 PyObject
* _argo1
= 0;
8972 char *_kwnames
[] = { "self","item", NULL
};
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8992 wxPy_BEGIN_ALLOW_THREADS
;
8993 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8995 wxPy_END_ALLOW_THREADS
;
8996 if (PyErr_Occurred()) return NULL
;
8997 } Py_INCREF(Py_None
);
8998 _resultobj
= Py_None
;
9002 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9003 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
* _resultobj
;
9005 wxPyTreeCtrl
* _arg0
;
9006 wxTreeItemId
* _arg1
;
9007 PyObject
* _argo0
= 0;
9008 PyObject
* _argo1
= 0;
9009 char *_kwnames
[] = { "self","item", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9029 wxPy_BEGIN_ALLOW_THREADS
;
9030 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9032 wxPy_END_ALLOW_THREADS
;
9033 if (PyErr_Occurred()) return NULL
;
9034 } Py_INCREF(Py_None
);
9035 _resultobj
= Py_None
;
9039 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9040 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
* _resultobj
;
9042 wxPyTreeCtrl
* _arg0
;
9043 wxTreeItemId
* _arg1
;
9044 int _arg2
= (int ) TRUE
;
9045 PyObject
* _argo0
= 0;
9046 PyObject
* _argo1
= 0;
9047 char *_kwnames
[] = { "self","item","bold", NULL
};
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9067 wxPy_BEGIN_ALLOW_THREADS
;
9068 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9070 wxPy_END_ALLOW_THREADS
;
9071 if (PyErr_Occurred()) return NULL
;
9072 } Py_INCREF(Py_None
);
9073 _resultobj
= Py_None
;
9077 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9078 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
* _resultobj
;
9081 wxPyTreeCtrl
* _arg0
;
9082 wxTreeItemId
* _arg1
;
9083 PyObject
* _argo0
= 0;
9084 PyObject
* _argo1
= 0;
9085 char *_kwnames
[] = { "self","item", NULL
};
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9098 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9105 wxPy_BEGIN_ALLOW_THREADS
;
9106 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9108 wxPy_END_ALLOW_THREADS
;
9109 if (PyErr_Occurred()) return NULL
;
9110 } _resultobj
= Py_BuildValue("i",_result
);
9114 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9115 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
* _resultobj
;
9117 wxTreeItemId
* _result
;
9118 wxPyTreeCtrl
* _arg0
;
9122 PyObject
* _argo0
= 0;
9124 PyObject
* _obj1
= 0;
9125 char *_kwnames
[] = { "self","point", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9143 if (! wxPoint_helper(_obj1
, &_arg1
))
9147 wxPy_BEGIN_ALLOW_THREADS
;
9148 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9150 wxPy_END_ALLOW_THREADS
;
9151 if (PyErr_Occurred()) return NULL
;
9152 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9153 _resultobj
= Py_BuildValue("s",_ptemp
);
9156 o
= PyInt_FromLong((long) (*_arg2
));
9157 _resultobj
= t_output_helper(_resultobj
, o
);
9162 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9163 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9165 wxPyTreeCtrl
* _arg0
;
9166 wxTreeItemId
* _arg1
;
9168 PyObject
* _argo0
= 0;
9169 PyObject
* _argo1
= 0;
9171 PyObject
* _obj2
= 0;
9172 char *_kwnames
[] = { "self","item","col", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9193 if (! wxColour_helper(_obj2
, &_arg2
))
9197 wxPy_BEGIN_ALLOW_THREADS
;
9198 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9200 wxPy_END_ALLOW_THREADS
;
9201 if (PyErr_Occurred()) return NULL
;
9202 } Py_INCREF(Py_None
);
9203 _resultobj
= Py_None
;
9207 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9208 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
* _resultobj
;
9210 wxPyTreeCtrl
* _arg0
;
9211 wxTreeItemId
* _arg1
;
9213 PyObject
* _argo0
= 0;
9214 PyObject
* _argo1
= 0;
9216 PyObject
* _obj2
= 0;
9217 char *_kwnames
[] = { "self","item","col", NULL
};
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9238 if (! wxColour_helper(_obj2
, &_arg2
))
9242 wxPy_BEGIN_ALLOW_THREADS
;
9243 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9245 wxPy_END_ALLOW_THREADS
;
9246 if (PyErr_Occurred()) return NULL
;
9247 } Py_INCREF(Py_None
);
9248 _resultobj
= Py_None
;
9252 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9253 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9255 wxPyTreeCtrl
* _arg0
;
9256 wxTreeItemId
* _arg1
;
9258 PyObject
* _argo0
= 0;
9259 PyObject
* _argo1
= 0;
9260 PyObject
* _argo2
= 0;
9261 char *_kwnames
[] = { "self","item","font", NULL
};
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9281 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9282 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9288 wxPy_BEGIN_ALLOW_THREADS
;
9289 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9291 wxPy_END_ALLOW_THREADS
;
9292 if (PyErr_Occurred()) return NULL
;
9293 } Py_INCREF(Py_None
);
9294 _resultobj
= Py_None
;
9298 static PyMethodDef controls2cMethods
[] = {
9299 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
9300 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9301 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9302 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9303 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
9304 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
9305 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
9306 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9307 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
9308 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9309 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
9310 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
9311 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
9312 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9313 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
9314 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
9315 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
9316 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9317 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
9318 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9319 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9320 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
9321 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9322 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
9323 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
9324 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
9325 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
9326 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
9327 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
9328 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
9329 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
9330 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
9331 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9332 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
9333 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9334 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
9335 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9336 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
9337 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9338 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
9339 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9340 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9341 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9342 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9343 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9344 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9345 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9346 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9347 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9348 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9349 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9350 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9351 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9352 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9353 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9354 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9355 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9356 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9357 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9358 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9359 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9360 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9361 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9362 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9363 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9364 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9365 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9366 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9367 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9368 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9369 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
9370 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9371 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9372 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9373 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
9374 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9375 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9376 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9377 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9378 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
9379 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
9380 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9381 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9382 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9383 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9384 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9385 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9386 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9387 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9388 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9389 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9390 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9391 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9392 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9393 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9394 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9395 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9396 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
9397 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
9398 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
9399 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
9400 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
9401 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
9402 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
9403 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
9404 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
9405 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
9406 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9407 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
9408 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
9409 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9410 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
9411 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9412 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9413 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9414 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
9415 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
9416 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9417 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9418 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
9419 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
9420 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
9421 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9422 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9423 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
9424 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
9425 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
9426 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
9427 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9428 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9429 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9430 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
9431 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9432 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
9433 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
9434 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9435 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9436 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9437 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9438 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
9439 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9440 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9441 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
9442 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9443 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9444 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9445 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9446 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9447 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9448 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9449 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9450 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9451 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
9452 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9453 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
9454 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9455 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9456 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9457 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9458 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9459 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9460 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9461 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9462 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9463 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9464 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
9465 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
9466 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9467 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9468 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9469 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9470 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9471 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9472 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9473 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9474 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9475 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9476 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
9477 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
9478 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9556 * This table is used by the pointer type-checker
9558 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9559 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9560 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9561 { "_signed_long","_long",0},
9562 { "_wxPrintQuality","_wxCoord",0},
9563 { "_wxPrintQuality","_int",0},
9564 { "_wxPrintQuality","_signed_int",0},
9565 { "_wxPrintQuality","_unsigned_int",0},
9566 { "_wxPrintQuality","_wxWindowID",0},
9567 { "_wxPrintQuality","_uint",0},
9568 { "_wxPrintQuality","_EBool",0},
9569 { "_wxPrintQuality","_size_t",0},
9570 { "_wxPrintQuality","_time_t",0},
9571 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9572 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9573 { "_byte","_unsigned_char",0},
9574 { "_long","_unsigned_long",0},
9575 { "_long","_signed_long",0},
9576 { "_size_t","_wxCoord",0},
9577 { "_size_t","_wxPrintQuality",0},
9578 { "_size_t","_time_t",0},
9579 { "_size_t","_unsigned_int",0},
9580 { "_size_t","_int",0},
9581 { "_size_t","_wxWindowID",0},
9582 { "_size_t","_uint",0},
9583 { "_uint","_wxCoord",0},
9584 { "_uint","_wxPrintQuality",0},
9585 { "_uint","_time_t",0},
9586 { "_uint","_size_t",0},
9587 { "_uint","_unsigned_int",0},
9588 { "_uint","_int",0},
9589 { "_uint","_wxWindowID",0},
9590 { "_wxChar","_char",0},
9591 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9592 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9593 { "_char","_wxChar",0},
9594 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9595 { "_EBool","_wxCoord",0},
9596 { "_EBool","_wxPrintQuality",0},
9597 { "_EBool","_signed_int",0},
9598 { "_EBool","_int",0},
9599 { "_EBool","_wxWindowID",0},
9600 { "_unsigned_long","_long",0},
9601 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
9602 { "_signed_int","_wxCoord",0},
9603 { "_signed_int","_wxPrintQuality",0},
9604 { "_signed_int","_EBool",0},
9605 { "_signed_int","_wxWindowID",0},
9606 { "_signed_int","_int",0},
9607 { "_WXTYPE","_short",0},
9608 { "_WXTYPE","_signed_short",0},
9609 { "_WXTYPE","_unsigned_short",0},
9610 { "_unsigned_short","_WXTYPE",0},
9611 { "_unsigned_short","_short",0},
9612 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
9613 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
9614 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
9615 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
9616 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
9617 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
9618 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
9619 { "_signed_short","_WXTYPE",0},
9620 { "_signed_short","_short",0},
9621 { "_unsigned_char","_byte",0},
9622 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
9623 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
9624 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
9625 { "_unsigned_int","_wxCoord",0},
9626 { "_unsigned_int","_wxPrintQuality",0},
9627 { "_unsigned_int","_time_t",0},
9628 { "_unsigned_int","_size_t",0},
9629 { "_unsigned_int","_uint",0},
9630 { "_unsigned_int","_wxWindowID",0},
9631 { "_unsigned_int","_int",0},
9632 { "_short","_WXTYPE",0},
9633 { "_short","_unsigned_short",0},
9634 { "_short","_signed_short",0},
9635 { "_wxWindowID","_wxCoord",0},
9636 { "_wxWindowID","_wxPrintQuality",0},
9637 { "_wxWindowID","_time_t",0},
9638 { "_wxWindowID","_size_t",0},
9639 { "_wxWindowID","_EBool",0},
9640 { "_wxWindowID","_uint",0},
9641 { "_wxWindowID","_int",0},
9642 { "_wxWindowID","_signed_int",0},
9643 { "_wxWindowID","_unsigned_int",0},
9644 { "_int","_wxCoord",0},
9645 { "_int","_wxPrintQuality",0},
9646 { "_int","_time_t",0},
9647 { "_int","_size_t",0},
9648 { "_int","_EBool",0},
9649 { "_int","_uint",0},
9650 { "_int","_wxWindowID",0},
9651 { "_int","_unsigned_int",0},
9652 { "_int","_signed_int",0},
9653 { "_time_t","_wxCoord",0},
9654 { "_time_t","_wxPrintQuality",0},
9655 { "_time_t","_unsigned_int",0},
9656 { "_time_t","_int",0},
9657 { "_time_t","_wxWindowID",0},
9658 { "_time_t","_uint",0},
9659 { "_time_t","_size_t",0},
9660 { "_wxCoord","_int",0},
9661 { "_wxCoord","_signed_int",0},
9662 { "_wxCoord","_unsigned_int",0},
9663 { "_wxCoord","_wxWindowID",0},
9664 { "_wxCoord","_uint",0},
9665 { "_wxCoord","_EBool",0},
9666 { "_wxCoord","_size_t",0},
9667 { "_wxCoord","_time_t",0},
9668 { "_wxCoord","_wxPrintQuality",0},
9669 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
9670 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
9671 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
9672 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
9673 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
9674 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
9675 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
9678 static PyObject
*SWIG_globals
;
9682 SWIGEXPORT(void) initcontrols2c() {
9684 SWIG_globals
= SWIG_newvarlink();
9685 m
= Py_InitModule("controls2c", controls2cMethods
);
9686 d
= PyModule_GetDict(m
);
9687 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
9688 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
9689 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
9690 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
9691 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
9692 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
9693 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
9694 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
9695 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
9696 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
9697 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
9698 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
9699 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
9700 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
9701 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
9702 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
9703 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
9704 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
9705 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
9706 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
9707 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
9708 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
9709 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
9710 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
9711 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
9712 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
9713 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
9714 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
9715 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
9716 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
9717 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
9718 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
9719 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
9720 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
9721 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
9722 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
9723 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
9724 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
9725 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
9726 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
9727 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
9728 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
9729 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
9730 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
9731 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
9732 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
9733 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
9734 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
9735 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
9736 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
9737 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
9738 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
9739 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
9740 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
9741 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
9742 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
9743 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
9744 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
9745 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
9746 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
9747 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
9748 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
9749 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
9750 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
9751 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
9752 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
9753 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
9754 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
9755 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
9756 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
9757 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
9758 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
9759 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
9760 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
9761 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
9762 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
9763 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
9764 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
9765 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
9766 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
9767 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
9768 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
9769 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
9770 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
9771 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
9772 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
9773 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
9774 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
9775 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
9776 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
9777 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
9778 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
9779 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
9780 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
9781 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
9782 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
9783 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
9784 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
9785 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
9786 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
9787 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
9788 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
9789 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
9790 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
9791 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
9792 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
9793 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
9794 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
9795 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
9796 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
9797 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
9798 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
9799 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
9800 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
9801 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
9802 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
9803 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
9804 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
9805 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
9806 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
9807 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
9808 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
9809 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
9810 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
9811 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
9812 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
9813 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
9814 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
9815 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
9816 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
9817 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
9818 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
9819 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
9820 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
9821 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
9822 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
9823 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
9825 // Map renamed classes back to their common name for OOR
9826 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
9827 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
9828 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
9831 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9832 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);