2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "string type is required for parameter";
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 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3310 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3312 wxTextCtrl
* _result
;
3313 wxPyListCtrl
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3331 wxPy_END_ALLOW_THREADS
;
3332 if (PyErr_Occurred()) return NULL
;
3333 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3337 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3338 wxListItem
* info
= new wxListItem
;
3339 info
->m_itemId
= itemId
;
3341 info
->m_mask
= 0xFFFF;
3342 self
->GetItem(*info
);
3345 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxListItem
* _result
;
3348 wxPyListCtrl
* _arg0
;
3350 int _arg2
= (int ) 0;
3351 PyObject
* _argo0
= 0;
3352 char *_kwnames
[] = { "self","itemId","col", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3365 wxPy_BEGIN_ALLOW_THREADS
;
3366 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3368 wxPy_END_ALLOW_THREADS
;
3369 if (PyErr_Occurred()) return NULL
;
3370 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3374 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3375 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
* _resultobj
;
3378 wxPyListCtrl
* _arg0
;
3380 PyObject
* _argo0
= 0;
3381 PyObject
* _argo1
= 0;
3382 char *_kwnames
[] = { "self","info", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3405 wxPy_END_ALLOW_THREADS
;
3406 if (PyErr_Occurred()) return NULL
;
3407 } _resultobj
= Py_BuildValue("i",_result
);
3411 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3412 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
* _resultobj
;
3415 wxPyListCtrl
* _arg0
;
3419 int _arg4
= (int ) -1;
3420 PyObject
* _argo0
= 0;
3421 PyObject
* _obj3
= 0;
3422 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3435 #if PYTHON_API_VERSION >= 1009
3436 char* tmpPtr
; int tmpSize
;
3437 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3441 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3443 _arg3
= new wxString(tmpPtr
, tmpSize
);
3445 if (!PyString_Check(_obj3
)) {
3446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3449 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3453 wxPy_BEGIN_ALLOW_THREADS
;
3454 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3456 wxPy_END_ALLOW_THREADS
;
3457 if (PyErr_Occurred()) return NULL
;
3458 } _resultobj
= Py_BuildValue("l",_result
);
3466 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3467 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3470 wxPyListCtrl
* _arg0
;
3473 PyObject
* _argo0
= 0;
3474 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3487 wxPy_BEGIN_ALLOW_THREADS
;
3488 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3490 wxPy_END_ALLOW_THREADS
;
3491 if (PyErr_Occurred()) return NULL
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3497 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3500 wxPyListCtrl
* _arg0
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3521 wxPy_END_ALLOW_THREADS
;
3522 if (PyErr_Occurred()) return NULL
;
3523 } _resultobj
= Py_BuildValue("i",_result
);
3527 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3528 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3531 wxPyListCtrl
* _arg0
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3552 wxPy_END_ALLOW_THREADS
;
3553 if (PyErr_Occurred()) return NULL
;
3554 } _resultobj
= Py_BuildValue("i",_result
);
3558 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3559 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3562 wxPyListCtrl
* _arg0
;
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self","item", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3581 wxPy_END_ALLOW_THREADS
;
3582 if (PyErr_Occurred()) return NULL
;
3584 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3592 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3593 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3595 wxPyListCtrl
* _arg0
;
3598 PyObject
* _argo0
= 0;
3599 PyObject
* _obj2
= 0;
3600 char *_kwnames
[] = { "self","item","str", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3613 #if PYTHON_API_VERSION >= 1009
3614 char* tmpPtr
; int tmpSize
;
3615 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3619 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3621 _arg2
= new wxString(tmpPtr
, tmpSize
);
3623 if (!PyString_Check(_obj2
)) {
3624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3627 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3634 wxPy_END_ALLOW_THREADS
;
3635 if (PyErr_Occurred()) return NULL
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3645 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3646 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3649 wxPyListCtrl
* _arg0
;
3651 PyObject
* _argo0
= 0;
3652 char *_kwnames
[] = { "self","item", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3668 wxPy_END_ALLOW_THREADS
;
3669 if (PyErr_Occurred()) return NULL
;
3670 } _resultobj
= Py_BuildValue("l",_result
);
3674 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3675 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3678 wxPyListCtrl
* _arg0
;
3681 PyObject
* _argo0
= 0;
3682 char *_kwnames
[] = { "self","item","data", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3695 wxPy_BEGIN_ALLOW_THREADS
;
3696 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3698 wxPy_END_ALLOW_THREADS
;
3699 if (PyErr_Occurred()) return NULL
;
3700 } _resultobj
= Py_BuildValue("i",_result
);
3704 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3705 wxPoint
* pos
= new wxPoint
;
3706 self
->GetItemPosition(item
, *pos
);
3709 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3712 wxPyListCtrl
* _arg0
;
3714 PyObject
* _argo0
= 0;
3715 char *_kwnames
[] = { "self","item", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3729 wxPy_BEGIN_ALLOW_THREADS
;
3730 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3732 wxPy_END_ALLOW_THREADS
;
3733 if (PyErr_Occurred()) return NULL
;
3735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3736 _resultobj
= Py_BuildValue("s",_ptemp
);
3739 _resultobj
= Py_None
;
3744 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3745 wxRect
* rect
= new wxRect
;
3746 self
->GetItemRect(item
, *rect
, code
);
3749 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxPyListCtrl
* _arg0
;
3754 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3755 PyObject
* _argo0
= 0;
3756 char *_kwnames
[] = { "self","item","code", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3770 wxPy_BEGIN_ALLOW_THREADS
;
3771 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3773 wxPy_END_ALLOW_THREADS
;
3774 if (PyErr_Occurred()) return NULL
;
3776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3777 _resultobj
= Py_BuildValue("s",_ptemp
);
3780 _resultobj
= Py_None
;
3785 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3786 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3789 wxPyListCtrl
* _arg0
;
3792 PyObject
* _argo0
= 0;
3794 PyObject
* _obj2
= 0;
3795 char *_kwnames
[] = { "self","item","pos", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3809 if (! wxPoint_helper(_obj2
, &_arg2
))
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3816 wxPy_END_ALLOW_THREADS
;
3817 if (PyErr_Occurred()) return NULL
;
3818 } _resultobj
= Py_BuildValue("i",_result
);
3822 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3823 static PyObject
*_wrap_wxListCtrl_GetItemCount(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_GetItemCount",_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_GetItemCount. Expected _wxPyListCtrl_p.");
3841 wxPy_BEGIN_ALLOW_THREADS
;
3842 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3844 wxPy_END_ALLOW_THREADS
;
3845 if (PyErr_Occurred()) return NULL
;
3846 } _resultobj
= Py_BuildValue("i",_result
);
3850 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3851 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3854 wxPyListCtrl
* _arg0
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3872 wxPy_END_ALLOW_THREADS
;
3873 if (PyErr_Occurred()) return NULL
;
3874 } _resultobj
= Py_BuildValue("i",_result
);
3878 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3879 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxPyListCtrl
* _arg0
;
3884 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self","isSmall", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3898 _arg1
= (bool ) tempbool1
;
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 if (PyErr_Occurred()) return NULL
;
3905 } _resultobj
= Py_BuildValue("i",_result
);
3909 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3910 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3913 wxPyListCtrl
* _arg0
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3931 wxPy_END_ALLOW_THREADS
;
3932 if (PyErr_Occurred()) return NULL
;
3933 } _resultobj
= Py_BuildValue("i",_result
);
3937 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3938 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3941 wxPyListCtrl
* _arg0
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3960 wxPy_END_ALLOW_THREADS
;
3961 if (PyErr_Occurred()) return NULL
;
3962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3963 _resultobj
= Py_BuildValue("s",_ptemp
);
3967 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3968 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3970 wxPyListCtrl
* _arg0
;
3972 PyObject
* _argo0
= 0;
3974 PyObject
* _obj1
= 0;
3975 char *_kwnames
[] = { "self","col", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3989 if (! wxColour_helper(_obj1
, &_arg1
))
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3996 wxPy_END_ALLOW_THREADS
;
3997 if (PyErr_Occurred()) return NULL
;
3998 } Py_INCREF(Py_None
);
3999 _resultobj
= Py_None
;
4003 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4004 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4007 wxPyListCtrl
* _arg0
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4025 wxPy_END_ALLOW_THREADS
;
4026 if (PyErr_Occurred()) return NULL
;
4027 } _resultobj
= Py_BuildValue("l",_result
);
4031 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4032 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4034 wxPyListCtrl
* _arg0
;
4036 bool _arg2
= (bool ) TRUE
;
4037 PyObject
* _argo0
= 0;
4038 int tempbool2
= (int) TRUE
;
4039 char *_kwnames
[] = { "self","style","add", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4051 _arg2
= (bool ) tempbool2
;
4053 wxPy_BEGIN_ALLOW_THREADS
;
4054 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4056 wxPy_END_ALLOW_THREADS
;
4057 if (PyErr_Occurred()) return NULL
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4064 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4066 wxPyListCtrl
* _arg0
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self","style", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4085 wxPy_END_ALLOW_THREADS
;
4086 if (PyErr_Occurred()) return NULL
;
4087 } Py_INCREF(Py_None
);
4088 _resultobj
= Py_None
;
4092 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4093 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4096 wxPyListCtrl
* _arg0
;
4098 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4099 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4117 wxPy_END_ALLOW_THREADS
;
4118 if (PyErr_Occurred()) return NULL
;
4119 } _resultobj
= Py_BuildValue("l",_result
);
4123 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4124 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxImageList
* _result
;
4127 wxPyListCtrl
* _arg0
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self","which", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4146 wxPy_END_ALLOW_THREADS
;
4147 if (PyErr_Occurred()) return NULL
;
4148 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4152 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4153 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4155 wxPyListCtrl
* _arg0
;
4156 wxImageList
* _arg1
;
4158 PyObject
* _argo0
= 0;
4159 PyObject
* _argo1
= 0;
4160 char *_kwnames
[] = { "self","imageList","which", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4180 wxPy_BEGIN_ALLOW_THREADS
;
4181 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4183 wxPy_END_ALLOW_THREADS
;
4184 if (PyErr_Occurred()) return NULL
;
4185 } Py_INCREF(Py_None
);
4186 _resultobj
= Py_None
;
4190 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4191 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4193 wxPyListCtrl
* _arg0
;
4194 wxImageList
* _arg1
;
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _argo1
= 0;
4198 char *_kwnames
[] = { "self","imageList","which", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4221 wxPy_END_ALLOW_THREADS
;
4222 if (PyErr_Occurred()) return NULL
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4228 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4229 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4232 wxPyListCtrl
* _arg0
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
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_IsVirtual. Expected _wxPyListCtrl_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4250 wxPy_END_ALLOW_THREADS
;
4251 if (PyErr_Occurred()) return NULL
;
4252 } _resultobj
= Py_BuildValue("i",_result
);
4256 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4257 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4259 wxPyListCtrl
* _arg0
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self","item", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4275 wxPy_BEGIN_ALLOW_THREADS
;
4276 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4278 wxPy_END_ALLOW_THREADS
;
4279 if (PyErr_Occurred()) return NULL
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4286 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4288 wxPyListCtrl
* _arg0
;
4291 PyObject
* _argo0
= 0;
4292 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4308 wxPy_END_ALLOW_THREADS
;
4309 if (PyErr_Occurred()) return NULL
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4316 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4319 wxPyListCtrl
* _arg0
;
4320 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4321 PyObject
* _argo0
= 0;
4322 char *_kwnames
[] = { "self","flag", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4335 wxPy_BEGIN_ALLOW_THREADS
;
4336 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4338 wxPy_END_ALLOW_THREADS
;
4339 if (PyErr_Occurred()) return NULL
;
4340 } _resultobj
= Py_BuildValue("i",_result
);
4344 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4345 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4348 wxPyListCtrl
* _arg0
;
4350 PyObject
* _argo0
= 0;
4351 char *_kwnames
[] = { "self","item", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
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_DeleteItem. Expected _wxPyListCtrl_p.");
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4367 wxPy_END_ALLOW_THREADS
;
4368 if (PyErr_Occurred()) return NULL
;
4369 } _resultobj
= Py_BuildValue("i",_result
);
4373 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4374 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4377 wxPyListCtrl
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4395 wxPy_END_ALLOW_THREADS
;
4396 if (PyErr_Occurred()) return NULL
;
4397 } _resultobj
= Py_BuildValue("i",_result
);
4401 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4402 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 wxPyListCtrl
* _arg0
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self","col", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
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_DeleteColumn. Expected _wxPyListCtrl_p.");
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4424 wxPy_END_ALLOW_THREADS
;
4425 if (PyErr_Occurred()) return NULL
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4431 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4434 wxPyListCtrl
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4449 wxPy_BEGIN_ALLOW_THREADS
;
4450 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4452 wxPy_END_ALLOW_THREADS
;
4453 if (PyErr_Occurred()) return NULL
;
4454 } _resultobj
= Py_BuildValue("i",_result
);
4458 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4459 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 wxPyListCtrl
* _arg0
;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 wxListCtrl_ClearAll(_arg0
);
4479 wxPy_END_ALLOW_THREADS
;
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4487 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxTextCtrl
* _result
;
4490 wxPyListCtrl
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self","item", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4509 wxPy_END_ALLOW_THREADS
;
4510 if (PyErr_Occurred()) return NULL
;
4511 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4515 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4516 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4519 wxPyListCtrl
* _arg0
;
4521 PyObject
* _argo0
= 0;
4523 char *_kwnames
[] = { "self","cancel", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4535 _arg1
= (bool ) tempbool1
;
4537 wxPy_BEGIN_ALLOW_THREADS
;
4538 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4540 wxPy_END_ALLOW_THREADS
;
4541 if (PyErr_Occurred()) return NULL
;
4542 } _resultobj
= Py_BuildValue("i",_result
);
4546 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4547 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4550 wxPyListCtrl
* _arg0
;
4552 PyObject
* _argo0
= 0;
4553 char *_kwnames
[] = { "self","item", NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4569 wxPy_END_ALLOW_THREADS
;
4570 if (PyErr_Occurred()) return NULL
;
4571 } _resultobj
= Py_BuildValue("i",_result
);
4575 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4576 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4579 wxPyListCtrl
* _arg0
;
4582 bool _arg3
= (bool ) FALSE
;
4583 PyObject
* _argo0
= 0;
4584 PyObject
* _obj2
= 0;
4585 int tempbool3
= (int) FALSE
;
4586 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4599 #if PYTHON_API_VERSION >= 1009
4600 char* tmpPtr
; int tmpSize
;
4601 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4605 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4607 _arg2
= new wxString(tmpPtr
, tmpSize
);
4609 if (!PyString_Check(_obj2
)) {
4610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4613 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4616 _arg3
= (bool ) tempbool3
;
4618 wxPy_BEGIN_ALLOW_THREADS
;
4619 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4621 wxPy_END_ALLOW_THREADS
;
4622 if (PyErr_Occurred()) return NULL
;
4623 } _resultobj
= Py_BuildValue("l",_result
);
4631 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4632 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4635 wxPyListCtrl
* _arg0
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self","start","data", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4655 wxPy_END_ALLOW_THREADS
;
4656 if (PyErr_Occurred()) return NULL
;
4657 } _resultobj
= Py_BuildValue("l",_result
);
4661 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4662 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4665 wxPyListCtrl
* _arg0
;
4669 PyObject
* _argo0
= 0;
4671 PyObject
* _obj2
= 0;
4672 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4686 if (! wxPoint_helper(_obj2
, &_arg2
))
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4693 wxPy_END_ALLOW_THREADS
;
4694 if (PyErr_Occurred()) return NULL
;
4695 } _resultobj
= Py_BuildValue("l",_result
);
4699 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4700 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4703 wxPyListCtrl
* _arg0
;
4707 PyObject
* _argo0
= 0;
4709 PyObject
* _obj1
= 0;
4710 char *_kwnames
[] = { "self","point", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4727 if (! wxPoint_helper(_obj1
, &_arg1
))
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4734 wxPy_END_ALLOW_THREADS
;
4735 if (PyErr_Occurred()) return NULL
;
4736 } _resultobj
= Py_BuildValue("l",_result
);
4739 o
= PyInt_FromLong((long) (*_arg2
));
4740 _resultobj
= t_output_helper(_resultobj
, o
);
4745 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4746 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4749 wxPyListCtrl
* _arg0
;
4751 PyObject
* _argo0
= 0;
4752 PyObject
* _argo1
= 0;
4753 char *_kwnames
[] = { "self","info", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4776 wxPy_END_ALLOW_THREADS
;
4777 if (PyErr_Occurred()) return NULL
;
4778 } _resultobj
= Py_BuildValue("l",_result
);
4782 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4783 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4786 wxPyListCtrl
* _arg0
;
4789 PyObject
* _argo0
= 0;
4790 PyObject
* _obj2
= 0;
4791 char *_kwnames
[] = { "self","index","label", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4804 #if PYTHON_API_VERSION >= 1009
4805 char* tmpPtr
; int tmpSize
;
4806 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4810 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4812 _arg2
= new wxString(tmpPtr
, tmpSize
);
4814 if (!PyString_Check(_obj2
)) {
4815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4818 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4825 wxPy_END_ALLOW_THREADS
;
4826 if (PyErr_Occurred()) return NULL
;
4827 } _resultobj
= Py_BuildValue("l",_result
);
4835 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4836 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4839 wxPyListCtrl
* _arg0
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4859 wxPy_END_ALLOW_THREADS
;
4860 if (PyErr_Occurred()) return NULL
;
4861 } _resultobj
= Py_BuildValue("l",_result
);
4865 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4866 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4869 wxPyListCtrl
* _arg0
;
4873 PyObject
* _argo0
= 0;
4874 PyObject
* _obj2
= 0;
4875 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4888 #if PYTHON_API_VERSION >= 1009
4889 char* tmpPtr
; int tmpSize
;
4890 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4894 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4896 _arg2
= new wxString(tmpPtr
, tmpSize
);
4898 if (!PyString_Check(_obj2
)) {
4899 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4902 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4906 wxPy_BEGIN_ALLOW_THREADS
;
4907 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4909 wxPy_END_ALLOW_THREADS
;
4910 if (PyErr_Occurred()) return NULL
;
4911 } _resultobj
= Py_BuildValue("l",_result
);
4919 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4920 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4923 wxPyListCtrl
* _arg0
;
4926 PyObject
* _argo0
= 0;
4927 PyObject
* _argo2
= 0;
4928 char *_kwnames
[] = { "self","col","info", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4941 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4948 wxPy_BEGIN_ALLOW_THREADS
;
4949 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4951 wxPy_END_ALLOW_THREADS
;
4952 if (PyErr_Occurred()) return NULL
;
4953 } _resultobj
= Py_BuildValue("l",_result
);
4957 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4958 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4961 wxPyListCtrl
* _arg0
;
4964 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4965 int _arg4
= (int ) -1;
4966 PyObject
* _argo0
= 0;
4967 PyObject
* _obj2
= 0;
4968 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4981 #if PYTHON_API_VERSION >= 1009
4982 char* tmpPtr
; int tmpSize
;
4983 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4984 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4987 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4989 _arg2
= new wxString(tmpPtr
, tmpSize
);
4991 if (!PyString_Check(_obj2
)) {
4992 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4995 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5002 wxPy_END_ALLOW_THREADS
;
5003 if (PyErr_Occurred()) return NULL
;
5004 } _resultobj
= Py_BuildValue("l",_result
);
5012 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5013 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5015 wxPyListCtrl
* _arg0
;
5017 PyObject
* _argo0
= 0;
5018 char *_kwnames
[] = { "self","count", NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5031 wxPy_BEGIN_ALLOW_THREADS
;
5032 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5034 wxPy_END_ALLOW_THREADS
;
5035 if (PyErr_Occurred()) return NULL
;
5036 } Py_INCREF(Py_None
);
5037 _resultobj
= Py_None
;
5041 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5042 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5045 wxPyListCtrl
* _arg0
;
5048 PyObject
* _argo0
= 0;
5049 char *_kwnames
[] = { "self","dx","dy", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5062 wxPy_BEGIN_ALLOW_THREADS
;
5063 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5065 wxPy_END_ALLOW_THREADS
;
5066 if (PyErr_Occurred()) return NULL
;
5067 } _resultobj
= Py_BuildValue("i",_result
);
5071 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5072 if (!PyCallable_Check(func
))
5074 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5076 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5079 wxPyListCtrl
* _arg0
;
5081 PyObject
* _argo0
= 0;
5082 PyObject
* _obj1
= 0;
5083 char *_kwnames
[] = { "self","func", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5099 wxPy_BEGIN_ALLOW_THREADS
;
5100 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5102 wxPy_END_ALLOW_THREADS
;
5103 if (PyErr_Occurred()) return NULL
;
5104 } _resultobj
= Py_BuildValue("i",_result
);
5108 #define new_wxTreeItemId() (new wxTreeItemId())
5109 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5111 wxTreeItemId
* _result
;
5112 char *_kwnames
[] = { NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5122 wxPy_END_ALLOW_THREADS
;
5123 if (PyErr_Occurred()) return NULL
;
5125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5126 _resultobj
= Py_BuildValue("s",_ptemp
);
5129 _resultobj
= Py_None
;
5134 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5135 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
* _resultobj
;
5137 wxTreeItemId
* _arg0
;
5138 PyObject
* _argo0
= 0;
5139 char *_kwnames
[] = { "self", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5152 wxPy_BEGIN_ALLOW_THREADS
;
5153 delete_wxTreeItemId(_arg0
);
5155 wxPy_END_ALLOW_THREADS
;
5156 if (PyErr_Occurred()) return NULL
;
5157 } Py_INCREF(Py_None
);
5158 _resultobj
= Py_None
;
5162 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5163 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5166 wxTreeItemId
* _arg0
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5181 wxPy_BEGIN_ALLOW_THREADS
;
5182 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5184 wxPy_END_ALLOW_THREADS
;
5185 if (PyErr_Occurred()) return NULL
;
5186 } _resultobj
= Py_BuildValue("i",_result
);
5190 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5191 if (! other
) return -1;
5192 return *self
!= *other
;
5194 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5197 wxTreeItemId
* _arg0
;
5198 wxTreeItemId
* _arg1
;
5199 PyObject
* _argo0
= 0;
5200 PyObject
* _argo1
= 0;
5201 char *_kwnames
[] = { "self","other", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5221 wxPy_BEGIN_ALLOW_THREADS
;
5222 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5224 wxPy_END_ALLOW_THREADS
;
5225 if (PyErr_Occurred()) return NULL
;
5226 } _resultobj
= Py_BuildValue("i",_result
);
5230 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5231 wxPyTreeItemData
*src
;
5233 src
= (wxPyTreeItemData
*) ptr
;
5234 dest
= (wxObject
*) src
;
5235 return (void *) dest
;
5238 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5239 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5241 wxPyTreeItemData
* _result
;
5242 PyObject
* _arg0
= (PyObject
*) NULL
;
5243 PyObject
* _obj0
= 0;
5244 char *_kwnames
[] = { "obj", NULL
};
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5258 wxPy_END_ALLOW_THREADS
;
5259 if (PyErr_Occurred()) return NULL
;
5261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5262 _resultobj
= Py_BuildValue("s",_ptemp
);
5265 _resultobj
= Py_None
;
5270 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5271 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5274 wxPyTreeItemData
* _arg0
;
5275 PyObject
* _argo0
= 0;
5276 char *_kwnames
[] = { "self", NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5289 wxPy_BEGIN_ALLOW_THREADS
;
5290 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5292 wxPy_END_ALLOW_THREADS
;
5293 if (PyErr_Occurred()) return NULL
;
5295 _resultobj
= _result
;
5300 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5301 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxPyTreeItemData
* _arg0
;
5305 PyObject
* _argo0
= 0;
5306 PyObject
* _obj1
= 0;
5307 char *_kwnames
[] = { "self","obj", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
5323 wxPy_BEGIN_ALLOW_THREADS
;
5324 wxTreeItemData_SetData(_arg0
,_arg1
);
5326 wxPy_END_ALLOW_THREADS
;
5327 if (PyErr_Occurred()) return NULL
;
5328 } Py_INCREF(Py_None
);
5329 _resultobj
= Py_None
;
5333 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
5334 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
* _resultobj
;
5336 wxTreeItemId
* _result
;
5337 wxPyTreeItemData
* _arg0
;
5338 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
5355 _result
= (wxTreeItemId
*) &_result_ref
;
5357 wxPy_END_ALLOW_THREADS
;
5358 if (PyErr_Occurred()) return NULL
;
5360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5361 _resultobj
= Py_BuildValue("s",_ptemp
);
5364 _resultobj
= Py_None
;
5369 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
5370 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5372 wxPyTreeItemData
* _arg0
;
5373 wxTreeItemId
* _arg1
;
5374 PyObject
* _argo0
= 0;
5375 PyObject
* _argo1
= 0;
5376 char *_kwnames
[] = { "self","id", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
5389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 wxTreeItemData_SetId(_arg0
,*_arg1
);
5399 wxPy_END_ALLOW_THREADS
;
5400 if (PyErr_Occurred()) return NULL
;
5401 } Py_INCREF(Py_None
);
5402 _resultobj
= Py_None
;
5406 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
5408 wxNotifyEvent
*dest
;
5409 src
= (wxTreeEvent
*) ptr
;
5410 dest
= (wxNotifyEvent
*) src
;
5411 return (void *) dest
;
5414 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
5416 wxCommandEvent
*dest
;
5417 src
= (wxTreeEvent
*) ptr
;
5418 dest
= (wxCommandEvent
*) src
;
5419 return (void *) dest
;
5422 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
5425 src
= (wxTreeEvent
*) ptr
;
5426 dest
= (wxEvent
*) src
;
5427 return (void *) dest
;
5430 static void *SwigwxTreeEventTowxObject(void *ptr
) {
5433 src
= (wxTreeEvent
*) ptr
;
5434 dest
= (wxObject
*) src
;
5435 return (void *) dest
;
5438 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
5439 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5441 wxTreeItemId
* _result
;
5442 wxTreeEvent
* _arg0
;
5443 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
5461 wxPy_END_ALLOW_THREADS
;
5462 if (PyErr_Occurred()) return NULL
;
5463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5464 _resultobj
= Py_BuildValue("s",_ptemp
);
5468 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
5469 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5471 wxTreeItemId
* _result
;
5472 wxTreeEvent
* _arg0
;
5473 PyObject
* _argo0
= 0;
5474 char *_kwnames
[] = { "self", NULL
};
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
5481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
5488 wxPy_BEGIN_ALLOW_THREADS
;
5489 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
5491 wxPy_END_ALLOW_THREADS
;
5492 if (PyErr_Occurred()) return NULL
;
5493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5494 _resultobj
= Py_BuildValue("s",_ptemp
);
5498 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
5499 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5502 wxTreeEvent
* _arg0
;
5503 PyObject
* _argo0
= 0;
5504 char *_kwnames
[] = { "self", NULL
};
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
5511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
5518 wxPy_BEGIN_ALLOW_THREADS
;
5519 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
5521 wxPy_END_ALLOW_THREADS
;
5522 if (PyErr_Occurred()) return NULL
;
5523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5524 _resultobj
= Py_BuildValue("s",_ptemp
);
5528 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5529 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
* _resultobj
;
5532 wxTreeEvent
* _arg0
;
5533 PyObject
* _argo0
= 0;
5534 char *_kwnames
[] = { "self", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5547 wxPy_BEGIN_ALLOW_THREADS
;
5548 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5550 wxPy_END_ALLOW_THREADS
;
5551 if (PyErr_Occurred()) return NULL
;
5552 } _resultobj
= Py_BuildValue("i",_result
);
5556 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5557 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5560 wxTreeEvent
* _arg0
;
5561 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "self", NULL
};
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5575 wxPy_BEGIN_ALLOW_THREADS
;
5576 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5577 _result
= (wxString
*) &_result_ref
;
5579 wxPy_END_ALLOW_THREADS
;
5580 if (PyErr_Occurred()) return NULL
;
5582 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5587 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5590 src
= (wxPyTreeCtrl
*) ptr
;
5591 dest
= (wxControl
*) src
;
5592 return (void *) dest
;
5595 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5598 src
= (wxPyTreeCtrl
*) ptr
;
5599 dest
= (wxWindow
*) src
;
5600 return (void *) dest
;
5603 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5606 src
= (wxPyTreeCtrl
*) ptr
;
5607 dest
= (wxEvtHandler
*) src
;
5608 return (void *) dest
;
5611 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
5614 src
= (wxPyTreeCtrl
*) ptr
;
5615 dest
= (wxObject
*) src
;
5616 return (void *) dest
;
5619 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5620 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5622 wxPyTreeCtrl
* _result
;
5624 wxWindowID _arg1
= (wxWindowID
) -1;
5625 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5626 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5627 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5628 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5629 char * _arg6
= (char *) "wxTreeCtrl";
5630 PyObject
* _argo0
= 0;
5632 PyObject
* _obj2
= 0;
5634 PyObject
* _obj3
= 0;
5635 PyObject
* _argo5
= 0;
5636 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5652 if (! wxPoint_helper(_obj2
, &_arg2
))
5658 if (! wxSize_helper(_obj3
, &_arg3
))
5662 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5669 wxPy_BEGIN_ALLOW_THREADS
;
5670 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5672 wxPy_END_ALLOW_THREADS
;
5673 if (PyErr_Occurred()) return NULL
;
5675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5676 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 _resultobj
= Py_None
;
5684 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5685 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5687 wxPyTreeCtrl
* _arg0
;
5690 PyObject
* _argo0
= 0;
5691 PyObject
* _obj1
= 0;
5692 PyObject
* _obj2
= 0;
5693 char *_kwnames
[] = { "self","self","_class", NULL
};
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5715 wxPy_END_ALLOW_THREADS
;
5716 if (PyErr_Occurred()) return NULL
;
5717 } Py_INCREF(Py_None
);
5718 _resultobj
= Py_None
;
5722 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5723 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5725 wxPyTreeCtrl
* _arg0
;
5726 wxImageList
* _arg1
;
5727 PyObject
* _argo0
= 0;
5728 PyObject
* _argo1
= 0;
5729 char *_kwnames
[] = { "self","imageList", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5749 wxPy_BEGIN_ALLOW_THREADS
;
5750 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5752 wxPy_END_ALLOW_THREADS
;
5753 if (PyErr_Occurred()) return NULL
;
5754 } Py_INCREF(Py_None
);
5755 _resultobj
= Py_None
;
5759 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5760 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5763 wxPyTreeCtrl
* _arg0
;
5764 PyObject
* _argo0
= 0;
5765 char *_kwnames
[] = { "self", NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5778 wxPy_BEGIN_ALLOW_THREADS
;
5779 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5781 wxPy_END_ALLOW_THREADS
;
5782 if (PyErr_Occurred()) return NULL
;
5783 } _resultobj
= Py_BuildValue("i",_result
);
5787 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5788 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5790 unsigned int _result
;
5791 wxPyTreeCtrl
* _arg0
;
5792 PyObject
* _argo0
= 0;
5793 char *_kwnames
[] = { "self", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5806 wxPy_BEGIN_ALLOW_THREADS
;
5807 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5809 wxPy_END_ALLOW_THREADS
;
5810 if (PyErr_Occurred()) return NULL
;
5811 } _resultobj
= Py_BuildValue("i",_result
);
5815 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5816 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5818 wxPyTreeCtrl
* _arg0
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self","indent", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5834 wxPy_BEGIN_ALLOW_THREADS
;
5835 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5837 wxPy_END_ALLOW_THREADS
;
5838 if (PyErr_Occurred()) return NULL
;
5839 } Py_INCREF(Py_None
);
5840 _resultobj
= Py_None
;
5844 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5845 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5847 wxImageList
* _result
;
5848 wxPyTreeCtrl
* _arg0
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5866 wxPy_END_ALLOW_THREADS
;
5867 if (PyErr_Occurred()) return NULL
;
5868 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5872 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5873 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5875 wxImageList
* _result
;
5876 wxPyTreeCtrl
* _arg0
;
5877 PyObject
* _argo0
= 0;
5878 char *_kwnames
[] = { "self", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5891 wxPy_BEGIN_ALLOW_THREADS
;
5892 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5894 wxPy_END_ALLOW_THREADS
;
5895 if (PyErr_Occurred()) return NULL
;
5896 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5900 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5901 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5903 wxPyTreeCtrl
* _arg0
;
5904 wxImageList
* _arg1
;
5905 PyObject
* _argo0
= 0;
5906 PyObject
* _argo1
= 0;
5907 char *_kwnames
[] = { "self","imageList", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5927 wxPy_BEGIN_ALLOW_THREADS
;
5928 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5930 wxPy_END_ALLOW_THREADS
;
5931 if (PyErr_Occurred()) return NULL
;
5932 } Py_INCREF(Py_None
);
5933 _resultobj
= Py_None
;
5937 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5938 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5940 wxPyTreeCtrl
* _arg0
;
5941 wxImageList
* _arg1
;
5942 PyObject
* _argo0
= 0;
5943 PyObject
* _argo1
= 0;
5944 char *_kwnames
[] = { "self","imageList", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5964 wxPy_BEGIN_ALLOW_THREADS
;
5965 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5967 wxPy_END_ALLOW_THREADS
;
5968 if (PyErr_Occurred()) return NULL
;
5969 } Py_INCREF(Py_None
);
5970 _resultobj
= Py_None
;
5974 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5975 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5977 unsigned int _result
;
5978 wxPyTreeCtrl
* _arg0
;
5979 PyObject
* _argo0
= 0;
5980 char *_kwnames
[] = { "self", NULL
};
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5993 wxPy_BEGIN_ALLOW_THREADS
;
5994 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5996 wxPy_END_ALLOW_THREADS
;
5997 if (PyErr_Occurred()) return NULL
;
5998 } _resultobj
= Py_BuildValue("i",_result
);
6002 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6003 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6005 wxPyTreeCtrl
* _arg0
;
6007 PyObject
* _argo0
= 0;
6008 char *_kwnames
[] = { "self","spacing", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6021 wxPy_BEGIN_ALLOW_THREADS
;
6022 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6024 wxPy_END_ALLOW_THREADS
;
6025 if (PyErr_Occurred()) return NULL
;
6026 } Py_INCREF(Py_None
);
6027 _resultobj
= Py_None
;
6031 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6032 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6035 wxPyTreeCtrl
* _arg0
;
6036 wxTreeItemId
* _arg1
;
6037 PyObject
* _argo0
= 0;
6038 PyObject
* _argo1
= 0;
6039 char *_kwnames
[] = { "self","item", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
6052 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
6062 wxPy_END_ALLOW_THREADS
;
6063 if (PyErr_Occurred()) return NULL
;
6065 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6073 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
6074 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6077 wxPyTreeCtrl
* _arg0
;
6078 wxTreeItemId
* _arg1
;
6079 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6080 PyObject
* _argo0
= 0;
6081 PyObject
* _argo1
= 0;
6082 char *_kwnames
[] = { "self","item","which", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
6095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
6102 wxPy_BEGIN_ALLOW_THREADS
;
6103 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
6105 wxPy_END_ALLOW_THREADS
;
6106 if (PyErr_Occurred()) return NULL
;
6107 } _resultobj
= Py_BuildValue("i",_result
);
6111 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6112 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
* _resultobj
;
6115 wxPyTreeCtrl
* _arg0
;
6116 wxTreeItemId
* _arg1
;
6117 PyObject
* _argo0
= 0;
6118 PyObject
* _argo1
= 0;
6119 char *_kwnames
[] = { "self","item", NULL
};
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
6125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6139 wxPy_BEGIN_ALLOW_THREADS
;
6140 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
6142 wxPy_END_ALLOW_THREADS
;
6143 if (PyErr_Occurred()) return NULL
;
6144 } _resultobj
= Py_BuildValue("i",_result
);
6148 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
6149 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6151 wxPyTreeCtrl
* _arg0
;
6152 wxTreeItemId
* _arg1
;
6154 PyObject
* _argo0
= 0;
6155 PyObject
* _argo1
= 0;
6156 PyObject
* _obj2
= 0;
6157 char *_kwnames
[] = { "self","item","text", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
6170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
6177 #if PYTHON_API_VERSION >= 1009
6178 char* tmpPtr
; int tmpSize
;
6179 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6183 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6185 _arg2
= new wxString(tmpPtr
, tmpSize
);
6187 if (!PyString_Check(_obj2
)) {
6188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6191 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6195 wxPy_BEGIN_ALLOW_THREADS
;
6196 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
6198 wxPy_END_ALLOW_THREADS
;
6199 if (PyErr_Occurred()) return NULL
;
6200 } Py_INCREF(Py_None
);
6201 _resultobj
= Py_None
;
6209 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
6210 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6212 wxPyTreeCtrl
* _arg0
;
6213 wxTreeItemId
* _arg1
;
6215 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6216 PyObject
* _argo0
= 0;
6217 PyObject
* _argo1
= 0;
6218 char *_kwnames
[] = { "self","item","image","which", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
6231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
6238 wxPy_BEGIN_ALLOW_THREADS
;
6239 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
6241 wxPy_END_ALLOW_THREADS
;
6242 if (PyErr_Occurred()) return NULL
;
6243 } Py_INCREF(Py_None
);
6244 _resultobj
= Py_None
;
6248 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
6249 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6251 wxPyTreeCtrl
* _arg0
;
6252 wxTreeItemId
* _arg1
;
6254 PyObject
* _argo0
= 0;
6255 PyObject
* _argo1
= 0;
6256 char *_kwnames
[] = { "self","item","image", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
6276 wxPy_BEGIN_ALLOW_THREADS
;
6277 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
6279 wxPy_END_ALLOW_THREADS
;
6280 if (PyErr_Occurred()) return NULL
;
6281 } Py_INCREF(Py_None
);
6282 _resultobj
= Py_None
;
6286 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
6287 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6289 wxPyTreeCtrl
* _arg0
;
6290 wxTreeItemId
* _arg1
;
6291 bool _arg2
= (bool ) TRUE
;
6292 PyObject
* _argo0
= 0;
6293 PyObject
* _argo1
= 0;
6294 int tempbool2
= (int) TRUE
;
6295 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
6308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
6314 _arg2
= (bool ) tempbool2
;
6316 wxPy_BEGIN_ALLOW_THREADS
;
6317 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
6319 wxPy_END_ALLOW_THREADS
;
6320 if (PyErr_Occurred()) return NULL
;
6321 } Py_INCREF(Py_None
);
6322 _resultobj
= Py_None
;
6326 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6327 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6329 data
= new wxPyTreeItemData();
6330 data
->SetId(item
); // set the id
6331 self
->SetItemData(item
, data
);
6335 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6337 wxPyTreeItemData
* _result
;
6338 wxPyTreeCtrl
* _arg0
;
6339 wxTreeItemId
* _arg1
;
6340 PyObject
* _argo0
= 0;
6341 PyObject
* _argo1
= 0;
6342 char *_kwnames
[] = { "self","item", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
6356 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
6363 wxPy_BEGIN_ALLOW_THREADS
;
6364 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
6366 wxPy_END_ALLOW_THREADS
;
6367 if (PyErr_Occurred()) return NULL
;
6369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6370 _resultobj
= Py_BuildValue("s",_ptemp
);
6373 _resultobj
= Py_None
;
6378 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
6379 data
->SetId(item
); // set the id
6380 self
->SetItemData(item
, data
);
6382 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6384 wxPyTreeCtrl
* _arg0
;
6385 wxTreeItemId
* _arg1
;
6386 wxPyTreeItemData
* _arg2
;
6387 PyObject
* _argo0
= 0;
6388 PyObject
* _argo1
= 0;
6389 PyObject
* _argo2
= 0;
6390 char *_kwnames
[] = { "self","item","data", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
6403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
6410 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
6417 wxPy_BEGIN_ALLOW_THREADS
;
6418 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
6420 wxPy_END_ALLOW_THREADS
;
6421 if (PyErr_Occurred()) return NULL
;
6422 } Py_INCREF(Py_None
);
6423 _resultobj
= Py_None
;
6427 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6428 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6430 data
= new wxPyTreeItemData();
6431 data
->SetId(item
); // set the id
6432 self
->SetItemData(item
, data
);
6434 return data
->GetData();
6436 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6439 wxPyTreeCtrl
* _arg0
;
6440 wxTreeItemId
* _arg1
;
6441 PyObject
* _argo0
= 0;
6442 PyObject
* _argo1
= 0;
6443 char *_kwnames
[] = { "self","item", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
6456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
6463 wxPy_BEGIN_ALLOW_THREADS
;
6464 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
6466 wxPy_END_ALLOW_THREADS
;
6467 if (PyErr_Occurred()) return NULL
;
6469 _resultobj
= _result
;
6474 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
6475 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6477 data
= new wxPyTreeItemData(obj
);
6478 data
->SetId(item
); // set the id
6479 self
->SetItemData(item
, data
);
6483 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
* _resultobj
;
6485 wxPyTreeCtrl
* _arg0
;
6486 wxTreeItemId
* _arg1
;
6488 PyObject
* _argo0
= 0;
6489 PyObject
* _argo1
= 0;
6490 PyObject
* _obj2
= 0;
6491 char *_kwnames
[] = { "self","item","obj", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
6504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
6514 wxPy_BEGIN_ALLOW_THREADS
;
6515 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
6517 wxPy_END_ALLOW_THREADS
;
6518 if (PyErr_Occurred()) return NULL
;
6519 } Py_INCREF(Py_None
);
6520 _resultobj
= Py_None
;
6524 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
6525 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6528 wxPyTreeCtrl
* _arg0
;
6529 wxTreeItemId
* _arg1
;
6530 PyObject
* _argo0
= 0;
6531 PyObject
* _argo1
= 0;
6532 char *_kwnames
[] = { "self","item", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
6545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
6552 wxPy_BEGIN_ALLOW_THREADS
;
6553 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
6555 wxPy_END_ALLOW_THREADS
;
6556 if (PyErr_Occurred()) return NULL
;
6557 } _resultobj
= Py_BuildValue("i",_result
);
6561 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6562 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
* _resultobj
;
6565 wxPyTreeCtrl
* _arg0
;
6566 wxTreeItemId
* _arg1
;
6567 PyObject
* _argo0
= 0;
6568 PyObject
* _argo1
= 0;
6569 char *_kwnames
[] = { "self","item", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6589 wxPy_BEGIN_ALLOW_THREADS
;
6590 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6592 wxPy_END_ALLOW_THREADS
;
6593 if (PyErr_Occurred()) return NULL
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6598 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6599 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6602 wxPyTreeCtrl
* _arg0
;
6603 wxTreeItemId
* _arg1
;
6604 PyObject
* _argo0
= 0;
6605 PyObject
* _argo1
= 0;
6606 char *_kwnames
[] = { "self","item", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6626 wxPy_BEGIN_ALLOW_THREADS
;
6627 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6629 wxPy_END_ALLOW_THREADS
;
6630 if (PyErr_Occurred()) return NULL
;
6631 } _resultobj
= Py_BuildValue("i",_result
);
6635 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6636 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6639 wxPyTreeCtrl
* _arg0
;
6640 wxTreeItemId
* _arg1
;
6641 PyObject
* _argo0
= 0;
6642 PyObject
* _argo1
= 0;
6643 char *_kwnames
[] = { "self","item", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6663 wxPy_BEGIN_ALLOW_THREADS
;
6664 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6666 wxPy_END_ALLOW_THREADS
;
6667 if (PyErr_Occurred()) return NULL
;
6668 } _resultobj
= Py_BuildValue("i",_result
);
6672 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6673 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
* _resultobj
;
6675 wxTreeItemId
* _result
;
6676 wxPyTreeCtrl
* _arg0
;
6677 PyObject
* _argo0
= 0;
6678 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6692 wxPy_BEGIN_ALLOW_THREADS
;
6693 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6695 wxPy_END_ALLOW_THREADS
;
6696 if (PyErr_Occurred()) return NULL
;
6697 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6698 _resultobj
= Py_BuildValue("s",_ptemp
);
6702 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6703 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
* _resultobj
;
6705 wxTreeItemId
* _result
;
6706 wxPyTreeCtrl
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6722 wxPy_BEGIN_ALLOW_THREADS
;
6723 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6725 wxPy_END_ALLOW_THREADS
;
6726 if (PyErr_Occurred()) return NULL
;
6727 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6728 _resultobj
= Py_BuildValue("s",_ptemp
);
6732 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6733 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6735 wxTreeItemId
* _result
;
6736 wxPyTreeCtrl
* _arg0
;
6737 wxTreeItemId
* _arg1
;
6738 PyObject
* _argo0
= 0;
6739 PyObject
* _argo1
= 0;
6740 char *_kwnames
[] = { "self","item", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6761 wxPy_BEGIN_ALLOW_THREADS
;
6762 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6764 wxPy_END_ALLOW_THREADS
;
6765 if (PyErr_Occurred()) return NULL
;
6766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6767 _resultobj
= Py_BuildValue("s",_ptemp
);
6771 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6772 bool doSave
= wxPyRestoreThread();
6773 PyObject
* rval
= PyList_New(0);
6774 wxArrayTreeItemIds array
;
6776 num
= self
->GetSelections(array
);
6777 for (x
=0; x
< num
; x
++) {
6778 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6779 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6780 PyList_Append(rval
, item
);
6782 wxPySaveThread(doSave
);
6785 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6788 wxPyTreeCtrl
* _arg0
;
6789 PyObject
* _argo0
= 0;
6790 char *_kwnames
[] = { "self", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6803 wxPy_BEGIN_ALLOW_THREADS
;
6804 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6806 wxPy_END_ALLOW_THREADS
;
6807 if (PyErr_Occurred()) return NULL
;
6809 _resultobj
= _result
;
6814 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6815 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6818 wxPyTreeCtrl
* _arg0
;
6819 wxTreeItemId
* _arg1
;
6820 bool _arg2
= (bool ) TRUE
;
6821 PyObject
* _argo0
= 0;
6822 PyObject
* _argo1
= 0;
6823 int tempbool2
= (int) TRUE
;
6824 char *_kwnames
[] = { "self","item","recursively", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6843 _arg2
= (bool ) tempbool2
;
6845 wxPy_BEGIN_ALLOW_THREADS
;
6846 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6848 wxPy_END_ALLOW_THREADS
;
6849 if (PyErr_Occurred()) return NULL
;
6850 } _resultobj
= Py_BuildValue("i",_result
);
6854 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6855 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
* _resultobj
;
6857 wxTreeItemId
* _result
;
6858 wxPyTreeCtrl
* _arg0
;
6859 wxTreeItemId
* _arg1
;
6861 PyObject
* _argo0
= 0;
6862 PyObject
* _argo1
= 0;
6864 PyObject
* _obj2
= 0;
6865 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6886 temp
= (long) PyInt_AsLong(_obj2
);
6890 wxPy_BEGIN_ALLOW_THREADS
;
6891 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6893 wxPy_END_ALLOW_THREADS
;
6894 if (PyErr_Occurred()) return NULL
;
6895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6896 _resultobj
= Py_BuildValue("s",_ptemp
);
6899 o
= PyInt_FromLong((long) (*_arg2
));
6900 _resultobj
= t_output_helper(_resultobj
, o
);
6905 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6906 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6908 wxTreeItemId
* _result
;
6909 wxPyTreeCtrl
* _arg0
;
6910 wxTreeItemId
* _arg1
;
6912 PyObject
* _argo0
= 0;
6913 PyObject
* _argo1
= 0;
6915 PyObject
* _obj2
= 0;
6916 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6937 temp
= (long) PyInt_AsLong(_obj2
);
6941 wxPy_BEGIN_ALLOW_THREADS
;
6942 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6944 wxPy_END_ALLOW_THREADS
;
6945 if (PyErr_Occurred()) return NULL
;
6946 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6947 _resultobj
= Py_BuildValue("s",_ptemp
);
6950 o
= PyInt_FromLong((long) (*_arg2
));
6951 _resultobj
= t_output_helper(_resultobj
, o
);
6956 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6957 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 wxTreeItemId
* _result
;
6960 wxPyTreeCtrl
* _arg0
;
6961 wxTreeItemId
* _arg1
;
6962 PyObject
* _argo0
= 0;
6963 PyObject
* _argo1
= 0;
6964 char *_kwnames
[] = { "self","item", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6985 wxPy_BEGIN_ALLOW_THREADS
;
6986 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6988 wxPy_END_ALLOW_THREADS
;
6989 if (PyErr_Occurred()) return NULL
;
6990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6991 _resultobj
= Py_BuildValue("s",_ptemp
);
6995 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6996 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
* _resultobj
;
6998 wxTreeItemId
* _result
;
6999 wxPyTreeCtrl
* _arg0
;
7000 wxTreeItemId
* _arg1
;
7001 PyObject
* _argo0
= 0;
7002 PyObject
* _argo1
= 0;
7003 char *_kwnames
[] = { "self","item", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7027 wxPy_END_ALLOW_THREADS
;
7028 if (PyErr_Occurred()) return NULL
;
7029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7030 _resultobj
= Py_BuildValue("s",_ptemp
);
7034 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7035 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7037 wxTreeItemId
* _result
;
7038 wxPyTreeCtrl
* _arg0
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
7054 wxPy_BEGIN_ALLOW_THREADS
;
7055 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
7057 wxPy_END_ALLOW_THREADS
;
7058 if (PyErr_Occurred()) return NULL
;
7059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7060 _resultobj
= Py_BuildValue("s",_ptemp
);
7064 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
7065 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
* _resultobj
;
7067 wxTreeItemId
* _result
;
7068 wxPyTreeCtrl
* _arg0
;
7069 wxTreeItemId
* _arg1
;
7070 PyObject
* _argo0
= 0;
7071 PyObject
* _argo1
= 0;
7072 char *_kwnames
[] = { "self","item", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
7086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7093 wxPy_BEGIN_ALLOW_THREADS
;
7094 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
7096 wxPy_END_ALLOW_THREADS
;
7097 if (PyErr_Occurred()) return NULL
;
7098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7099 _resultobj
= Py_BuildValue("s",_ptemp
);
7103 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
7104 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
* _resultobj
;
7106 wxTreeItemId
* _result
;
7107 wxPyTreeCtrl
* _arg0
;
7108 wxTreeItemId
* _arg1
;
7109 PyObject
* _argo0
= 0;
7110 PyObject
* _argo1
= 0;
7111 char *_kwnames
[] = { "self","item", NULL
};
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
7118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
7125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
7132 wxPy_BEGIN_ALLOW_THREADS
;
7133 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
7135 wxPy_END_ALLOW_THREADS
;
7136 if (PyErr_Occurred()) return NULL
;
7137 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7138 _resultobj
= Py_BuildValue("s",_ptemp
);
7142 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
7143 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7145 wxTreeItemId
* _result
;
7146 wxPyTreeCtrl
* _arg0
;
7147 wxTreeItemId
* _arg1
;
7148 PyObject
* _argo0
= 0;
7149 PyObject
* _argo1
= 0;
7150 char *_kwnames
[] = { "self","item", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
7164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
7171 wxPy_BEGIN_ALLOW_THREADS
;
7172 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
7174 wxPy_END_ALLOW_THREADS
;
7175 if (PyErr_Occurred()) return NULL
;
7176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7177 _resultobj
= Py_BuildValue("s",_ptemp
);
7181 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7182 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7184 wxTreeItemId
* _result
;
7185 wxPyTreeCtrl
* _arg0
;
7187 int _arg2
= (int ) -1;
7188 int _arg3
= (int ) -1;
7189 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
7190 PyObject
* _argo0
= 0;
7191 PyObject
* _obj1
= 0;
7192 PyObject
* _argo4
= 0;
7193 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
7200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
7207 #if PYTHON_API_VERSION >= 1009
7208 char* tmpPtr
; int tmpSize
;
7209 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7213 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7215 _arg1
= new wxString(tmpPtr
, tmpSize
);
7217 if (!PyString_Check(_obj1
)) {
7218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7221 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7225 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
7232 wxPy_BEGIN_ALLOW_THREADS
;
7233 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
7235 wxPy_END_ALLOW_THREADS
;
7236 if (PyErr_Occurred()) return NULL
;
7237 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7238 _resultobj
= Py_BuildValue("s",_ptemp
);
7246 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7247 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7249 wxTreeItemId
* _result
;
7250 wxPyTreeCtrl
* _arg0
;
7251 wxTreeItemId
* _arg1
;
7253 int _arg3
= (int ) -1;
7254 int _arg4
= (int ) -1;
7255 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7256 PyObject
* _argo0
= 0;
7257 PyObject
* _argo1
= 0;
7258 PyObject
* _obj2
= 0;
7259 PyObject
* _argo5
= 0;
7260 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
7274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
7281 #if PYTHON_API_VERSION >= 1009
7282 char* tmpPtr
; int tmpSize
;
7283 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7287 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7289 _arg2
= new wxString(tmpPtr
, tmpSize
);
7291 if (!PyString_Check(_obj2
)) {
7292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7295 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7299 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
7306 wxPy_BEGIN_ALLOW_THREADS
;
7307 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7309 wxPy_END_ALLOW_THREADS
;
7310 if (PyErr_Occurred()) return NULL
;
7311 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7312 _resultobj
= Py_BuildValue("s",_ptemp
);
7320 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7321 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7323 wxTreeItemId
* _result
;
7324 wxPyTreeCtrl
* _arg0
;
7325 wxTreeItemId
* _arg1
;
7326 wxTreeItemId
* _arg2
;
7328 int _arg4
= (int ) -1;
7329 int _arg5
= (int ) -1;
7330 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
7331 PyObject
* _argo0
= 0;
7332 PyObject
* _argo1
= 0;
7333 PyObject
* _argo2
= 0;
7334 PyObject
* _obj3
= 0;
7335 PyObject
* _argo6
= 0;
7336 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
7350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
7357 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
7364 #if PYTHON_API_VERSION >= 1009
7365 char* tmpPtr
; int tmpSize
;
7366 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7370 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7372 _arg3
= new wxString(tmpPtr
, tmpSize
);
7374 if (!PyString_Check(_obj3
)) {
7375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7378 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7382 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
7389 wxPy_BEGIN_ALLOW_THREADS
;
7390 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7392 wxPy_END_ALLOW_THREADS
;
7393 if (PyErr_Occurred()) return NULL
;
7394 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7395 _resultobj
= Py_BuildValue("s",_ptemp
);
7403 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7404 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7406 wxTreeItemId
* _result
;
7407 wxPyTreeCtrl
* _arg0
;
7408 wxTreeItemId
* _arg1
;
7411 int _arg4
= (int ) -1;
7412 int _arg5
= (int ) -1;
7413 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
7414 PyObject
* _argo0
= 0;
7415 PyObject
* _argo1
= 0;
7416 PyObject
* _obj3
= 0;
7417 PyObject
* _argo6
= 0;
7418 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
7425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
7432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
7439 #if PYTHON_API_VERSION >= 1009
7440 char* tmpPtr
; int tmpSize
;
7441 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7445 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7447 _arg3
= new wxString(tmpPtr
, tmpSize
);
7449 if (!PyString_Check(_obj3
)) {
7450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7453 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7457 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7458 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
7459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
7464 wxPy_BEGIN_ALLOW_THREADS
;
7465 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7467 wxPy_END_ALLOW_THREADS
;
7468 if (PyErr_Occurred()) return NULL
;
7469 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7470 _resultobj
= Py_BuildValue("s",_ptemp
);
7478 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7479 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7481 wxTreeItemId
* _result
;
7482 wxPyTreeCtrl
* _arg0
;
7483 wxTreeItemId
* _arg1
;
7485 int _arg3
= (int ) -1;
7486 int _arg4
= (int ) -1;
7487 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7488 PyObject
* _argo0
= 0;
7489 PyObject
* _argo1
= 0;
7490 PyObject
* _obj2
= 0;
7491 PyObject
* _argo5
= 0;
7492 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
7506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
7513 #if PYTHON_API_VERSION >= 1009
7514 char* tmpPtr
; int tmpSize
;
7515 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7519 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7521 _arg2
= new wxString(tmpPtr
, tmpSize
);
7523 if (!PyString_Check(_obj2
)) {
7524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7527 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7531 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
7538 wxPy_BEGIN_ALLOW_THREADS
;
7539 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7541 wxPy_END_ALLOW_THREADS
;
7542 if (PyErr_Occurred()) return NULL
;
7543 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7544 _resultobj
= Py_BuildValue("s",_ptemp
);
7552 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7553 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
* _resultobj
;
7555 wxPyTreeCtrl
* _arg0
;
7556 wxTreeItemId
* _arg1
;
7557 PyObject
* _argo0
= 0;
7558 PyObject
* _argo1
= 0;
7559 char *_kwnames
[] = { "self","item", NULL
};
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
7565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
7572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7579 wxPy_BEGIN_ALLOW_THREADS
;
7580 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7582 wxPy_END_ALLOW_THREADS
;
7583 if (PyErr_Occurred()) return NULL
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7589 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7590 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7592 wxPyTreeCtrl
* _arg0
;
7593 wxTreeItemId
* _arg1
;
7594 PyObject
* _argo0
= 0;
7595 PyObject
* _argo1
= 0;
7596 char *_kwnames
[] = { "self","item", NULL
};
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7616 wxPy_BEGIN_ALLOW_THREADS
;
7617 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7619 wxPy_END_ALLOW_THREADS
;
7620 if (PyErr_Occurred()) return NULL
;
7621 } Py_INCREF(Py_None
);
7622 _resultobj
= Py_None
;
7626 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7627 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7629 wxPyTreeCtrl
* _arg0
;
7630 PyObject
* _argo0
= 0;
7631 char *_kwnames
[] = { "self", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7644 wxPy_BEGIN_ALLOW_THREADS
;
7645 wxTreeCtrl_DeleteAllItems(_arg0
);
7647 wxPy_END_ALLOW_THREADS
;
7648 if (PyErr_Occurred()) return NULL
;
7649 } Py_INCREF(Py_None
);
7650 _resultobj
= Py_None
;
7654 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7655 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
* _resultobj
;
7657 wxPyTreeCtrl
* _arg0
;
7658 wxTreeItemId
* _arg1
;
7659 PyObject
* _argo0
= 0;
7660 PyObject
* _argo1
= 0;
7661 char *_kwnames
[] = { "self","item", NULL
};
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7681 wxPy_BEGIN_ALLOW_THREADS
;
7682 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7684 wxPy_END_ALLOW_THREADS
;
7685 if (PyErr_Occurred()) return NULL
;
7686 } Py_INCREF(Py_None
);
7687 _resultobj
= Py_None
;
7691 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7692 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
* _resultobj
;
7694 wxPyTreeCtrl
* _arg0
;
7695 wxTreeItemId
* _arg1
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7698 char *_kwnames
[] = { "self","item", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7718 wxPy_BEGIN_ALLOW_THREADS
;
7719 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7721 wxPy_END_ALLOW_THREADS
;
7722 if (PyErr_Occurred()) return NULL
;
7723 } Py_INCREF(Py_None
);
7724 _resultobj
= Py_None
;
7728 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7729 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7731 wxPyTreeCtrl
* _arg0
;
7732 wxTreeItemId
* _arg1
;
7733 PyObject
* _argo0
= 0;
7734 PyObject
* _argo1
= 0;
7735 char *_kwnames
[] = { "self","item", NULL
};
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7755 wxPy_BEGIN_ALLOW_THREADS
;
7756 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7758 wxPy_END_ALLOW_THREADS
;
7759 if (PyErr_Occurred()) return NULL
;
7760 } Py_INCREF(Py_None
);
7761 _resultobj
= Py_None
;
7765 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7766 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
* _resultobj
;
7768 wxPyTreeCtrl
* _arg0
;
7769 wxTreeItemId
* _arg1
;
7770 PyObject
* _argo0
= 0;
7771 PyObject
* _argo1
= 0;
7772 char *_kwnames
[] = { "self","item", NULL
};
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7792 wxPy_BEGIN_ALLOW_THREADS
;
7793 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7795 wxPy_END_ALLOW_THREADS
;
7796 if (PyErr_Occurred()) return NULL
;
7797 } Py_INCREF(Py_None
);
7798 _resultobj
= Py_None
;
7802 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7803 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
* _resultobj
;
7805 wxPyTreeCtrl
* _arg0
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 wxTreeCtrl_Unselect(_arg0
);
7823 wxPy_END_ALLOW_THREADS
;
7824 if (PyErr_Occurred()) return NULL
;
7825 } Py_INCREF(Py_None
);
7826 _resultobj
= Py_None
;
7830 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7831 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7833 wxPyTreeCtrl
* _arg0
;
7834 PyObject
* _argo0
= 0;
7835 char *_kwnames
[] = { "self", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7848 wxPy_BEGIN_ALLOW_THREADS
;
7849 wxTreeCtrl_UnselectAll(_arg0
);
7851 wxPy_END_ALLOW_THREADS
;
7852 if (PyErr_Occurred()) return NULL
;
7853 } Py_INCREF(Py_None
);
7854 _resultobj
= Py_None
;
7858 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7859 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
* _resultobj
;
7861 wxPyTreeCtrl
* _arg0
;
7862 wxTreeItemId
* _arg1
;
7863 PyObject
* _argo0
= 0;
7864 PyObject
* _argo1
= 0;
7865 char *_kwnames
[] = { "self","item", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7885 wxPy_BEGIN_ALLOW_THREADS
;
7886 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7888 wxPy_END_ALLOW_THREADS
;
7889 if (PyErr_Occurred()) return NULL
;
7890 } Py_INCREF(Py_None
);
7891 _resultobj
= Py_None
;
7895 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7896 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
* _resultobj
;
7898 wxPyTreeCtrl
* _arg0
;
7899 wxTreeItemId
* _arg1
;
7900 PyObject
* _argo0
= 0;
7901 PyObject
* _argo1
= 0;
7902 char *_kwnames
[] = { "self","item", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7922 wxPy_BEGIN_ALLOW_THREADS
;
7923 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7925 wxPy_END_ALLOW_THREADS
;
7926 if (PyErr_Occurred()) return NULL
;
7927 } Py_INCREF(Py_None
);
7928 _resultobj
= Py_None
;
7932 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7933 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
* _resultobj
;
7935 wxPyTreeCtrl
* _arg0
;
7936 wxTreeItemId
* _arg1
;
7937 PyObject
* _argo0
= 0;
7938 PyObject
* _argo1
= 0;
7939 char *_kwnames
[] = { "self","item", NULL
};
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7959 wxPy_BEGIN_ALLOW_THREADS
;
7960 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7962 wxPy_END_ALLOW_THREADS
;
7963 if (PyErr_Occurred()) return NULL
;
7964 } Py_INCREF(Py_None
);
7965 _resultobj
= Py_None
;
7969 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7970 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
* _resultobj
;
7972 wxTextCtrl
* _result
;
7973 wxPyTreeCtrl
* _arg0
;
7974 wxTreeItemId
* _arg1
;
7975 PyObject
* _argo0
= 0;
7976 PyObject
* _argo1
= 0;
7977 char *_kwnames
[] = { "self","item", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7997 wxPy_BEGIN_ALLOW_THREADS
;
7998 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8000 wxPy_END_ALLOW_THREADS
;
8001 if (PyErr_Occurred()) return NULL
;
8002 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8006 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
8007 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8009 wxTextCtrl
* _result
;
8010 wxPyTreeCtrl
* _arg0
;
8011 PyObject
* _argo0
= 0;
8012 char *_kwnames
[] = { "self", NULL
};
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
8018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
8025 wxPy_BEGIN_ALLOW_THREADS
;
8026 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
8028 wxPy_END_ALLOW_THREADS
;
8029 if (PyErr_Occurred()) return NULL
;
8030 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8034 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
8035 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8037 wxPyTreeCtrl
* _arg0
;
8038 wxTreeItemId
* _arg1
;
8039 int _arg2
= (int ) FALSE
;
8040 PyObject
* _argo0
= 0;
8041 PyObject
* _argo1
= 0;
8042 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
8055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8062 wxPy_BEGIN_ALLOW_THREADS
;
8063 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
8065 wxPy_END_ALLOW_THREADS
;
8066 if (PyErr_Occurred()) return NULL
;
8067 } Py_INCREF(Py_None
);
8068 _resultobj
= Py_None
;
8072 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8073 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
* _resultobj
;
8075 wxPyTreeCtrl
* _arg0
;
8076 wxTreeItemId
* _arg1
;
8077 PyObject
* _argo0
= 0;
8078 PyObject
* _argo1
= 0;
8079 char *_kwnames
[] = { "self","item", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8099 wxPy_BEGIN_ALLOW_THREADS
;
8100 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8102 wxPy_END_ALLOW_THREADS
;
8103 if (PyErr_Occurred()) return NULL
;
8104 } Py_INCREF(Py_None
);
8105 _resultobj
= Py_None
;
8109 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
8110 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8112 wxPyTreeCtrl
* _arg0
;
8113 wxTreeItemId
* _arg1
;
8114 int _arg2
= (int ) TRUE
;
8115 PyObject
* _argo0
= 0;
8116 PyObject
* _argo1
= 0;
8117 char *_kwnames
[] = { "self","item","bold", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
8130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8137 wxPy_BEGIN_ALLOW_THREADS
;
8138 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
8140 wxPy_END_ALLOW_THREADS
;
8141 if (PyErr_Occurred()) return NULL
;
8142 } Py_INCREF(Py_None
);
8143 _resultobj
= Py_None
;
8147 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
8148 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8151 wxPyTreeCtrl
* _arg0
;
8152 wxTreeItemId
* _arg1
;
8153 PyObject
* _argo0
= 0;
8154 PyObject
* _argo1
= 0;
8155 char *_kwnames
[] = { "self","item", NULL
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
8161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
8168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8175 wxPy_BEGIN_ALLOW_THREADS
;
8176 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
8178 wxPy_END_ALLOW_THREADS
;
8179 if (PyErr_Occurred()) return NULL
;
8180 } _resultobj
= Py_BuildValue("i",_result
);
8184 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
8185 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
* _resultobj
;
8187 wxTreeItemId
* _result
;
8188 wxPyTreeCtrl
* _arg0
;
8192 PyObject
* _argo0
= 0;
8194 PyObject
* _obj1
= 0;
8195 char *_kwnames
[] = { "self","point", NULL
};
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
8205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
8213 if (! wxPoint_helper(_obj1
, &_arg1
))
8217 wxPy_BEGIN_ALLOW_THREADS
;
8218 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
8220 wxPy_END_ALLOW_THREADS
;
8221 if (PyErr_Occurred()) return NULL
;
8222 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8223 _resultobj
= Py_BuildValue("s",_ptemp
);
8226 o
= PyInt_FromLong((long) (*_arg2
));
8227 _resultobj
= t_output_helper(_resultobj
, o
);
8232 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8233 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
* _resultobj
;
8235 wxPyTreeCtrl
* _arg0
;
8236 wxTreeItemId
* _arg1
;
8238 PyObject
* _argo0
= 0;
8239 PyObject
* _argo1
= 0;
8241 PyObject
* _obj2
= 0;
8242 char *_kwnames
[] = { "self","item","col", NULL
};
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
8255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
8263 if (! wxColour_helper(_obj2
, &_arg2
))
8267 wxPy_BEGIN_ALLOW_THREADS
;
8268 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
8270 wxPy_END_ALLOW_THREADS
;
8271 if (PyErr_Occurred()) return NULL
;
8272 } Py_INCREF(Py_None
);
8273 _resultobj
= Py_None
;
8277 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
8278 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
* _resultobj
;
8280 wxPyTreeCtrl
* _arg0
;
8281 wxTreeItemId
* _arg1
;
8283 PyObject
* _argo0
= 0;
8284 PyObject
* _argo1
= 0;
8286 PyObject
* _obj2
= 0;
8287 char *_kwnames
[] = { "self","item","col", NULL
};
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
8300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
8308 if (! wxColour_helper(_obj2
, &_arg2
))
8312 wxPy_BEGIN_ALLOW_THREADS
;
8313 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
8315 wxPy_END_ALLOW_THREADS
;
8316 if (PyErr_Occurred()) return NULL
;
8317 } Py_INCREF(Py_None
);
8318 _resultobj
= Py_None
;
8322 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
8323 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
* _resultobj
;
8325 wxPyTreeCtrl
* _arg0
;
8326 wxTreeItemId
* _arg1
;
8328 PyObject
* _argo0
= 0;
8329 PyObject
* _argo1
= 0;
8330 PyObject
* _argo2
= 0;
8331 char *_kwnames
[] = { "self","item","font", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
8344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
8351 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8352 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
8353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
8358 wxPy_BEGIN_ALLOW_THREADS
;
8359 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
8361 wxPy_END_ALLOW_THREADS
;
8362 if (PyErr_Occurred()) return NULL
;
8363 } Py_INCREF(Py_None
);
8364 _resultobj
= Py_None
;
8368 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
8369 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
* _resultobj
;
8371 wxPyTreeCtrl
* _arg0
;
8372 wxTreeItemId
* _arg1
;
8373 int _arg2
= (int ) TRUE
;
8374 PyObject
* _argo0
= 0;
8375 PyObject
* _argo1
= 0;
8376 char *_kwnames
[] = { "self","item","highlight", NULL
};
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
8389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
8396 wxPy_BEGIN_ALLOW_THREADS
;
8397 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
8399 wxPy_END_ALLOW_THREADS
;
8400 if (PyErr_Occurred()) return NULL
;
8401 } Py_INCREF(Py_None
);
8402 _resultobj
= Py_None
;
8406 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
8408 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
8409 bool doSave
= wxPyRestoreThread();
8410 wxRect
* r
= new wxRect(rect
);
8411 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
8412 wxPySaveThread(doSave
);
8420 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
* _resultobj
;
8423 wxPyTreeCtrl
* _arg0
;
8424 wxTreeItemId
* _arg1
;
8425 int _arg2
= (int ) FALSE
;
8426 PyObject
* _argo0
= 0;
8427 PyObject
* _argo1
= 0;
8428 char *_kwnames
[] = { "self","item","textOnly", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
8441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
8448 wxPy_BEGIN_ALLOW_THREADS
;
8449 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
8451 wxPy_END_ALLOW_THREADS
;
8452 if (PyErr_Occurred()) return NULL
;
8454 _resultobj
= _result
;
8459 static PyMethodDef controls2cMethods
[] = {
8460 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
8566 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
8567 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
8568 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8569 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8570 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8571 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
8572 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8573 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
8574 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
8575 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8576 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8577 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8578 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8579 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
8580 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8581 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8582 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
8583 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8584 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8585 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8586 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8587 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8588 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8589 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8590 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8591 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8592 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
8593 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8594 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8595 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
8596 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8597 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8598 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8599 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8600 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8601 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8602 { "wxListCtrl__setSelf", (PyCFunction
) _wrap_wxListCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8603 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8604 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8605 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8606 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8607 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8608 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8609 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8610 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8611 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
8612 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8613 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8614 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
8615 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
8616 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8617 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
8618 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
8619 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
8620 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
8621 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
8622 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
8623 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8624 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8625 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8626 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8627 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8628 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8629 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
8630 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
8631 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
8632 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
8633 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
8634 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
8635 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
8636 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
8637 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
8638 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
8639 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
8640 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
8641 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
8642 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
8643 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
8644 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
8645 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8646 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8647 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
8648 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
8649 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
8650 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
8651 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8652 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8653 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8654 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8655 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8656 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8657 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8658 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8659 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8660 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8661 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
8662 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8663 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8664 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8665 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8666 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8667 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8668 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8669 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8670 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8671 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
8672 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8673 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
8674 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
8675 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8676 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8677 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8678 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8679 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8680 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8681 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8682 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8683 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8684 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8685 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
8686 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8687 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8688 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8689 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8690 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8691 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
8698 * This table is used by the pointer type-checker
8700 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8701 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8702 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8703 { "_signed_long","_long",0},
8704 { "_wxPrintQuality","_wxCoord",0},
8705 { "_wxPrintQuality","_int",0},
8706 { "_wxPrintQuality","_signed_int",0},
8707 { "_wxPrintQuality","_unsigned_int",0},
8708 { "_wxPrintQuality","_wxWindowID",0},
8709 { "_wxPrintQuality","_uint",0},
8710 { "_wxPrintQuality","_EBool",0},
8711 { "_wxPrintQuality","_size_t",0},
8712 { "_wxPrintQuality","_time_t",0},
8713 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8714 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8715 { "_byte","_unsigned_char",0},
8716 { "_long","_unsigned_long",0},
8717 { "_long","_signed_long",0},
8718 { "_size_t","_wxCoord",0},
8719 { "_size_t","_wxPrintQuality",0},
8720 { "_size_t","_time_t",0},
8721 { "_size_t","_unsigned_int",0},
8722 { "_size_t","_int",0},
8723 { "_size_t","_wxWindowID",0},
8724 { "_size_t","_uint",0},
8725 { "_uint","_wxCoord",0},
8726 { "_uint","_wxPrintQuality",0},
8727 { "_uint","_time_t",0},
8728 { "_uint","_size_t",0},
8729 { "_uint","_unsigned_int",0},
8730 { "_uint","_int",0},
8731 { "_uint","_wxWindowID",0},
8732 { "_wxChar","_char",0},
8733 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8734 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8735 { "_char","_wxChar",0},
8736 { "_EBool","_wxCoord",0},
8737 { "_EBool","_wxPrintQuality",0},
8738 { "_EBool","_signed_int",0},
8739 { "_EBool","_int",0},
8740 { "_EBool","_wxWindowID",0},
8741 { "_unsigned_long","_long",0},
8742 { "_signed_int","_wxCoord",0},
8743 { "_signed_int","_wxPrintQuality",0},
8744 { "_signed_int","_EBool",0},
8745 { "_signed_int","_wxWindowID",0},
8746 { "_signed_int","_int",0},
8747 { "_WXTYPE","_short",0},
8748 { "_WXTYPE","_signed_short",0},
8749 { "_WXTYPE","_unsigned_short",0},
8750 { "_unsigned_short","_WXTYPE",0},
8751 { "_unsigned_short","_short",0},
8752 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8753 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
8754 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8755 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
8756 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
8757 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
8758 { "_signed_short","_WXTYPE",0},
8759 { "_signed_short","_short",0},
8760 { "_unsigned_char","_byte",0},
8761 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8762 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
8763 { "_unsigned_int","_wxCoord",0},
8764 { "_unsigned_int","_wxPrintQuality",0},
8765 { "_unsigned_int","_time_t",0},
8766 { "_unsigned_int","_size_t",0},
8767 { "_unsigned_int","_uint",0},
8768 { "_unsigned_int","_wxWindowID",0},
8769 { "_unsigned_int","_int",0},
8770 { "_short","_WXTYPE",0},
8771 { "_short","_unsigned_short",0},
8772 { "_short","_signed_short",0},
8773 { "_wxWindowID","_wxCoord",0},
8774 { "_wxWindowID","_wxPrintQuality",0},
8775 { "_wxWindowID","_time_t",0},
8776 { "_wxWindowID","_size_t",0},
8777 { "_wxWindowID","_EBool",0},
8778 { "_wxWindowID","_uint",0},
8779 { "_wxWindowID","_int",0},
8780 { "_wxWindowID","_signed_int",0},
8781 { "_wxWindowID","_unsigned_int",0},
8782 { "_int","_wxCoord",0},
8783 { "_int","_wxPrintQuality",0},
8784 { "_int","_time_t",0},
8785 { "_int","_size_t",0},
8786 { "_int","_EBool",0},
8787 { "_int","_uint",0},
8788 { "_int","_wxWindowID",0},
8789 { "_int","_unsigned_int",0},
8790 { "_int","_signed_int",0},
8791 { "_time_t","_wxCoord",0},
8792 { "_time_t","_wxPrintQuality",0},
8793 { "_time_t","_unsigned_int",0},
8794 { "_time_t","_int",0},
8795 { "_time_t","_wxWindowID",0},
8796 { "_time_t","_uint",0},
8797 { "_time_t","_size_t",0},
8798 { "_wxCoord","_int",0},
8799 { "_wxCoord","_signed_int",0},
8800 { "_wxCoord","_unsigned_int",0},
8801 { "_wxCoord","_wxWindowID",0},
8802 { "_wxCoord","_uint",0},
8803 { "_wxCoord","_EBool",0},
8804 { "_wxCoord","_size_t",0},
8805 { "_wxCoord","_time_t",0},
8806 { "_wxCoord","_wxPrintQuality",0},
8807 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8808 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
8809 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8810 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
8813 static PyObject
*SWIG_globals
;
8817 SWIGEXPORT(void) initcontrols2c() {
8819 SWIG_globals
= SWIG_newvarlink();
8820 m
= Py_InitModule("controls2c", controls2cMethods
);
8821 d
= PyModule_GetDict(m
);
8822 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8823 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8824 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8825 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8826 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8827 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8828 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8829 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8830 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8831 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8832 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8833 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8834 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8835 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8836 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8837 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8838 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
8839 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
8840 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
8841 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
8842 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
8843 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
8844 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
8845 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
8846 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
8847 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
8848 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
8849 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
8850 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
8851 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
8852 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
8853 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
8854 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
8855 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
8856 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
8857 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
8858 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8859 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8860 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8861 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8862 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
8863 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8864 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8865 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8866 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8867 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8868 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8869 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8870 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8871 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8872 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8873 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8874 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8875 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8876 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8877 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8878 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8879 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8880 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8881 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8882 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8883 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8884 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8885 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8886 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8887 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8888 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8889 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8890 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8891 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8892 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8893 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8894 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8895 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8896 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8897 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8898 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8899 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8900 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8901 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8902 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8903 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8904 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8905 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8906 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8907 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8908 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8909 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8910 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8911 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8912 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8913 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8914 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8915 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8916 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8917 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8918 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8919 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8920 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8921 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8922 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8923 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8924 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8925 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8926 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8927 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8928 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8929 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8930 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8931 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8932 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8933 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8934 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8935 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8936 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8937 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8938 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
8940 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
8941 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
8944 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8945 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);