2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "string type is required for parameter";
98 // C++ Version of a Python aware class
99 class wxPyListCtrl
: public wxListCtrl
{
100 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
102 wxPyListCtrl() : wxListCtrl() {}
103 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
107 const wxValidator
& validator
,
109 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
111 bool Create(wxWindow
* parent
, wxWindowID id
,
115 const wxValidator
& validator
,
117 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
120 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
121 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
122 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
127 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
129 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
130 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
131 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
132 // Python aware sorting function for wxPyListCtrl
133 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
135 PyObject
* func
= (PyObject
*)funcPtr
;
136 wxPyTState
* state
= wxPyBeginBlockThreads();
138 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
139 PyObject
* result
= PyEval_CallObject(func
, args
);
142 retval
= PyInt_AsLong(result
);
146 wxPyEndBlockThreads(state
);
151 class wxPyTreeItemData
: public wxTreeItemData
{
153 wxPyTreeItemData(PyObject
* obj
= NULL
) {
160 ~wxPyTreeItemData() {
161 wxPyTState
* state
= wxPyBeginBlockThreads();
163 wxPyEndBlockThreads(state
);
166 PyObject
* GetData() {
171 void SetData(PyObject
* obj
) {
172 wxPyTState
* state
= wxPyBeginBlockThreads();
174 wxPyEndBlockThreads(state
);
181 // C++ version of Python aware wxTreeCtrl
182 class wxPyTreeCtrl
: public wxTreeCtrl
{
183 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
185 wxPyTreeCtrl() : wxTreeCtrl() {}
186 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
190 const wxValidator
& validator
,
192 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
194 bool Create(wxWindow
*parent
, wxWindowID id
,
198 const wxValidator
& validator
,
200 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
204 int OnCompareItems(const wxTreeItemId
& item1
,
205 const wxTreeItemId
& item2
) {
208 wxPyTState
* state
= wxPyBeginBlockThreads();
209 if ((found
= m_myInst
.findCallback("OnCompareItems")))
210 rval
= m_myInst
.callCallback(Py_BuildValue(
212 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
213 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
214 wxPyEndBlockThreads(state
);
216 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
222 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
227 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
228 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxListItemAttr
* _result
;
231 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
232 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
233 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
235 PyObject
* _obj0
= 0;
237 PyObject
* _obj1
= 0;
238 PyObject
* _argo2
= 0;
239 char *_kwnames
[] = { "colText","colBack","font", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
248 if (! wxColour_helper(_obj0
, &_arg0
))
254 if (! wxColour_helper(_obj1
, &_arg1
))
258 if (_argo2
== Py_None
) { _arg2
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
265 wxPy_BEGIN_ALLOW_THREADS
;
266 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
268 wxPy_END_ALLOW_THREADS
;
269 if (PyErr_Occurred()) return NULL
;
271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
272 _resultobj
= Py_BuildValue("s",_ptemp
);
275 _resultobj
= Py_None
;
280 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
281 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 wxListItemAttr
* _arg0
;
285 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","colText", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
302 if (! wxColour_helper(_obj1
, &_arg1
))
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
317 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxListItemAttr
* _arg0
;
321 PyObject
* _argo0
= 0;
323 PyObject
* _obj1
= 0;
324 char *_kwnames
[] = { "self","colBack", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
338 if (! wxColour_helper(_obj1
, &_arg1
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
345 wxPy_END_ALLOW_THREADS
;
346 if (PyErr_Occurred()) return NULL
;
347 } Py_INCREF(Py_None
);
348 _resultobj
= Py_None
;
352 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
353 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
355 wxListItemAttr
* _arg0
;
357 PyObject
* _argo0
= 0;
358 PyObject
* _argo1
= 0;
359 char *_kwnames
[] = { "self","font", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 wxListItemAttr_SetFont(_arg0
,*_arg1
);
382 wxPy_END_ALLOW_THREADS
;
383 if (PyErr_Occurred()) return NULL
;
384 } Py_INCREF(Py_None
);
385 _resultobj
= Py_None
;
389 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
390 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 wxListItemAttr
* _arg0
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "self", NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
408 wxPy_BEGIN_ALLOW_THREADS
;
409 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
411 wxPy_END_ALLOW_THREADS
;
412 if (PyErr_Occurred()) return NULL
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
418 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
419 PyObject
* _resultobj
;
421 wxListItemAttr
* _arg0
;
422 PyObject
* _argo0
= 0;
423 char *_kwnames
[] = { "self", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
439 wxPy_END_ALLOW_THREADS
;
440 if (PyErr_Occurred()) return NULL
;
441 } _resultobj
= Py_BuildValue("i",_result
);
445 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
446 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
449 wxListItemAttr
* _arg0
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
467 wxPy_END_ALLOW_THREADS
;
468 if (PyErr_Occurred()) return NULL
;
469 } _resultobj
= Py_BuildValue("i",_result
);
473 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
474 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
477 wxListItemAttr
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
493 wxPy_BEGIN_ALLOW_THREADS
;
494 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
495 _result
= (wxColour
*) &_result_ref
;
497 wxPy_END_ALLOW_THREADS
;
498 if (PyErr_Occurred()) return NULL
;
500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
501 _resultobj
= Py_BuildValue("s",_ptemp
);
504 _resultobj
= Py_None
;
509 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
510 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
511 PyObject
* _resultobj
;
513 wxListItemAttr
* _arg0
;
514 PyObject
* _argo0
= 0;
515 char *_kwnames
[] = { "self", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
531 _result
= (wxColour
*) &_result_ref
;
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
537 _resultobj
= Py_BuildValue("s",_ptemp
);
540 _resultobj
= Py_None
;
545 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
546 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 wxListItemAttr
* _arg0
;
550 PyObject
* _argo0
= 0;
551 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
567 _result
= (wxFont
*) &_result_ref
;
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
573 _resultobj
= Py_BuildValue("s",_ptemp
);
576 _resultobj
= Py_None
;
581 static void *SwigwxListItemTowxObject(void *ptr
) {
584 src
= (wxListItem
*) ptr
;
585 dest
= (wxObject
*) src
;
586 return (void *) dest
;
589 #define new_wxListItem() (new wxListItem())
590 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxListItem
* _result
;
593 char *_kwnames
[] = { NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (wxListItem
*)new_wxListItem();
603 wxPy_END_ALLOW_THREADS
;
604 if (PyErr_Occurred()) return NULL
;
606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
607 _resultobj
= Py_BuildValue("s",_ptemp
);
610 _resultobj
= Py_None
;
615 #define delete_wxListItem(_swigobj) (delete _swigobj)
616 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 delete_wxListItem(_arg0
);
636 wxPy_END_ALLOW_THREADS
;
637 if (PyErr_Occurred()) return NULL
;
638 } Py_INCREF(Py_None
);
639 _resultobj
= Py_None
;
643 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
644 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
662 wxListItem_Clear(_arg0
);
664 wxPy_END_ALLOW_THREADS
;
665 if (PyErr_Occurred()) return NULL
;
666 } Py_INCREF(Py_None
);
667 _resultobj
= Py_None
;
671 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
672 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 wxListItem_ClearAttributes(_arg0
);
692 wxPy_END_ALLOW_THREADS
;
693 if (PyErr_Occurred()) return NULL
;
694 } Py_INCREF(Py_None
);
695 _resultobj
= Py_None
;
699 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
700 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self","mask", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 wxListItem_SetMask(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
722 if (PyErr_Occurred()) return NULL
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
729 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","id", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxListItem_SetId(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
758 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","col", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
776 wxPy_BEGIN_ALLOW_THREADS
;
777 wxListItem_SetColumn(_arg0
,_arg1
);
779 wxPy_END_ALLOW_THREADS
;
780 if (PyErr_Occurred()) return NULL
;
781 } Py_INCREF(Py_None
);
782 _resultobj
= Py_None
;
786 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
787 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self","state", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
805 wxPy_BEGIN_ALLOW_THREADS
;
806 wxListItem_SetState(_arg0
,_arg1
);
808 wxPy_END_ALLOW_THREADS
;
809 if (PyErr_Occurred()) return NULL
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
815 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
816 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 PyObject
* _argo0
= 0;
821 char *_kwnames
[] = { "self","stateMask", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
834 wxPy_BEGIN_ALLOW_THREADS
;
835 wxListItem_SetStateMask(_arg0
,_arg1
);
837 wxPy_END_ALLOW_THREADS
;
838 if (PyErr_Occurred()) return NULL
;
839 } Py_INCREF(Py_None
);
840 _resultobj
= Py_None
;
844 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
845 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
849 PyObject
* _argo0
= 0;
850 PyObject
* _obj1
= 0;
851 char *_kwnames
[] = { "self","text", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
864 #if PYTHON_API_VERSION >= 1009
865 char* tmpPtr
; int tmpSize
;
866 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
870 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
872 _arg1
= new wxString(tmpPtr
, tmpSize
);
874 if (!PyString_Check(_obj1
)) {
875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
878 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
882 wxPy_BEGIN_ALLOW_THREADS
;
883 wxListItem_SetText(_arg0
,*_arg1
);
885 wxPy_END_ALLOW_THREADS
;
886 if (PyErr_Occurred()) return NULL
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
896 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
897 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self","image", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxListItem_SetImage(_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
926 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
930 PyObject
* _argo0
= 0;
931 char *_kwnames
[] = { "self","data", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
944 wxPy_BEGIN_ALLOW_THREADS
;
945 wxListItem_SetData(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 if (PyErr_Occurred()) return NULL
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
955 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 PyObject
* _argo0
= 0;
960 char *_kwnames
[] = { "self","width", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 wxListItem_SetWidth(_arg0
,_arg1
);
976 wxPy_END_ALLOW_THREADS
;
977 if (PyErr_Occurred()) return NULL
;
978 } Py_INCREF(Py_None
);
979 _resultobj
= Py_None
;
983 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
984 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
987 wxListColumnFormat _arg1
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","align", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 wxListItem_SetAlign(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1012 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1013 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1019 PyObject
* _obj1
= 0;
1020 char *_kwnames
[] = { "self","colText", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1034 if (! wxColour_helper(_obj1
, &_arg1
))
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 wxListItem_SetTextColour(_arg0
,*_arg1
);
1041 wxPy_END_ALLOW_THREADS
;
1042 if (PyErr_Occurred()) return NULL
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1048 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1049 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1053 PyObject
* _argo0
= 0;
1055 PyObject
* _obj1
= 0;
1056 char *_kwnames
[] = { "self","colBack", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1070 if (! wxColour_helper(_obj1
, &_arg1
))
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1078 if (PyErr_Occurred()) return NULL
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1085 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1089 PyObject
* _argo0
= 0;
1090 PyObject
* _argo1
= 0;
1091 char *_kwnames
[] = { "self","font", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 wxListItem_SetFont(_arg0
,*_arg1
);
1114 wxPy_END_ALLOW_THREADS
;
1115 if (PyErr_Occurred()) return NULL
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1121 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1122 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (long )wxListItem_GetMask(_arg0
);
1143 wxPy_END_ALLOW_THREADS
;
1144 if (PyErr_Occurred()) return NULL
;
1145 } _resultobj
= Py_BuildValue("l",_result
);
1149 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1150 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1154 PyObject
* _argo0
= 0;
1155 char *_kwnames
[] = { "self", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1168 wxPy_BEGIN_ALLOW_THREADS
;
1169 _result
= (long )wxListItem_GetId(_arg0
);
1171 wxPy_END_ALLOW_THREADS
;
1172 if (PyErr_Occurred()) return NULL
;
1173 } _resultobj
= Py_BuildValue("l",_result
);
1177 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1178 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= (int )wxListItem_GetColumn(_arg0
);
1199 wxPy_END_ALLOW_THREADS
;
1200 if (PyErr_Occurred()) return NULL
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1206 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (long )wxListItem_GetState(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 if (PyErr_Occurred()) return NULL
;
1229 } _resultobj
= Py_BuildValue("l",_result
);
1233 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1234 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1254 _result
= (wxString
*) &_result_ref
;
1256 wxPy_END_ALLOW_THREADS
;
1257 if (PyErr_Occurred()) return NULL
;
1259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1264 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1265 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1269 PyObject
* _argo0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (int )wxListItem_GetImage(_arg0
);
1286 wxPy_END_ALLOW_THREADS
;
1287 if (PyErr_Occurred()) return NULL
;
1288 } _resultobj
= Py_BuildValue("i",_result
);
1292 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1293 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1297 PyObject
* _argo0
= 0;
1298 char *_kwnames
[] = { "self", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 _result
= (long )wxListItem_GetData(_arg0
);
1314 wxPy_END_ALLOW_THREADS
;
1315 if (PyErr_Occurred()) return NULL
;
1316 } _resultobj
= Py_BuildValue("l",_result
);
1320 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1321 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (int )wxListItem_GetWidth(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 if (PyErr_Occurred()) return NULL
;
1344 } _resultobj
= Py_BuildValue("i",_result
);
1348 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1349 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxListColumnFormat _result
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 if (PyErr_Occurred()) return NULL
;
1372 } _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1377 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxListItemAttr
* _result
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1400 if (PyErr_Occurred()) return NULL
;
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1406 _resultobj
= Py_None
;
1411 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1412 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1440 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1462 wxPy_END_ALLOW_THREADS
;
1463 if (PyErr_Occurred()) return NULL
;
1464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1465 _resultobj
= Py_BuildValue("s",_ptemp
);
1469 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1470 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1492 wxPy_END_ALLOW_THREADS
;
1493 if (PyErr_Occurred()) return NULL
;
1494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1499 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1500 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1522 wxPy_END_ALLOW_THREADS
;
1523 if (PyErr_Occurred()) return NULL
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1530 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self","m_mask", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1552 wxPy_END_ALLOW_THREADS
;
1553 if (PyErr_Occurred()) return NULL
;
1554 } _resultobj
= Py_BuildValue("l",_result
);
1558 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1559 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 PyObject
* _argo0
= 0;
1564 char *_kwnames
[] = { "self", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (long )wxListItem_m_mask_get(_arg0
);
1580 wxPy_END_ALLOW_THREADS
;
1581 if (PyErr_Occurred()) return NULL
;
1582 } _resultobj
= Py_BuildValue("l",_result
);
1586 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1587 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self","m_itemId", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 if (PyErr_Occurred()) return NULL
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1616 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1637 wxPy_END_ALLOW_THREADS
;
1638 if (PyErr_Occurred()) return NULL
;
1639 } _resultobj
= Py_BuildValue("l",_result
);
1643 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1644 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self","m_col", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } _resultobj
= Py_BuildValue("i",_result
);
1672 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1673 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 _result
= (int )wxListItem_m_col_get(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1701 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self","m_state", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1723 wxPy_END_ALLOW_THREADS
;
1724 if (PyErr_Occurred()) return NULL
;
1725 } _resultobj
= Py_BuildValue("l",_result
);
1729 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1730 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1734 PyObject
* _argo0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (long )wxListItem_m_state_get(_arg0
);
1751 wxPy_END_ALLOW_THREADS
;
1752 if (PyErr_Occurred()) return NULL
;
1753 } _resultobj
= Py_BuildValue("l",_result
);
1757 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1758 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1777 wxPy_BEGIN_ALLOW_THREADS
;
1778 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1780 wxPy_END_ALLOW_THREADS
;
1781 if (PyErr_Occurred()) return NULL
;
1782 } _resultobj
= Py_BuildValue("l",_result
);
1786 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1787 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("l",_result
);
1814 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1815 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1821 PyObject
* _obj1
= 0;
1822 char *_kwnames
[] = { "self","m_text", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1835 #if PYTHON_API_VERSION >= 1009
1836 char* tmpPtr
; int tmpSize
;
1837 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1838 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1841 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1843 _arg1
= new wxString(tmpPtr
, tmpSize
);
1845 if (!PyString_Check(_obj1
)) {
1846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1849 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1856 wxPy_END_ALLOW_THREADS
;
1857 if (PyErr_Occurred()) return NULL
;
1859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1868 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1869 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 if (PyErr_Occurred()) return NULL
;
1893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1898 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1899 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self","m_image", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1922 if (PyErr_Occurred()) return NULL
;
1923 } _resultobj
= Py_BuildValue("i",_result
);
1927 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1928 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= (int )wxListItem_m_image_get(_arg0
);
1949 wxPy_END_ALLOW_THREADS
;
1950 if (PyErr_Occurred()) return NULL
;
1951 } _resultobj
= Py_BuildValue("i",_result
);
1955 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1956 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self","m_data", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1978 wxPy_END_ALLOW_THREADS
;
1979 if (PyErr_Occurred()) return NULL
;
1980 } _resultobj
= Py_BuildValue("l",_result
);
1984 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1985 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (long )wxListItem_m_data_get(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 if (PyErr_Occurred()) return NULL
;
2008 } _resultobj
= Py_BuildValue("l",_result
);
2012 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
2013 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self","m_format", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2035 wxPy_END_ALLOW_THREADS
;
2036 if (PyErr_Occurred()) return NULL
;
2037 } _resultobj
= Py_BuildValue("i",_result
);
2041 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2042 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2046 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= (int )wxListItem_m_format_get(_arg0
);
2063 wxPy_END_ALLOW_THREADS
;
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2069 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2070 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self","m_width", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2092 wxPy_END_ALLOW_THREADS
;
2093 if (PyErr_Occurred()) return NULL
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2099 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (int )wxListItem_m_width_get(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 if (PyErr_Occurred()) return NULL
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2128 wxNotifyEvent
*dest
;
2129 src
= (wxListEvent
*) ptr
;
2130 dest
= (wxNotifyEvent
*) src
;
2131 return (void *) dest
;
2134 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2136 wxCommandEvent
*dest
;
2137 src
= (wxListEvent
*) ptr
;
2138 dest
= (wxCommandEvent
*) src
;
2139 return (void *) dest
;
2142 static void *SwigwxListEventTowxEvent(void *ptr
) {
2145 src
= (wxListEvent
*) ptr
;
2146 dest
= (wxEvent
*) src
;
2147 return (void *) dest
;
2150 static void *SwigwxListEventTowxObject(void *ptr
) {
2153 src
= (wxListEvent
*) ptr
;
2154 dest
= (wxObject
*) src
;
2155 return (void *) dest
;
2158 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2159 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxListEvent
* _result
;
2162 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2163 int _arg1
= (int ) 0;
2164 char *_kwnames
[] = { "commandType","id", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2174 wxPy_END_ALLOW_THREADS
;
2175 if (PyErr_Occurred()) return NULL
;
2177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2178 _resultobj
= Py_BuildValue("s",_ptemp
);
2181 _resultobj
= Py_None
;
2186 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2187 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 wxListEvent
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self","m_code", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2216 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxListEvent_m_code_get(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2244 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 wxListEvent
* _arg0
;
2249 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2266 wxPy_END_ALLOW_THREADS
;
2267 if (PyErr_Occurred()) return NULL
;
2268 } _resultobj
= Py_BuildValue("l",_result
);
2272 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2273 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2276 wxListEvent
* _arg0
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 if (PyErr_Occurred()) return NULL
;
2296 } _resultobj
= Py_BuildValue("l",_result
);
2300 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2301 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2304 wxListEvent
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 if (PyErr_Occurred()) return NULL
;
2325 } _resultobj
= Py_BuildValue("l",_result
);
2329 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2330 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2333 wxListEvent
* _arg0
;
2334 PyObject
* _argo0
= 0;
2335 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 if (PyErr_Occurred()) return NULL
;
2353 } _resultobj
= Py_BuildValue("l",_result
);
2357 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2358 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2361 wxListEvent
* _arg0
;
2363 PyObject
* _argo0
= 0;
2364 char *_kwnames
[] = { "self","m_col", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2377 wxPy_BEGIN_ALLOW_THREADS
;
2378 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2380 wxPy_END_ALLOW_THREADS
;
2381 if (PyErr_Occurred()) return NULL
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2386 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2387 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2390 wxListEvent
* _arg0
;
2391 PyObject
* _argo0
= 0;
2392 char *_kwnames
[] = { "self", NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (int )wxListEvent_m_col_get(_arg0
);
2408 wxPy_END_ALLOW_THREADS
;
2409 if (PyErr_Occurred()) return NULL
;
2410 } _resultobj
= Py_BuildValue("i",_result
);
2414 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2415 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2418 wxListEvent
* _arg0
;
2420 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2434 _arg1
= (bool ) tempbool1
;
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 if (PyErr_Occurred()) return NULL
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2446 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2449 wxListEvent
* _arg0
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2468 if (PyErr_Occurred()) return NULL
;
2469 } _resultobj
= Py_BuildValue("i",_result
);
2473 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2474 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2477 wxListEvent
* _arg0
;
2479 PyObject
* _argo0
= 0;
2481 PyObject
* _obj1
= 0;
2482 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2497 if (! wxPoint_helper(_obj1
, &_arg1
))
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2504 wxPy_END_ALLOW_THREADS
;
2505 if (PyErr_Occurred()) return NULL
;
2507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2508 _resultobj
= Py_BuildValue("s",_ptemp
);
2511 _resultobj
= Py_None
;
2516 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2517 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2520 wxListEvent
* _arg0
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2539 wxPy_END_ALLOW_THREADS
;
2540 if (PyErr_Occurred()) return NULL
;
2542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2543 _resultobj
= Py_BuildValue("s",_ptemp
);
2546 _resultobj
= Py_None
;
2551 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2552 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 wxListItem
* _result
;
2555 wxListEvent
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 PyObject
* _argo1
= 0;
2559 char *_kwnames
[] = { "self","m_item", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2582 wxPy_END_ALLOW_THREADS
;
2583 if (PyErr_Occurred()) return NULL
;
2584 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2588 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2589 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxListItem
* _result
;
2592 wxListEvent
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2607 wxPy_BEGIN_ALLOW_THREADS
;
2608 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2610 wxPy_END_ALLOW_THREADS
;
2611 if (PyErr_Occurred()) return NULL
;
2612 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2616 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2617 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2620 wxListEvent
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (int )wxListEvent_GetCode(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 if (PyErr_Occurred()) return NULL
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2645 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxListEvent
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 _result
= (long )wxListEvent_GetIndex(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 if (PyErr_Occurred()) return NULL
;
2668 } _resultobj
= Py_BuildValue("l",_result
);
2672 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2673 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2676 wxListEvent
* _arg0
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2694 wxPy_END_ALLOW_THREADS
;
2695 if (PyErr_Occurred()) return NULL
;
2696 } _resultobj
= Py_BuildValue("l",_result
);
2700 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2701 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2704 wxListEvent
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2722 wxPy_END_ALLOW_THREADS
;
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("l",_result
);
2728 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2729 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxListEvent
* _arg0
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 _result
= (int )wxListEvent_GetColumn(_arg0
);
2750 wxPy_END_ALLOW_THREADS
;
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2757 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2760 wxListEvent
* _arg0
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2778 wxPy_END_ALLOW_THREADS
;
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2785 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 wxListEvent
* _arg0
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2807 wxPy_END_ALLOW_THREADS
;
2808 if (PyErr_Occurred()) return NULL
;
2809 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2810 _resultobj
= Py_BuildValue("s",_ptemp
);
2814 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2815 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxListEvent
* _arg0
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2835 _result
= (wxString
*) &_result_ref
;
2837 wxPy_END_ALLOW_THREADS
;
2838 if (PyErr_Occurred()) return NULL
;
2840 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2845 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2846 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 wxListEvent
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2866 _result
= (wxString
*) &_result_ref
;
2868 wxPy_END_ALLOW_THREADS
;
2869 if (PyErr_Occurred()) return NULL
;
2871 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2876 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2877 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2880 wxListEvent
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= (int )wxListEvent_GetImage(_arg0
);
2898 wxPy_END_ALLOW_THREADS
;
2899 if (PyErr_Occurred()) return NULL
;
2900 } _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2905 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 wxListEvent
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (long )wxListEvent_GetData(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("l",_result
);
2932 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2933 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 wxListEvent
* _arg0
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 _result
= (long )wxListEvent_GetMask(_arg0
);
2954 wxPy_END_ALLOW_THREADS
;
2955 if (PyErr_Occurred()) return NULL
;
2956 } _resultobj
= Py_BuildValue("l",_result
);
2960 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2961 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxListItem
* _result
;
2964 wxListEvent
* _arg0
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2981 _result
= (wxListItem
*) &_result_ref
;
2983 wxPy_END_ALLOW_THREADS
;
2984 if (PyErr_Occurred()) return NULL
;
2985 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2989 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2990 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxListEvent
* _arg0
;
2994 PyObject
* _argo0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
3011 wxPy_END_ALLOW_THREADS
;
3012 if (PyErr_Occurred()) return NULL
;
3013 } _resultobj
= Py_BuildValue("l",_result
);
3017 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
3018 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxListEvent
* _arg0
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
3039 wxPy_END_ALLOW_THREADS
;
3040 if (PyErr_Occurred()) return NULL
;
3041 } _resultobj
= Py_BuildValue("l",_result
);
3045 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
3048 src
= (wxPyListCtrl
*) ptr
;
3049 dest
= (wxControl
*) src
;
3050 return (void *) dest
;
3053 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
3056 src
= (wxPyListCtrl
*) ptr
;
3057 dest
= (wxWindow
*) src
;
3058 return (void *) dest
;
3061 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
3064 src
= (wxPyListCtrl
*) ptr
;
3065 dest
= (wxEvtHandler
*) src
;
3066 return (void *) dest
;
3069 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
3072 src
= (wxPyListCtrl
*) ptr
;
3073 dest
= (wxObject
*) src
;
3074 return (void *) dest
;
3077 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3078 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3080 wxPyListCtrl
* _result
;
3082 wxWindowID _arg1
= (wxWindowID
) -1;
3083 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3084 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3085 long _arg4
= (long ) (wxLC_ICON
);
3086 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
3087 char * _arg6
= (char *) "listCtrl";
3088 PyObject
* _argo0
= 0;
3090 PyObject
* _obj2
= 0;
3092 PyObject
* _obj3
= 0;
3093 PyObject
* _argo5
= 0;
3094 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
3110 if (! wxPoint_helper(_obj2
, &_arg2
))
3116 if (! wxSize_helper(_obj3
, &_arg3
))
3120 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3130 wxPy_END_ALLOW_THREADS
;
3131 if (PyErr_Occurred()) return NULL
;
3133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3134 _resultobj
= Py_BuildValue("s",_ptemp
);
3137 _resultobj
= Py_None
;
3142 #define new_wxPreListCtrl() (new wxPyListCtrl())
3143 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxPyListCtrl
* _result
;
3146 char *_kwnames
[] = { NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
3156 wxPy_END_ALLOW_THREADS
;
3157 if (PyErr_Occurred()) return NULL
;
3159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3160 _resultobj
= Py_BuildValue("s",_ptemp
);
3163 _resultobj
= Py_None
;
3168 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3169 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3172 wxPyListCtrl
* _arg0
;
3174 wxWindowID _arg2
= (wxWindowID
) -1;
3175 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3176 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3177 long _arg5
= (long ) (wxLC_ICON
);
3178 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3179 char * _arg7
= (char *) "listCtrl";
3180 PyObject
* _argo0
= 0;
3181 PyObject
* _argo1
= 0;
3183 PyObject
* _obj3
= 0;
3185 PyObject
* _obj4
= 0;
3186 PyObject
* _argo6
= 0;
3187 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3209 if (! wxPoint_helper(_obj3
, &_arg3
))
3215 if (! wxSize_helper(_obj4
, &_arg4
))
3219 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3229 wxPy_END_ALLOW_THREADS
;
3230 if (PyErr_Occurred()) return NULL
;
3231 } _resultobj
= Py_BuildValue("i",_result
);
3235 #define wxListCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3236 static PyObject
*_wrap_wxListCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxPyListCtrl
* _arg0
;
3241 PyObject
* _argo0
= 0;
3242 PyObject
* _obj1
= 0;
3243 PyObject
* _obj2
= 0;
3244 char *_kwnames
[] = { "self","self","_class", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setSelf. Expected _wxPyListCtrl_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxListCtrl__setSelf(_arg0
,_arg1
,_arg2
);
3266 wxPy_END_ALLOW_THREADS
;
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3274 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 wxPyListCtrl
* _arg0
;
3279 PyObject
* _argo0
= 0;
3281 PyObject
* _obj1
= 0;
3282 char *_kwnames
[] = { "self","col", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3296 if (! wxColour_helper(_obj1
, &_arg1
))
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3303 wxPy_END_ALLOW_THREADS
;
3304 if (PyErr_Occurred()) return NULL
;
3305 } _resultobj
= Py_BuildValue("i",_result
);
3309 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3310 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3313 wxPyListCtrl
* _arg0
;
3315 PyObject
* _argo0
= 0;
3317 PyObject
* _obj1
= 0;
3318 char *_kwnames
[] = { "self","col", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3332 if (! wxColour_helper(_obj1
, &_arg1
))
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3339 wxPy_END_ALLOW_THREADS
;
3340 if (PyErr_Occurred()) return NULL
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3346 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3349 wxPyListCtrl
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo2
= 0;
3354 char *_kwnames
[] = { "self","col","item", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3367 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3377 wxPy_END_ALLOW_THREADS
;
3378 if (PyErr_Occurred()) return NULL
;
3379 } _resultobj
= Py_BuildValue("i",_result
);
3383 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3384 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3387 wxPyListCtrl
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 PyObject
* _argo2
= 0;
3392 char *_kwnames
[] = { "self","col","item", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3405 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3415 wxPy_END_ALLOW_THREADS
;
3416 if (PyErr_Occurred()) return NULL
;
3417 } _resultobj
= Py_BuildValue("i",_result
);
3421 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3422 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3425 wxPyListCtrl
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self","col", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3444 wxPy_END_ALLOW_THREADS
;
3445 if (PyErr_Occurred()) return NULL
;
3446 } _resultobj
= Py_BuildValue("i",_result
);
3450 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3454 wxPyListCtrl
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","col","width", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3474 wxPy_END_ALLOW_THREADS
;
3475 if (PyErr_Occurred()) return NULL
;
3476 } _resultobj
= Py_BuildValue("i",_result
);
3480 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3481 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 wxPyListCtrl
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3502 wxPy_END_ALLOW_THREADS
;
3503 if (PyErr_Occurred()) return NULL
;
3504 } _resultobj
= Py_BuildValue("i",_result
);
3508 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3509 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3511 wxTextCtrl
* _result
;
3512 wxPyListCtrl
* _arg0
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3530 wxPy_END_ALLOW_THREADS
;
3531 if (PyErr_Occurred()) return NULL
;
3532 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3536 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3537 wxListItem
* info
= new wxListItem
;
3538 info
->m_itemId
= itemId
;
3540 info
->m_mask
= 0xFFFF;
3541 self
->GetItem(*info
);
3544 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3546 wxListItem
* _result
;
3547 wxPyListCtrl
* _arg0
;
3549 int _arg2
= (int ) 0;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self","itemId","col", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3567 wxPy_END_ALLOW_THREADS
;
3568 if (PyErr_Occurred()) return NULL
;
3569 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3573 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3574 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3577 wxPyListCtrl
* _arg0
;
3579 PyObject
* _argo0
= 0;
3580 PyObject
* _argo1
= 0;
3581 char *_kwnames
[] = { "self","info", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3601 wxPy_BEGIN_ALLOW_THREADS
;
3602 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3604 wxPy_END_ALLOW_THREADS
;
3605 if (PyErr_Occurred()) return NULL
;
3606 } _resultobj
= Py_BuildValue("i",_result
);
3610 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3611 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3614 wxPyListCtrl
* _arg0
;
3618 int _arg4
= (int ) -1;
3619 PyObject
* _argo0
= 0;
3620 PyObject
* _obj3
= 0;
3621 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3634 #if PYTHON_API_VERSION >= 1009
3635 char* tmpPtr
; int tmpSize
;
3636 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3640 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3642 _arg3
= new wxString(tmpPtr
, tmpSize
);
3644 if (!PyString_Check(_obj3
)) {
3645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3648 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3652 wxPy_BEGIN_ALLOW_THREADS
;
3653 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3655 wxPy_END_ALLOW_THREADS
;
3656 if (PyErr_Occurred()) return NULL
;
3657 } _resultobj
= Py_BuildValue("l",_result
);
3665 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3666 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3669 wxPyListCtrl
* _arg0
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3686 wxPy_BEGIN_ALLOW_THREADS
;
3687 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3689 wxPy_END_ALLOW_THREADS
;
3690 if (PyErr_Occurred()) return NULL
;
3691 } _resultobj
= Py_BuildValue("i",_result
);
3695 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3696 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3699 wxPyListCtrl
* _arg0
;
3703 PyObject
* _argo0
= 0;
3704 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3717 wxPy_BEGIN_ALLOW_THREADS
;
3718 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3720 wxPy_END_ALLOW_THREADS
;
3721 if (PyErr_Occurred()) return NULL
;
3722 } _resultobj
= Py_BuildValue("i",_result
);
3726 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3727 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3730 wxPyListCtrl
* _arg0
;
3734 PyObject
* _argo0
= 0;
3735 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3751 wxPy_END_ALLOW_THREADS
;
3752 if (PyErr_Occurred()) return NULL
;
3753 } _resultobj
= Py_BuildValue("i",_result
);
3757 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3758 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3761 wxPyListCtrl
* _arg0
;
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self","item", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3777 wxPy_BEGIN_ALLOW_THREADS
;
3778 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3780 wxPy_END_ALLOW_THREADS
;
3781 if (PyErr_Occurred()) return NULL
;
3783 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3791 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3792 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3794 wxPyListCtrl
* _arg0
;
3797 PyObject
* _argo0
= 0;
3798 PyObject
* _obj2
= 0;
3799 char *_kwnames
[] = { "self","item","str", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3812 #if PYTHON_API_VERSION >= 1009
3813 char* tmpPtr
; int tmpSize
;
3814 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3818 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3820 _arg2
= new wxString(tmpPtr
, tmpSize
);
3822 if (!PyString_Check(_obj2
)) {
3823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3826 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3830 wxPy_BEGIN_ALLOW_THREADS
;
3831 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3833 wxPy_END_ALLOW_THREADS
;
3834 if (PyErr_Occurred()) return NULL
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3844 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3845 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3848 wxPyListCtrl
* _arg0
;
3850 PyObject
* _argo0
= 0;
3851 char *_kwnames
[] = { "self","item", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3864 wxPy_BEGIN_ALLOW_THREADS
;
3865 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3867 wxPy_END_ALLOW_THREADS
;
3868 if (PyErr_Occurred()) return NULL
;
3869 } _resultobj
= Py_BuildValue("l",_result
);
3873 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3874 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3877 wxPyListCtrl
* _arg0
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self","item","data", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3897 wxPy_END_ALLOW_THREADS
;
3898 if (PyErr_Occurred()) return NULL
;
3899 } _resultobj
= Py_BuildValue("i",_result
);
3903 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3904 wxPoint
* pos
= new wxPoint
;
3905 self
->GetItemPosition(item
, *pos
);
3908 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3911 wxPyListCtrl
* _arg0
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self","item", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 if (PyErr_Occurred()) return NULL
;
3934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3935 _resultobj
= Py_BuildValue("s",_ptemp
);
3938 _resultobj
= Py_None
;
3943 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3944 wxRect
* rect
= new wxRect
;
3945 self
->GetItemRect(item
, *rect
, code
);
3948 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3951 wxPyListCtrl
* _arg0
;
3953 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3954 PyObject
* _argo0
= 0;
3955 char *_kwnames
[] = { "self","item","code", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3969 wxPy_BEGIN_ALLOW_THREADS
;
3970 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3972 wxPy_END_ALLOW_THREADS
;
3973 if (PyErr_Occurred()) return NULL
;
3975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3976 _resultobj
= Py_BuildValue("s",_ptemp
);
3979 _resultobj
= Py_None
;
3984 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3985 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3988 wxPyListCtrl
* _arg0
;
3991 PyObject
* _argo0
= 0;
3993 PyObject
* _obj2
= 0;
3994 char *_kwnames
[] = { "self","item","pos", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
4008 if (! wxPoint_helper(_obj2
, &_arg2
))
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4015 wxPy_END_ALLOW_THREADS
;
4016 if (PyErr_Occurred()) return NULL
;
4017 } _resultobj
= Py_BuildValue("i",_result
);
4021 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
4022 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4025 wxPyListCtrl
* _arg0
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
4043 wxPy_END_ALLOW_THREADS
;
4044 if (PyErr_Occurred()) return NULL
;
4045 } _resultobj
= Py_BuildValue("i",_result
);
4049 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
4050 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4053 wxPyListCtrl
* _arg0
;
4054 PyObject
* _argo0
= 0;
4055 char *_kwnames
[] = { "self", NULL
};
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
4061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
4068 wxPy_BEGIN_ALLOW_THREADS
;
4069 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
4071 wxPy_END_ALLOW_THREADS
;
4072 if (PyErr_Occurred()) return NULL
;
4073 } _resultobj
= Py_BuildValue("i",_result
);
4077 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
4078 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4081 wxPyListCtrl
* _arg0
;
4083 PyObject
* _argo0
= 0;
4085 char *_kwnames
[] = { "self","isSmall", NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
4091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
4097 _arg1
= (bool ) tempbool1
;
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
4102 wxPy_END_ALLOW_THREADS
;
4103 if (PyErr_Occurred()) return NULL
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
4109 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4112 wxPyListCtrl
* _arg0
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
4130 wxPy_END_ALLOW_THREADS
;
4131 if (PyErr_Occurred()) return NULL
;
4132 } _resultobj
= Py_BuildValue("i",_result
);
4136 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4137 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4140 wxPyListCtrl
* _arg0
;
4141 PyObject
* _argo0
= 0;
4142 char *_kwnames
[] = { "self", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
4156 wxPy_BEGIN_ALLOW_THREADS
;
4157 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
4159 wxPy_END_ALLOW_THREADS
;
4160 if (PyErr_Occurred()) return NULL
;
4161 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4162 _resultobj
= Py_BuildValue("s",_ptemp
);
4166 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4167 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4169 wxPyListCtrl
* _arg0
;
4171 PyObject
* _argo0
= 0;
4173 PyObject
* _obj1
= 0;
4174 char *_kwnames
[] = { "self","col", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4188 if (! wxColour_helper(_obj1
, &_arg1
))
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4195 wxPy_END_ALLOW_THREADS
;
4196 if (PyErr_Occurred()) return NULL
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4203 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4206 wxPyListCtrl
* _arg0
;
4207 PyObject
* _argo0
= 0;
4208 char *_kwnames
[] = { "self", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4221 wxPy_BEGIN_ALLOW_THREADS
;
4222 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4224 wxPy_END_ALLOW_THREADS
;
4225 if (PyErr_Occurred()) return NULL
;
4226 } _resultobj
= Py_BuildValue("l",_result
);
4230 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4231 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxPyListCtrl
* _arg0
;
4235 bool _arg2
= (bool ) TRUE
;
4236 PyObject
* _argo0
= 0;
4237 int tempbool2
= (int) TRUE
;
4238 char *_kwnames
[] = { "self","style","add", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4250 _arg2
= (bool ) tempbool2
;
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4255 wxPy_END_ALLOW_THREADS
;
4256 if (PyErr_Occurred()) return NULL
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4263 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4265 wxPyListCtrl
* _arg0
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self","style", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4281 wxPy_BEGIN_ALLOW_THREADS
;
4282 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4284 wxPy_END_ALLOW_THREADS
;
4285 if (PyErr_Occurred()) return NULL
;
4286 } Py_INCREF(Py_None
);
4287 _resultobj
= Py_None
;
4291 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4292 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4295 wxPyListCtrl
* _arg0
;
4297 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4298 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4299 PyObject
* _argo0
= 0;
4300 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4316 wxPy_END_ALLOW_THREADS
;
4317 if (PyErr_Occurred()) return NULL
;
4318 } _resultobj
= Py_BuildValue("l",_result
);
4322 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4323 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4325 wxImageList
* _result
;
4326 wxPyListCtrl
* _arg0
;
4328 PyObject
* _argo0
= 0;
4329 char *_kwnames
[] = { "self","which", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4345 wxPy_END_ALLOW_THREADS
;
4346 if (PyErr_Occurred()) return NULL
;
4347 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4351 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4352 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4354 wxPyListCtrl
* _arg0
;
4355 wxImageList
* _arg1
;
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _argo1
= 0;
4359 char *_kwnames
[] = { "self","imageList","which", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4382 wxPy_END_ALLOW_THREADS
;
4383 if (PyErr_Occurred()) return NULL
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4389 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4390 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4392 wxPyListCtrl
* _arg0
;
4393 wxImageList
* _arg1
;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _argo1
= 0;
4397 char *_kwnames
[] = { "self","imageList","which", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4417 wxPy_BEGIN_ALLOW_THREADS
;
4418 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4420 wxPy_END_ALLOW_THREADS
;
4421 if (PyErr_Occurred()) return NULL
;
4422 } Py_INCREF(Py_None
);
4423 _resultobj
= Py_None
;
4427 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4428 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4431 wxPyListCtrl
* _arg0
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4446 wxPy_BEGIN_ALLOW_THREADS
;
4447 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4449 wxPy_END_ALLOW_THREADS
;
4450 if (PyErr_Occurred()) return NULL
;
4451 } _resultobj
= Py_BuildValue("i",_result
);
4455 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4456 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
* _resultobj
;
4458 wxPyListCtrl
* _arg0
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self","item", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4474 wxPy_BEGIN_ALLOW_THREADS
;
4475 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4477 wxPy_END_ALLOW_THREADS
;
4478 if (PyErr_Occurred()) return NULL
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4484 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4485 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4487 wxPyListCtrl
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_RefreshItems. Expected _wxPyListCtrl_p.");
4504 wxPy_BEGIN_ALLOW_THREADS
;
4505 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4507 wxPy_END_ALLOW_THREADS
;
4508 if (PyErr_Occurred()) return NULL
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4515 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4518 wxPyListCtrl
* _arg0
;
4519 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4520 PyObject
* _argo0
= 0;
4521 char *_kwnames
[] = { "self","flag", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_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_Arrange. Expected _wxPyListCtrl_p.");
4534 wxPy_BEGIN_ALLOW_THREADS
;
4535 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4537 wxPy_END_ALLOW_THREADS
;
4538 if (PyErr_Occurred()) return NULL
;
4539 } _resultobj
= Py_BuildValue("i",_result
);
4543 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4544 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 wxPyListCtrl
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self","item", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4566 wxPy_END_ALLOW_THREADS
;
4567 if (PyErr_Occurred()) return NULL
;
4568 } _resultobj
= Py_BuildValue("i",_result
);
4572 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4573 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4576 wxPyListCtrl
* _arg0
;
4577 PyObject
* _argo0
= 0;
4578 char *_kwnames
[] = { "self", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4591 wxPy_BEGIN_ALLOW_THREADS
;
4592 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4594 wxPy_END_ALLOW_THREADS
;
4595 if (PyErr_Occurred()) return NULL
;
4596 } _resultobj
= Py_BuildValue("i",_result
);
4600 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4601 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4604 wxPyListCtrl
* _arg0
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self","col", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
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_DeleteColumn. Expected _wxPyListCtrl_p.");
4620 wxPy_BEGIN_ALLOW_THREADS
;
4621 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4623 wxPy_END_ALLOW_THREADS
;
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4630 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4633 wxPyListCtrl
* _arg0
;
4634 PyObject
* _argo0
= 0;
4635 char *_kwnames
[] = { "self", NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4648 wxPy_BEGIN_ALLOW_THREADS
;
4649 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4651 wxPy_END_ALLOW_THREADS
;
4652 if (PyErr_Occurred()) return NULL
;
4653 } _resultobj
= Py_BuildValue("i",_result
);
4657 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4658 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4660 wxPyListCtrl
* _arg0
;
4661 PyObject
* _argo0
= 0;
4662 char *_kwnames
[] = { "self", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 wxListCtrl_ClearAll(_arg0
);
4678 wxPy_END_ALLOW_THREADS
;
4679 if (PyErr_Occurred()) return NULL
;
4680 } Py_INCREF(Py_None
);
4681 _resultobj
= Py_None
;
4685 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4686 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4688 wxTextCtrl
* _result
;
4689 wxPyListCtrl
* _arg0
;
4691 PyObject
* _argo0
= 0;
4692 char *_kwnames
[] = { "self","item", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4708 wxPy_END_ALLOW_THREADS
;
4709 if (PyErr_Occurred()) return NULL
;
4710 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4714 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4715 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4718 wxPyListCtrl
* _arg0
;
4720 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self","cancel", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4734 _arg1
= (bool ) tempbool1
;
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4739 wxPy_END_ALLOW_THREADS
;
4740 if (PyErr_Occurred()) return NULL
;
4741 } _resultobj
= Py_BuildValue("i",_result
);
4745 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4746 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4749 wxPyListCtrl
* _arg0
;
4751 PyObject
* _argo0
= 0;
4752 char *_kwnames
[] = { "self","item", NULL
};
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4765 wxPy_BEGIN_ALLOW_THREADS
;
4766 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4768 wxPy_END_ALLOW_THREADS
;
4769 if (PyErr_Occurred()) return NULL
;
4770 } _resultobj
= Py_BuildValue("i",_result
);
4774 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4775 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4778 wxPyListCtrl
* _arg0
;
4781 bool _arg3
= (bool ) FALSE
;
4782 PyObject
* _argo0
= 0;
4783 PyObject
* _obj2
= 0;
4784 int tempbool3
= (int) FALSE
;
4785 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4798 #if PYTHON_API_VERSION >= 1009
4799 char* tmpPtr
; int tmpSize
;
4800 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4801 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4804 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4806 _arg2
= new wxString(tmpPtr
, tmpSize
);
4808 if (!PyString_Check(_obj2
)) {
4809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4812 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4815 _arg3
= (bool ) tempbool3
;
4817 wxPy_BEGIN_ALLOW_THREADS
;
4818 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4820 wxPy_END_ALLOW_THREADS
;
4821 if (PyErr_Occurred()) return NULL
;
4822 } _resultobj
= Py_BuildValue("l",_result
);
4830 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4831 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4834 wxPyListCtrl
* _arg0
;
4837 PyObject
* _argo0
= 0;
4838 char *_kwnames
[] = { "self","start","data", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4851 wxPy_BEGIN_ALLOW_THREADS
;
4852 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4854 wxPy_END_ALLOW_THREADS
;
4855 if (PyErr_Occurred()) return NULL
;
4856 } _resultobj
= Py_BuildValue("l",_result
);
4860 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4861 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4864 wxPyListCtrl
* _arg0
;
4868 PyObject
* _argo0
= 0;
4870 PyObject
* _obj2
= 0;
4871 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4885 if (! wxPoint_helper(_obj2
, &_arg2
))
4889 wxPy_BEGIN_ALLOW_THREADS
;
4890 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4892 wxPy_END_ALLOW_THREADS
;
4893 if (PyErr_Occurred()) return NULL
;
4894 } _resultobj
= Py_BuildValue("l",_result
);
4898 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4899 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4902 wxPyListCtrl
* _arg0
;
4906 PyObject
* _argo0
= 0;
4908 PyObject
* _obj1
= 0;
4909 char *_kwnames
[] = { "self","point", NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4926 if (! wxPoint_helper(_obj1
, &_arg1
))
4930 wxPy_BEGIN_ALLOW_THREADS
;
4931 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4933 wxPy_END_ALLOW_THREADS
;
4934 if (PyErr_Occurred()) return NULL
;
4935 } _resultobj
= Py_BuildValue("l",_result
);
4938 o
= PyInt_FromLong((long) (*_arg2
));
4939 _resultobj
= t_output_helper(_resultobj
, o
);
4944 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4945 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4948 wxPyListCtrl
* _arg0
;
4950 PyObject
* _argo0
= 0;
4951 PyObject
* _argo1
= 0;
4952 char *_kwnames
[] = { "self","info", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4975 wxPy_END_ALLOW_THREADS
;
4976 if (PyErr_Occurred()) return NULL
;
4977 } _resultobj
= Py_BuildValue("l",_result
);
4981 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4982 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 wxPyListCtrl
* _arg0
;
4988 PyObject
* _argo0
= 0;
4989 PyObject
* _obj2
= 0;
4990 char *_kwnames
[] = { "self","index","label", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
5003 #if PYTHON_API_VERSION >= 1009
5004 char* tmpPtr
; int tmpSize
;
5005 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5009 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5011 _arg2
= new wxString(tmpPtr
, tmpSize
);
5013 if (!PyString_Check(_obj2
)) {
5014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5017 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
5024 wxPy_END_ALLOW_THREADS
;
5025 if (PyErr_Occurred()) return NULL
;
5026 } _resultobj
= Py_BuildValue("l",_result
);
5034 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
5035 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5038 wxPyListCtrl
* _arg0
;
5041 PyObject
* _argo0
= 0;
5042 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
5055 wxPy_BEGIN_ALLOW_THREADS
;
5056 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
5058 wxPy_END_ALLOW_THREADS
;
5059 if (PyErr_Occurred()) return NULL
;
5060 } _resultobj
= Py_BuildValue("l",_result
);
5064 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
5065 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
* _resultobj
;
5068 wxPyListCtrl
* _arg0
;
5072 PyObject
* _argo0
= 0;
5073 PyObject
* _obj2
= 0;
5074 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
5087 #if PYTHON_API_VERSION >= 1009
5088 char* tmpPtr
; int tmpSize
;
5089 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5093 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5095 _arg2
= new wxString(tmpPtr
, tmpSize
);
5097 if (!PyString_Check(_obj2
)) {
5098 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5101 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
5108 wxPy_END_ALLOW_THREADS
;
5109 if (PyErr_Occurred()) return NULL
;
5110 } _resultobj
= Py_BuildValue("l",_result
);
5118 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
5119 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5122 wxPyListCtrl
* _arg0
;
5125 PyObject
* _argo0
= 0;
5126 PyObject
* _argo2
= 0;
5127 char *_kwnames
[] = { "self","col","info", NULL
};
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
5133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
5140 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
5150 wxPy_END_ALLOW_THREADS
;
5151 if (PyErr_Occurred()) return NULL
;
5152 } _resultobj
= Py_BuildValue("l",_result
);
5156 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5157 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5160 wxPyListCtrl
* _arg0
;
5163 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5164 int _arg4
= (int ) -1;
5165 PyObject
* _argo0
= 0;
5166 PyObject
* _obj2
= 0;
5167 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5180 #if PYTHON_API_VERSION >= 1009
5181 char* tmpPtr
; int tmpSize
;
5182 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5186 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5188 _arg2
= new wxString(tmpPtr
, tmpSize
);
5190 if (!PyString_Check(_obj2
)) {
5191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5194 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5201 wxPy_END_ALLOW_THREADS
;
5202 if (PyErr_Occurred()) return NULL
;
5203 } _resultobj
= Py_BuildValue("l",_result
);
5211 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5212 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5214 wxPyListCtrl
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self","count", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5233 wxPy_END_ALLOW_THREADS
;
5234 if (PyErr_Occurred()) return NULL
;
5235 } Py_INCREF(Py_None
);
5236 _resultobj
= Py_None
;
5240 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5241 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 wxPyListCtrl
* _arg0
;
5247 PyObject
* _argo0
= 0;
5248 char *_kwnames
[] = { "self","dx","dy", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5261 wxPy_BEGIN_ALLOW_THREADS
;
5262 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5264 wxPy_END_ALLOW_THREADS
;
5265 if (PyErr_Occurred()) return NULL
;
5266 } _resultobj
= Py_BuildValue("i",_result
);
5270 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5271 if (!PyCallable_Check(func
))
5273 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5275 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5278 wxPyListCtrl
* _arg0
;
5280 PyObject
* _argo0
= 0;
5281 PyObject
* _obj1
= 0;
5282 char *_kwnames
[] = { "self","func", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5298 wxPy_BEGIN_ALLOW_THREADS
;
5299 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5301 wxPy_END_ALLOW_THREADS
;
5302 if (PyErr_Occurred()) return NULL
;
5303 } _resultobj
= Py_BuildValue("i",_result
);
5307 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5310 src
= (wxListView
*) ptr
;
5311 dest
= (wxPyListCtrl
*) src
;
5312 return (void *) dest
;
5315 static void *SwigwxListViewTowxControl(void *ptr
) {
5318 src
= (wxListView
*) ptr
;
5319 dest
= (wxControl
*) src
;
5320 return (void *) dest
;
5323 static void *SwigwxListViewTowxWindow(void *ptr
) {
5326 src
= (wxListView
*) ptr
;
5327 dest
= (wxWindow
*) src
;
5328 return (void *) dest
;
5331 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5334 src
= (wxListView
*) ptr
;
5335 dest
= (wxEvtHandler
*) src
;
5336 return (void *) dest
;
5339 static void *SwigwxListViewTowxObject(void *ptr
) {
5342 src
= (wxListView
*) ptr
;
5343 dest
= (wxObject
*) src
;
5344 return (void *) dest
;
5347 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5348 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
* _resultobj
;
5350 wxListView
* _result
;
5352 wxWindowID _arg1
= (wxWindowID
) -1;
5353 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5354 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5355 long _arg4
= (long ) (wxLC_REPORT
);
5356 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5357 wxString
* _arg6
= (wxString
*) &"listctrl";
5358 PyObject
* _argo0
= 0;
5360 PyObject
* _obj2
= 0;
5362 PyObject
* _obj3
= 0;
5363 PyObject
* _argo5
= 0;
5364 PyObject
* _obj6
= 0;
5365 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5381 if (! wxPoint_helper(_obj2
, &_arg2
))
5387 if (! wxSize_helper(_obj3
, &_arg3
))
5391 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5399 #if PYTHON_API_VERSION >= 1009
5400 char* tmpPtr
; int tmpSize
;
5401 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5405 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5407 _arg6
= new wxString(tmpPtr
, tmpSize
);
5409 if (!PyString_Check(_obj6
)) {
5410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5413 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5417 wxPy_BEGIN_ALLOW_THREADS
;
5418 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5420 wxPy_END_ALLOW_THREADS
;
5421 if (PyErr_Occurred()) return NULL
;
5423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5424 _resultobj
= Py_BuildValue("s",_ptemp
);
5427 _resultobj
= Py_None
;
5436 #define new_wxPreListView() (new wxListView())
5437 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5439 wxListView
* _result
;
5440 char *_kwnames
[] = { NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5447 wxPy_BEGIN_ALLOW_THREADS
;
5448 _result
= (wxListView
*)new_wxPreListView();
5450 wxPy_END_ALLOW_THREADS
;
5451 if (PyErr_Occurred()) return NULL
;
5453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5454 _resultobj
= Py_BuildValue("s",_ptemp
);
5457 _resultobj
= Py_None
;
5462 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5463 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5468 wxWindowID _arg2
= (wxWindowID
) -1;
5469 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5470 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5471 long _arg5
= (long ) (wxLC_REPORT
);
5472 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5473 wxString
* _arg7
= (wxString
*) &"listctrl";
5474 PyObject
* _argo0
= 0;
5475 PyObject
* _argo1
= 0;
5477 PyObject
* _obj3
= 0;
5479 PyObject
* _obj4
= 0;
5480 PyObject
* _argo6
= 0;
5481 PyObject
* _obj7
= 0;
5482 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5504 if (! wxPoint_helper(_obj3
, &_arg3
))
5510 if (! wxSize_helper(_obj4
, &_arg4
))
5514 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5522 #if PYTHON_API_VERSION >= 1009
5523 char* tmpPtr
; int tmpSize
;
5524 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5525 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5528 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5530 _arg7
= new wxString(tmpPtr
, tmpSize
);
5532 if (!PyString_Check(_obj7
)) {
5533 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5536 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5540 wxPy_BEGIN_ALLOW_THREADS
;
5541 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5543 wxPy_END_ALLOW_THREADS
;
5544 if (PyErr_Occurred()) return NULL
;
5545 } _resultobj
= Py_BuildValue("i",_result
);
5553 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5554 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
* _resultobj
;
5558 bool _arg2
= (bool ) TRUE
;
5559 PyObject
* _argo0
= 0;
5560 int tempbool2
= (int) TRUE
;
5561 char *_kwnames
[] = { "self","n","on", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5573 _arg2
= (bool ) tempbool2
;
5575 wxPy_BEGIN_ALLOW_THREADS
;
5576 wxListView_Select(_arg0
,_arg1
,_arg2
);
5578 wxPy_END_ALLOW_THREADS
;
5579 if (PyErr_Occurred()) return NULL
;
5580 } Py_INCREF(Py_None
);
5581 _resultobj
= Py_None
;
5585 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5586 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5590 PyObject
* _argo0
= 0;
5591 char *_kwnames
[] = { "self","index", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5604 wxPy_BEGIN_ALLOW_THREADS
;
5605 wxListView_Focus(_arg0
,_arg1
);
5607 wxPy_END_ALLOW_THREADS
;
5608 if (PyErr_Occurred()) return NULL
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5614 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5615 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5633 wxPy_BEGIN_ALLOW_THREADS
;
5634 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5636 wxPy_END_ALLOW_THREADS
;
5637 if (PyErr_Occurred()) return NULL
;
5638 } _resultobj
= Py_BuildValue("l",_result
);
5642 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5643 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5648 PyObject
* _argo0
= 0;
5649 char *_kwnames
[] = { "self","item", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5662 wxPy_BEGIN_ALLOW_THREADS
;
5663 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5665 wxPy_END_ALLOW_THREADS
;
5666 if (PyErr_Occurred()) return NULL
;
5667 } _resultobj
= Py_BuildValue("l",_result
);
5671 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5672 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5693 wxPy_END_ALLOW_THREADS
;
5694 if (PyErr_Occurred()) return NULL
;
5695 } _resultobj
= Py_BuildValue("l",_result
);
5699 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5700 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5705 PyObject
* _argo0
= 0;
5706 char *_kwnames
[] = { "self","index", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5719 wxPy_BEGIN_ALLOW_THREADS
;
5720 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5722 wxPy_END_ALLOW_THREADS
;
5723 if (PyErr_Occurred()) return NULL
;
5724 } _resultobj
= Py_BuildValue("i",_result
);
5728 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5729 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5734 PyObject
* _argo0
= 0;
5735 char *_kwnames
[] = { "self","col","image", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5748 wxPy_BEGIN_ALLOW_THREADS
;
5749 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5751 wxPy_END_ALLOW_THREADS
;
5752 if (PyErr_Occurred()) return NULL
;
5753 } Py_INCREF(Py_None
);
5754 _resultobj
= Py_None
;
5758 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5759 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5763 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self","col", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5777 wxPy_BEGIN_ALLOW_THREADS
;
5778 wxListView_ClearColumnImage(_arg0
,_arg1
);
5780 wxPy_END_ALLOW_THREADS
;
5781 if (PyErr_Occurred()) return NULL
;
5782 } Py_INCREF(Py_None
);
5783 _resultobj
= Py_None
;
5787 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5788 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 wxTreeItemAttr
* _result
;
5791 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5792 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5793 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5795 PyObject
* _obj0
= 0;
5797 PyObject
* _obj1
= 0;
5798 PyObject
* _argo2
= 0;
5799 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5808 if (! wxColour_helper(_obj0
, &_arg0
))
5814 if (! wxColour_helper(_obj1
, &_arg1
))
5818 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5825 wxPy_BEGIN_ALLOW_THREADS
;
5826 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5828 wxPy_END_ALLOW_THREADS
;
5829 if (PyErr_Occurred()) return NULL
;
5831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5832 _resultobj
= Py_BuildValue("s",_ptemp
);
5835 _resultobj
= Py_None
;
5840 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5841 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5843 wxTreeItemAttr
* _arg0
;
5845 PyObject
* _argo0
= 0;
5847 PyObject
* _obj1
= 0;
5848 char *_kwnames
[] = { "self","colText", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5862 if (! wxColour_helper(_obj1
, &_arg1
))
5866 wxPy_BEGIN_ALLOW_THREADS
;
5867 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5869 wxPy_END_ALLOW_THREADS
;
5870 if (PyErr_Occurred()) return NULL
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5876 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5877 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
* _resultobj
;
5879 wxTreeItemAttr
* _arg0
;
5881 PyObject
* _argo0
= 0;
5883 PyObject
* _obj1
= 0;
5884 char *_kwnames
[] = { "self","colBack", NULL
};
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5898 if (! wxColour_helper(_obj1
, &_arg1
))
5902 wxPy_BEGIN_ALLOW_THREADS
;
5903 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5905 wxPy_END_ALLOW_THREADS
;
5906 if (PyErr_Occurred()) return NULL
;
5907 } Py_INCREF(Py_None
);
5908 _resultobj
= Py_None
;
5912 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5913 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5915 wxTreeItemAttr
* _arg0
;
5917 PyObject
* _argo0
= 0;
5918 PyObject
* _argo1
= 0;
5919 char *_kwnames
[] = { "self","font", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5932 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5933 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5939 wxPy_BEGIN_ALLOW_THREADS
;
5940 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5942 wxPy_END_ALLOW_THREADS
;
5943 if (PyErr_Occurred()) return NULL
;
5944 } Py_INCREF(Py_None
);
5945 _resultobj
= Py_None
;
5949 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5950 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
* _resultobj
;
5953 wxTreeItemAttr
* _arg0
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5968 wxPy_BEGIN_ALLOW_THREADS
;
5969 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5971 wxPy_END_ALLOW_THREADS
;
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5978 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 wxTreeItemAttr
* _arg0
;
5982 PyObject
* _argo0
= 0;
5983 char *_kwnames
[] = { "self", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5996 wxPy_BEGIN_ALLOW_THREADS
;
5997 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5999 wxPy_END_ALLOW_THREADS
;
6000 if (PyErr_Occurred()) return NULL
;
6001 } _resultobj
= Py_BuildValue("i",_result
);
6005 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
6006 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6009 wxTreeItemAttr
* _arg0
;
6010 PyObject
* _argo0
= 0;
6011 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
6024 wxPy_BEGIN_ALLOW_THREADS
;
6025 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
6027 wxPy_END_ALLOW_THREADS
;
6028 if (PyErr_Occurred()) return NULL
;
6029 } _resultobj
= Py_BuildValue("i",_result
);
6033 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6034 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6037 wxTreeItemAttr
* _arg0
;
6038 PyObject
* _argo0
= 0;
6039 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
6053 wxPy_BEGIN_ALLOW_THREADS
;
6054 const wxColour
& _result_ref
= wxTreeItemAttr_GetTextColour(_arg0
);
6055 _result
= (wxColour
*) &_result_ref
;
6057 wxPy_END_ALLOW_THREADS
;
6058 if (PyErr_Occurred()) return NULL
;
6060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6061 _resultobj
= Py_BuildValue("s",_ptemp
);
6064 _resultobj
= Py_None
;
6069 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6070 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6073 wxTreeItemAttr
* _arg0
;
6074 PyObject
* _argo0
= 0;
6075 char *_kwnames
[] = { "self", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
6089 wxPy_BEGIN_ALLOW_THREADS
;
6090 const wxColour
& _result_ref
= wxTreeItemAttr_GetBackgroundColour(_arg0
);
6091 _result
= (wxColour
*) &_result_ref
;
6093 wxPy_END_ALLOW_THREADS
;
6094 if (PyErr_Occurred()) return NULL
;
6096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6097 _resultobj
= Py_BuildValue("s",_ptemp
);
6100 _resultobj
= Py_None
;
6105 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
6106 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
* _resultobj
;
6109 wxTreeItemAttr
* _arg0
;
6110 PyObject
* _argo0
= 0;
6111 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
6125 wxPy_BEGIN_ALLOW_THREADS
;
6126 const wxFont
& _result_ref
= wxTreeItemAttr_GetFont(_arg0
);
6127 _result
= (wxFont
*) &_result_ref
;
6129 wxPy_END_ALLOW_THREADS
;
6130 if (PyErr_Occurred()) return NULL
;
6132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6133 _resultobj
= Py_BuildValue("s",_ptemp
);
6136 _resultobj
= Py_None
;
6141 #define new_wxTreeItemId() (new wxTreeItemId())
6142 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6144 wxTreeItemId
* _result
;
6145 char *_kwnames
[] = { NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 _result
= (wxTreeItemId
*)new_wxTreeItemId();
6155 wxPy_END_ALLOW_THREADS
;
6156 if (PyErr_Occurred()) return NULL
;
6158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6159 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 _resultobj
= Py_None
;
6167 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
6168 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
* _resultobj
;
6170 wxTreeItemId
* _arg0
;
6171 PyObject
* _argo0
= 0;
6172 char *_kwnames
[] = { "self", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6185 wxPy_BEGIN_ALLOW_THREADS
;
6186 delete_wxTreeItemId(_arg0
);
6188 wxPy_END_ALLOW_THREADS
;
6189 if (PyErr_Occurred()) return NULL
;
6190 } Py_INCREF(Py_None
);
6191 _resultobj
= Py_None
;
6195 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6196 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6199 wxTreeItemId
* _arg0
;
6200 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6214 wxPy_BEGIN_ALLOW_THREADS
;
6215 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6217 wxPy_END_ALLOW_THREADS
;
6218 if (PyErr_Occurred()) return NULL
;
6219 } _resultobj
= Py_BuildValue("i",_result
);
6223 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6224 if (! other
) return -1;
6225 return *self
!= *other
;
6227 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
* _resultobj
;
6230 wxTreeItemId
* _arg0
;
6231 wxTreeItemId
* _arg1
;
6232 PyObject
* _argo0
= 0;
6233 PyObject
* _argo1
= 0;
6234 char *_kwnames
[] = { "self","other", NULL
};
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6254 wxPy_BEGIN_ALLOW_THREADS
;
6255 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6257 wxPy_END_ALLOW_THREADS
;
6258 if (PyErr_Occurred()) return NULL
;
6259 } _resultobj
= Py_BuildValue("i",_result
);
6263 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6264 wxPyTreeItemData
*src
;
6266 src
= (wxPyTreeItemData
*) ptr
;
6267 dest
= (wxObject
*) src
;
6268 return (void *) dest
;
6271 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6272 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxPyTreeItemData
* _result
;
6275 PyObject
* _arg0
= (PyObject
*) NULL
;
6276 PyObject
* _obj0
= 0;
6277 char *_kwnames
[] = { "obj", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6291 wxPy_END_ALLOW_THREADS
;
6292 if (PyErr_Occurred()) return NULL
;
6294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6295 _resultobj
= Py_BuildValue("s",_ptemp
);
6298 _resultobj
= Py_None
;
6303 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6304 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6307 wxPyTreeItemData
* _arg0
;
6308 PyObject
* _argo0
= 0;
6309 char *_kwnames
[] = { "self", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6322 wxPy_BEGIN_ALLOW_THREADS
;
6323 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6325 wxPy_END_ALLOW_THREADS
;
6326 if (PyErr_Occurred()) return NULL
;
6328 _resultobj
= _result
;
6333 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6334 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
* _resultobj
;
6336 wxPyTreeItemData
* _arg0
;
6338 PyObject
* _argo0
= 0;
6339 PyObject
* _obj1
= 0;
6340 char *_kwnames
[] = { "self","obj", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6356 wxPy_BEGIN_ALLOW_THREADS
;
6357 wxTreeItemData_SetData(_arg0
,_arg1
);
6359 wxPy_END_ALLOW_THREADS
;
6360 if (PyErr_Occurred()) return NULL
;
6361 } Py_INCREF(Py_None
);
6362 _resultobj
= Py_None
;
6366 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6367 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6369 wxTreeItemId
* _result
;
6370 wxPyTreeItemData
* _arg0
;
6371 PyObject
* _argo0
= 0;
6372 char *_kwnames
[] = { "self", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6386 wxPy_BEGIN_ALLOW_THREADS
;
6387 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6388 _result
= (wxTreeItemId
*) &_result_ref
;
6390 wxPy_END_ALLOW_THREADS
;
6391 if (PyErr_Occurred()) return NULL
;
6393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6394 _resultobj
= Py_BuildValue("s",_ptemp
);
6397 _resultobj
= Py_None
;
6402 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6403 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6405 wxPyTreeItemData
* _arg0
;
6406 wxTreeItemId
* _arg1
;
6407 PyObject
* _argo0
= 0;
6408 PyObject
* _argo1
= 0;
6409 char *_kwnames
[] = { "self","id", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6429 wxPy_BEGIN_ALLOW_THREADS
;
6430 wxTreeItemData_SetId(_arg0
,*_arg1
);
6432 wxPy_END_ALLOW_THREADS
;
6433 if (PyErr_Occurred()) return NULL
;
6434 } Py_INCREF(Py_None
);
6435 _resultobj
= Py_None
;
6439 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6441 wxNotifyEvent
*dest
;
6442 src
= (wxTreeEvent
*) ptr
;
6443 dest
= (wxNotifyEvent
*) src
;
6444 return (void *) dest
;
6447 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6449 wxCommandEvent
*dest
;
6450 src
= (wxTreeEvent
*) ptr
;
6451 dest
= (wxCommandEvent
*) src
;
6452 return (void *) dest
;
6455 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6458 src
= (wxTreeEvent
*) ptr
;
6459 dest
= (wxEvent
*) src
;
6460 return (void *) dest
;
6463 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6466 src
= (wxTreeEvent
*) ptr
;
6467 dest
= (wxObject
*) src
;
6468 return (void *) dest
;
6471 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6472 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6474 wxTreeEvent
* _result
;
6475 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6476 int _arg1
= (int ) 0;
6477 char *_kwnames
[] = { "commandType","id", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6484 wxPy_BEGIN_ALLOW_THREADS
;
6485 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6487 wxPy_END_ALLOW_THREADS
;
6488 if (PyErr_Occurred()) return NULL
;
6490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6491 _resultobj
= Py_BuildValue("s",_ptemp
);
6494 _resultobj
= Py_None
;
6499 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6500 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
* _resultobj
;
6502 wxTreeItemId
* _result
;
6503 wxTreeEvent
* _arg0
;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6522 wxPy_END_ALLOW_THREADS
;
6523 if (PyErr_Occurred()) return NULL
;
6524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6525 _resultobj
= Py_BuildValue("s",_ptemp
);
6529 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6530 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6532 wxTreeItemId
* _result
;
6533 wxTreeEvent
* _arg0
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6549 wxPy_BEGIN_ALLOW_THREADS
;
6550 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6552 wxPy_END_ALLOW_THREADS
;
6553 if (PyErr_Occurred()) return NULL
;
6554 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6555 _resultobj
= Py_BuildValue("s",_ptemp
);
6559 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6560 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6563 wxTreeEvent
* _arg0
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6579 wxPy_BEGIN_ALLOW_THREADS
;
6580 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6582 wxPy_END_ALLOW_THREADS
;
6583 if (PyErr_Occurred()) return NULL
;
6584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6585 _resultobj
= Py_BuildValue("s",_ptemp
);
6589 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6590 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
* _resultobj
;
6592 wxKeyEvent
* _result
;
6593 wxTreeEvent
* _arg0
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6609 wxPy_BEGIN_ALLOW_THREADS
;
6610 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6611 _result
= (wxKeyEvent
*) &_result_ref
;
6613 wxPy_END_ALLOW_THREADS
;
6614 if (PyErr_Occurred()) return NULL
;
6616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6617 _resultobj
= Py_BuildValue("s",_ptemp
);
6620 _resultobj
= Py_None
;
6625 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6626 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6629 wxTreeEvent
* _arg0
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6647 wxPy_END_ALLOW_THREADS
;
6648 if (PyErr_Occurred()) return NULL
;
6649 } _resultobj
= Py_BuildValue("i",_result
);
6653 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6654 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
* _resultobj
;
6657 wxTreeEvent
* _arg0
;
6658 PyObject
* _argo0
= 0;
6659 char *_kwnames
[] = { "self", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6672 wxPy_BEGIN_ALLOW_THREADS
;
6673 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6674 _result
= (wxString
*) &_result_ref
;
6676 wxPy_END_ALLOW_THREADS
;
6677 if (PyErr_Occurred()) return NULL
;
6679 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6684 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6687 src
= (wxPyTreeCtrl
*) ptr
;
6688 dest
= (wxControl
*) src
;
6689 return (void *) dest
;
6692 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6695 src
= (wxPyTreeCtrl
*) ptr
;
6696 dest
= (wxWindow
*) src
;
6697 return (void *) dest
;
6700 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6703 src
= (wxPyTreeCtrl
*) ptr
;
6704 dest
= (wxEvtHandler
*) src
;
6705 return (void *) dest
;
6708 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6711 src
= (wxPyTreeCtrl
*) ptr
;
6712 dest
= (wxObject
*) src
;
6713 return (void *) dest
;
6716 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6717 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6719 wxPyTreeCtrl
* _result
;
6721 wxWindowID _arg1
= (wxWindowID
) -1;
6722 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6723 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6724 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6725 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6726 char * _arg6
= (char *) "wxTreeCtrl";
6727 PyObject
* _argo0
= 0;
6729 PyObject
* _obj2
= 0;
6731 PyObject
* _obj3
= 0;
6732 PyObject
* _argo5
= 0;
6733 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6749 if (! wxPoint_helper(_obj2
, &_arg2
))
6755 if (! wxSize_helper(_obj3
, &_arg3
))
6759 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6760 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6766 wxPy_BEGIN_ALLOW_THREADS
;
6767 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6769 wxPy_END_ALLOW_THREADS
;
6770 if (PyErr_Occurred()) return NULL
;
6772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6773 _resultobj
= Py_BuildValue("s",_ptemp
);
6776 _resultobj
= Py_None
;
6781 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6782 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6784 wxPyTreeCtrl
* _result
;
6785 char *_kwnames
[] = { NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6792 wxPy_BEGIN_ALLOW_THREADS
;
6793 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6795 wxPy_END_ALLOW_THREADS
;
6796 if (PyErr_Occurred()) return NULL
;
6798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6799 _resultobj
= Py_BuildValue("s",_ptemp
);
6802 _resultobj
= Py_None
;
6807 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6808 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6811 wxPyTreeCtrl
* _arg0
;
6813 wxWindowID _arg2
= (wxWindowID
) -1;
6814 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6815 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6816 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6817 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6818 char * _arg7
= (char *) "wxTreeCtrl";
6819 PyObject
* _argo0
= 0;
6820 PyObject
* _argo1
= 0;
6822 PyObject
* _obj3
= 0;
6824 PyObject
* _obj4
= 0;
6825 PyObject
* _argo6
= 0;
6826 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6848 if (! wxPoint_helper(_obj3
, &_arg3
))
6854 if (! wxSize_helper(_obj4
, &_arg4
))
6858 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6868 wxPy_END_ALLOW_THREADS
;
6869 if (PyErr_Occurred()) return NULL
;
6870 } _resultobj
= Py_BuildValue("i",_result
);
6874 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
6875 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6877 wxPyTreeCtrl
* _arg0
;
6880 PyObject
* _argo0
= 0;
6881 PyObject
* _obj1
= 0;
6882 PyObject
* _obj2
= 0;
6883 char *_kwnames
[] = { "self","self","_class", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
6902 wxPy_BEGIN_ALLOW_THREADS
;
6903 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
6905 wxPy_END_ALLOW_THREADS
;
6906 if (PyErr_Occurred()) return NULL
;
6907 } Py_INCREF(Py_None
);
6908 _resultobj
= Py_None
;
6912 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6913 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
* _resultobj
;
6916 wxPyTreeCtrl
* _arg0
;
6917 PyObject
* _argo0
= 0;
6918 char *_kwnames
[] = { "self", NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6931 wxPy_BEGIN_ALLOW_THREADS
;
6932 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6934 wxPy_END_ALLOW_THREADS
;
6935 if (PyErr_Occurred()) return NULL
;
6936 } _resultobj
= Py_BuildValue("i",_result
);
6940 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6941 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6943 unsigned int _result
;
6944 wxPyTreeCtrl
* _arg0
;
6945 PyObject
* _argo0
= 0;
6946 char *_kwnames
[] = { "self", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6959 wxPy_BEGIN_ALLOW_THREADS
;
6960 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6962 wxPy_END_ALLOW_THREADS
;
6963 if (PyErr_Occurred()) return NULL
;
6964 } _resultobj
= Py_BuildValue("i",_result
);
6968 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6969 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
* _resultobj
;
6971 wxPyTreeCtrl
* _arg0
;
6973 PyObject
* _argo0
= 0;
6974 char *_kwnames
[] = { "self","indent", NULL
};
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6987 wxPy_BEGIN_ALLOW_THREADS
;
6988 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6990 wxPy_END_ALLOW_THREADS
;
6991 if (PyErr_Occurred()) return NULL
;
6992 } Py_INCREF(Py_None
);
6993 _resultobj
= Py_None
;
6997 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6998 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
* _resultobj
;
7000 wxImageList
* _result
;
7001 wxPyTreeCtrl
* _arg0
;
7002 PyObject
* _argo0
= 0;
7003 char *_kwnames
[] = { "self", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
7016 wxPy_BEGIN_ALLOW_THREADS
;
7017 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
7019 wxPy_END_ALLOW_THREADS
;
7020 if (PyErr_Occurred()) return NULL
;
7021 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7025 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
7026 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7028 wxImageList
* _result
;
7029 wxPyTreeCtrl
* _arg0
;
7030 PyObject
* _argo0
= 0;
7031 char *_kwnames
[] = { "self", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
7044 wxPy_BEGIN_ALLOW_THREADS
;
7045 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
7047 wxPy_END_ALLOW_THREADS
;
7048 if (PyErr_Occurred()) return NULL
;
7049 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7053 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
7054 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7056 wxPyTreeCtrl
* _arg0
;
7057 wxImageList
* _arg1
;
7058 PyObject
* _argo0
= 0;
7059 PyObject
* _argo1
= 0;
7060 char *_kwnames
[] = { "self","imageList", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
7073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
7080 wxPy_BEGIN_ALLOW_THREADS
;
7081 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
7083 wxPy_END_ALLOW_THREADS
;
7084 if (PyErr_Occurred()) return NULL
;
7085 } Py_INCREF(Py_None
);
7086 _resultobj
= Py_None
;
7090 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
7091 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7093 wxPyTreeCtrl
* _arg0
;
7094 wxImageList
* _arg1
;
7095 PyObject
* _argo0
= 0;
7096 PyObject
* _argo1
= 0;
7097 char *_kwnames
[] = { "self","imageList", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
7110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
7117 wxPy_BEGIN_ALLOW_THREADS
;
7118 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
7120 wxPy_END_ALLOW_THREADS
;
7121 if (PyErr_Occurred()) return NULL
;
7122 } Py_INCREF(Py_None
);
7123 _resultobj
= Py_None
;
7127 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
7128 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7130 wxPyTreeCtrl
* _arg0
;
7131 wxImageList
* _arg1
;
7132 PyObject
* _argo0
= 0;
7133 PyObject
* _argo1
= 0;
7134 char *_kwnames
[] = { "self","imageList", NULL
};
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
7140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
7147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
7154 wxPy_BEGIN_ALLOW_THREADS
;
7155 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
7157 wxPy_END_ALLOW_THREADS
;
7158 if (PyErr_Occurred()) return NULL
;
7159 } Py_INCREF(Py_None
);
7160 _resultobj
= Py_None
;
7164 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
7165 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7167 wxPyTreeCtrl
* _arg0
;
7168 wxImageList
* _arg1
;
7169 PyObject
* _argo0
= 0;
7170 PyObject
* _argo1
= 0;
7171 char *_kwnames
[] = { "self","imageList", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7191 wxPy_BEGIN_ALLOW_THREADS
;
7192 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7194 wxPy_END_ALLOW_THREADS
;
7195 if (PyErr_Occurred()) return NULL
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7201 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7202 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7204 unsigned int _result
;
7205 wxPyTreeCtrl
* _arg0
;
7206 PyObject
* _argo0
= 0;
7207 char *_kwnames
[] = { "self", NULL
};
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
7213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
7220 wxPy_BEGIN_ALLOW_THREADS
;
7221 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7223 wxPy_END_ALLOW_THREADS
;
7224 if (PyErr_Occurred()) return NULL
;
7225 } _resultobj
= Py_BuildValue("i",_result
);
7229 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7230 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7232 wxPyTreeCtrl
* _arg0
;
7234 PyObject
* _argo0
= 0;
7235 char *_kwnames
[] = { "self","spacing", NULL
};
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7248 wxPy_BEGIN_ALLOW_THREADS
;
7249 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7251 wxPy_END_ALLOW_THREADS
;
7252 if (PyErr_Occurred()) return NULL
;
7253 } Py_INCREF(Py_None
);
7254 _resultobj
= Py_None
;
7258 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7259 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7262 wxPyTreeCtrl
* _arg0
;
7263 wxTreeItemId
* _arg1
;
7264 PyObject
* _argo0
= 0;
7265 PyObject
* _argo1
= 0;
7266 char *_kwnames
[] = { "self","item", NULL
};
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7279 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7280 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7286 wxPy_BEGIN_ALLOW_THREADS
;
7287 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7289 wxPy_END_ALLOW_THREADS
;
7290 if (PyErr_Occurred()) return NULL
;
7292 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7300 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7301 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7304 wxPyTreeCtrl
* _arg0
;
7305 wxTreeItemId
* _arg1
;
7306 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7307 PyObject
* _argo0
= 0;
7308 PyObject
* _argo1
= 0;
7309 char *_kwnames
[] = { "self","item","which", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7329 wxPy_BEGIN_ALLOW_THREADS
;
7330 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7332 wxPy_END_ALLOW_THREADS
;
7333 if (PyErr_Occurred()) return NULL
;
7334 } _resultobj
= Py_BuildValue("i",_result
);
7338 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7339 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
* _resultobj
;
7342 wxPyTreeCtrl
* _arg0
;
7343 wxTreeItemId
* _arg1
;
7344 PyObject
* _argo0
= 0;
7345 PyObject
* _argo1
= 0;
7346 char *_kwnames
[] = { "self","item", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7366 wxPy_BEGIN_ALLOW_THREADS
;
7367 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7369 wxPy_END_ALLOW_THREADS
;
7370 if (PyErr_Occurred()) return NULL
;
7371 } _resultobj
= Py_BuildValue("i",_result
);
7375 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7376 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
* _resultobj
;
7378 wxPyTreeCtrl
* _arg0
;
7379 wxTreeItemId
* _arg1
;
7381 PyObject
* _argo0
= 0;
7382 PyObject
* _argo1
= 0;
7383 PyObject
* _obj2
= 0;
7384 char *_kwnames
[] = { "self","item","text", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7404 #if PYTHON_API_VERSION >= 1009
7405 char* tmpPtr
; int tmpSize
;
7406 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7407 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7410 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7412 _arg2
= new wxString(tmpPtr
, tmpSize
);
7414 if (!PyString_Check(_obj2
)) {
7415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7418 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7422 wxPy_BEGIN_ALLOW_THREADS
;
7423 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7425 wxPy_END_ALLOW_THREADS
;
7426 if (PyErr_Occurred()) return NULL
;
7427 } Py_INCREF(Py_None
);
7428 _resultobj
= Py_None
;
7436 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7437 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
* _resultobj
;
7439 wxPyTreeCtrl
* _arg0
;
7440 wxTreeItemId
* _arg1
;
7442 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7443 PyObject
* _argo0
= 0;
7444 PyObject
* _argo1
= 0;
7445 char *_kwnames
[] = { "self","item","image","which", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7465 wxPy_BEGIN_ALLOW_THREADS
;
7466 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7468 wxPy_END_ALLOW_THREADS
;
7469 if (PyErr_Occurred()) return NULL
;
7470 } Py_INCREF(Py_None
);
7471 _resultobj
= Py_None
;
7475 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7476 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7478 wxPyTreeCtrl
* _arg0
;
7479 wxTreeItemId
* _arg1
;
7481 PyObject
* _argo0
= 0;
7482 PyObject
* _argo1
= 0;
7483 char *_kwnames
[] = { "self","item","image", NULL
};
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7506 wxPy_END_ALLOW_THREADS
;
7507 if (PyErr_Occurred()) return NULL
;
7508 } Py_INCREF(Py_None
);
7509 _resultobj
= Py_None
;
7513 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7514 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7516 wxPyTreeCtrl
* _arg0
;
7517 wxTreeItemId
* _arg1
;
7518 bool _arg2
= (bool ) TRUE
;
7519 PyObject
* _argo0
= 0;
7520 PyObject
* _argo1
= 0;
7521 int tempbool2
= (int) TRUE
;
7522 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7541 _arg2
= (bool ) tempbool2
;
7543 wxPy_BEGIN_ALLOW_THREADS
;
7544 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7546 wxPy_END_ALLOW_THREADS
;
7547 if (PyErr_Occurred()) return NULL
;
7548 } Py_INCREF(Py_None
);
7549 _resultobj
= Py_None
;
7553 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7554 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7556 data
= new wxPyTreeItemData();
7557 data
->SetId(item
); // set the id
7558 self
->SetItemData(item
, data
);
7562 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
* _resultobj
;
7564 wxPyTreeItemData
* _result
;
7565 wxPyTreeCtrl
* _arg0
;
7566 wxTreeItemId
* _arg1
;
7567 PyObject
* _argo0
= 0;
7568 PyObject
* _argo1
= 0;
7569 char *_kwnames
[] = { "self","item", NULL
};
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7590 wxPy_BEGIN_ALLOW_THREADS
;
7591 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7593 wxPy_END_ALLOW_THREADS
;
7594 if (PyErr_Occurred()) return NULL
;
7596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7597 _resultobj
= Py_BuildValue("s",_ptemp
);
7600 _resultobj
= Py_None
;
7605 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7606 data
->SetId(item
); // set the id
7607 self
->SetItemData(item
, data
);
7609 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
* _resultobj
;
7611 wxPyTreeCtrl
* _arg0
;
7612 wxTreeItemId
* _arg1
;
7613 wxPyTreeItemData
* _arg2
;
7614 PyObject
* _argo0
= 0;
7615 PyObject
* _argo1
= 0;
7616 PyObject
* _argo2
= 0;
7617 char *_kwnames
[] = { "self","item","data", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7637 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7644 wxPy_BEGIN_ALLOW_THREADS
;
7645 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7647 wxPy_END_ALLOW_THREADS
;
7648 if (PyErr_Occurred()) return NULL
;
7649 } Py_INCREF(Py_None
);
7650 _resultobj
= Py_None
;
7654 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7655 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7657 data
= new wxPyTreeItemData();
7658 data
->SetId(item
); // set the id
7659 self
->SetItemData(item
, data
);
7661 return data
->GetData();
7663 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
* _resultobj
;
7666 wxPyTreeCtrl
* _arg0
;
7667 wxTreeItemId
* _arg1
;
7668 PyObject
* _argo0
= 0;
7669 PyObject
* _argo1
= 0;
7670 char *_kwnames
[] = { "self","item", NULL
};
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7690 wxPy_BEGIN_ALLOW_THREADS
;
7691 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7693 wxPy_END_ALLOW_THREADS
;
7694 if (PyErr_Occurred()) return NULL
;
7696 _resultobj
= _result
;
7701 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7702 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7704 data
= new wxPyTreeItemData(obj
);
7705 data
->SetId(item
); // set the id
7706 self
->SetItemData(item
, data
);
7710 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7712 wxPyTreeCtrl
* _arg0
;
7713 wxTreeItemId
* _arg1
;
7715 PyObject
* _argo0
= 0;
7716 PyObject
* _argo1
= 0;
7717 PyObject
* _obj2
= 0;
7718 char *_kwnames
[] = { "self","item","obj", NULL
};
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7741 wxPy_BEGIN_ALLOW_THREADS
;
7742 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7744 wxPy_END_ALLOW_THREADS
;
7745 if (PyErr_Occurred()) return NULL
;
7746 } Py_INCREF(Py_None
);
7747 _resultobj
= Py_None
;
7751 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7752 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7755 wxPyTreeCtrl
* _arg0
;
7756 wxTreeItemId
* _arg1
;
7757 PyObject
* _argo0
= 0;
7758 PyObject
* _argo1
= 0;
7759 char *_kwnames
[] = { "self","item", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7779 wxPy_BEGIN_ALLOW_THREADS
;
7780 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7782 wxPy_END_ALLOW_THREADS
;
7783 if (PyErr_Occurred()) return NULL
;
7784 } _resultobj
= Py_BuildValue("i",_result
);
7788 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7789 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7792 wxPyTreeCtrl
* _arg0
;
7793 wxTreeItemId
* _arg1
;
7794 PyObject
* _argo0
= 0;
7795 PyObject
* _argo1
= 0;
7796 char *_kwnames
[] = { "self","item", NULL
};
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7816 wxPy_BEGIN_ALLOW_THREADS
;
7817 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7819 wxPy_END_ALLOW_THREADS
;
7820 if (PyErr_Occurred()) return NULL
;
7821 } _resultobj
= Py_BuildValue("i",_result
);
7825 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7826 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7829 wxPyTreeCtrl
* _arg0
;
7830 wxTreeItemId
* _arg1
;
7831 PyObject
* _argo0
= 0;
7832 PyObject
* _argo1
= 0;
7833 char *_kwnames
[] = { "self","item", NULL
};
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7846 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7853 wxPy_BEGIN_ALLOW_THREADS
;
7854 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7856 wxPy_END_ALLOW_THREADS
;
7857 if (PyErr_Occurred()) return NULL
;
7858 } _resultobj
= Py_BuildValue("i",_result
);
7862 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7863 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
* _resultobj
;
7866 wxPyTreeCtrl
* _arg0
;
7867 wxTreeItemId
* _arg1
;
7868 PyObject
* _argo0
= 0;
7869 PyObject
* _argo1
= 0;
7870 char *_kwnames
[] = { "self","item", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7890 wxPy_BEGIN_ALLOW_THREADS
;
7891 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7893 wxPy_END_ALLOW_THREADS
;
7894 if (PyErr_Occurred()) return NULL
;
7895 } _resultobj
= Py_BuildValue("i",_result
);
7899 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7900 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7902 wxTreeItemId
* _result
;
7903 wxPyTreeCtrl
* _arg0
;
7904 PyObject
* _argo0
= 0;
7905 char *_kwnames
[] = { "self", NULL
};
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7919 wxPy_BEGIN_ALLOW_THREADS
;
7920 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7922 wxPy_END_ALLOW_THREADS
;
7923 if (PyErr_Occurred()) return NULL
;
7924 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7925 _resultobj
= Py_BuildValue("s",_ptemp
);
7929 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7930 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
* _resultobj
;
7932 wxTreeItemId
* _result
;
7933 wxPyTreeCtrl
* _arg0
;
7934 PyObject
* _argo0
= 0;
7935 char *_kwnames
[] = { "self", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7949 wxPy_BEGIN_ALLOW_THREADS
;
7950 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7952 wxPy_END_ALLOW_THREADS
;
7953 if (PyErr_Occurred()) return NULL
;
7954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7955 _resultobj
= Py_BuildValue("s",_ptemp
);
7959 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7960 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
* _resultobj
;
7962 wxTreeItemId
* _result
;
7963 wxPyTreeCtrl
* _arg0
;
7964 wxTreeItemId
* _arg1
;
7965 PyObject
* _argo0
= 0;
7966 PyObject
* _argo1
= 0;
7967 char *_kwnames
[] = { "self","item", NULL
};
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7988 wxPy_BEGIN_ALLOW_THREADS
;
7989 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7991 wxPy_END_ALLOW_THREADS
;
7992 if (PyErr_Occurred()) return NULL
;
7993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7994 _resultobj
= Py_BuildValue("s",_ptemp
);
7998 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7999 wxPyTState
* state
= wxPyBeginBlockThreads();
8000 PyObject
* rval
= PyList_New(0);
8001 wxArrayTreeItemIds array
;
8003 num
= self
->GetSelections(array
);
8004 for (x
=0; x
< num
; x
++) {
8005 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
8006 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
8007 PyList_Append(rval
, item
);
8009 wxPyEndBlockThreads(state
);
8012 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8015 wxPyTreeCtrl
* _arg0
;
8016 PyObject
* _argo0
= 0;
8017 char *_kwnames
[] = { "self", NULL
};
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
8023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
8030 wxPy_BEGIN_ALLOW_THREADS
;
8031 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
8033 wxPy_END_ALLOW_THREADS
;
8034 if (PyErr_Occurred()) return NULL
;
8036 _resultobj
= _result
;
8041 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
8042 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
* _resultobj
;
8045 wxPyTreeCtrl
* _arg0
;
8046 wxTreeItemId
* _arg1
;
8047 bool _arg2
= (bool ) TRUE
;
8048 PyObject
* _argo0
= 0;
8049 PyObject
* _argo1
= 0;
8050 int tempbool2
= (int) TRUE
;
8051 char *_kwnames
[] = { "self","item","recursively", NULL
};
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
8057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
8064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
8070 _arg2
= (bool ) tempbool2
;
8072 wxPy_BEGIN_ALLOW_THREADS
;
8073 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
8075 wxPy_END_ALLOW_THREADS
;
8076 if (PyErr_Occurred()) return NULL
;
8077 } _resultobj
= Py_BuildValue("i",_result
);
8081 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
8082 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8084 wxTreeItemId
* _result
;
8085 wxPyTreeCtrl
* _arg0
;
8086 wxTreeItemId
* _arg1
;
8088 PyObject
* _argo0
= 0;
8089 PyObject
* _argo1
= 0;
8091 PyObject
* _obj2
= 0;
8092 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
8106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
8113 temp
= (long) PyInt_AsLong(_obj2
);
8117 wxPy_BEGIN_ALLOW_THREADS
;
8118 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
8120 wxPy_END_ALLOW_THREADS
;
8121 if (PyErr_Occurred()) return NULL
;
8122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8123 _resultobj
= Py_BuildValue("s",_ptemp
);
8126 o
= PyInt_FromLong((long) (*_arg2
));
8127 _resultobj
= t_output_helper(_resultobj
, o
);
8132 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
8133 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8135 wxTreeItemId
* _result
;
8136 wxPyTreeCtrl
* _arg0
;
8137 wxTreeItemId
* _arg1
;
8139 PyObject
* _argo0
= 0;
8140 PyObject
* _argo1
= 0;
8142 PyObject
* _obj2
= 0;
8143 char *_kwnames
[] = { "self","item","INOUT", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
8157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
8164 temp
= (long) PyInt_AsLong(_obj2
);
8168 wxPy_BEGIN_ALLOW_THREADS
;
8169 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
8171 wxPy_END_ALLOW_THREADS
;
8172 if (PyErr_Occurred()) return NULL
;
8173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8174 _resultobj
= Py_BuildValue("s",_ptemp
);
8177 o
= PyInt_FromLong((long) (*_arg2
));
8178 _resultobj
= t_output_helper(_resultobj
, o
);
8183 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8184 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8186 wxTreeItemId
* _result
;
8187 wxPyTreeCtrl
* _arg0
;
8188 wxTreeItemId
* _arg1
;
8189 PyObject
* _argo0
= 0;
8190 PyObject
* _argo1
= 0;
8191 char *_kwnames
[] = { "self","item", NULL
};
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8212 wxPy_BEGIN_ALLOW_THREADS
;
8213 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8215 wxPy_END_ALLOW_THREADS
;
8216 if (PyErr_Occurred()) return NULL
;
8217 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8218 _resultobj
= Py_BuildValue("s",_ptemp
);
8222 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8223 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
* _resultobj
;
8225 wxTreeItemId
* _result
;
8226 wxPyTreeCtrl
* _arg0
;
8227 wxTreeItemId
* _arg1
;
8228 PyObject
* _argo0
= 0;
8229 PyObject
* _argo1
= 0;
8230 char *_kwnames
[] = { "self","item", NULL
};
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8251 wxPy_BEGIN_ALLOW_THREADS
;
8252 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8254 wxPy_END_ALLOW_THREADS
;
8255 if (PyErr_Occurred()) return NULL
;
8256 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8257 _resultobj
= Py_BuildValue("s",_ptemp
);
8261 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8262 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8264 wxTreeItemId
* _result
;
8265 wxPyTreeCtrl
* _arg0
;
8266 PyObject
* _argo0
= 0;
8267 char *_kwnames
[] = { "self", NULL
};
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8281 wxPy_BEGIN_ALLOW_THREADS
;
8282 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8284 wxPy_END_ALLOW_THREADS
;
8285 if (PyErr_Occurred()) return NULL
;
8286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8287 _resultobj
= Py_BuildValue("s",_ptemp
);
8291 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8292 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
* _resultobj
;
8294 wxTreeItemId
* _result
;
8295 wxPyTreeCtrl
* _arg0
;
8296 wxTreeItemId
* _arg1
;
8297 PyObject
* _argo0
= 0;
8298 PyObject
* _argo1
= 0;
8299 char *_kwnames
[] = { "self","item", NULL
};
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8320 wxPy_BEGIN_ALLOW_THREADS
;
8321 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8323 wxPy_END_ALLOW_THREADS
;
8324 if (PyErr_Occurred()) return NULL
;
8325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8326 _resultobj
= Py_BuildValue("s",_ptemp
);
8330 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8331 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8333 wxTreeItemId
* _result
;
8334 wxPyTreeCtrl
* _arg0
;
8335 wxTreeItemId
* _arg1
;
8336 PyObject
* _argo0
= 0;
8337 PyObject
* _argo1
= 0;
8338 char *_kwnames
[] = { "self","item", NULL
};
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8359 wxPy_BEGIN_ALLOW_THREADS
;
8360 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8362 wxPy_END_ALLOW_THREADS
;
8363 if (PyErr_Occurred()) return NULL
;
8364 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8365 _resultobj
= Py_BuildValue("s",_ptemp
);
8369 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8370 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
* _resultobj
;
8372 wxTreeItemId
* _result
;
8373 wxPyTreeCtrl
* _arg0
;
8374 wxTreeItemId
* _arg1
;
8375 PyObject
* _argo0
= 0;
8376 PyObject
* _argo1
= 0;
8377 char *_kwnames
[] = { "self","item", NULL
};
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8398 wxPy_BEGIN_ALLOW_THREADS
;
8399 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8401 wxPy_END_ALLOW_THREADS
;
8402 if (PyErr_Occurred()) return NULL
;
8403 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8404 _resultobj
= Py_BuildValue("s",_ptemp
);
8408 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8409 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8411 wxTreeItemId
* _result
;
8412 wxPyTreeCtrl
* _arg0
;
8414 int _arg2
= (int ) -1;
8415 int _arg3
= (int ) -1;
8416 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8417 PyObject
* _argo0
= 0;
8418 PyObject
* _obj1
= 0;
8419 PyObject
* _argo4
= 0;
8420 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8434 #if PYTHON_API_VERSION >= 1009
8435 char* tmpPtr
; int tmpSize
;
8436 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8440 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8442 _arg1
= new wxString(tmpPtr
, tmpSize
);
8444 if (!PyString_Check(_obj1
)) {
8445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8448 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8452 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8453 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8459 wxPy_BEGIN_ALLOW_THREADS
;
8460 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8462 wxPy_END_ALLOW_THREADS
;
8463 if (PyErr_Occurred()) return NULL
;
8464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8465 _resultobj
= Py_BuildValue("s",_ptemp
);
8473 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8474 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
* _resultobj
;
8476 wxTreeItemId
* _result
;
8477 wxPyTreeCtrl
* _arg0
;
8478 wxTreeItemId
* _arg1
;
8480 int _arg3
= (int ) -1;
8481 int _arg4
= (int ) -1;
8482 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8483 PyObject
* _argo0
= 0;
8484 PyObject
* _argo1
= 0;
8485 PyObject
* _obj2
= 0;
8486 PyObject
* _argo5
= 0;
8487 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8501 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8502 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8508 #if PYTHON_API_VERSION >= 1009
8509 char* tmpPtr
; int tmpSize
;
8510 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8514 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8516 _arg2
= new wxString(tmpPtr
, tmpSize
);
8518 if (!PyString_Check(_obj2
)) {
8519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8522 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8526 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8527 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8533 wxPy_BEGIN_ALLOW_THREADS
;
8534 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8536 wxPy_END_ALLOW_THREADS
;
8537 if (PyErr_Occurred()) return NULL
;
8538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8539 _resultobj
= Py_BuildValue("s",_ptemp
);
8547 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8548 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
* _resultobj
;
8550 wxTreeItemId
* _result
;
8551 wxPyTreeCtrl
* _arg0
;
8552 wxTreeItemId
* _arg1
;
8553 wxTreeItemId
* _arg2
;
8555 int _arg4
= (int ) -1;
8556 int _arg5
= (int ) -1;
8557 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8558 PyObject
* _argo0
= 0;
8559 PyObject
* _argo1
= 0;
8560 PyObject
* _argo2
= 0;
8561 PyObject
* _obj3
= 0;
8562 PyObject
* _argo6
= 0;
8563 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8584 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8585 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8591 #if PYTHON_API_VERSION >= 1009
8592 char* tmpPtr
; int tmpSize
;
8593 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8597 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8599 _arg3
= new wxString(tmpPtr
, tmpSize
);
8601 if (!PyString_Check(_obj3
)) {
8602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8605 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8609 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8610 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8616 wxPy_BEGIN_ALLOW_THREADS
;
8617 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8619 wxPy_END_ALLOW_THREADS
;
8620 if (PyErr_Occurred()) return NULL
;
8621 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8622 _resultobj
= Py_BuildValue("s",_ptemp
);
8630 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8631 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
* _resultobj
;
8633 wxTreeItemId
* _result
;
8634 wxPyTreeCtrl
* _arg0
;
8635 wxTreeItemId
* _arg1
;
8638 int _arg4
= (int ) -1;
8639 int _arg5
= (int ) -1;
8640 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8641 PyObject
* _argo0
= 0;
8642 PyObject
* _argo1
= 0;
8643 PyObject
* _obj3
= 0;
8644 PyObject
* _argo6
= 0;
8645 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8666 #if PYTHON_API_VERSION >= 1009
8667 char* tmpPtr
; int tmpSize
;
8668 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8672 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8674 _arg3
= new wxString(tmpPtr
, tmpSize
);
8676 if (!PyString_Check(_obj3
)) {
8677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8680 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8684 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8691 wxPy_BEGIN_ALLOW_THREADS
;
8692 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8694 wxPy_END_ALLOW_THREADS
;
8695 if (PyErr_Occurred()) return NULL
;
8696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8697 _resultobj
= Py_BuildValue("s",_ptemp
);
8705 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8706 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
* _resultobj
;
8708 wxTreeItemId
* _result
;
8709 wxPyTreeCtrl
* _arg0
;
8710 wxTreeItemId
* _arg1
;
8712 int _arg3
= (int ) -1;
8713 int _arg4
= (int ) -1;
8714 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8715 PyObject
* _argo0
= 0;
8716 PyObject
* _argo1
= 0;
8717 PyObject
* _obj2
= 0;
8718 PyObject
* _argo5
= 0;
8719 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8740 #if PYTHON_API_VERSION >= 1009
8741 char* tmpPtr
; int tmpSize
;
8742 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8746 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8748 _arg2
= new wxString(tmpPtr
, tmpSize
);
8750 if (!PyString_Check(_obj2
)) {
8751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8754 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8758 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8759 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8765 wxPy_BEGIN_ALLOW_THREADS
;
8766 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8768 wxPy_END_ALLOW_THREADS
;
8769 if (PyErr_Occurred()) return NULL
;
8770 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8771 _resultobj
= Py_BuildValue("s",_ptemp
);
8779 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8780 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
* _resultobj
;
8782 wxPyTreeCtrl
* _arg0
;
8783 wxTreeItemId
* _arg1
;
8784 PyObject
* _argo0
= 0;
8785 PyObject
* _argo1
= 0;
8786 char *_kwnames
[] = { "self","item", NULL
};
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8806 wxPy_BEGIN_ALLOW_THREADS
;
8807 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8809 wxPy_END_ALLOW_THREADS
;
8810 if (PyErr_Occurred()) return NULL
;
8811 } Py_INCREF(Py_None
);
8812 _resultobj
= Py_None
;
8816 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8817 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8819 wxPyTreeCtrl
* _arg0
;
8820 wxTreeItemId
* _arg1
;
8821 PyObject
* _argo0
= 0;
8822 PyObject
* _argo1
= 0;
8823 char *_kwnames
[] = { "self","item", NULL
};
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8843 wxPy_BEGIN_ALLOW_THREADS
;
8844 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8846 wxPy_END_ALLOW_THREADS
;
8847 if (PyErr_Occurred()) return NULL
;
8848 } Py_INCREF(Py_None
);
8849 _resultobj
= Py_None
;
8853 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8854 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
* _resultobj
;
8856 wxPyTreeCtrl
* _arg0
;
8857 PyObject
* _argo0
= 0;
8858 char *_kwnames
[] = { "self", NULL
};
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8871 wxPy_BEGIN_ALLOW_THREADS
;
8872 wxTreeCtrl_DeleteAllItems(_arg0
);
8874 wxPy_END_ALLOW_THREADS
;
8875 if (PyErr_Occurred()) return NULL
;
8876 } Py_INCREF(Py_None
);
8877 _resultobj
= Py_None
;
8881 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8882 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8884 wxPyTreeCtrl
* _arg0
;
8885 wxTreeItemId
* _arg1
;
8886 PyObject
* _argo0
= 0;
8887 PyObject
* _argo1
= 0;
8888 char *_kwnames
[] = { "self","item", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8908 wxPy_BEGIN_ALLOW_THREADS
;
8909 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8911 wxPy_END_ALLOW_THREADS
;
8912 if (PyErr_Occurred()) return NULL
;
8913 } Py_INCREF(Py_None
);
8914 _resultobj
= Py_None
;
8918 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8919 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
* _resultobj
;
8921 wxPyTreeCtrl
* _arg0
;
8922 wxTreeItemId
* _arg1
;
8923 PyObject
* _argo0
= 0;
8924 PyObject
* _argo1
= 0;
8925 char *_kwnames
[] = { "self","item", NULL
};
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8945 wxPy_BEGIN_ALLOW_THREADS
;
8946 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8948 wxPy_END_ALLOW_THREADS
;
8949 if (PyErr_Occurred()) return NULL
;
8950 } Py_INCREF(Py_None
);
8951 _resultobj
= Py_None
;
8955 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8956 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8958 wxPyTreeCtrl
* _arg0
;
8959 wxTreeItemId
* _arg1
;
8960 PyObject
* _argo0
= 0;
8961 PyObject
* _argo1
= 0;
8962 char *_kwnames
[] = { "self","item", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8982 wxPy_BEGIN_ALLOW_THREADS
;
8983 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8985 wxPy_END_ALLOW_THREADS
;
8986 if (PyErr_Occurred()) return NULL
;
8987 } Py_INCREF(Py_None
);
8988 _resultobj
= Py_None
;
8992 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8993 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
* _resultobj
;
8995 wxPyTreeCtrl
* _arg0
;
8996 wxTreeItemId
* _arg1
;
8997 PyObject
* _argo0
= 0;
8998 PyObject
* _argo1
= 0;
8999 char *_kwnames
[] = { "self","item", NULL
};
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
9005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
9012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
9019 wxPy_BEGIN_ALLOW_THREADS
;
9020 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
9022 wxPy_END_ALLOW_THREADS
;
9023 if (PyErr_Occurred()) return NULL
;
9024 } Py_INCREF(Py_None
);
9025 _resultobj
= Py_None
;
9029 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
9030 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9032 wxPyTreeCtrl
* _arg0
;
9033 PyObject
* _argo0
= 0;
9034 char *_kwnames
[] = { "self", NULL
};
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
9040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
9047 wxPy_BEGIN_ALLOW_THREADS
;
9048 wxTreeCtrl_Unselect(_arg0
);
9050 wxPy_END_ALLOW_THREADS
;
9051 if (PyErr_Occurred()) return NULL
;
9052 } Py_INCREF(Py_None
);
9053 _resultobj
= Py_None
;
9057 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
9058 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
* _resultobj
;
9060 wxPyTreeCtrl
* _arg0
;
9061 PyObject
* _argo0
= 0;
9062 char *_kwnames
[] = { "self", NULL
};
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
9068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
9075 wxPy_BEGIN_ALLOW_THREADS
;
9076 wxTreeCtrl_UnselectAll(_arg0
);
9078 wxPy_END_ALLOW_THREADS
;
9079 if (PyErr_Occurred()) return NULL
;
9080 } Py_INCREF(Py_None
);
9081 _resultobj
= Py_None
;
9085 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
9086 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
* _resultobj
;
9088 wxPyTreeCtrl
* _arg0
;
9089 wxTreeItemId
* _arg1
;
9090 PyObject
* _argo0
= 0;
9091 PyObject
* _argo1
= 0;
9092 char *_kwnames
[] = { "self","item", NULL
};
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
9098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
9105 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9106 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
9112 wxPy_BEGIN_ALLOW_THREADS
;
9113 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
9115 wxPy_END_ALLOW_THREADS
;
9116 if (PyErr_Occurred()) return NULL
;
9117 } Py_INCREF(Py_None
);
9118 _resultobj
= Py_None
;
9122 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
9123 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9125 wxPyTreeCtrl
* _arg0
;
9126 wxTreeItemId
* _arg1
;
9127 PyObject
* _argo0
= 0;
9128 PyObject
* _argo1
= 0;
9129 char *_kwnames
[] = { "self","item", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
9142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
9149 wxPy_BEGIN_ALLOW_THREADS
;
9150 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
9152 wxPy_END_ALLOW_THREADS
;
9153 if (PyErr_Occurred()) return NULL
;
9154 } Py_INCREF(Py_None
);
9155 _resultobj
= Py_None
;
9159 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
9160 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
* _resultobj
;
9162 wxPyTreeCtrl
* _arg0
;
9163 wxTreeItemId
* _arg1
;
9164 PyObject
* _argo0
= 0;
9165 PyObject
* _argo1
= 0;
9166 char *_kwnames
[] = { "self","item", NULL
};
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
9172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
9179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9186 wxPy_BEGIN_ALLOW_THREADS
;
9187 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9189 wxPy_END_ALLOW_THREADS
;
9190 if (PyErr_Occurred()) return NULL
;
9191 } Py_INCREF(Py_None
);
9192 _resultobj
= Py_None
;
9196 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9197 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9199 wxTextCtrl
* _result
;
9200 wxPyTreeCtrl
* _arg0
;
9201 wxTreeItemId
* _arg1
;
9202 PyObject
* _argo0
= 0;
9203 PyObject
* _argo1
= 0;
9204 char *_kwnames
[] = { "self","item", NULL
};
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9224 wxPy_BEGIN_ALLOW_THREADS
;
9225 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9227 wxPy_END_ALLOW_THREADS
;
9228 if (PyErr_Occurred()) return NULL
;
9229 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9233 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9234 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
* _resultobj
;
9236 wxTextCtrl
* _result
;
9237 wxPyTreeCtrl
* _arg0
;
9238 PyObject
* _argo0
= 0;
9239 char *_kwnames
[] = { "self", NULL
};
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9252 wxPy_BEGIN_ALLOW_THREADS
;
9253 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9255 wxPy_END_ALLOW_THREADS
;
9256 if (PyErr_Occurred()) return NULL
;
9257 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9261 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9262 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9264 wxPyTreeCtrl
* _arg0
;
9265 wxTreeItemId
* _arg1
;
9266 int _arg2
= (int ) FALSE
;
9267 PyObject
* _argo0
= 0;
9268 PyObject
* _argo1
= 0;
9269 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9289 wxPy_BEGIN_ALLOW_THREADS
;
9290 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9292 wxPy_END_ALLOW_THREADS
;
9293 if (PyErr_Occurred()) return NULL
;
9294 } Py_INCREF(Py_None
);
9295 _resultobj
= Py_None
;
9299 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9300 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
* _resultobj
;
9302 wxPyTreeCtrl
* _arg0
;
9303 wxTreeItemId
* _arg1
;
9304 PyObject
* _argo0
= 0;
9305 PyObject
* _argo1
= 0;
9306 char *_kwnames
[] = { "self","item", NULL
};
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9326 wxPy_BEGIN_ALLOW_THREADS
;
9327 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9329 wxPy_END_ALLOW_THREADS
;
9330 if (PyErr_Occurred()) return NULL
;
9331 } Py_INCREF(Py_None
);
9332 _resultobj
= Py_None
;
9336 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9337 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
* _resultobj
;
9339 wxPyTreeCtrl
* _arg0
;
9340 wxTreeItemId
* _arg1
;
9341 int _arg2
= (int ) TRUE
;
9342 PyObject
* _argo0
= 0;
9343 PyObject
* _argo1
= 0;
9344 char *_kwnames
[] = { "self","item","bold", NULL
};
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9364 wxPy_BEGIN_ALLOW_THREADS
;
9365 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9367 wxPy_END_ALLOW_THREADS
;
9368 if (PyErr_Occurred()) return NULL
;
9369 } Py_INCREF(Py_None
);
9370 _resultobj
= Py_None
;
9374 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9375 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
* _resultobj
;
9378 wxPyTreeCtrl
* _arg0
;
9379 wxTreeItemId
* _arg1
;
9380 PyObject
* _argo0
= 0;
9381 PyObject
* _argo1
= 0;
9382 char *_kwnames
[] = { "self","item", NULL
};
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9402 wxPy_BEGIN_ALLOW_THREADS
;
9403 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9405 wxPy_END_ALLOW_THREADS
;
9406 if (PyErr_Occurred()) return NULL
;
9407 } _resultobj
= Py_BuildValue("i",_result
);
9411 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9412 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9414 wxTreeItemId
* _result
;
9415 wxPyTreeCtrl
* _arg0
;
9419 PyObject
* _argo0
= 0;
9421 PyObject
* _obj1
= 0;
9422 char *_kwnames
[] = { "self","point", NULL
};
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9440 if (! wxPoint_helper(_obj1
, &_arg1
))
9444 wxPy_BEGIN_ALLOW_THREADS
;
9445 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9447 wxPy_END_ALLOW_THREADS
;
9448 if (PyErr_Occurred()) return NULL
;
9449 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9450 _resultobj
= Py_BuildValue("s",_ptemp
);
9453 o
= PyInt_FromLong((long) (*_arg2
));
9454 _resultobj
= t_output_helper(_resultobj
, o
);
9459 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9460 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
* _resultobj
;
9462 wxPyTreeCtrl
* _arg0
;
9463 wxTreeItemId
* _arg1
;
9465 PyObject
* _argo0
= 0;
9466 PyObject
* _argo1
= 0;
9468 PyObject
* _obj2
= 0;
9469 char *_kwnames
[] = { "self","item","col", NULL
};
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9490 if (! wxColour_helper(_obj2
, &_arg2
))
9494 wxPy_BEGIN_ALLOW_THREADS
;
9495 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9497 wxPy_END_ALLOW_THREADS
;
9498 if (PyErr_Occurred()) return NULL
;
9499 } Py_INCREF(Py_None
);
9500 _resultobj
= Py_None
;
9504 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9505 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9507 wxPyTreeCtrl
* _arg0
;
9508 wxTreeItemId
* _arg1
;
9510 PyObject
* _argo0
= 0;
9511 PyObject
* _argo1
= 0;
9513 PyObject
* _obj2
= 0;
9514 char *_kwnames
[] = { "self","item","col", NULL
};
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9535 if (! wxColour_helper(_obj2
, &_arg2
))
9539 wxPy_BEGIN_ALLOW_THREADS
;
9540 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9542 wxPy_END_ALLOW_THREADS
;
9543 if (PyErr_Occurred()) return NULL
;
9544 } Py_INCREF(Py_None
);
9545 _resultobj
= Py_None
;
9549 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9550 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
* _resultobj
;
9552 wxPyTreeCtrl
* _arg0
;
9553 wxTreeItemId
* _arg1
;
9555 PyObject
* _argo0
= 0;
9556 PyObject
* _argo1
= 0;
9557 PyObject
* _argo2
= 0;
9558 char *_kwnames
[] = { "self","item","font", NULL
};
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9578 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9585 wxPy_BEGIN_ALLOW_THREADS
;
9586 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9588 wxPy_END_ALLOW_THREADS
;
9589 if (PyErr_Occurred()) return NULL
;
9590 } Py_INCREF(Py_None
);
9591 _resultobj
= Py_None
;
9595 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9596 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9598 wxPyTreeCtrl
* _arg0
;
9599 wxTreeItemId
* _arg1
;
9600 int _arg2
= (int ) TRUE
;
9601 PyObject
* _argo0
= 0;
9602 PyObject
* _argo1
= 0;
9603 char *_kwnames
[] = { "self","item","highlight", NULL
};
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9616 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9617 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9623 wxPy_BEGIN_ALLOW_THREADS
;
9624 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9626 wxPy_END_ALLOW_THREADS
;
9627 if (PyErr_Occurred()) return NULL
;
9628 } Py_INCREF(Py_None
);
9629 _resultobj
= Py_None
;
9633 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9635 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9636 wxPyTState
* state
= wxPyBeginBlockThreads();
9637 wxRect
* r
= new wxRect(rect
);
9638 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9639 wxPyEndBlockThreads(state
);
9647 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
* _resultobj
;
9650 wxPyTreeCtrl
* _arg0
;
9651 wxTreeItemId
* _arg1
;
9652 int _arg2
= (int ) FALSE
;
9653 PyObject
* _argo0
= 0;
9654 PyObject
* _argo1
= 0;
9655 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9675 wxPy_BEGIN_ALLOW_THREADS
;
9676 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9678 wxPy_END_ALLOW_THREADS
;
9679 if (PyErr_Occurred()) return NULL
;
9681 _resultobj
= _result
;
9686 static PyMethodDef controls2cMethods
[] = {
9687 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
9688 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
9689 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
9690 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9691 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9692 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9693 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
9694 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
9695 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
9696 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9697 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
9698 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9699 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
9700 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9701 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
9702 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
9703 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
9704 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
9705 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
9706 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
9707 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
9708 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9709 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
9710 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxListCtrl__setSelf", (PyCFunction
) _wrap_wxListCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
9956 * This table is used by the pointer type-checker
9958 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9959 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
9960 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
9961 { "_signed_long","_long",0},
9962 { "_wxPrintQuality","_wxCoord",0},
9963 { "_wxPrintQuality","_int",0},
9964 { "_wxPrintQuality","_signed_int",0},
9965 { "_wxPrintQuality","_unsigned_int",0},
9966 { "_wxPrintQuality","_wxWindowID",0},
9967 { "_wxPrintQuality","_uint",0},
9968 { "_wxPrintQuality","_EBool",0},
9969 { "_wxPrintQuality","_size_t",0},
9970 { "_wxPrintQuality","_time_t",0},
9971 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
9972 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
9973 { "_byte","_unsigned_char",0},
9974 { "_long","_unsigned_long",0},
9975 { "_long","_signed_long",0},
9976 { "_size_t","_wxCoord",0},
9977 { "_size_t","_wxPrintQuality",0},
9978 { "_size_t","_time_t",0},
9979 { "_size_t","_unsigned_int",0},
9980 { "_size_t","_int",0},
9981 { "_size_t","_wxWindowID",0},
9982 { "_size_t","_uint",0},
9983 { "_uint","_wxCoord",0},
9984 { "_uint","_wxPrintQuality",0},
9985 { "_uint","_time_t",0},
9986 { "_uint","_size_t",0},
9987 { "_uint","_unsigned_int",0},
9988 { "_uint","_int",0},
9989 { "_uint","_wxWindowID",0},
9990 { "_wxChar","_char",0},
9991 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
9992 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
9993 { "_char","_wxChar",0},
9994 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9995 { "_EBool","_wxCoord",0},
9996 { "_EBool","_wxPrintQuality",0},
9997 { "_EBool","_signed_int",0},
9998 { "_EBool","_int",0},
9999 { "_EBool","_wxWindowID",0},
10000 { "_unsigned_long","_long",0},
10001 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10002 { "_signed_int","_wxCoord",0},
10003 { "_signed_int","_wxPrintQuality",0},
10004 { "_signed_int","_EBool",0},
10005 { "_signed_int","_wxWindowID",0},
10006 { "_signed_int","_int",0},
10007 { "_WXTYPE","_short",0},
10008 { "_WXTYPE","_signed_short",0},
10009 { "_WXTYPE","_unsigned_short",0},
10010 { "_unsigned_short","_WXTYPE",0},
10011 { "_unsigned_short","_short",0},
10012 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
10013 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
10014 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
10015 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
10016 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
10017 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
10018 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
10019 { "_signed_short","_WXTYPE",0},
10020 { "_signed_short","_short",0},
10021 { "_unsigned_char","_byte",0},
10022 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
10023 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
10024 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
10025 { "_unsigned_int","_wxCoord",0},
10026 { "_unsigned_int","_wxPrintQuality",0},
10027 { "_unsigned_int","_time_t",0},
10028 { "_unsigned_int","_size_t",0},
10029 { "_unsigned_int","_uint",0},
10030 { "_unsigned_int","_wxWindowID",0},
10031 { "_unsigned_int","_int",0},
10032 { "_short","_WXTYPE",0},
10033 { "_short","_unsigned_short",0},
10034 { "_short","_signed_short",0},
10035 { "_wxWindowID","_wxCoord",0},
10036 { "_wxWindowID","_wxPrintQuality",0},
10037 { "_wxWindowID","_time_t",0},
10038 { "_wxWindowID","_size_t",0},
10039 { "_wxWindowID","_EBool",0},
10040 { "_wxWindowID","_uint",0},
10041 { "_wxWindowID","_int",0},
10042 { "_wxWindowID","_signed_int",0},
10043 { "_wxWindowID","_unsigned_int",0},
10044 { "_int","_wxCoord",0},
10045 { "_int","_wxPrintQuality",0},
10046 { "_int","_time_t",0},
10047 { "_int","_size_t",0},
10048 { "_int","_EBool",0},
10049 { "_int","_uint",0},
10050 { "_int","_wxWindowID",0},
10051 { "_int","_unsigned_int",0},
10052 { "_int","_signed_int",0},
10053 { "_time_t","_wxCoord",0},
10054 { "_time_t","_wxPrintQuality",0},
10055 { "_time_t","_unsigned_int",0},
10056 { "_time_t","_int",0},
10057 { "_time_t","_wxWindowID",0},
10058 { "_time_t","_uint",0},
10059 { "_time_t","_size_t",0},
10060 { "_wxCoord","_int",0},
10061 { "_wxCoord","_signed_int",0},
10062 { "_wxCoord","_unsigned_int",0},
10063 { "_wxCoord","_wxWindowID",0},
10064 { "_wxCoord","_uint",0},
10065 { "_wxCoord","_EBool",0},
10066 { "_wxCoord","_size_t",0},
10067 { "_wxCoord","_time_t",0},
10068 { "_wxCoord","_wxPrintQuality",0},
10069 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
10070 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
10071 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
10072 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
10073 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
10074 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
10075 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
10078 static PyObject
*SWIG_globals
;
10082 SWIGEXPORT(void) initcontrols2c() {
10084 SWIG_globals
= SWIG_newvarlink();
10085 m
= Py_InitModule("controls2c", controls2cMethods
);
10086 d
= PyModule_GetDict(m
);
10087 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
10088 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
10089 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
10090 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
10091 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
10092 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
10093 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
10094 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
10095 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
10096 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
10097 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
10098 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
10099 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
10100 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
10101 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
10102 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
10103 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
10104 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
10105 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
10106 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
10107 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
10108 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
10109 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
10110 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
10111 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
10112 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
10113 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
10114 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
10115 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
10116 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
10117 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
10118 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
10119 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
10120 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
10121 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
10122 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
10123 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
10124 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
10125 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
10126 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
10127 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
10128 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
10129 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
10130 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
10131 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
10132 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
10133 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
10134 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
10135 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
10136 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
10137 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
10138 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
10139 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
10140 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
10141 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
10142 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
10143 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
10144 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
10145 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
10146 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
10147 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
10148 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
10149 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
10150 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
10151 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
10152 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
10153 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
10154 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
10155 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
10156 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
10157 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
10158 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
10159 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
10160 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
10161 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
10162 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
10163 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
10164 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
10165 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
10166 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
10167 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
10168 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
10169 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
10170 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
10171 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
10172 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
10173 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
10174 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
10175 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
10176 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
10177 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
10178 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
10179 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
10180 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
10181 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
10182 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
10183 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
10184 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
10185 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
10186 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
10187 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
10188 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
10189 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
10190 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
10191 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
10192 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
10193 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
10194 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
10195 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
10196 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
10197 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
10198 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
10199 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
10200 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
10201 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
10202 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
10203 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
10204 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
10205 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
10206 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
10207 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
10208 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
10209 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
10210 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
10211 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
10212 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
10213 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
10214 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
10215 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
10216 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
10217 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
10218 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
10219 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
10220 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
10221 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
10222 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
10224 // Map renamed classes back to their common name for OOR
10225 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
10226 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
10227 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
10230 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10231 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);