2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "string type is required for parameter";
99 class wxPyListCtrl
: public wxListCtrl
{
100 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
102 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
106 const wxValidator
& validator
,
108 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
110 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
111 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
112 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
117 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
119 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
120 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
121 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
123 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
125 PyObject
* func
= (PyObject
*)funcPtr
;
126 bool doSave
= wxPyRestoreThread();
128 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
129 PyObject
* result
= PyEval_CallObject(func
, args
);
132 retval
= PyInt_AsLong(result
);
136 wxPySaveThread(doSave
);
141 class wxPyTreeItemData
: public wxTreeItemData
{
143 wxPyTreeItemData(PyObject
* obj
= NULL
) {
150 ~wxPyTreeItemData() {
151 bool doSave
= wxPyRestoreThread();
153 wxPySaveThread(doSave
);
156 PyObject
* GetData() {
161 void SetData(PyObject
* obj
) {
162 bool doSave
= wxPyRestoreThread();
164 wxPySaveThread(doSave
);
172 class wxPyTreeCtrl
: public wxTreeCtrl
{
173 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
175 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
179 const wxValidator
& validator
,
181 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
183 int OnCompareItems(const wxTreeItemId
& item1
,
184 const wxTreeItemId
& item2
) {
186 bool doSave
= wxPyRestoreThread();
187 if (m_myInst
.findCallback("OnCompareItems"))
188 rval
= m_myInst
.callCallback(Py_BuildValue(
190 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
191 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
193 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
194 wxPySaveThread(doSave
);
200 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
205 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
206 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
208 wxListItemAttr
* _result
;
209 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
210 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
211 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
213 PyObject
* _obj0
= 0;
215 PyObject
* _obj1
= 0;
216 PyObject
* _argo2
= 0;
217 char *_kwnames
[] = { "colText","colBack","font", NULL
};
221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
226 if (! wxColour_helper(_obj0
, &_arg0
))
232 if (! wxColour_helper(_obj1
, &_arg1
))
236 if (_argo2
== Py_None
) { _arg2
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
246 wxPy_END_ALLOW_THREADS
;
247 if (PyErr_Occurred()) return NULL
;
249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
250 _resultobj
= Py_BuildValue("s",_ptemp
);
253 _resultobj
= Py_None
;
258 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
259 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 wxListItemAttr
* _arg0
;
263 PyObject
* _argo0
= 0;
265 PyObject
* _obj1
= 0;
266 char *_kwnames
[] = { "self","colText", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
280 if (! wxColour_helper(_obj1
, &_arg1
))
284 wxPy_BEGIN_ALLOW_THREADS
;
285 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
287 wxPy_END_ALLOW_THREADS
;
288 if (PyErr_Occurred()) return NULL
;
289 } Py_INCREF(Py_None
);
290 _resultobj
= Py_None
;
294 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
295 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
297 wxListItemAttr
* _arg0
;
299 PyObject
* _argo0
= 0;
301 PyObject
* _obj1
= 0;
302 char *_kwnames
[] = { "self","colBack", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
316 if (! wxColour_helper(_obj1
, &_arg1
))
320 wxPy_BEGIN_ALLOW_THREADS
;
321 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
323 wxPy_END_ALLOW_THREADS
;
324 if (PyErr_Occurred()) return NULL
;
325 } Py_INCREF(Py_None
);
326 _resultobj
= Py_None
;
330 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
331 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
333 wxListItemAttr
* _arg0
;
335 PyObject
* _argo0
= 0;
336 PyObject
* _argo1
= 0;
337 char *_kwnames
[] = { "self","font", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 wxListItemAttr_SetFont(_arg0
,*_arg1
);
360 wxPy_END_ALLOW_THREADS
;
361 if (PyErr_Occurred()) return NULL
;
362 } Py_INCREF(Py_None
);
363 _resultobj
= Py_None
;
367 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
368 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxListItemAttr
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
389 wxPy_END_ALLOW_THREADS
;
390 if (PyErr_Occurred()) return NULL
;
391 } _resultobj
= Py_BuildValue("i",_result
);
395 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
396 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxListItemAttr
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
417 wxPy_END_ALLOW_THREADS
;
418 if (PyErr_Occurred()) return NULL
;
419 } _resultobj
= Py_BuildValue("i",_result
);
423 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
424 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
427 wxListItemAttr
* _arg0
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "self", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
442 wxPy_BEGIN_ALLOW_THREADS
;
443 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
445 wxPy_END_ALLOW_THREADS
;
446 if (PyErr_Occurred()) return NULL
;
447 } _resultobj
= Py_BuildValue("i",_result
);
451 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
452 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
455 wxListItemAttr
* _arg0
;
456 PyObject
* _argo0
= 0;
457 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
471 wxPy_BEGIN_ALLOW_THREADS
;
472 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
473 _result
= (wxColour
*) &_result_ref
;
475 wxPy_END_ALLOW_THREADS
;
476 if (PyErr_Occurred()) return NULL
;
478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
479 _resultobj
= Py_BuildValue("s",_ptemp
);
482 _resultobj
= Py_None
;
487 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
488 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
491 wxListItemAttr
* _arg0
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
509 _result
= (wxColour
*) &_result_ref
;
511 wxPy_END_ALLOW_THREADS
;
512 if (PyErr_Occurred()) return NULL
;
514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
515 _resultobj
= Py_BuildValue("s",_ptemp
);
518 _resultobj
= Py_None
;
523 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
524 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 wxListItemAttr
* _arg0
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
543 wxPy_BEGIN_ALLOW_THREADS
;
544 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
545 _result
= (wxFont
*) &_result_ref
;
547 wxPy_END_ALLOW_THREADS
;
548 if (PyErr_Occurred()) return NULL
;
550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
551 _resultobj
= Py_BuildValue("s",_ptemp
);
554 _resultobj
= Py_None
;
559 static void *SwigwxListItemTowxObject(void *ptr
) {
562 src
= (wxListItem
*) ptr
;
563 dest
= (wxObject
*) src
;
564 return (void *) dest
;
567 #define new_wxListItem() (new wxListItem())
568 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
570 wxListItem
* _result
;
571 char *_kwnames
[] = { NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
578 wxPy_BEGIN_ALLOW_THREADS
;
579 _result
= (wxListItem
*)new_wxListItem();
581 wxPy_END_ALLOW_THREADS
;
582 if (PyErr_Occurred()) return NULL
;
584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
585 _resultobj
= Py_BuildValue("s",_ptemp
);
588 _resultobj
= Py_None
;
593 #define delete_wxListItem(_swigobj) (delete _swigobj)
594 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 delete_wxListItem(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 if (PyErr_Occurred()) return NULL
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
622 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 wxListItem_Clear(_arg0
);
642 wxPy_END_ALLOW_THREADS
;
643 if (PyErr_Occurred()) return NULL
;
644 } Py_INCREF(Py_None
);
645 _resultobj
= Py_None
;
649 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
650 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 wxListItem_ClearAttributes(_arg0
);
670 wxPy_END_ALLOW_THREADS
;
671 if (PyErr_Occurred()) return NULL
;
672 } Py_INCREF(Py_None
);
673 _resultobj
= Py_None
;
677 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
678 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self","mask", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
696 wxPy_BEGIN_ALLOW_THREADS
;
697 wxListItem_SetMask(_arg0
,_arg1
);
699 wxPy_END_ALLOW_THREADS
;
700 if (PyErr_Occurred()) return NULL
;
701 } Py_INCREF(Py_None
);
702 _resultobj
= Py_None
;
706 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
707 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self","id", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
725 wxPy_BEGIN_ALLOW_THREADS
;
726 wxListItem_SetId(_arg0
,_arg1
);
728 wxPy_END_ALLOW_THREADS
;
729 if (PyErr_Occurred()) return NULL
;
730 } Py_INCREF(Py_None
);
731 _resultobj
= Py_None
;
735 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
736 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
740 PyObject
* _argo0
= 0;
741 char *_kwnames
[] = { "self","col", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 wxListItem_SetColumn(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 if (PyErr_Occurred()) return NULL
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
765 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self","state", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 wxListItem_SetState(_arg0
,_arg1
);
786 wxPy_END_ALLOW_THREADS
;
787 if (PyErr_Occurred()) return NULL
;
788 } Py_INCREF(Py_None
);
789 _resultobj
= Py_None
;
793 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
794 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
795 PyObject
* _resultobj
;
798 PyObject
* _argo0
= 0;
799 char *_kwnames
[] = { "self","stateMask", NULL
};
802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
812 wxPy_BEGIN_ALLOW_THREADS
;
813 wxListItem_SetStateMask(_arg0
,_arg1
);
815 wxPy_END_ALLOW_THREADS
;
816 if (PyErr_Occurred()) return NULL
;
817 } Py_INCREF(Py_None
);
818 _resultobj
= Py_None
;
822 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
823 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 PyObject
* _obj1
= 0;
829 char *_kwnames
[] = { "self","text", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
842 #if PYTHON_API_VERSION >= 1009
843 char* tmpPtr
; int tmpSize
;
844 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
845 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
848 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
850 _arg1
= new wxString(tmpPtr
, tmpSize
);
852 if (!PyString_Check(_obj1
)) {
853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
856 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
860 wxPy_BEGIN_ALLOW_THREADS
;
861 wxListItem_SetText(_arg0
,*_arg1
);
863 wxPy_END_ALLOW_THREADS
;
864 if (PyErr_Occurred()) return NULL
;
865 } Py_INCREF(Py_None
);
866 _resultobj
= Py_None
;
874 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
875 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self","image", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 wxListItem_SetImage(_arg0
,_arg1
);
896 wxPy_END_ALLOW_THREADS
;
897 if (PyErr_Occurred()) return NULL
;
898 } Py_INCREF(Py_None
);
899 _resultobj
= Py_None
;
903 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
904 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self","data", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
922 wxPy_BEGIN_ALLOW_THREADS
;
923 wxListItem_SetData(_arg0
,_arg1
);
925 wxPy_END_ALLOW_THREADS
;
926 if (PyErr_Occurred()) return NULL
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
932 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
933 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self","width", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 wxListItem_SetWidth(_arg0
,_arg1
);
954 wxPy_END_ALLOW_THREADS
;
955 if (PyErr_Occurred()) return NULL
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
962 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
965 wxListColumnFormat _arg1
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self","align", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
980 wxPy_BEGIN_ALLOW_THREADS
;
981 wxListItem_SetAlign(_arg0
,_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 if (PyErr_Occurred()) return NULL
;
985 } Py_INCREF(Py_None
);
986 _resultobj
= Py_None
;
990 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
991 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
995 PyObject
* _argo0
= 0;
997 PyObject
* _obj1
= 0;
998 char *_kwnames
[] = { "self","colText", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1012 if (! wxColour_helper(_obj1
, &_arg1
))
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 wxListItem_SetTextColour(_arg0
,*_arg1
);
1019 wxPy_END_ALLOW_THREADS
;
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1027 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1031 PyObject
* _argo0
= 0;
1033 PyObject
* _obj1
= 0;
1034 char *_kwnames
[] = { "self","colBack", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1048 if (! wxColour_helper(_obj1
, &_arg1
))
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1055 wxPy_END_ALLOW_THREADS
;
1056 if (PyErr_Occurred()) return NULL
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1063 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1068 PyObject
* _argo1
= 0;
1069 char *_kwnames
[] = { "self","font", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 wxListItem_SetFont(_arg0
,*_arg1
);
1092 wxPy_END_ALLOW_THREADS
;
1093 if (PyErr_Occurred()) return NULL
;
1094 } Py_INCREF(Py_None
);
1095 _resultobj
= Py_None
;
1099 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1100 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (long )wxListItem_GetMask(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1122 if (PyErr_Occurred()) return NULL
;
1123 } _resultobj
= Py_BuildValue("l",_result
);
1127 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1128 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 _result
= (long )wxListItem_GetId(_arg0
);
1149 wxPy_END_ALLOW_THREADS
;
1150 if (PyErr_Occurred()) return NULL
;
1151 } _resultobj
= Py_BuildValue("l",_result
);
1155 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1156 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (int )wxListItem_GetColumn(_arg0
);
1177 wxPy_END_ALLOW_THREADS
;
1178 if (PyErr_Occurred()) return NULL
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1184 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (long )wxListItem_GetState(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 if (PyErr_Occurred()) return NULL
;
1207 } _resultobj
= Py_BuildValue("l",_result
);
1211 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1212 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1232 _result
= (wxString
*) &_result_ref
;
1234 wxPy_END_ALLOW_THREADS
;
1235 if (PyErr_Occurred()) return NULL
;
1237 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1242 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1243 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (int )wxListItem_GetImage(_arg0
);
1264 wxPy_END_ALLOW_THREADS
;
1265 if (PyErr_Occurred()) return NULL
;
1266 } _resultobj
= Py_BuildValue("i",_result
);
1270 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1271 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1275 PyObject
* _argo0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (long )wxListItem_GetData(_arg0
);
1292 wxPy_END_ALLOW_THREADS
;
1293 if (PyErr_Occurred()) return NULL
;
1294 } _resultobj
= Py_BuildValue("l",_result
);
1298 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1299 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (int )wxListItem_GetWidth(_arg0
);
1320 wxPy_END_ALLOW_THREADS
;
1321 if (PyErr_Occurred()) return NULL
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1326 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1327 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxListColumnFormat _result
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "self", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1348 wxPy_END_ALLOW_THREADS
;
1349 if (PyErr_Occurred()) return NULL
;
1350 } _resultobj
= Py_BuildValue("i",_result
);
1354 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1355 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxListItemAttr
* _result
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1377 wxPy_END_ALLOW_THREADS
;
1378 if (PyErr_Occurred()) return NULL
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1390 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1411 wxPy_END_ALLOW_THREADS
;
1412 if (PyErr_Occurred()) return NULL
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1418 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1440 wxPy_END_ALLOW_THREADS
;
1441 if (PyErr_Occurred()) return NULL
;
1442 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1443 _resultobj
= Py_BuildValue("s",_ptemp
);
1447 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1448 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1470 wxPy_END_ALLOW_THREADS
;
1471 if (PyErr_Occurred()) return NULL
;
1472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1477 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1478 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1500 wxPy_END_ALLOW_THREADS
;
1501 if (PyErr_Occurred()) return NULL
;
1502 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1507 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1508 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","m_mask", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1530 wxPy_END_ALLOW_THREADS
;
1531 if (PyErr_Occurred()) return NULL
;
1532 } _resultobj
= Py_BuildValue("l",_result
);
1536 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1537 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 _result
= (long )wxListItem_m_mask_get(_arg0
);
1558 wxPy_END_ALLOW_THREADS
;
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("l",_result
);
1564 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1565 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1570 PyObject
* _argo0
= 0;
1571 char *_kwnames
[] = { "self","m_itemId", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1584 wxPy_BEGIN_ALLOW_THREADS
;
1585 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1587 wxPy_END_ALLOW_THREADS
;
1588 if (PyErr_Occurred()) return NULL
;
1589 } _resultobj
= Py_BuildValue("l",_result
);
1593 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1594 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1612 wxPy_BEGIN_ALLOW_THREADS
;
1613 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1615 wxPy_END_ALLOW_THREADS
;
1616 if (PyErr_Occurred()) return NULL
;
1617 } _resultobj
= Py_BuildValue("l",_result
);
1621 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1622 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1627 PyObject
* _argo0
= 0;
1628 char *_kwnames
[] = { "self","m_col", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1644 wxPy_END_ALLOW_THREADS
;
1645 if (PyErr_Occurred()) return NULL
;
1646 } _resultobj
= Py_BuildValue("i",_result
);
1650 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1651 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 _result
= (int )wxListItem_m_col_get(_arg0
);
1672 wxPy_END_ALLOW_THREADS
;
1673 if (PyErr_Occurred()) return NULL
;
1674 } _resultobj
= Py_BuildValue("i",_result
);
1678 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1679 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self","m_state", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1701 wxPy_END_ALLOW_THREADS
;
1702 if (PyErr_Occurred()) return NULL
;
1703 } _resultobj
= Py_BuildValue("l",_result
);
1707 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1708 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1726 wxPy_BEGIN_ALLOW_THREADS
;
1727 _result
= (long )wxListItem_m_state_get(_arg0
);
1729 wxPy_END_ALLOW_THREADS
;
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("l",_result
);
1735 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1736 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("l",_result
);
1764 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1765 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1786 wxPy_END_ALLOW_THREADS
;
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("l",_result
);
1792 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1793 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1798 PyObject
* _argo0
= 0;
1799 PyObject
* _obj1
= 0;
1800 char *_kwnames
[] = { "self","m_text", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1813 #if PYTHON_API_VERSION >= 1009
1814 char* tmpPtr
; int tmpSize
;
1815 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1819 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1821 _arg1
= new wxString(tmpPtr
, tmpSize
);
1823 if (!PyString_Check(_obj1
)) {
1824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1827 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1831 wxPy_BEGIN_ALLOW_THREADS
;
1832 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1834 wxPy_END_ALLOW_THREADS
;
1835 if (PyErr_Occurred()) return NULL
;
1837 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1846 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1847 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1851 PyObject
* _argo0
= 0;
1852 char *_kwnames
[] = { "self", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1865 wxPy_BEGIN_ALLOW_THREADS
;
1866 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1868 wxPy_END_ALLOW_THREADS
;
1869 if (PyErr_Occurred()) return NULL
;
1871 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1876 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1877 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self","m_image", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1899 wxPy_END_ALLOW_THREADS
;
1900 if (PyErr_Occurred()) return NULL
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1906 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 _result
= (int )wxListItem_m_image_get(_arg0
);
1927 wxPy_END_ALLOW_THREADS
;
1928 if (PyErr_Occurred()) return NULL
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1934 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self","m_data", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1956 wxPy_END_ALLOW_THREADS
;
1957 if (PyErr_Occurred()) return NULL
;
1958 } _resultobj
= Py_BuildValue("l",_result
);
1962 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1963 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1967 PyObject
* _argo0
= 0;
1968 char *_kwnames
[] = { "self", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 _result
= (long )wxListItem_m_data_get(_arg0
);
1984 wxPy_END_ALLOW_THREADS
;
1985 if (PyErr_Occurred()) return NULL
;
1986 } _resultobj
= Py_BuildValue("l",_result
);
1990 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1991 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1996 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self","m_format", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2010 wxPy_BEGIN_ALLOW_THREADS
;
2011 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2013 wxPy_END_ALLOW_THREADS
;
2014 if (PyErr_Occurred()) return NULL
;
2015 } _resultobj
= Py_BuildValue("i",_result
);
2019 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2020 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (int )wxListItem_m_format_get(_arg0
);
2041 wxPy_END_ALLOW_THREADS
;
2042 if (PyErr_Occurred()) return NULL
;
2043 } _resultobj
= Py_BuildValue("i",_result
);
2047 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2048 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2053 PyObject
* _argo0
= 0;
2054 char *_kwnames
[] = { "self","m_width", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2067 wxPy_BEGIN_ALLOW_THREADS
;
2068 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2070 wxPy_END_ALLOW_THREADS
;
2071 if (PyErr_Occurred()) return NULL
;
2072 } _resultobj
= Py_BuildValue("i",_result
);
2076 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2077 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2081 PyObject
* _argo0
= 0;
2082 char *_kwnames
[] = { "self", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= (int )wxListItem_m_width_get(_arg0
);
2098 wxPy_END_ALLOW_THREADS
;
2099 if (PyErr_Occurred()) return NULL
;
2100 } _resultobj
= Py_BuildValue("i",_result
);
2104 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2106 wxNotifyEvent
*dest
;
2107 src
= (wxListEvent
*) ptr
;
2108 dest
= (wxNotifyEvent
*) src
;
2109 return (void *) dest
;
2112 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2114 wxCommandEvent
*dest
;
2115 src
= (wxListEvent
*) ptr
;
2116 dest
= (wxCommandEvent
*) src
;
2117 return (void *) dest
;
2120 static void *SwigwxListEventTowxEvent(void *ptr
) {
2123 src
= (wxListEvent
*) ptr
;
2124 dest
= (wxEvent
*) src
;
2125 return (void *) dest
;
2128 static void *SwigwxListEventTowxObject(void *ptr
) {
2131 src
= (wxListEvent
*) ptr
;
2132 dest
= (wxObject
*) src
;
2133 return (void *) dest
;
2136 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2137 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2140 wxListEvent
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self","m_code", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2159 wxPy_END_ALLOW_THREADS
;
2160 if (PyErr_Occurred()) return NULL
;
2161 } _resultobj
= Py_BuildValue("i",_result
);
2165 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2166 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2169 wxListEvent
* _arg0
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 _result
= (int )wxListEvent_m_code_get(_arg0
);
2187 wxPy_END_ALLOW_THREADS
;
2188 if (PyErr_Occurred()) return NULL
;
2189 } _resultobj
= Py_BuildValue("i",_result
);
2193 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2194 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2197 wxListEvent
* _arg0
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2216 wxPy_END_ALLOW_THREADS
;
2217 if (PyErr_Occurred()) return NULL
;
2218 } _resultobj
= Py_BuildValue("l",_result
);
2222 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2223 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxListEvent
* _arg0
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2244 wxPy_END_ALLOW_THREADS
;
2245 if (PyErr_Occurred()) return NULL
;
2246 } _resultobj
= Py_BuildValue("l",_result
);
2250 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2251 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2254 wxListEvent
* _arg0
;
2256 PyObject
* _argo0
= 0;
2257 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2273 wxPy_END_ALLOW_THREADS
;
2274 if (PyErr_Occurred()) return NULL
;
2275 } _resultobj
= Py_BuildValue("l",_result
);
2279 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2280 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2283 wxListEvent
* _arg0
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2301 wxPy_END_ALLOW_THREADS
;
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("l",_result
);
2307 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2308 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2311 wxListEvent
* _arg0
;
2313 PyObject
* _argo0
= 0;
2314 char *_kwnames
[] = { "self","m_col", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2330 wxPy_END_ALLOW_THREADS
;
2331 if (PyErr_Occurred()) return NULL
;
2332 } _resultobj
= Py_BuildValue("i",_result
);
2336 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2337 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2340 wxListEvent
* _arg0
;
2341 PyObject
* _argo0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 _result
= (int )wxListEvent_m_col_get(_arg0
);
2358 wxPy_END_ALLOW_THREADS
;
2359 if (PyErr_Occurred()) return NULL
;
2360 } _resultobj
= Py_BuildValue("i",_result
);
2364 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2365 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2368 wxListEvent
* _arg0
;
2370 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2384 _arg1
= (bool ) tempbool1
;
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2389 wxPy_END_ALLOW_THREADS
;
2390 if (PyErr_Occurred()) return NULL
;
2391 } _resultobj
= Py_BuildValue("i",_result
);
2395 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2396 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2399 wxListEvent
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2414 wxPy_BEGIN_ALLOW_THREADS
;
2415 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2417 wxPy_END_ALLOW_THREADS
;
2418 if (PyErr_Occurred()) return NULL
;
2419 } _resultobj
= Py_BuildValue("i",_result
);
2423 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2424 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2427 wxListEvent
* _arg0
;
2429 PyObject
* _argo0
= 0;
2431 PyObject
* _obj1
= 0;
2432 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2447 if (! wxPoint_helper(_obj1
, &_arg1
))
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2454 wxPy_END_ALLOW_THREADS
;
2455 if (PyErr_Occurred()) return NULL
;
2457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2458 _resultobj
= Py_BuildValue("s",_ptemp
);
2461 _resultobj
= Py_None
;
2466 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2467 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2470 wxListEvent
* _arg0
;
2471 PyObject
* _argo0
= 0;
2472 char *_kwnames
[] = { "self", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2489 wxPy_END_ALLOW_THREADS
;
2490 if (PyErr_Occurred()) return NULL
;
2492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2493 _resultobj
= Py_BuildValue("s",_ptemp
);
2496 _resultobj
= Py_None
;
2501 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2502 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2504 wxListItem
* _result
;
2505 wxListEvent
* _arg0
;
2507 PyObject
* _argo0
= 0;
2508 PyObject
* _argo1
= 0;
2509 char *_kwnames
[] = { "self","m_item", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2532 wxPy_END_ALLOW_THREADS
;
2533 if (PyErr_Occurred()) return NULL
;
2534 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2538 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2539 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2541 wxListItem
* _result
;
2542 wxListEvent
* _arg0
;
2543 PyObject
* _argo0
= 0;
2544 char *_kwnames
[] = { "self", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2557 wxPy_BEGIN_ALLOW_THREADS
;
2558 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2560 wxPy_END_ALLOW_THREADS
;
2561 if (PyErr_Occurred()) return NULL
;
2562 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2566 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2567 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2570 wxListEvent
* _arg0
;
2571 PyObject
* _argo0
= 0;
2572 char *_kwnames
[] = { "self", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 _result
= (int )wxListEvent_GetCode(_arg0
);
2588 wxPy_END_ALLOW_THREADS
;
2589 if (PyErr_Occurred()) return NULL
;
2590 } _resultobj
= Py_BuildValue("i",_result
);
2594 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2595 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2598 wxListEvent
* _arg0
;
2599 PyObject
* _argo0
= 0;
2600 char *_kwnames
[] = { "self", NULL
};
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2613 wxPy_BEGIN_ALLOW_THREADS
;
2614 _result
= (long )wxListEvent_GetIndex(_arg0
);
2616 wxPy_END_ALLOW_THREADS
;
2617 if (PyErr_Occurred()) return NULL
;
2618 } _resultobj
= Py_BuildValue("l",_result
);
2622 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2623 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2626 wxListEvent
* _arg0
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2644 wxPy_END_ALLOW_THREADS
;
2645 if (PyErr_Occurred()) return NULL
;
2646 } _resultobj
= Py_BuildValue("l",_result
);
2650 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2651 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2654 wxListEvent
* _arg0
;
2655 PyObject
* _argo0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2672 wxPy_END_ALLOW_THREADS
;
2673 if (PyErr_Occurred()) return NULL
;
2674 } _resultobj
= Py_BuildValue("l",_result
);
2678 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2679 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2682 wxListEvent
* _arg0
;
2683 PyObject
* _argo0
= 0;
2684 char *_kwnames
[] = { "self", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2697 wxPy_BEGIN_ALLOW_THREADS
;
2698 _result
= (int )wxListEvent_GetColumn(_arg0
);
2700 wxPy_END_ALLOW_THREADS
;
2701 if (PyErr_Occurred()) return NULL
;
2702 } _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2707 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
* _resultobj
;
2710 wxListEvent
* _arg0
;
2711 PyObject
* _argo0
= 0;
2712 char *_kwnames
[] = { "self", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2728 wxPy_END_ALLOW_THREADS
;
2729 if (PyErr_Occurred()) return NULL
;
2730 } _resultobj
= Py_BuildValue("i",_result
);
2734 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2735 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2738 wxListEvent
* _arg0
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2754 wxPy_BEGIN_ALLOW_THREADS
;
2755 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2757 wxPy_END_ALLOW_THREADS
;
2758 if (PyErr_Occurred()) return NULL
;
2759 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2760 _resultobj
= Py_BuildValue("s",_ptemp
);
2764 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2765 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2768 wxListEvent
* _arg0
;
2769 PyObject
* _argo0
= 0;
2770 char *_kwnames
[] = { "self", NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2783 wxPy_BEGIN_ALLOW_THREADS
;
2784 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2785 _result
= (wxString
*) &_result_ref
;
2787 wxPy_END_ALLOW_THREADS
;
2788 if (PyErr_Occurred()) return NULL
;
2790 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2795 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2796 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2799 wxListEvent
* _arg0
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2816 _result
= (wxString
*) &_result_ref
;
2818 wxPy_END_ALLOW_THREADS
;
2819 if (PyErr_Occurred()) return NULL
;
2821 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2826 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2827 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2830 wxListEvent
* _arg0
;
2831 PyObject
* _argo0
= 0;
2832 char *_kwnames
[] = { "self", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2845 wxPy_BEGIN_ALLOW_THREADS
;
2846 _result
= (int )wxListEvent_GetImage(_arg0
);
2848 wxPy_END_ALLOW_THREADS
;
2849 if (PyErr_Occurred()) return NULL
;
2850 } _resultobj
= Py_BuildValue("i",_result
);
2854 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2855 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2858 wxListEvent
* _arg0
;
2859 PyObject
* _argo0
= 0;
2860 char *_kwnames
[] = { "self", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2873 wxPy_BEGIN_ALLOW_THREADS
;
2874 _result
= (long )wxListEvent_GetData(_arg0
);
2876 wxPy_END_ALLOW_THREADS
;
2877 if (PyErr_Occurred()) return NULL
;
2878 } _resultobj
= Py_BuildValue("l",_result
);
2882 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2883 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2886 wxListEvent
* _arg0
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 _result
= (long )wxListEvent_GetMask(_arg0
);
2904 wxPy_END_ALLOW_THREADS
;
2905 if (PyErr_Occurred()) return NULL
;
2906 } _resultobj
= Py_BuildValue("l",_result
);
2910 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2911 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2913 wxListItem
* _result
;
2914 wxListEvent
* _arg0
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2929 wxPy_BEGIN_ALLOW_THREADS
;
2930 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2931 _result
= (wxListItem
*) &_result_ref
;
2933 wxPy_END_ALLOW_THREADS
;
2934 if (PyErr_Occurred()) return NULL
;
2935 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2939 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2942 src
= (wxPyListCtrl
*) ptr
;
2943 dest
= (wxControl
*) src
;
2944 return (void *) dest
;
2947 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2950 src
= (wxPyListCtrl
*) ptr
;
2951 dest
= (wxWindow
*) src
;
2952 return (void *) dest
;
2955 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2958 src
= (wxPyListCtrl
*) ptr
;
2959 dest
= (wxEvtHandler
*) src
;
2960 return (void *) dest
;
2963 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2966 src
= (wxPyListCtrl
*) ptr
;
2967 dest
= (wxObject
*) src
;
2968 return (void *) dest
;
2971 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2972 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2974 wxPyListCtrl
* _result
;
2976 wxWindowID _arg1
= (wxWindowID
) -1;
2977 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2978 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2979 long _arg4
= (long ) (wxLC_ICON
);
2980 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2981 char * _arg6
= (char *) "listCtrl";
2982 PyObject
* _argo0
= 0;
2984 PyObject
* _obj2
= 0;
2986 PyObject
* _obj3
= 0;
2987 PyObject
* _argo5
= 0;
2988 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
3004 if (! wxPoint_helper(_obj2
, &_arg2
))
3010 if (! wxSize_helper(_obj3
, &_arg3
))
3014 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
3021 wxPy_BEGIN_ALLOW_THREADS
;
3022 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
3024 wxPy_END_ALLOW_THREADS
;
3025 if (PyErr_Occurred()) return NULL
;
3027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3028 _resultobj
= Py_BuildValue("s",_ptemp
);
3031 _resultobj
= Py_None
;
3036 #define wxListCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3037 static PyObject
*_wrap_wxListCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3039 wxPyListCtrl
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 PyObject
* _obj1
= 0;
3044 PyObject
* _obj2
= 0;
3045 char *_kwnames
[] = { "self","self","_class", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setSelf. Expected _wxPyListCtrl_p.");
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 wxListCtrl__setSelf(_arg0
,_arg1
,_arg2
);
3067 wxPy_END_ALLOW_THREADS
;
3068 if (PyErr_Occurred()) return NULL
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3075 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3078 wxPyListCtrl
* _arg0
;
3080 PyObject
* _argo0
= 0;
3082 PyObject
* _obj1
= 0;
3083 char *_kwnames
[] = { "self","col", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3097 if (! wxColour_helper(_obj1
, &_arg1
))
3101 wxPy_BEGIN_ALLOW_THREADS
;
3102 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3104 wxPy_END_ALLOW_THREADS
;
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3111 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 wxPyListCtrl
* _arg0
;
3116 PyObject
* _argo0
= 0;
3118 PyObject
* _obj1
= 0;
3119 char *_kwnames
[] = { "self","col", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3133 if (! wxColour_helper(_obj1
, &_arg1
))
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3140 wxPy_END_ALLOW_THREADS
;
3141 if (PyErr_Occurred()) return NULL
;
3142 } _resultobj
= Py_BuildValue("i",_result
);
3146 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3147 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3150 wxPyListCtrl
* _arg0
;
3153 PyObject
* _argo0
= 0;
3154 PyObject
* _argo2
= 0;
3155 char *_kwnames
[] = { "self","col","item", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3168 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3175 wxPy_BEGIN_ALLOW_THREADS
;
3176 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3178 wxPy_END_ALLOW_THREADS
;
3179 if (PyErr_Occurred()) return NULL
;
3180 } _resultobj
= Py_BuildValue("i",_result
);
3184 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3185 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3188 wxPyListCtrl
* _arg0
;
3191 PyObject
* _argo0
= 0;
3192 PyObject
* _argo2
= 0;
3193 char *_kwnames
[] = { "self","col","item", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3206 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3216 wxPy_END_ALLOW_THREADS
;
3217 if (PyErr_Occurred()) return NULL
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3223 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxPyListCtrl
* _arg0
;
3228 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self","col", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3245 wxPy_END_ALLOW_THREADS
;
3246 if (PyErr_Occurred()) return NULL
;
3247 } _resultobj
= Py_BuildValue("i",_result
);
3251 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3252 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3255 wxPyListCtrl
* _arg0
;
3258 PyObject
* _argo0
= 0;
3259 char *_kwnames
[] = { "self","col","width", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3275 wxPy_END_ALLOW_THREADS
;
3276 if (PyErr_Occurred()) return NULL
;
3277 } _resultobj
= Py_BuildValue("i",_result
);
3281 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3282 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3285 wxPyListCtrl
* _arg0
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3303 wxPy_END_ALLOW_THREADS
;
3304 if (PyErr_Occurred()) return NULL
;
3305 } _resultobj
= Py_BuildValue("i",_result
);
3309 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3310 wxListItem
* info
= new wxListItem
;
3311 info
->m_itemId
= itemId
;
3313 info
->m_mask
= 0xFFFF;
3314 self
->GetItem(*info
);
3317 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3319 wxListItem
* _result
;
3320 wxPyListCtrl
* _arg0
;
3322 int _arg2
= (int ) 0;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self","itemId","col", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3340 wxPy_END_ALLOW_THREADS
;
3341 if (PyErr_Occurred()) return NULL
;
3342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3346 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3347 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 wxPyListCtrl
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo1
= 0;
3354 char *_kwnames
[] = { "self","info", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
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_SetItem. Expected _wxPyListCtrl_p.");
3367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3377 wxPy_END_ALLOW_THREADS
;
3378 if (PyErr_Occurred()) return NULL
;
3379 } _resultobj
= Py_BuildValue("i",_result
);
3383 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3384 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3387 wxPyListCtrl
* _arg0
;
3391 int _arg4
= (int ) -1;
3392 PyObject
* _argo0
= 0;
3393 PyObject
* _obj3
= 0;
3394 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3407 #if PYTHON_API_VERSION >= 1009
3408 char* tmpPtr
; int tmpSize
;
3409 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3413 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3415 _arg3
= new wxString(tmpPtr
, tmpSize
);
3417 if (!PyString_Check(_obj3
)) {
3418 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3421 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3428 wxPy_END_ALLOW_THREADS
;
3429 if (PyErr_Occurred()) return NULL
;
3430 } _resultobj
= Py_BuildValue("l",_result
);
3438 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3439 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
* _resultobj
;
3442 wxPyListCtrl
* _arg0
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3459 wxPy_BEGIN_ALLOW_THREADS
;
3460 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3462 wxPy_END_ALLOW_THREADS
;
3463 if (PyErr_Occurred()) return NULL
;
3464 } _resultobj
= Py_BuildValue("i",_result
);
3468 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3469 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
* _resultobj
;
3472 wxPyListCtrl
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3493 wxPy_END_ALLOW_THREADS
;
3494 if (PyErr_Occurred()) return NULL
;
3495 } _resultobj
= Py_BuildValue("i",_result
);
3499 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3500 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3503 wxPyListCtrl
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3521 wxPy_BEGIN_ALLOW_THREADS
;
3522 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3524 wxPy_END_ALLOW_THREADS
;
3525 if (PyErr_Occurred()) return NULL
;
3526 } _resultobj
= Py_BuildValue("i",_result
);
3530 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3531 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3534 wxPyListCtrl
* _arg0
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self","item", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3550 wxPy_BEGIN_ALLOW_THREADS
;
3551 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3553 wxPy_END_ALLOW_THREADS
;
3554 if (PyErr_Occurred()) return NULL
;
3556 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3564 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3565 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3567 wxPyListCtrl
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 PyObject
* _obj2
= 0;
3572 char *_kwnames
[] = { "self","item","str", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3585 #if PYTHON_API_VERSION >= 1009
3586 char* tmpPtr
; int tmpSize
;
3587 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3591 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3593 _arg2
= new wxString(tmpPtr
, tmpSize
);
3595 if (!PyString_Check(_obj2
)) {
3596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3599 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3603 wxPy_BEGIN_ALLOW_THREADS
;
3604 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3606 wxPy_END_ALLOW_THREADS
;
3607 if (PyErr_Occurred()) return NULL
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3617 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3618 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3621 wxPyListCtrl
* _arg0
;
3623 PyObject
* _argo0
= 0;
3624 char *_kwnames
[] = { "self","item", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3637 wxPy_BEGIN_ALLOW_THREADS
;
3638 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3640 wxPy_END_ALLOW_THREADS
;
3641 if (PyErr_Occurred()) return NULL
;
3642 } _resultobj
= Py_BuildValue("l",_result
);
3646 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3647 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3650 wxPyListCtrl
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self","item","data", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3670 wxPy_END_ALLOW_THREADS
;
3671 if (PyErr_Occurred()) return NULL
;
3672 } _resultobj
= Py_BuildValue("i",_result
);
3676 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3677 wxPoint
* pos
= new wxPoint
;
3678 self
->GetItemPosition(item
, *pos
);
3681 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
* _resultobj
;
3684 wxPyListCtrl
* _arg0
;
3686 PyObject
* _argo0
= 0;
3687 char *_kwnames
[] = { "self","item", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3701 wxPy_BEGIN_ALLOW_THREADS
;
3702 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3704 wxPy_END_ALLOW_THREADS
;
3705 if (PyErr_Occurred()) return NULL
;
3707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3708 _resultobj
= Py_BuildValue("s",_ptemp
);
3711 _resultobj
= Py_None
;
3716 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3717 wxRect
* rect
= new wxRect
;
3718 self
->GetItemRect(item
, *rect
, code
);
3721 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3724 wxPyListCtrl
* _arg0
;
3726 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3727 PyObject
* _argo0
= 0;
3728 char *_kwnames
[] = { "self","item","code", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3742 wxPy_BEGIN_ALLOW_THREADS
;
3743 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3745 wxPy_END_ALLOW_THREADS
;
3746 if (PyErr_Occurred()) return NULL
;
3748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3749 _resultobj
= Py_BuildValue("s",_ptemp
);
3752 _resultobj
= Py_None
;
3757 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3758 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3761 wxPyListCtrl
* _arg0
;
3764 PyObject
* _argo0
= 0;
3766 PyObject
* _obj2
= 0;
3767 char *_kwnames
[] = { "self","item","pos", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3781 if (! wxPoint_helper(_obj2
, &_arg2
))
3785 wxPy_BEGIN_ALLOW_THREADS
;
3786 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3788 wxPy_END_ALLOW_THREADS
;
3789 if (PyErr_Occurred()) return NULL
;
3790 } _resultobj
= Py_BuildValue("i",_result
);
3794 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3795 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3798 wxPyListCtrl
* _arg0
;
3799 PyObject
* _argo0
= 0;
3800 char *_kwnames
[] = { "self", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3816 wxPy_END_ALLOW_THREADS
;
3817 if (PyErr_Occurred()) return NULL
;
3818 } _resultobj
= Py_BuildValue("i",_result
);
3822 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3823 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3826 wxPyListCtrl
* _arg0
;
3827 PyObject
* _argo0
= 0;
3828 char *_kwnames
[] = { "self", NULL
};
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3844 wxPy_END_ALLOW_THREADS
;
3845 if (PyErr_Occurred()) return NULL
;
3846 } _resultobj
= Py_BuildValue("i",_result
);
3850 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3851 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3854 wxPyListCtrl
* _arg0
;
3856 PyObject
* _argo0
= 0;
3858 char *_kwnames
[] = { "self","isSmall", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3870 _arg1
= (bool ) tempbool1
;
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3875 wxPy_END_ALLOW_THREADS
;
3876 if (PyErr_Occurred()) return NULL
;
3877 } _resultobj
= Py_BuildValue("i",_result
);
3881 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3882 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3885 wxPyListCtrl
* _arg0
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 if (PyErr_Occurred()) return NULL
;
3905 } _resultobj
= Py_BuildValue("i",_result
);
3909 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3910 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3913 wxPyListCtrl
* _arg0
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3929 wxPy_BEGIN_ALLOW_THREADS
;
3930 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3932 wxPy_END_ALLOW_THREADS
;
3933 if (PyErr_Occurred()) return NULL
;
3934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3935 _resultobj
= Py_BuildValue("s",_ptemp
);
3939 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3940 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxPyListCtrl
* _arg0
;
3944 PyObject
* _argo0
= 0;
3946 PyObject
* _obj1
= 0;
3947 char *_kwnames
[] = { "self","col", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3961 if (! wxColour_helper(_obj1
, &_arg1
))
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3968 wxPy_END_ALLOW_THREADS
;
3969 if (PyErr_Occurred()) return NULL
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3976 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3979 wxPyListCtrl
* _arg0
;
3980 PyObject
* _argo0
= 0;
3981 char *_kwnames
[] = { "self", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3994 wxPy_BEGIN_ALLOW_THREADS
;
3995 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3997 wxPy_END_ALLOW_THREADS
;
3998 if (PyErr_Occurred()) return NULL
;
3999 } _resultobj
= Py_BuildValue("l",_result
);
4003 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4004 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4006 wxPyListCtrl
* _arg0
;
4008 bool _arg2
= (bool ) TRUE
;
4009 PyObject
* _argo0
= 0;
4010 int tempbool2
= (int) TRUE
;
4011 char *_kwnames
[] = { "self","style","add", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4023 _arg2
= (bool ) tempbool2
;
4025 wxPy_BEGIN_ALLOW_THREADS
;
4026 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4028 wxPy_END_ALLOW_THREADS
;
4029 if (PyErr_Occurred()) return NULL
;
4030 } Py_INCREF(Py_None
);
4031 _resultobj
= Py_None
;
4035 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4036 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4038 wxPyListCtrl
* _arg0
;
4040 PyObject
* _argo0
= 0;
4041 char *_kwnames
[] = { "self","style", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4057 wxPy_END_ALLOW_THREADS
;
4058 if (PyErr_Occurred()) return NULL
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4064 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4065 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4068 wxPyListCtrl
* _arg0
;
4070 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4071 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4089 wxPy_END_ALLOW_THREADS
;
4090 if (PyErr_Occurred()) return NULL
;
4091 } _resultobj
= Py_BuildValue("l",_result
);
4095 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4096 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4098 wxImageList
* _result
;
4099 wxPyListCtrl
* _arg0
;
4101 PyObject
* _argo0
= 0;
4102 char *_kwnames
[] = { "self","which", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4118 wxPy_END_ALLOW_THREADS
;
4119 if (PyErr_Occurred()) return NULL
;
4120 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4124 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4125 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4127 wxPyListCtrl
* _arg0
;
4128 wxImageList
* _arg1
;
4130 PyObject
* _argo0
= 0;
4131 PyObject
* _argo1
= 0;
4132 char *_kwnames
[] = { "self","imageList","which", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4155 wxPy_END_ALLOW_THREADS
;
4156 if (PyErr_Occurred()) return NULL
;
4157 } Py_INCREF(Py_None
);
4158 _resultobj
= Py_None
;
4162 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4163 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4165 wxPyListCtrl
* _arg0
;
4166 wxImageList
* _arg1
;
4168 PyObject
* _argo0
= 0;
4169 PyObject
* _argo1
= 0;
4170 char *_kwnames
[] = { "self","imageList","which", NULL
};
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4190 wxPy_BEGIN_ALLOW_THREADS
;
4191 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4193 wxPy_END_ALLOW_THREADS
;
4194 if (PyErr_Occurred()) return NULL
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4200 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4201 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4204 wxPyListCtrl
* _arg0
;
4205 PyObject
* _argo0
= 0;
4206 char *_kwnames
[] = { "self", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4222 wxPy_END_ALLOW_THREADS
;
4223 if (PyErr_Occurred()) return NULL
;
4224 } _resultobj
= Py_BuildValue("i",_result
);
4228 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4229 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4231 wxPyListCtrl
* _arg0
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self","item", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4250 wxPy_END_ALLOW_THREADS
;
4251 if (PyErr_Occurred()) return NULL
;
4252 } Py_INCREF(Py_None
);
4253 _resultobj
= Py_None
;
4257 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4258 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4260 wxPyListCtrl
* _arg0
;
4263 PyObject
* _argo0
= 0;
4264 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4280 wxPy_END_ALLOW_THREADS
;
4281 if (PyErr_Occurred()) return NULL
;
4282 } Py_INCREF(Py_None
);
4283 _resultobj
= Py_None
;
4287 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4288 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
* _resultobj
;
4291 wxPyListCtrl
* _arg0
;
4292 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4293 PyObject
* _argo0
= 0;
4294 char *_kwnames
[] = { "self","flag", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4307 wxPy_BEGIN_ALLOW_THREADS
;
4308 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4310 wxPy_END_ALLOW_THREADS
;
4311 if (PyErr_Occurred()) return NULL
;
4312 } _resultobj
= Py_BuildValue("i",_result
);
4316 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4317 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
* _resultobj
;
4320 wxPyListCtrl
* _arg0
;
4322 PyObject
* _argo0
= 0;
4323 char *_kwnames
[] = { "self","item", NULL
};
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4336 wxPy_BEGIN_ALLOW_THREADS
;
4337 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4339 wxPy_END_ALLOW_THREADS
;
4340 if (PyErr_Occurred()) return NULL
;
4341 } _resultobj
= Py_BuildValue("i",_result
);
4345 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4346 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4349 wxPyListCtrl
* _arg0
;
4350 PyObject
* _argo0
= 0;
4351 char *_kwnames
[] = { "self", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4367 wxPy_END_ALLOW_THREADS
;
4368 if (PyErr_Occurred()) return NULL
;
4369 } _resultobj
= Py_BuildValue("i",_result
);
4373 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4374 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4377 wxPyListCtrl
* _arg0
;
4379 PyObject
* _argo0
= 0;
4380 char *_kwnames
[] = { "self","col", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4393 wxPy_BEGIN_ALLOW_THREADS
;
4394 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4396 wxPy_END_ALLOW_THREADS
;
4397 if (PyErr_Occurred()) return NULL
;
4398 } _resultobj
= Py_BuildValue("i",_result
);
4402 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4403 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4406 wxPyListCtrl
* _arg0
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4424 wxPy_END_ALLOW_THREADS
;
4425 if (PyErr_Occurred()) return NULL
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4431 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 wxPyListCtrl
* _arg0
;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 wxListCtrl_ClearAll(_arg0
);
4451 wxPy_END_ALLOW_THREADS
;
4452 if (PyErr_Occurred()) return NULL
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4459 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4462 wxPyListCtrl
* _arg0
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self","item", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4481 wxPy_END_ALLOW_THREADS
;
4482 if (PyErr_Occurred()) return NULL
;
4483 } _resultobj
= Py_BuildValue("i",_result
);
4487 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4488 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4491 wxPyListCtrl
* _arg0
;
4494 bool _arg3
= (bool ) FALSE
;
4495 PyObject
* _argo0
= 0;
4496 PyObject
* _obj2
= 0;
4497 int tempbool3
= (int) FALSE
;
4498 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4511 #if PYTHON_API_VERSION >= 1009
4512 char* tmpPtr
; int tmpSize
;
4513 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4517 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4519 _arg2
= new wxString(tmpPtr
, tmpSize
);
4521 if (!PyString_Check(_obj2
)) {
4522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4525 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4528 _arg3
= (bool ) tempbool3
;
4530 wxPy_BEGIN_ALLOW_THREADS
;
4531 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4533 wxPy_END_ALLOW_THREADS
;
4534 if (PyErr_Occurred()) return NULL
;
4535 } _resultobj
= Py_BuildValue("l",_result
);
4543 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4544 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 wxPyListCtrl
* _arg0
;
4550 PyObject
* _argo0
= 0;
4551 char *_kwnames
[] = { "self","start","data", NULL
};
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4564 wxPy_BEGIN_ALLOW_THREADS
;
4565 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4567 wxPy_END_ALLOW_THREADS
;
4568 if (PyErr_Occurred()) return NULL
;
4569 } _resultobj
= Py_BuildValue("l",_result
);
4573 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4574 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 wxPyListCtrl
* _arg0
;
4581 PyObject
* _argo0
= 0;
4583 PyObject
* _obj2
= 0;
4584 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4598 if (! wxPoint_helper(_obj2
, &_arg2
))
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4605 wxPy_END_ALLOW_THREADS
;
4606 if (PyErr_Occurred()) return NULL
;
4607 } _resultobj
= Py_BuildValue("l",_result
);
4611 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4612 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4615 wxPyListCtrl
* _arg0
;
4619 PyObject
* _argo0
= 0;
4621 PyObject
* _obj1
= 0;
4622 char *_kwnames
[] = { "self","point", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4639 if (! wxPoint_helper(_obj1
, &_arg1
))
4643 wxPy_BEGIN_ALLOW_THREADS
;
4644 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4646 wxPy_END_ALLOW_THREADS
;
4647 if (PyErr_Occurred()) return NULL
;
4648 } _resultobj
= Py_BuildValue("l",_result
);
4651 o
= PyInt_FromLong((long) (*_arg2
));
4652 _resultobj
= t_output_helper(_resultobj
, o
);
4657 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4658 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4661 wxPyListCtrl
* _arg0
;
4663 PyObject
* _argo0
= 0;
4664 PyObject
* _argo1
= 0;
4665 char *_kwnames
[] = { "self","info", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4685 wxPy_BEGIN_ALLOW_THREADS
;
4686 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4688 wxPy_END_ALLOW_THREADS
;
4689 if (PyErr_Occurred()) return NULL
;
4690 } _resultobj
= Py_BuildValue("l",_result
);
4694 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4695 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4698 wxPyListCtrl
* _arg0
;
4701 PyObject
* _argo0
= 0;
4702 PyObject
* _obj2
= 0;
4703 char *_kwnames
[] = { "self","index","label", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4716 #if PYTHON_API_VERSION >= 1009
4717 char* tmpPtr
; int tmpSize
;
4718 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4722 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4724 _arg2
= new wxString(tmpPtr
, tmpSize
);
4726 if (!PyString_Check(_obj2
)) {
4727 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4730 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4734 wxPy_BEGIN_ALLOW_THREADS
;
4735 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4737 wxPy_END_ALLOW_THREADS
;
4738 if (PyErr_Occurred()) return NULL
;
4739 } _resultobj
= Py_BuildValue("l",_result
);
4747 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4748 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4751 wxPyListCtrl
* _arg0
;
4754 PyObject
* _argo0
= 0;
4755 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4768 wxPy_BEGIN_ALLOW_THREADS
;
4769 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4771 wxPy_END_ALLOW_THREADS
;
4772 if (PyErr_Occurred()) return NULL
;
4773 } _resultobj
= Py_BuildValue("l",_result
);
4777 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4778 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4781 wxPyListCtrl
* _arg0
;
4785 PyObject
* _argo0
= 0;
4786 PyObject
* _obj2
= 0;
4787 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4800 #if PYTHON_API_VERSION >= 1009
4801 char* tmpPtr
; int tmpSize
;
4802 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4803 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4806 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4808 _arg2
= new wxString(tmpPtr
, tmpSize
);
4810 if (!PyString_Check(_obj2
)) {
4811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4814 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4821 wxPy_END_ALLOW_THREADS
;
4822 if (PyErr_Occurred()) return NULL
;
4823 } _resultobj
= Py_BuildValue("l",_result
);
4831 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4832 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4835 wxPyListCtrl
* _arg0
;
4838 PyObject
* _argo0
= 0;
4839 PyObject
* _argo2
= 0;
4840 char *_kwnames
[] = { "self","col","info", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4853 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4860 wxPy_BEGIN_ALLOW_THREADS
;
4861 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4863 wxPy_END_ALLOW_THREADS
;
4864 if (PyErr_Occurred()) return NULL
;
4865 } _resultobj
= Py_BuildValue("l",_result
);
4869 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4870 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4873 wxPyListCtrl
* _arg0
;
4876 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4877 int _arg4
= (int ) -1;
4878 PyObject
* _argo0
= 0;
4879 PyObject
* _obj2
= 0;
4880 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4893 #if PYTHON_API_VERSION >= 1009
4894 char* tmpPtr
; int tmpSize
;
4895 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4899 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4901 _arg2
= new wxString(tmpPtr
, tmpSize
);
4903 if (!PyString_Check(_obj2
)) {
4904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4907 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4914 wxPy_END_ALLOW_THREADS
;
4915 if (PyErr_Occurred()) return NULL
;
4916 } _resultobj
= Py_BuildValue("l",_result
);
4924 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4925 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 wxPyListCtrl
* _arg0
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self","count", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4946 wxPy_END_ALLOW_THREADS
;
4947 if (PyErr_Occurred()) return NULL
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4953 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4954 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4957 wxPyListCtrl
* _arg0
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self","dx","dy", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4977 wxPy_END_ALLOW_THREADS
;
4978 if (PyErr_Occurred()) return NULL
;
4979 } _resultobj
= Py_BuildValue("i",_result
);
4983 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4984 if (!PyCallable_Check(func
))
4986 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4988 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4991 wxPyListCtrl
* _arg0
;
4993 PyObject
* _argo0
= 0;
4994 PyObject
* _obj1
= 0;
4995 char *_kwnames
[] = { "self","func", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5011 wxPy_BEGIN_ALLOW_THREADS
;
5012 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5014 wxPy_END_ALLOW_THREADS
;
5015 if (PyErr_Occurred()) return NULL
;
5016 } _resultobj
= Py_BuildValue("i",_result
);
5020 #define new_wxTreeItemId() (new wxTreeItemId())
5021 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
* _resultobj
;
5023 wxTreeItemId
* _result
;
5024 char *_kwnames
[] = { NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5031 wxPy_BEGIN_ALLOW_THREADS
;
5032 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5034 wxPy_END_ALLOW_THREADS
;
5035 if (PyErr_Occurred()) return NULL
;
5037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5038 _resultobj
= Py_BuildValue("s",_ptemp
);
5041 _resultobj
= Py_None
;
5046 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5047 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5049 wxTreeItemId
* _arg0
;
5050 PyObject
* _argo0
= 0;
5051 char *_kwnames
[] = { "self", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 delete_wxTreeItemId(_arg0
);
5067 wxPy_END_ALLOW_THREADS
;
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5074 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5075 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5078 wxTreeItemId
* _arg0
;
5079 PyObject
* _argo0
= 0;
5080 char *_kwnames
[] = { "self", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5096 wxPy_END_ALLOW_THREADS
;
5097 if (PyErr_Occurred()) return NULL
;
5098 } _resultobj
= Py_BuildValue("i",_result
);
5102 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5103 if (! other
) return -1;
5104 return *self
!= *other
;
5106 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5109 wxTreeItemId
* _arg0
;
5110 wxTreeItemId
* _arg1
;
5111 PyObject
* _argo0
= 0;
5112 PyObject
* _argo1
= 0;
5113 char *_kwnames
[] = { "self","other", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5133 wxPy_BEGIN_ALLOW_THREADS
;
5134 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5136 wxPy_END_ALLOW_THREADS
;
5137 if (PyErr_Occurred()) return NULL
;
5138 } _resultobj
= Py_BuildValue("i",_result
);
5142 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5143 wxPyTreeItemData
*src
;
5145 src
= (wxPyTreeItemData
*) ptr
;
5146 dest
= (wxObject
*) src
;
5147 return (void *) dest
;
5150 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5151 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
* _resultobj
;
5153 wxPyTreeItemData
* _result
;
5154 PyObject
* _arg0
= (PyObject
*) NULL
;
5155 PyObject
* _obj0
= 0;
5156 char *_kwnames
[] = { "obj", NULL
};
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5167 wxPy_BEGIN_ALLOW_THREADS
;
5168 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5170 wxPy_END_ALLOW_THREADS
;
5171 if (PyErr_Occurred()) return NULL
;
5173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5174 _resultobj
= Py_BuildValue("s",_ptemp
);
5177 _resultobj
= Py_None
;
5182 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5183 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5186 wxPyTreeItemData
* _arg0
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5204 wxPy_END_ALLOW_THREADS
;
5205 if (PyErr_Occurred()) return NULL
;
5207 _resultobj
= _result
;
5212 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5213 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 wxPyTreeItemData
* _arg0
;
5217 PyObject
* _argo0
= 0;
5218 PyObject
* _obj1
= 0;
5219 char *_kwnames
[] = { "self","obj", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
5235 wxPy_BEGIN_ALLOW_THREADS
;
5236 wxTreeItemData_SetData(_arg0
,_arg1
);
5238 wxPy_END_ALLOW_THREADS
;
5239 if (PyErr_Occurred()) return NULL
;
5240 } Py_INCREF(Py_None
);
5241 _resultobj
= Py_None
;
5245 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
5246 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5248 wxTreeItemId
* _result
;
5249 wxPyTreeItemData
* _arg0
;
5250 PyObject
* _argo0
= 0;
5251 char *_kwnames
[] = { "self", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
5265 wxPy_BEGIN_ALLOW_THREADS
;
5266 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
5267 _result
= (wxTreeItemId
*) &_result_ref
;
5269 wxPy_END_ALLOW_THREADS
;
5270 if (PyErr_Occurred()) return NULL
;
5272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5273 _resultobj
= Py_BuildValue("s",_ptemp
);
5276 _resultobj
= Py_None
;
5281 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
5282 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5284 wxPyTreeItemData
* _arg0
;
5285 wxTreeItemId
* _arg1
;
5286 PyObject
* _argo0
= 0;
5287 PyObject
* _argo1
= 0;
5288 char *_kwnames
[] = { "self","id", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
5301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
5308 wxPy_BEGIN_ALLOW_THREADS
;
5309 wxTreeItemData_SetId(_arg0
,*_arg1
);
5311 wxPy_END_ALLOW_THREADS
;
5312 if (PyErr_Occurred()) return NULL
;
5313 } Py_INCREF(Py_None
);
5314 _resultobj
= Py_None
;
5318 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
5320 wxNotifyEvent
*dest
;
5321 src
= (wxTreeEvent
*) ptr
;
5322 dest
= (wxNotifyEvent
*) src
;
5323 return (void *) dest
;
5326 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
5328 wxCommandEvent
*dest
;
5329 src
= (wxTreeEvent
*) ptr
;
5330 dest
= (wxCommandEvent
*) src
;
5331 return (void *) dest
;
5334 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
5337 src
= (wxTreeEvent
*) ptr
;
5338 dest
= (wxEvent
*) src
;
5339 return (void *) dest
;
5342 static void *SwigwxTreeEventTowxObject(void *ptr
) {
5345 src
= (wxTreeEvent
*) ptr
;
5346 dest
= (wxObject
*) src
;
5347 return (void *) dest
;
5350 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
5351 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5353 wxTreeItemId
* _result
;
5354 wxTreeEvent
* _arg0
;
5355 PyObject
* _argo0
= 0;
5356 char *_kwnames
[] = { "self", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
5373 wxPy_END_ALLOW_THREADS
;
5374 if (PyErr_Occurred()) return NULL
;
5375 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5376 _resultobj
= Py_BuildValue("s",_ptemp
);
5380 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
5381 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5383 wxTreeItemId
* _result
;
5384 wxTreeEvent
* _arg0
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self", NULL
};
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
5393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
5400 wxPy_BEGIN_ALLOW_THREADS
;
5401 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
5403 wxPy_END_ALLOW_THREADS
;
5404 if (PyErr_Occurred()) return NULL
;
5405 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5406 _resultobj
= Py_BuildValue("s",_ptemp
);
5410 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
5411 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5414 wxTreeEvent
* _arg0
;
5415 PyObject
* _argo0
= 0;
5416 char *_kwnames
[] = { "self", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
5430 wxPy_BEGIN_ALLOW_THREADS
;
5431 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
5433 wxPy_END_ALLOW_THREADS
;
5434 if (PyErr_Occurred()) return NULL
;
5435 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5436 _resultobj
= Py_BuildValue("s",_ptemp
);
5440 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5441 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5444 wxTreeEvent
* _arg0
;
5445 PyObject
* _argo0
= 0;
5446 char *_kwnames
[] = { "self", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5459 wxPy_BEGIN_ALLOW_THREADS
;
5460 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5462 wxPy_END_ALLOW_THREADS
;
5463 if (PyErr_Occurred()) return NULL
;
5464 } _resultobj
= Py_BuildValue("i",_result
);
5468 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5469 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5472 wxTreeEvent
* _arg0
;
5473 PyObject
* _argo0
= 0;
5474 char *_kwnames
[] = { "self", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5489 _result
= (wxString
*) &_result_ref
;
5491 wxPy_END_ALLOW_THREADS
;
5492 if (PyErr_Occurred()) return NULL
;
5494 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5499 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5502 src
= (wxPyTreeCtrl
*) ptr
;
5503 dest
= (wxControl
*) src
;
5504 return (void *) dest
;
5507 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5510 src
= (wxPyTreeCtrl
*) ptr
;
5511 dest
= (wxWindow
*) src
;
5512 return (void *) dest
;
5515 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5518 src
= (wxPyTreeCtrl
*) ptr
;
5519 dest
= (wxEvtHandler
*) src
;
5520 return (void *) dest
;
5523 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
5526 src
= (wxPyTreeCtrl
*) ptr
;
5527 dest
= (wxObject
*) src
;
5528 return (void *) dest
;
5531 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5532 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxPyTreeCtrl
* _result
;
5536 wxWindowID _arg1
= (wxWindowID
) -1;
5537 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5538 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5539 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5540 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5541 char * _arg6
= (char *) "wxTreeCtrl";
5542 PyObject
* _argo0
= 0;
5544 PyObject
* _obj2
= 0;
5546 PyObject
* _obj3
= 0;
5547 PyObject
* _argo5
= 0;
5548 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5564 if (! wxPoint_helper(_obj2
, &_arg2
))
5570 if (! wxSize_helper(_obj3
, &_arg3
))
5574 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5581 wxPy_BEGIN_ALLOW_THREADS
;
5582 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5584 wxPy_END_ALLOW_THREADS
;
5585 if (PyErr_Occurred()) return NULL
;
5587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5588 _resultobj
= Py_BuildValue("s",_ptemp
);
5591 _resultobj
= Py_None
;
5596 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5597 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5599 wxPyTreeCtrl
* _arg0
;
5602 PyObject
* _argo0
= 0;
5603 PyObject
* _obj1
= 0;
5604 PyObject
* _obj2
= 0;
5605 char *_kwnames
[] = { "self","self","_class", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5624 wxPy_BEGIN_ALLOW_THREADS
;
5625 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5627 wxPy_END_ALLOW_THREADS
;
5628 if (PyErr_Occurred()) return NULL
;
5629 } Py_INCREF(Py_None
);
5630 _resultobj
= Py_None
;
5634 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5635 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5637 wxPyTreeCtrl
* _arg0
;
5638 wxImageList
* _arg1
;
5639 PyObject
* _argo0
= 0;
5640 PyObject
* _argo1
= 0;
5641 char *_kwnames
[] = { "self","imageList", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5664 wxPy_END_ALLOW_THREADS
;
5665 if (PyErr_Occurred()) return NULL
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5671 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5672 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5675 wxPyTreeCtrl
* _arg0
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5693 wxPy_END_ALLOW_THREADS
;
5694 if (PyErr_Occurred()) return NULL
;
5695 } _resultobj
= Py_BuildValue("i",_result
);
5699 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5700 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5702 unsigned int _result
;
5703 wxPyTreeCtrl
* _arg0
;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5718 wxPy_BEGIN_ALLOW_THREADS
;
5719 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5721 wxPy_END_ALLOW_THREADS
;
5722 if (PyErr_Occurred()) return NULL
;
5723 } _resultobj
= Py_BuildValue("i",_result
);
5727 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5728 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5730 wxPyTreeCtrl
* _arg0
;
5732 PyObject
* _argo0
= 0;
5733 char *_kwnames
[] = { "self","indent", NULL
};
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5746 wxPy_BEGIN_ALLOW_THREADS
;
5747 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5749 wxPy_END_ALLOW_THREADS
;
5750 if (PyErr_Occurred()) return NULL
;
5751 } Py_INCREF(Py_None
);
5752 _resultobj
= Py_None
;
5756 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5757 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5759 wxImageList
* _result
;
5760 wxPyTreeCtrl
* _arg0
;
5761 PyObject
* _argo0
= 0;
5762 char *_kwnames
[] = { "self", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5775 wxPy_BEGIN_ALLOW_THREADS
;
5776 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5778 wxPy_END_ALLOW_THREADS
;
5779 if (PyErr_Occurred()) return NULL
;
5780 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5784 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5785 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
* _resultobj
;
5787 wxImageList
* _result
;
5788 wxPyTreeCtrl
* _arg0
;
5789 PyObject
* _argo0
= 0;
5790 char *_kwnames
[] = { "self", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5803 wxPy_BEGIN_ALLOW_THREADS
;
5804 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5806 wxPy_END_ALLOW_THREADS
;
5807 if (PyErr_Occurred()) return NULL
;
5808 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5812 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5813 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
* _resultobj
;
5815 wxPyTreeCtrl
* _arg0
;
5816 wxImageList
* _arg1
;
5817 PyObject
* _argo0
= 0;
5818 PyObject
* _argo1
= 0;
5819 char *_kwnames
[] = { "self","imageList", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5839 wxPy_BEGIN_ALLOW_THREADS
;
5840 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5842 wxPy_END_ALLOW_THREADS
;
5843 if (PyErr_Occurred()) return NULL
;
5844 } Py_INCREF(Py_None
);
5845 _resultobj
= Py_None
;
5849 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5850 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5852 wxPyTreeCtrl
* _arg0
;
5853 wxImageList
* _arg1
;
5854 PyObject
* _argo0
= 0;
5855 PyObject
* _argo1
= 0;
5856 char *_kwnames
[] = { "self","imageList", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5876 wxPy_BEGIN_ALLOW_THREADS
;
5877 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5879 wxPy_END_ALLOW_THREADS
;
5880 if (PyErr_Occurred()) return NULL
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5886 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5887 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5889 unsigned int _result
;
5890 wxPyTreeCtrl
* _arg0
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5908 wxPy_END_ALLOW_THREADS
;
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5915 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5917 wxPyTreeCtrl
* _arg0
;
5919 PyObject
* _argo0
= 0;
5920 char *_kwnames
[] = { "self","spacing", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5933 wxPy_BEGIN_ALLOW_THREADS
;
5934 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5936 wxPy_END_ALLOW_THREADS
;
5937 if (PyErr_Occurred()) return NULL
;
5938 } Py_INCREF(Py_None
);
5939 _resultobj
= Py_None
;
5943 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5944 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5947 wxPyTreeCtrl
* _arg0
;
5948 wxTreeItemId
* _arg1
;
5949 PyObject
* _argo0
= 0;
5950 PyObject
* _argo1
= 0;
5951 char *_kwnames
[] = { "self","item", NULL
};
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5971 wxPy_BEGIN_ALLOW_THREADS
;
5972 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5974 wxPy_END_ALLOW_THREADS
;
5975 if (PyErr_Occurred()) return NULL
;
5977 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5985 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5986 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5989 wxPyTreeCtrl
* _arg0
;
5990 wxTreeItemId
* _arg1
;
5991 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5992 PyObject
* _argo0
= 0;
5993 PyObject
* _argo1
= 0;
5994 char *_kwnames
[] = { "self","item","which", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
6007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
6014 wxPy_BEGIN_ALLOW_THREADS
;
6015 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
6017 wxPy_END_ALLOW_THREADS
;
6018 if (PyErr_Occurred()) return NULL
;
6019 } _resultobj
= Py_BuildValue("i",_result
);
6023 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6024 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6027 wxPyTreeCtrl
* _arg0
;
6028 wxTreeItemId
* _arg1
;
6029 PyObject
* _argo0
= 0;
6030 PyObject
* _argo1
= 0;
6031 char *_kwnames
[] = { "self","item", NULL
};
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
6037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
6054 wxPy_END_ALLOW_THREADS
;
6055 if (PyErr_Occurred()) return NULL
;
6056 } _resultobj
= Py_BuildValue("i",_result
);
6060 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
6061 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
* _resultobj
;
6063 wxPyTreeCtrl
* _arg0
;
6064 wxTreeItemId
* _arg1
;
6066 PyObject
* _argo0
= 0;
6067 PyObject
* _argo1
= 0;
6068 PyObject
* _obj2
= 0;
6069 char *_kwnames
[] = { "self","item","text", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
6082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
6089 #if PYTHON_API_VERSION >= 1009
6090 char* tmpPtr
; int tmpSize
;
6091 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6095 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6097 _arg2
= new wxString(tmpPtr
, tmpSize
);
6099 if (!PyString_Check(_obj2
)) {
6100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6103 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
6110 wxPy_END_ALLOW_THREADS
;
6111 if (PyErr_Occurred()) return NULL
;
6112 } Py_INCREF(Py_None
);
6113 _resultobj
= Py_None
;
6121 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
6122 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
* _resultobj
;
6124 wxPyTreeCtrl
* _arg0
;
6125 wxTreeItemId
* _arg1
;
6127 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6128 PyObject
* _argo0
= 0;
6129 PyObject
* _argo1
= 0;
6130 char *_kwnames
[] = { "self","item","image","which", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
6143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
6150 wxPy_BEGIN_ALLOW_THREADS
;
6151 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
6153 wxPy_END_ALLOW_THREADS
;
6154 if (PyErr_Occurred()) return NULL
;
6155 } Py_INCREF(Py_None
);
6156 _resultobj
= Py_None
;
6160 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
6161 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6163 wxPyTreeCtrl
* _arg0
;
6164 wxTreeItemId
* _arg1
;
6166 PyObject
* _argo0
= 0;
6167 PyObject
* _argo1
= 0;
6168 char *_kwnames
[] = { "self","item","image", NULL
};
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
6188 wxPy_BEGIN_ALLOW_THREADS
;
6189 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
6191 wxPy_END_ALLOW_THREADS
;
6192 if (PyErr_Occurred()) return NULL
;
6193 } Py_INCREF(Py_None
);
6194 _resultobj
= Py_None
;
6198 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
6199 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
* _resultobj
;
6201 wxPyTreeCtrl
* _arg0
;
6202 wxTreeItemId
* _arg1
;
6203 bool _arg2
= (bool ) TRUE
;
6204 PyObject
* _argo0
= 0;
6205 PyObject
* _argo1
= 0;
6206 int tempbool2
= (int) TRUE
;
6207 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
6220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
6226 _arg2
= (bool ) tempbool2
;
6228 wxPy_BEGIN_ALLOW_THREADS
;
6229 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
6231 wxPy_END_ALLOW_THREADS
;
6232 if (PyErr_Occurred()) return NULL
;
6233 } Py_INCREF(Py_None
);
6234 _resultobj
= Py_None
;
6238 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6239 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6241 data
= new wxPyTreeItemData();
6242 data
->SetId(item
); // set the id
6243 self
->SetItemData(item
, data
);
6247 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
* _resultobj
;
6249 wxPyTreeItemData
* _result
;
6250 wxPyTreeCtrl
* _arg0
;
6251 wxTreeItemId
* _arg1
;
6252 PyObject
* _argo0
= 0;
6253 PyObject
* _argo1
= 0;
6254 char *_kwnames
[] = { "self","item", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
6261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
6268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
6275 wxPy_BEGIN_ALLOW_THREADS
;
6276 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
6278 wxPy_END_ALLOW_THREADS
;
6279 if (PyErr_Occurred()) return NULL
;
6281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6282 _resultobj
= Py_BuildValue("s",_ptemp
);
6285 _resultobj
= Py_None
;
6290 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
6291 data
->SetId(item
); // set the id
6292 self
->SetItemData(item
, data
);
6294 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6296 wxPyTreeCtrl
* _arg0
;
6297 wxTreeItemId
* _arg1
;
6298 wxPyTreeItemData
* _arg2
;
6299 PyObject
* _argo0
= 0;
6300 PyObject
* _argo1
= 0;
6301 PyObject
* _argo2
= 0;
6302 char *_kwnames
[] = { "self","item","data", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
6315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
6322 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6323 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
6324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
6329 wxPy_BEGIN_ALLOW_THREADS
;
6330 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
6332 wxPy_END_ALLOW_THREADS
;
6333 if (PyErr_Occurred()) return NULL
;
6334 } Py_INCREF(Py_None
);
6335 _resultobj
= Py_None
;
6339 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6340 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6342 data
= new wxPyTreeItemData();
6343 data
->SetId(item
); // set the id
6344 self
->SetItemData(item
, data
);
6346 return data
->GetData();
6348 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6351 wxPyTreeCtrl
* _arg0
;
6352 wxTreeItemId
* _arg1
;
6353 PyObject
* _argo0
= 0;
6354 PyObject
* _argo1
= 0;
6355 char *_kwnames
[] = { "self","item", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
6368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
6375 wxPy_BEGIN_ALLOW_THREADS
;
6376 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
6378 wxPy_END_ALLOW_THREADS
;
6379 if (PyErr_Occurred()) return NULL
;
6381 _resultobj
= _result
;
6386 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
6387 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6389 data
= new wxPyTreeItemData(obj
);
6390 data
->SetId(item
); // set the id
6391 self
->SetItemData(item
, data
);
6395 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
* _resultobj
;
6397 wxPyTreeCtrl
* _arg0
;
6398 wxTreeItemId
* _arg1
;
6400 PyObject
* _argo0
= 0;
6401 PyObject
* _argo1
= 0;
6402 PyObject
* _obj2
= 0;
6403 char *_kwnames
[] = { "self","item","obj", NULL
};
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
6416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
6429 wxPy_END_ALLOW_THREADS
;
6430 if (PyErr_Occurred()) return NULL
;
6431 } Py_INCREF(Py_None
);
6432 _resultobj
= Py_None
;
6436 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
6437 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6440 wxPyTreeCtrl
* _arg0
;
6441 wxTreeItemId
* _arg1
;
6442 PyObject
* _argo0
= 0;
6443 PyObject
* _argo1
= 0;
6444 char *_kwnames
[] = { "self","item", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
6457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
6464 wxPy_BEGIN_ALLOW_THREADS
;
6465 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
6467 wxPy_END_ALLOW_THREADS
;
6468 if (PyErr_Occurred()) return NULL
;
6469 } _resultobj
= Py_BuildValue("i",_result
);
6473 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6474 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6477 wxPyTreeCtrl
* _arg0
;
6478 wxTreeItemId
* _arg1
;
6479 PyObject
* _argo0
= 0;
6480 PyObject
* _argo1
= 0;
6481 char *_kwnames
[] = { "self","item", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6501 wxPy_BEGIN_ALLOW_THREADS
;
6502 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6504 wxPy_END_ALLOW_THREADS
;
6505 if (PyErr_Occurred()) return NULL
;
6506 } _resultobj
= Py_BuildValue("i",_result
);
6510 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6511 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
* _resultobj
;
6514 wxPyTreeCtrl
* _arg0
;
6515 wxTreeItemId
* _arg1
;
6516 PyObject
* _argo0
= 0;
6517 PyObject
* _argo1
= 0;
6518 char *_kwnames
[] = { "self","item", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6541 wxPy_END_ALLOW_THREADS
;
6542 if (PyErr_Occurred()) return NULL
;
6543 } _resultobj
= Py_BuildValue("i",_result
);
6547 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6548 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6551 wxPyTreeCtrl
* _arg0
;
6552 wxTreeItemId
* _arg1
;
6553 PyObject
* _argo0
= 0;
6554 PyObject
* _argo1
= 0;
6555 char *_kwnames
[] = { "self","item", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6575 wxPy_BEGIN_ALLOW_THREADS
;
6576 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6578 wxPy_END_ALLOW_THREADS
;
6579 if (PyErr_Occurred()) return NULL
;
6580 } _resultobj
= Py_BuildValue("i",_result
);
6584 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6585 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6587 wxTreeItemId
* _result
;
6588 wxPyTreeCtrl
* _arg0
;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6604 wxPy_BEGIN_ALLOW_THREADS
;
6605 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6607 wxPy_END_ALLOW_THREADS
;
6608 if (PyErr_Occurred()) return NULL
;
6609 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6610 _resultobj
= Py_BuildValue("s",_ptemp
);
6614 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6615 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6617 wxTreeItemId
* _result
;
6618 wxPyTreeCtrl
* _arg0
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6634 wxPy_BEGIN_ALLOW_THREADS
;
6635 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6637 wxPy_END_ALLOW_THREADS
;
6638 if (PyErr_Occurred()) return NULL
;
6639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6640 _resultobj
= Py_BuildValue("s",_ptemp
);
6644 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6645 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6647 wxTreeItemId
* _result
;
6648 wxPyTreeCtrl
* _arg0
;
6649 wxTreeItemId
* _arg1
;
6650 PyObject
* _argo0
= 0;
6651 PyObject
* _argo1
= 0;
6652 char *_kwnames
[] = { "self","item", NULL
};
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6673 wxPy_BEGIN_ALLOW_THREADS
;
6674 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6676 wxPy_END_ALLOW_THREADS
;
6677 if (PyErr_Occurred()) return NULL
;
6678 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6679 _resultobj
= Py_BuildValue("s",_ptemp
);
6683 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6684 bool doSave
= wxPyRestoreThread();
6685 PyObject
* rval
= PyList_New(0);
6686 wxArrayTreeItemIds array
;
6688 num
= self
->GetSelections(array
);
6689 for (x
=0; x
< num
; x
++) {
6690 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6691 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6692 PyList_Append(rval
, item
);
6694 wxPySaveThread(doSave
);
6697 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6700 wxPyTreeCtrl
* _arg0
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6715 wxPy_BEGIN_ALLOW_THREADS
;
6716 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6718 wxPy_END_ALLOW_THREADS
;
6719 if (PyErr_Occurred()) return NULL
;
6721 _resultobj
= _result
;
6726 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6727 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6730 wxPyTreeCtrl
* _arg0
;
6731 wxTreeItemId
* _arg1
;
6732 bool _arg2
= (bool ) TRUE
;
6733 PyObject
* _argo0
= 0;
6734 PyObject
* _argo1
= 0;
6735 int tempbool2
= (int) TRUE
;
6736 char *_kwnames
[] = { "self","item","recursively", NULL
};
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6755 _arg2
= (bool ) tempbool2
;
6757 wxPy_BEGIN_ALLOW_THREADS
;
6758 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6760 wxPy_END_ALLOW_THREADS
;
6761 if (PyErr_Occurred()) return NULL
;
6762 } _resultobj
= Py_BuildValue("i",_result
);
6766 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6767 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6769 wxTreeItemId
* _result
;
6770 wxPyTreeCtrl
* _arg0
;
6771 wxTreeItemId
* _arg1
;
6773 PyObject
* _argo0
= 0;
6774 PyObject
* _argo1
= 0;
6776 PyObject
* _obj2
= 0;
6777 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6798 temp
= (long) PyInt_AsLong(_obj2
);
6802 wxPy_BEGIN_ALLOW_THREADS
;
6803 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6805 wxPy_END_ALLOW_THREADS
;
6806 if (PyErr_Occurred()) return NULL
;
6807 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6808 _resultobj
= Py_BuildValue("s",_ptemp
);
6811 o
= PyInt_FromLong((long) (*_arg2
));
6812 _resultobj
= t_output_helper(_resultobj
, o
);
6817 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6818 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6820 wxTreeItemId
* _result
;
6821 wxPyTreeCtrl
* _arg0
;
6822 wxTreeItemId
* _arg1
;
6824 PyObject
* _argo0
= 0;
6825 PyObject
* _argo1
= 0;
6827 PyObject
* _obj2
= 0;
6828 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6849 temp
= (long) PyInt_AsLong(_obj2
);
6853 wxPy_BEGIN_ALLOW_THREADS
;
6854 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6856 wxPy_END_ALLOW_THREADS
;
6857 if (PyErr_Occurred()) return NULL
;
6858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6859 _resultobj
= Py_BuildValue("s",_ptemp
);
6862 o
= PyInt_FromLong((long) (*_arg2
));
6863 _resultobj
= t_output_helper(_resultobj
, o
);
6868 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6869 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6871 wxTreeItemId
* _result
;
6872 wxPyTreeCtrl
* _arg0
;
6873 wxTreeItemId
* _arg1
;
6874 PyObject
* _argo0
= 0;
6875 PyObject
* _argo1
= 0;
6876 char *_kwnames
[] = { "self","item", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6897 wxPy_BEGIN_ALLOW_THREADS
;
6898 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6900 wxPy_END_ALLOW_THREADS
;
6901 if (PyErr_Occurred()) return NULL
;
6902 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6903 _resultobj
= Py_BuildValue("s",_ptemp
);
6907 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6908 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
* _resultobj
;
6910 wxTreeItemId
* _result
;
6911 wxPyTreeCtrl
* _arg0
;
6912 wxTreeItemId
* _arg1
;
6913 PyObject
* _argo0
= 0;
6914 PyObject
* _argo1
= 0;
6915 char *_kwnames
[] = { "self","item", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6936 wxPy_BEGIN_ALLOW_THREADS
;
6937 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6939 wxPy_END_ALLOW_THREADS
;
6940 if (PyErr_Occurred()) return NULL
;
6941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6942 _resultobj
= Py_BuildValue("s",_ptemp
);
6946 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6947 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6949 wxTreeItemId
* _result
;
6950 wxPyTreeCtrl
* _arg0
;
6951 PyObject
* _argo0
= 0;
6952 char *_kwnames
[] = { "self", NULL
};
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6969 wxPy_END_ALLOW_THREADS
;
6970 if (PyErr_Occurred()) return NULL
;
6971 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6972 _resultobj
= Py_BuildValue("s",_ptemp
);
6976 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6977 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6979 wxTreeItemId
* _result
;
6980 wxPyTreeCtrl
* _arg0
;
6981 wxTreeItemId
* _arg1
;
6982 PyObject
* _argo0
= 0;
6983 PyObject
* _argo1
= 0;
6984 char *_kwnames
[] = { "self","item", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7005 wxPy_BEGIN_ALLOW_THREADS
;
7006 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
7008 wxPy_END_ALLOW_THREADS
;
7009 if (PyErr_Occurred()) return NULL
;
7010 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7011 _resultobj
= Py_BuildValue("s",_ptemp
);
7015 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
7016 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
* _resultobj
;
7018 wxTreeItemId
* _result
;
7019 wxPyTreeCtrl
* _arg0
;
7020 wxTreeItemId
* _arg1
;
7021 PyObject
* _argo0
= 0;
7022 PyObject
* _argo1
= 0;
7023 char *_kwnames
[] = { "self","item", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
7037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
7044 wxPy_BEGIN_ALLOW_THREADS
;
7045 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
7047 wxPy_END_ALLOW_THREADS
;
7048 if (PyErr_Occurred()) return NULL
;
7049 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7050 _resultobj
= Py_BuildValue("s",_ptemp
);
7054 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
7055 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7057 wxTreeItemId
* _result
;
7058 wxPyTreeCtrl
* _arg0
;
7059 wxTreeItemId
* _arg1
;
7060 PyObject
* _argo0
= 0;
7061 PyObject
* _argo1
= 0;
7062 char *_kwnames
[] = { "self","item", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
7076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
7083 wxPy_BEGIN_ALLOW_THREADS
;
7084 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
7086 wxPy_END_ALLOW_THREADS
;
7087 if (PyErr_Occurred()) return NULL
;
7088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7089 _resultobj
= Py_BuildValue("s",_ptemp
);
7093 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7094 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
* _resultobj
;
7096 wxTreeItemId
* _result
;
7097 wxPyTreeCtrl
* _arg0
;
7099 int _arg2
= (int ) -1;
7100 int _arg3
= (int ) -1;
7101 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
7102 PyObject
* _argo0
= 0;
7103 PyObject
* _obj1
= 0;
7104 PyObject
* _argo4
= 0;
7105 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
7119 #if PYTHON_API_VERSION >= 1009
7120 char* tmpPtr
; int tmpSize
;
7121 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7125 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7127 _arg1
= new wxString(tmpPtr
, tmpSize
);
7129 if (!PyString_Check(_obj1
)) {
7130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7133 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7137 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
7144 wxPy_BEGIN_ALLOW_THREADS
;
7145 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
7147 wxPy_END_ALLOW_THREADS
;
7148 if (PyErr_Occurred()) return NULL
;
7149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7150 _resultobj
= Py_BuildValue("s",_ptemp
);
7158 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7159 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7161 wxTreeItemId
* _result
;
7162 wxPyTreeCtrl
* _arg0
;
7163 wxTreeItemId
* _arg1
;
7165 int _arg3
= (int ) -1;
7166 int _arg4
= (int ) -1;
7167 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7168 PyObject
* _argo0
= 0;
7169 PyObject
* _argo1
= 0;
7170 PyObject
* _obj2
= 0;
7171 PyObject
* _argo5
= 0;
7172 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
7186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
7193 #if PYTHON_API_VERSION >= 1009
7194 char* tmpPtr
; int tmpSize
;
7195 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7199 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7201 _arg2
= new wxString(tmpPtr
, tmpSize
);
7203 if (!PyString_Check(_obj2
)) {
7204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7207 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7211 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
7218 wxPy_BEGIN_ALLOW_THREADS
;
7219 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7221 wxPy_END_ALLOW_THREADS
;
7222 if (PyErr_Occurred()) return NULL
;
7223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7224 _resultobj
= Py_BuildValue("s",_ptemp
);
7232 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7233 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7235 wxTreeItemId
* _result
;
7236 wxPyTreeCtrl
* _arg0
;
7237 wxTreeItemId
* _arg1
;
7238 wxTreeItemId
* _arg2
;
7240 int _arg4
= (int ) -1;
7241 int _arg5
= (int ) -1;
7242 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
7243 PyObject
* _argo0
= 0;
7244 PyObject
* _argo1
= 0;
7245 PyObject
* _argo2
= 0;
7246 PyObject
* _obj3
= 0;
7247 PyObject
* _argo6
= 0;
7248 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
7262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
7269 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
7276 #if PYTHON_API_VERSION >= 1009
7277 char* tmpPtr
; int tmpSize
;
7278 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7279 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7282 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7284 _arg3
= new wxString(tmpPtr
, tmpSize
);
7286 if (!PyString_Check(_obj3
)) {
7287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7290 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7294 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
7301 wxPy_BEGIN_ALLOW_THREADS
;
7302 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7304 wxPy_END_ALLOW_THREADS
;
7305 if (PyErr_Occurred()) return NULL
;
7306 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7307 _resultobj
= Py_BuildValue("s",_ptemp
);
7315 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7316 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7318 wxTreeItemId
* _result
;
7319 wxPyTreeCtrl
* _arg0
;
7320 wxTreeItemId
* _arg1
;
7323 int _arg4
= (int ) -1;
7324 int _arg5
= (int ) -1;
7325 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
7326 PyObject
* _argo0
= 0;
7327 PyObject
* _argo1
= 0;
7328 PyObject
* _obj3
= 0;
7329 PyObject
* _argo6
= 0;
7330 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
7344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
7351 #if PYTHON_API_VERSION >= 1009
7352 char* tmpPtr
; int tmpSize
;
7353 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7357 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7359 _arg3
= new wxString(tmpPtr
, tmpSize
);
7361 if (!PyString_Check(_obj3
)) {
7362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7365 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7369 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
7376 wxPy_BEGIN_ALLOW_THREADS
;
7377 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7379 wxPy_END_ALLOW_THREADS
;
7380 if (PyErr_Occurred()) return NULL
;
7381 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7382 _resultobj
= Py_BuildValue("s",_ptemp
);
7390 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7391 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
* _resultobj
;
7393 wxTreeItemId
* _result
;
7394 wxPyTreeCtrl
* _arg0
;
7395 wxTreeItemId
* _arg1
;
7397 int _arg3
= (int ) -1;
7398 int _arg4
= (int ) -1;
7399 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7400 PyObject
* _argo0
= 0;
7401 PyObject
* _argo1
= 0;
7402 PyObject
* _obj2
= 0;
7403 PyObject
* _argo5
= 0;
7404 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
7418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
7425 #if PYTHON_API_VERSION >= 1009
7426 char* tmpPtr
; int tmpSize
;
7427 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7431 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7433 _arg2
= new wxString(tmpPtr
, tmpSize
);
7435 if (!PyString_Check(_obj2
)) {
7436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7439 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7443 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
7450 wxPy_BEGIN_ALLOW_THREADS
;
7451 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7453 wxPy_END_ALLOW_THREADS
;
7454 if (PyErr_Occurred()) return NULL
;
7455 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7456 _resultobj
= Py_BuildValue("s",_ptemp
);
7464 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7465 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
* _resultobj
;
7467 wxPyTreeCtrl
* _arg0
;
7468 wxTreeItemId
* _arg1
;
7469 PyObject
* _argo0
= 0;
7470 PyObject
* _argo1
= 0;
7471 char *_kwnames
[] = { "self","item", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
7484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7491 wxPy_BEGIN_ALLOW_THREADS
;
7492 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7494 wxPy_END_ALLOW_THREADS
;
7495 if (PyErr_Occurred()) return NULL
;
7496 } Py_INCREF(Py_None
);
7497 _resultobj
= Py_None
;
7501 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7502 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7504 wxPyTreeCtrl
* _arg0
;
7505 wxTreeItemId
* _arg1
;
7506 PyObject
* _argo0
= 0;
7507 PyObject
* _argo1
= 0;
7508 char *_kwnames
[] = { "self","item", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7528 wxPy_BEGIN_ALLOW_THREADS
;
7529 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7531 wxPy_END_ALLOW_THREADS
;
7532 if (PyErr_Occurred()) return NULL
;
7533 } Py_INCREF(Py_None
);
7534 _resultobj
= Py_None
;
7538 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7539 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7541 wxPyTreeCtrl
* _arg0
;
7542 PyObject
* _argo0
= 0;
7543 char *_kwnames
[] = { "self", NULL
};
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7556 wxPy_BEGIN_ALLOW_THREADS
;
7557 wxTreeCtrl_DeleteAllItems(_arg0
);
7559 wxPy_END_ALLOW_THREADS
;
7560 if (PyErr_Occurred()) return NULL
;
7561 } Py_INCREF(Py_None
);
7562 _resultobj
= Py_None
;
7566 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7567 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
* _resultobj
;
7569 wxPyTreeCtrl
* _arg0
;
7570 wxTreeItemId
* _arg1
;
7571 PyObject
* _argo0
= 0;
7572 PyObject
* _argo1
= 0;
7573 char *_kwnames
[] = { "self","item", NULL
};
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7593 wxPy_BEGIN_ALLOW_THREADS
;
7594 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7596 wxPy_END_ALLOW_THREADS
;
7597 if (PyErr_Occurred()) return NULL
;
7598 } Py_INCREF(Py_None
);
7599 _resultobj
= Py_None
;
7603 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7604 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7606 wxPyTreeCtrl
* _arg0
;
7607 wxTreeItemId
* _arg1
;
7608 PyObject
* _argo0
= 0;
7609 PyObject
* _argo1
= 0;
7610 char *_kwnames
[] = { "self","item", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7630 wxPy_BEGIN_ALLOW_THREADS
;
7631 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7633 wxPy_END_ALLOW_THREADS
;
7634 if (PyErr_Occurred()) return NULL
;
7635 } Py_INCREF(Py_None
);
7636 _resultobj
= Py_None
;
7640 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7641 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7643 wxPyTreeCtrl
* _arg0
;
7644 wxTreeItemId
* _arg1
;
7645 PyObject
* _argo0
= 0;
7646 PyObject
* _argo1
= 0;
7647 char *_kwnames
[] = { "self","item", NULL
};
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7667 wxPy_BEGIN_ALLOW_THREADS
;
7668 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7670 wxPy_END_ALLOW_THREADS
;
7671 if (PyErr_Occurred()) return NULL
;
7672 } Py_INCREF(Py_None
);
7673 _resultobj
= Py_None
;
7677 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7678 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
* _resultobj
;
7680 wxPyTreeCtrl
* _arg0
;
7681 wxTreeItemId
* _arg1
;
7682 PyObject
* _argo0
= 0;
7683 PyObject
* _argo1
= 0;
7684 char *_kwnames
[] = { "self","item", NULL
};
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7704 wxPy_BEGIN_ALLOW_THREADS
;
7705 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7707 wxPy_END_ALLOW_THREADS
;
7708 if (PyErr_Occurred()) return NULL
;
7709 } Py_INCREF(Py_None
);
7710 _resultobj
= Py_None
;
7714 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7715 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
* _resultobj
;
7717 wxPyTreeCtrl
* _arg0
;
7718 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 wxTreeCtrl_Unselect(_arg0
);
7735 wxPy_END_ALLOW_THREADS
;
7736 if (PyErr_Occurred()) return NULL
;
7737 } Py_INCREF(Py_None
);
7738 _resultobj
= Py_None
;
7742 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7743 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7745 wxPyTreeCtrl
* _arg0
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7760 wxPy_BEGIN_ALLOW_THREADS
;
7761 wxTreeCtrl_UnselectAll(_arg0
);
7763 wxPy_END_ALLOW_THREADS
;
7764 if (PyErr_Occurred()) return NULL
;
7765 } Py_INCREF(Py_None
);
7766 _resultobj
= Py_None
;
7770 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7771 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7773 wxPyTreeCtrl
* _arg0
;
7774 wxTreeItemId
* _arg1
;
7775 PyObject
* _argo0
= 0;
7776 PyObject
* _argo1
= 0;
7777 char *_kwnames
[] = { "self","item", NULL
};
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7797 wxPy_BEGIN_ALLOW_THREADS
;
7798 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7800 wxPy_END_ALLOW_THREADS
;
7801 if (PyErr_Occurred()) return NULL
;
7802 } Py_INCREF(Py_None
);
7803 _resultobj
= Py_None
;
7807 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7808 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
* _resultobj
;
7810 wxPyTreeCtrl
* _arg0
;
7811 wxTreeItemId
* _arg1
;
7812 PyObject
* _argo0
= 0;
7813 PyObject
* _argo1
= 0;
7814 char *_kwnames
[] = { "self","item", NULL
};
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7834 wxPy_BEGIN_ALLOW_THREADS
;
7835 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7837 wxPy_END_ALLOW_THREADS
;
7838 if (PyErr_Occurred()) return NULL
;
7839 } Py_INCREF(Py_None
);
7840 _resultobj
= Py_None
;
7844 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7845 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
* _resultobj
;
7847 wxPyTreeCtrl
* _arg0
;
7848 wxTreeItemId
* _arg1
;
7849 PyObject
* _argo0
= 0;
7850 PyObject
* _argo1
= 0;
7851 char *_kwnames
[] = { "self","item", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7871 wxPy_BEGIN_ALLOW_THREADS
;
7872 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7874 wxPy_END_ALLOW_THREADS
;
7875 if (PyErr_Occurred()) return NULL
;
7876 } Py_INCREF(Py_None
);
7877 _resultobj
= Py_None
;
7881 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7882 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7884 wxPyTreeCtrl
* _arg0
;
7885 wxTreeItemId
* _arg1
;
7886 PyObject
* _argo0
= 0;
7887 PyObject
* _argo1
= 0;
7888 char *_kwnames
[] = { "self","item", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7908 wxPy_BEGIN_ALLOW_THREADS
;
7909 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7911 wxPy_END_ALLOW_THREADS
;
7912 if (PyErr_Occurred()) return NULL
;
7913 } Py_INCREF(Py_None
);
7914 _resultobj
= Py_None
;
7918 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7919 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
* _resultobj
;
7921 wxPyTreeCtrl
* _arg0
;
7922 wxTreeItemId
* _arg1
;
7923 PyObject
* _argo0
= 0;
7924 PyObject
* _argo1
= 0;
7925 char *_kwnames
[] = { "self","item", NULL
};
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7945 wxPy_BEGIN_ALLOW_THREADS
;
7946 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7948 wxPy_END_ALLOW_THREADS
;
7949 if (PyErr_Occurred()) return NULL
;
7950 } Py_INCREF(Py_None
);
7951 _resultobj
= Py_None
;
7955 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7956 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7958 wxPyTreeCtrl
* _arg0
;
7959 wxTreeItemId
* _arg1
;
7960 int _arg2
= (int ) TRUE
;
7961 PyObject
* _argo0
= 0;
7962 PyObject
* _argo1
= 0;
7963 char *_kwnames
[] = { "self","item","bold", NULL
};
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7983 wxPy_BEGIN_ALLOW_THREADS
;
7984 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7986 wxPy_END_ALLOW_THREADS
;
7987 if (PyErr_Occurred()) return NULL
;
7988 } Py_INCREF(Py_None
);
7989 _resultobj
= Py_None
;
7993 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7994 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7997 wxPyTreeCtrl
* _arg0
;
7998 wxTreeItemId
* _arg1
;
7999 PyObject
* _argo0
= 0;
8000 PyObject
* _argo1
= 0;
8001 char *_kwnames
[] = { "self","item", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
8014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8021 wxPy_BEGIN_ALLOW_THREADS
;
8022 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
8024 wxPy_END_ALLOW_THREADS
;
8025 if (PyErr_Occurred()) return NULL
;
8026 } _resultobj
= Py_BuildValue("i",_result
);
8030 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
8031 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8033 wxTreeItemId
* _result
;
8034 wxPyTreeCtrl
* _arg0
;
8038 PyObject
* _argo0
= 0;
8040 PyObject
* _obj1
= 0;
8041 char *_kwnames
[] = { "self","point", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
8059 if (! wxPoint_helper(_obj1
, &_arg1
))
8063 wxPy_BEGIN_ALLOW_THREADS
;
8064 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
8066 wxPy_END_ALLOW_THREADS
;
8067 if (PyErr_Occurred()) return NULL
;
8068 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8069 _resultobj
= Py_BuildValue("s",_ptemp
);
8072 o
= PyInt_FromLong((long) (*_arg2
));
8073 _resultobj
= t_output_helper(_resultobj
, o
);
8078 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8079 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
* _resultobj
;
8081 wxPyTreeCtrl
* _arg0
;
8082 wxTreeItemId
* _arg1
;
8084 PyObject
* _argo0
= 0;
8085 PyObject
* _argo1
= 0;
8087 PyObject
* _obj2
= 0;
8088 char *_kwnames
[] = { "self","item","col", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
8101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
8109 if (! wxColour_helper(_obj2
, &_arg2
))
8113 wxPy_BEGIN_ALLOW_THREADS
;
8114 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
8116 wxPy_END_ALLOW_THREADS
;
8117 if (PyErr_Occurred()) return NULL
;
8118 } Py_INCREF(Py_None
);
8119 _resultobj
= Py_None
;
8123 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
8124 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
* _resultobj
;
8126 wxPyTreeCtrl
* _arg0
;
8127 wxTreeItemId
* _arg1
;
8129 PyObject
* _argo0
= 0;
8130 PyObject
* _argo1
= 0;
8132 PyObject
* _obj2
= 0;
8133 char *_kwnames
[] = { "self","item","col", NULL
};
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
8146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
8154 if (! wxColour_helper(_obj2
, &_arg2
))
8158 wxPy_BEGIN_ALLOW_THREADS
;
8159 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
8161 wxPy_END_ALLOW_THREADS
;
8162 if (PyErr_Occurred()) return NULL
;
8163 } Py_INCREF(Py_None
);
8164 _resultobj
= Py_None
;
8168 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
8169 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
* _resultobj
;
8171 wxPyTreeCtrl
* _arg0
;
8172 wxTreeItemId
* _arg1
;
8174 PyObject
* _argo0
= 0;
8175 PyObject
* _argo1
= 0;
8176 PyObject
* _argo2
= 0;
8177 char *_kwnames
[] = { "self","item","font", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
8190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
8197 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8198 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
8199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
8204 wxPy_BEGIN_ALLOW_THREADS
;
8205 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
8207 wxPy_END_ALLOW_THREADS
;
8208 if (PyErr_Occurred()) return NULL
;
8209 } Py_INCREF(Py_None
);
8210 _resultobj
= Py_None
;
8214 static PyMethodDef controls2cMethods
[] = {
8215 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxListCtrl__setSelf", (PyCFunction
) _wrap_wxListCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
8446 * This table is used by the pointer type-checker
8448 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8449 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8450 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8451 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8452 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8453 { "_signed_long","_long",0},
8454 { "_wxPrintQuality","_wxCoord",0},
8455 { "_wxPrintQuality","_int",0},
8456 { "_wxPrintQuality","_signed_int",0},
8457 { "_wxPrintQuality","_unsigned_int",0},
8458 { "_wxPrintQuality","_wxWindowID",0},
8459 { "_wxPrintQuality","_uint",0},
8460 { "_wxPrintQuality","_EBool",0},
8461 { "_wxPrintQuality","_size_t",0},
8462 { "_wxPrintQuality","_time_t",0},
8463 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8464 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8465 { "_class_wxEvtHandler","_class_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
8466 { "_class_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
8467 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8468 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8469 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8470 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8471 { "_byte","_unsigned_char",0},
8472 { "_long","_unsigned_long",0},
8473 { "_long","_signed_long",0},
8474 { "_class_wxObject","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8475 { "_class_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8476 { "_class_wxObject","_class_wxTreeEvent",SwigwxTreeEventTowxObject
},
8477 { "_class_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
8478 { "_class_wxObject","_class_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8479 { "_class_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8480 { "_class_wxObject","_class_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
8481 { "_class_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
8482 { "_class_wxObject","_class_wxListEvent",SwigwxListEventTowxObject
},
8483 { "_class_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
8484 { "_class_wxObject","_class_wxListItem",SwigwxListItemTowxObject
},
8485 { "_class_wxObject","_wxListItem",SwigwxListItemTowxObject
},
8486 { "_size_t","_wxCoord",0},
8487 { "_size_t","_wxPrintQuality",0},
8488 { "_size_t","_time_t",0},
8489 { "_size_t","_unsigned_int",0},
8490 { "_size_t","_int",0},
8491 { "_size_t","_wxWindowID",0},
8492 { "_size_t","_uint",0},
8493 { "_uint","_wxCoord",0},
8494 { "_uint","_wxPrintQuality",0},
8495 { "_uint","_time_t",0},
8496 { "_uint","_size_t",0},
8497 { "_uint","_unsigned_int",0},
8498 { "_uint","_int",0},
8499 { "_uint","_wxWindowID",0},
8500 { "_wxChar","_char",0},
8501 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8502 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8503 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8504 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8505 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8506 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8507 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8508 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8509 { "_char","_wxChar",0},
8510 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8511 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8512 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8513 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8514 { "_EBool","_wxCoord",0},
8515 { "_EBool","_wxPrintQuality",0},
8516 { "_EBool","_signed_int",0},
8517 { "_EBool","_int",0},
8518 { "_EBool","_wxWindowID",0},
8519 { "_unsigned_long","_long",0},
8520 { "_signed_int","_wxCoord",0},
8521 { "_signed_int","_wxPrintQuality",0},
8522 { "_signed_int","_EBool",0},
8523 { "_signed_int","_wxWindowID",0},
8524 { "_signed_int","_int",0},
8525 { "_WXTYPE","_short",0},
8526 { "_WXTYPE","_signed_short",0},
8527 { "_WXTYPE","_unsigned_short",0},
8528 { "_unsigned_short","_WXTYPE",0},
8529 { "_unsigned_short","_short",0},
8530 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8531 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8532 { "_class_wxWindow","_class_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
8533 { "_class_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
8534 { "_wxObject","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8535 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8536 { "_wxObject","_class_wxTreeEvent",SwigwxTreeEventTowxObject
},
8537 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
8538 { "_wxObject","_class_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8539 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8540 { "_wxObject","_class_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
8541 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
8542 { "_wxObject","_class_wxListEvent",SwigwxListEventTowxObject
},
8543 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
8544 { "_wxObject","_class_wxListItem",SwigwxListItemTowxObject
},
8545 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
8546 { "_signed_short","_WXTYPE",0},
8547 { "_signed_short","_short",0},
8548 { "_unsigned_char","_byte",0},
8549 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8550 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8551 { "_wxControl","_class_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
8552 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
8553 { "_unsigned_int","_wxCoord",0},
8554 { "_unsigned_int","_wxPrintQuality",0},
8555 { "_unsigned_int","_time_t",0},
8556 { "_unsigned_int","_size_t",0},
8557 { "_unsigned_int","_uint",0},
8558 { "_unsigned_int","_wxWindowID",0},
8559 { "_unsigned_int","_int",0},
8560 { "_short","_WXTYPE",0},
8561 { "_short","_unsigned_short",0},
8562 { "_short","_signed_short",0},
8563 { "_wxWindowID","_wxCoord",0},
8564 { "_wxWindowID","_wxPrintQuality",0},
8565 { "_wxWindowID","_time_t",0},
8566 { "_wxWindowID","_size_t",0},
8567 { "_wxWindowID","_EBool",0},
8568 { "_wxWindowID","_uint",0},
8569 { "_wxWindowID","_int",0},
8570 { "_wxWindowID","_signed_int",0},
8571 { "_wxWindowID","_unsigned_int",0},
8572 { "_int","_wxCoord",0},
8573 { "_int","_wxPrintQuality",0},
8574 { "_int","_time_t",0},
8575 { "_int","_size_t",0},
8576 { "_int","_EBool",0},
8577 { "_int","_uint",0},
8578 { "_int","_wxWindowID",0},
8579 { "_int","_unsigned_int",0},
8580 { "_int","_signed_int",0},
8581 { "_time_t","_wxCoord",0},
8582 { "_time_t","_wxPrintQuality",0},
8583 { "_time_t","_unsigned_int",0},
8584 { "_time_t","_int",0},
8585 { "_time_t","_wxWindowID",0},
8586 { "_time_t","_uint",0},
8587 { "_time_t","_size_t",0},
8588 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8589 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8590 { "_class_wxControl","_class_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
8591 { "_class_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
8592 { "_wxCoord","_int",0},
8593 { "_wxCoord","_signed_int",0},
8594 { "_wxCoord","_unsigned_int",0},
8595 { "_wxCoord","_wxWindowID",0},
8596 { "_wxCoord","_uint",0},
8597 { "_wxCoord","_EBool",0},
8598 { "_wxCoord","_size_t",0},
8599 { "_wxCoord","_time_t",0},
8600 { "_wxCoord","_wxPrintQuality",0},
8601 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8602 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8603 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8604 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8605 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8606 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8607 { "_wxEvtHandler","_class_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
8608 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
8609 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8610 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8611 { "_wxWindow","_class_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
8612 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
8615 static PyObject
*SWIG_globals
;
8619 SWIGEXPORT(void) initcontrols2c() {
8621 SWIG_globals
= SWIG_newvarlink();
8622 m
= Py_InitModule("controls2c", controls2cMethods
);
8623 d
= PyModule_GetDict(m
);
8624 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8625 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8626 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8627 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8628 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8629 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8630 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8631 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8632 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8633 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8634 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8635 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8636 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8637 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8638 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8639 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8640 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
8641 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
8642 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
8643 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
8644 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
8645 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
8646 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
8647 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
8648 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
8649 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
8650 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
8651 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
8652 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
8653 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
8654 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
8655 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
8656 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
8657 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
8658 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
8659 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
8660 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8661 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8662 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8663 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8664 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
8665 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8666 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8667 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8668 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8669 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8670 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8671 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8672 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8673 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8674 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8675 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8676 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8677 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8678 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8679 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8680 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8681 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8682 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8683 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8684 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8685 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8686 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8687 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8688 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8689 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8690 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8691 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8692 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8693 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8694 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8695 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8696 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8697 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8698 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8699 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8700 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8701 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8702 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8703 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8704 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8705 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8706 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8707 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8708 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8709 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8710 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8711 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8712 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8713 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8714 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8715 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8716 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8717 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8718 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8719 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8720 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8721 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8722 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8723 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8724 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8725 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8726 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8727 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8728 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8729 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8730 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8731 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8732 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8733 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8734 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8735 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8736 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8737 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8738 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8739 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8740 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
8742 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
8743 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
8746 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8747 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);