2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
66 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyList_Check(target
)) {
76 target
= PyList_New(0);
77 PyList_Append(target
, o2
);
80 PyList_Append(target
,o
);
86 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
92 } else if (target
== Py_None
) {
96 if (!PyTuple_Check(target
)) {
98 target
= PyTuple_New(1);
99 PyTuple_SetItem(target
, 0, o2
);
102 PyTuple_SetItem(o3
, 0, o
);
105 target
= PySequence_Concat(o2
, o3
);
112 #if PYTHON_API_VERSION >= 1009
113 static char* wxStringErrorMsg
= "String or Unicode type required";
115 static char* wxStringErrorMsg
= "string type is required for parameter";
118 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
120 PyObject
* func
= (PyObject
*)funcPtr
;
121 bool doSave
= wxPyRestoreThread();
123 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
124 PyObject
* result
= PyEval_CallObject(func
, args
);
127 retval
= PyInt_AsLong(result
);
131 wxPySaveThread(doSave
);
136 class wxPyTreeItemData
: public wxTreeItemData
{
138 wxPyTreeItemData(PyObject
* obj
= NULL
) {
145 ~wxPyTreeItemData() {
146 bool doSave
= wxPyRestoreThread();
148 wxPySaveThread(doSave
);
151 PyObject
* GetData() {
156 void SetData(PyObject
* obj
) {
157 bool doSave
= wxPyRestoreThread();
159 wxPySaveThread(doSave
);
167 class wxPyTreeCtrl
: public wxTreeCtrl
{
168 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
170 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
174 const wxValidator
& validator
,
176 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
178 int OnCompareItems(const wxTreeItemId
& item1
,
179 const wxTreeItemId
& item2
) {
181 bool doSave
= wxPyRestoreThread();
182 if (m_myInst
.findCallback("OnCompareItems"))
183 rval
= m_myInst
.callCallback(Py_BuildValue(
185 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
186 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
188 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
189 wxPySaveThread(doSave
);
195 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
200 #define new_wxListItemAttr() (new wxListItemAttr())
201 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
203 wxListItemAttr
* _result
;
204 char *_kwnames
[] = { NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
211 wxPy_BEGIN_ALLOW_THREADS
;
212 _result
= (wxListItemAttr
*)new_wxListItemAttr();
214 wxPy_END_ALLOW_THREADS
;
216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
217 _resultobj
= Py_BuildValue("s",_ptemp
);
220 _resultobj
= Py_None
;
225 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
226 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
228 wxListItemAttr
* _arg0
;
230 PyObject
* _argo0
= 0;
232 PyObject
* _obj1
= 0;
233 char *_kwnames
[] = { "self","colText", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
247 if (! wxColour_helper(_obj1
, &_arg1
))
251 wxPy_BEGIN_ALLOW_THREADS
;
252 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
254 wxPy_END_ALLOW_THREADS
;
255 } Py_INCREF(Py_None
);
256 _resultobj
= Py_None
;
260 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
261 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
263 wxListItemAttr
* _arg0
;
265 PyObject
* _argo0
= 0;
267 PyObject
* _obj1
= 0;
268 char *_kwnames
[] = { "self","colBack", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
282 if (! wxColour_helper(_obj1
, &_arg1
))
286 wxPy_BEGIN_ALLOW_THREADS
;
287 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
289 wxPy_END_ALLOW_THREADS
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
296 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
297 PyObject
* _resultobj
;
298 wxListItemAttr
* _arg0
;
300 PyObject
* _argo0
= 0;
301 PyObject
* _argo1
= 0;
302 char *_kwnames
[] = { "self","font", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
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_SetFont. Expected _wxListItemAttr_p.");
315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
322 wxPy_BEGIN_ALLOW_THREADS
;
323 wxListItemAttr_SetFont(_arg0
,*_arg1
);
325 wxPy_END_ALLOW_THREADS
;
326 } Py_INCREF(Py_None
);
327 _resultobj
= Py_None
;
331 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
332 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
335 wxListItemAttr
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
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_HasTextColour. Expected _wxListItemAttr_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
353 wxPy_END_ALLOW_THREADS
;
354 } _resultobj
= Py_BuildValue("i",_result
);
358 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
359 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
360 PyObject
* _resultobj
;
362 wxListItemAttr
* _arg0
;
363 PyObject
* _argo0
= 0;
364 char *_kwnames
[] = { "self", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
377 wxPy_BEGIN_ALLOW_THREADS
;
378 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
380 wxPy_END_ALLOW_THREADS
;
381 } _resultobj
= Py_BuildValue("i",_result
);
385 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
386 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
387 PyObject
* _resultobj
;
389 wxListItemAttr
* _arg0
;
390 PyObject
* _argo0
= 0;
391 char *_kwnames
[] = { "self", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
404 wxPy_BEGIN_ALLOW_THREADS
;
405 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
407 wxPy_END_ALLOW_THREADS
;
408 } _resultobj
= Py_BuildValue("i",_result
);
412 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
413 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
416 wxListItemAttr
* _arg0
;
417 PyObject
* _argo0
= 0;
418 char *_kwnames
[] = { "self", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
432 wxPy_BEGIN_ALLOW_THREADS
;
433 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
434 _result
= (wxColour
*) &_result_ref
;
436 wxPy_END_ALLOW_THREADS
;
438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
439 _resultobj
= Py_BuildValue("s",_ptemp
);
442 _resultobj
= Py_None
;
447 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
448 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
451 wxListItemAttr
* _arg0
;
452 PyObject
* _argo0
= 0;
453 char *_kwnames
[] = { "self", NULL
};
457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
467 wxPy_BEGIN_ALLOW_THREADS
;
468 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
469 _result
= (wxColour
*) &_result_ref
;
471 wxPy_END_ALLOW_THREADS
;
473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
474 _resultobj
= Py_BuildValue("s",_ptemp
);
477 _resultobj
= Py_None
;
482 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
483 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
486 wxListItemAttr
* _arg0
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
502 wxPy_BEGIN_ALLOW_THREADS
;
503 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
504 _result
= (wxFont
*) &_result_ref
;
506 wxPy_END_ALLOW_THREADS
;
508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
512 _resultobj
= Py_None
;
517 static void *SwigwxListItemTowxObject(void *ptr
) {
520 src
= (wxListItem
*) ptr
;
521 dest
= (wxObject
*) src
;
522 return (void *) dest
;
525 #define new_wxListItem() (new wxListItem())
526 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
527 PyObject
* _resultobj
;
528 wxListItem
* _result
;
529 char *_kwnames
[] = { NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
536 wxPy_BEGIN_ALLOW_THREADS
;
537 _result
= (wxListItem
*)new_wxListItem();
539 wxPy_END_ALLOW_THREADS
;
541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
542 _resultobj
= Py_BuildValue("s",_ptemp
);
545 _resultobj
= Py_None
;
550 #define delete_wxListItem(_swigobj) (delete _swigobj)
551 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
554 PyObject
* _argo0
= 0;
555 char *_kwnames
[] = { "self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
568 wxPy_BEGIN_ALLOW_THREADS
;
569 delete_wxListItem(_arg0
);
571 wxPy_END_ALLOW_THREADS
;
572 } Py_INCREF(Py_None
);
573 _resultobj
= Py_None
;
577 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
578 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 PyObject
* _argo0
= 0;
582 char *_kwnames
[] = { "self", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
595 wxPy_BEGIN_ALLOW_THREADS
;
596 wxListItem_Clear(_arg0
);
598 wxPy_END_ALLOW_THREADS
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
605 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 wxListItem_ClearAttributes(_arg0
);
625 wxPy_END_ALLOW_THREADS
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
632 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
636 PyObject
* _argo0
= 0;
637 char *_kwnames
[] = { "self","mask", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
650 wxPy_BEGIN_ALLOW_THREADS
;
651 wxListItem_SetMask(_arg0
,_arg1
);
653 wxPy_END_ALLOW_THREADS
;
654 } Py_INCREF(Py_None
);
655 _resultobj
= Py_None
;
659 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
660 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self","id", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
678 wxPy_BEGIN_ALLOW_THREADS
;
679 wxListItem_SetId(_arg0
,_arg1
);
681 wxPy_END_ALLOW_THREADS
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
688 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self","col", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
706 wxPy_BEGIN_ALLOW_THREADS
;
707 wxListItem_SetColumn(_arg0
,_arg1
);
709 wxPy_END_ALLOW_THREADS
;
710 } Py_INCREF(Py_None
);
711 _resultobj
= Py_None
;
715 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
716 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self","state", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
734 wxPy_BEGIN_ALLOW_THREADS
;
735 wxListItem_SetState(_arg0
,_arg1
);
737 wxPy_END_ALLOW_THREADS
;
738 } Py_INCREF(Py_None
);
739 _resultobj
= Py_None
;
743 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
744 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
745 PyObject
* _resultobj
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self","stateMask", NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
762 wxPy_BEGIN_ALLOW_THREADS
;
763 wxListItem_SetStateMask(_arg0
,_arg1
);
765 wxPy_END_ALLOW_THREADS
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
772 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
776 PyObject
* _argo0
= 0;
777 PyObject
* _obj1
= 0;
778 char *_kwnames
[] = { "self","text", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
791 #if PYTHON_API_VERSION >= 1009
792 char* tmpPtr
; int tmpSize
;
793 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
797 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
799 _arg1
= new wxString(tmpPtr
, tmpSize
);
801 if (!PyString_Check(_obj1
)) {
802 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
805 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
809 wxPy_BEGIN_ALLOW_THREADS
;
810 wxListItem_SetText(_arg0
,*_arg1
);
812 wxPy_END_ALLOW_THREADS
;
813 } Py_INCREF(Py_None
);
814 _resultobj
= Py_None
;
822 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
823 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","image", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 wxListItem_SetImage(_arg0
,_arg1
);
844 wxPy_END_ALLOW_THREADS
;
845 } Py_INCREF(Py_None
);
846 _resultobj
= Py_None
;
850 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
851 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
855 PyObject
* _argo0
= 0;
856 char *_kwnames
[] = { "self","data", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
869 wxPy_BEGIN_ALLOW_THREADS
;
870 wxListItem_SetData(_arg0
,_arg1
);
872 wxPy_END_ALLOW_THREADS
;
873 } Py_INCREF(Py_None
);
874 _resultobj
= Py_None
;
878 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
879 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
883 PyObject
* _argo0
= 0;
884 char *_kwnames
[] = { "self","width", NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
897 wxPy_BEGIN_ALLOW_THREADS
;
898 wxListItem_SetWidth(_arg0
,_arg1
);
900 wxPy_END_ALLOW_THREADS
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
907 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
910 wxListColumnFormat _arg1
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self","align", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 wxListItem_SetAlign(_arg0
,_arg1
);
928 wxPy_END_ALLOW_THREADS
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
934 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
935 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
939 PyObject
* _argo0
= 0;
941 PyObject
* _obj1
= 0;
942 char *_kwnames
[] = { "self","colText", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
956 if (! wxColour_helper(_obj1
, &_arg1
))
960 wxPy_BEGIN_ALLOW_THREADS
;
961 wxListItem_SetTextColour(_arg0
,*_arg1
);
963 wxPy_END_ALLOW_THREADS
;
964 } Py_INCREF(Py_None
);
965 _resultobj
= Py_None
;
969 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
970 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
974 PyObject
* _argo0
= 0;
976 PyObject
* _obj1
= 0;
977 char *_kwnames
[] = { "self","colBack", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
991 if (! wxColour_helper(_obj1
, &_arg1
))
995 wxPy_BEGIN_ALLOW_THREADS
;
996 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
998 wxPy_END_ALLOW_THREADS
;
999 } Py_INCREF(Py_None
);
1000 _resultobj
= Py_None
;
1004 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1005 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1009 PyObject
* _argo0
= 0;
1010 PyObject
* _argo1
= 0;
1011 char *_kwnames
[] = { "self","font", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 wxListItem_SetFont(_arg0
,*_arg1
);
1034 wxPy_END_ALLOW_THREADS
;
1035 } Py_INCREF(Py_None
);
1036 _resultobj
= Py_None
;
1040 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1041 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1045 PyObject
* _argo0
= 0;
1046 char *_kwnames
[] = { "self", NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (long )wxListItem_GetMask(_arg0
);
1062 wxPy_END_ALLOW_THREADS
;
1063 } _resultobj
= Py_BuildValue("l",_result
);
1067 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1068 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 char *_kwnames
[] = { "self", NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (long )wxListItem_GetId(_arg0
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } _resultobj
= Py_BuildValue("l",_result
);
1094 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1095 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1099 PyObject
* _argo0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 _result
= (int )wxListItem_GetColumn(_arg0
);
1116 wxPy_END_ALLOW_THREADS
;
1117 } _resultobj
= Py_BuildValue("i",_result
);
1121 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1122 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1126 PyObject
* _argo0
= 0;
1127 char *_kwnames
[] = { "self", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (long )wxListItem_GetState(_arg0
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } _resultobj
= Py_BuildValue("l",_result
);
1148 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1149 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1153 PyObject
* _argo0
= 0;
1154 char *_kwnames
[] = { "self", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1169 _result
= (wxString
*) &_result_ref
;
1171 wxPy_END_ALLOW_THREADS
;
1173 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1178 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1179 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 _result
= (int )wxListItem_GetImage(_arg0
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1206 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1224 wxPy_BEGIN_ALLOW_THREADS
;
1225 _result
= (long )wxListItem_GetData(_arg0
);
1227 wxPy_END_ALLOW_THREADS
;
1228 } _resultobj
= Py_BuildValue("l",_result
);
1232 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1233 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 _result
= (int )wxListItem_GetWidth(_arg0
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } _resultobj
= Py_BuildValue("i",_result
);
1259 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1260 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1262 wxListColumnFormat _result
;
1264 PyObject
* _argo0
= 0;
1265 char *_kwnames
[] = { "self", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1278 wxPy_BEGIN_ALLOW_THREADS
;
1279 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1281 wxPy_END_ALLOW_THREADS
;
1282 } _resultobj
= Py_BuildValue("i",_result
);
1286 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1287 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1289 wxListItemAttr
* _result
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1309 wxPy_END_ALLOW_THREADS
;
1311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1312 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 _resultobj
= Py_None
;
1320 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1321 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1325 PyObject
* _argo0
= 0;
1326 char *_kwnames
[] = { "self", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1348 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1370 wxPy_END_ALLOW_THREADS
;
1371 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1372 _resultobj
= Py_BuildValue("s",_ptemp
);
1376 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1377 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1399 wxPy_END_ALLOW_THREADS
;
1400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1401 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1406 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1428 wxPy_END_ALLOW_THREADS
;
1429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1430 _resultobj
= Py_BuildValue("s",_ptemp
);
1434 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1435 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self","m_mask", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1454 wxPy_BEGIN_ALLOW_THREADS
;
1455 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1457 wxPy_END_ALLOW_THREADS
;
1458 } _resultobj
= Py_BuildValue("l",_result
);
1462 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1463 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 PyObject
* _argo0
= 0;
1468 char *_kwnames
[] = { "self", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1481 wxPy_BEGIN_ALLOW_THREADS
;
1482 _result
= (long )wxListItem_m_mask_get(_arg0
);
1484 wxPy_END_ALLOW_THREADS
;
1485 } _resultobj
= Py_BuildValue("l",_result
);
1489 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1490 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1495 PyObject
* _argo0
= 0;
1496 char *_kwnames
[] = { "self","m_itemId", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1512 wxPy_END_ALLOW_THREADS
;
1513 } _resultobj
= Py_BuildValue("l",_result
);
1517 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1518 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1539 wxPy_END_ALLOW_THREADS
;
1540 } _resultobj
= Py_BuildValue("l",_result
);
1544 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1545 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self","m_col", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } _resultobj
= Py_BuildValue("i",_result
);
1572 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1573 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 _result
= (int )wxListItem_m_col_get(_arg0
);
1594 wxPy_END_ALLOW_THREADS
;
1595 } _resultobj
= Py_BuildValue("i",_result
);
1599 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1600 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1605 PyObject
* _argo0
= 0;
1606 char *_kwnames
[] = { "self","m_state", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1619 wxPy_BEGIN_ALLOW_THREADS
;
1620 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1622 wxPy_END_ALLOW_THREADS
;
1623 } _resultobj
= Py_BuildValue("l",_result
);
1627 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1628 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (long )wxListItem_m_state_get(_arg0
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } _resultobj
= Py_BuildValue("l",_result
);
1654 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1655 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1677 wxPy_END_ALLOW_THREADS
;
1678 } _resultobj
= Py_BuildValue("l",_result
);
1682 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1683 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1687 PyObject
* _argo0
= 0;
1688 char *_kwnames
[] = { "self", NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1701 wxPy_BEGIN_ALLOW_THREADS
;
1702 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1704 wxPy_END_ALLOW_THREADS
;
1705 } _resultobj
= Py_BuildValue("l",_result
);
1709 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1710 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1715 PyObject
* _argo0
= 0;
1716 PyObject
* _obj1
= 0;
1717 char *_kwnames
[] = { "self","m_text", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1730 #if PYTHON_API_VERSION >= 1009
1731 char* tmpPtr
; int tmpSize
;
1732 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1736 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1738 _arg1
= new wxString(tmpPtr
, tmpSize
);
1740 if (!PyString_Check(_obj1
)) {
1741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1744 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1751 wxPy_END_ALLOW_THREADS
;
1753 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1762 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1763 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1767 PyObject
* _argo0
= 0;
1768 char *_kwnames
[] = { "self", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1784 wxPy_END_ALLOW_THREADS
;
1786 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1791 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1792 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self","m_image", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1814 wxPy_END_ALLOW_THREADS
;
1815 } _resultobj
= Py_BuildValue("i",_result
);
1819 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1820 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 _result
= (int )wxListItem_m_image_get(_arg0
);
1841 wxPy_END_ALLOW_THREADS
;
1842 } _resultobj
= Py_BuildValue("i",_result
);
1846 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1847 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self","m_data", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1866 wxPy_BEGIN_ALLOW_THREADS
;
1867 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1869 wxPy_END_ALLOW_THREADS
;
1870 } _resultobj
= Py_BuildValue("l",_result
);
1874 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1875 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "self", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1893 wxPy_BEGIN_ALLOW_THREADS
;
1894 _result
= (long )wxListItem_m_data_get(_arg0
);
1896 wxPy_END_ALLOW_THREADS
;
1897 } _resultobj
= Py_BuildValue("l",_result
);
1901 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1902 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1907 PyObject
* _argo0
= 0;
1908 char *_kwnames
[] = { "self","m_format", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1921 wxPy_BEGIN_ALLOW_THREADS
;
1922 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1924 wxPy_END_ALLOW_THREADS
;
1925 } _resultobj
= Py_BuildValue("i",_result
);
1929 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1930 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1934 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1948 wxPy_BEGIN_ALLOW_THREADS
;
1949 _result
= (int )wxListItem_m_format_get(_arg0
);
1951 wxPy_END_ALLOW_THREADS
;
1952 } _resultobj
= Py_BuildValue("i",_result
);
1956 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1957 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1962 PyObject
* _argo0
= 0;
1963 char *_kwnames
[] = { "self","m_width", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } _resultobj
= Py_BuildValue("i",_result
);
1984 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1985 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (int )wxListItem_m_width_get(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2013 wxNotifyEvent
*dest
;
2014 src
= (wxListEvent
*) ptr
;
2015 dest
= (wxNotifyEvent
*) src
;
2016 return (void *) dest
;
2019 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2021 wxCommandEvent
*dest
;
2022 src
= (wxListEvent
*) ptr
;
2023 dest
= (wxCommandEvent
*) src
;
2024 return (void *) dest
;
2027 static void *SwigwxListEventTowxEvent(void *ptr
) {
2030 src
= (wxListEvent
*) ptr
;
2031 dest
= (wxEvent
*) src
;
2032 return (void *) dest
;
2035 static void *SwigwxListEventTowxObject(void *ptr
) {
2038 src
= (wxListEvent
*) ptr
;
2039 dest
= (wxObject
*) src
;
2040 return (void *) dest
;
2043 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2044 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2047 wxListEvent
* _arg0
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self","m_code", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2072 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2075 wxListEvent
* _arg0
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 _result
= (int )wxListEvent_m_code_get(_arg0
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2099 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2102 wxListEvent
* _arg0
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2121 wxPy_END_ALLOW_THREADS
;
2122 } _resultobj
= Py_BuildValue("l",_result
);
2126 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2127 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2130 wxListEvent
* _arg0
;
2131 PyObject
* _argo0
= 0;
2132 char *_kwnames
[] = { "self", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2145 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2148 wxPy_END_ALLOW_THREADS
;
2149 } _resultobj
= Py_BuildValue("l",_result
);
2153 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2154 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2157 wxListEvent
* _arg0
;
2159 PyObject
* _argo0
= 0;
2160 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2173 wxPy_BEGIN_ALLOW_THREADS
;
2174 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2176 wxPy_END_ALLOW_THREADS
;
2177 } _resultobj
= Py_BuildValue("l",_result
);
2181 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2182 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2185 wxListEvent
* _arg0
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2203 wxPy_END_ALLOW_THREADS
;
2204 } _resultobj
= Py_BuildValue("l",_result
);
2208 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2209 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2212 wxListEvent
* _arg0
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self","m_col", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2231 wxPy_END_ALLOW_THREADS
;
2232 } _resultobj
= Py_BuildValue("i",_result
);
2236 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2237 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2240 wxListEvent
* _arg0
;
2241 PyObject
* _argo0
= 0;
2242 char *_kwnames
[] = { "self", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 _result
= (int )wxListEvent_m_col_get(_arg0
);
2258 wxPy_END_ALLOW_THREADS
;
2259 } _resultobj
= Py_BuildValue("i",_result
);
2263 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2264 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 wxListEvent
* _arg0
;
2269 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2283 _arg1
= (bool ) tempbool1
;
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2294 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2297 wxListEvent
* _arg0
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } _resultobj
= Py_BuildValue("i",_result
);
2320 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2321 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2324 wxListEvent
* _arg0
;
2326 PyObject
* _argo0
= 0;
2328 PyObject
* _obj1
= 0;
2329 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2344 if (! wxPoint_helper(_obj1
, &_arg1
))
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2351 wxPy_END_ALLOW_THREADS
;
2353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2354 _resultobj
= Py_BuildValue("s",_ptemp
);
2357 _resultobj
= Py_None
;
2362 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2363 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2366 wxListEvent
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2382 wxPy_BEGIN_ALLOW_THREADS
;
2383 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2385 wxPy_END_ALLOW_THREADS
;
2387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2388 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 _resultobj
= Py_None
;
2396 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2397 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2399 wxListItem
* _result
;
2400 wxListEvent
* _arg0
;
2402 PyObject
* _argo0
= 0;
2403 PyObject
* _argo1
= 0;
2404 char *_kwnames
[] = { "self","m_item", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2427 wxPy_END_ALLOW_THREADS
;
2428 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2432 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2433 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2435 wxListItem
* _result
;
2436 wxListEvent
* _arg0
;
2437 PyObject
* _argo0
= 0;
2438 char *_kwnames
[] = { "self", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2454 wxPy_END_ALLOW_THREADS
;
2455 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2459 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2460 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2463 wxListEvent
* _arg0
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (int )wxListEvent_GetCode(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } _resultobj
= Py_BuildValue("i",_result
);
2486 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2487 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2490 wxListEvent
* _arg0
;
2491 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 _result
= (long )wxListEvent_GetIndex(_arg0
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } _resultobj
= Py_BuildValue("l",_result
);
2513 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2514 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 wxListEvent
* _arg0
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } _resultobj
= Py_BuildValue("l",_result
);
2540 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2541 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2544 wxListEvent
* _arg0
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } _resultobj
= Py_BuildValue("l",_result
);
2567 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2568 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2571 wxListEvent
* _arg0
;
2572 PyObject
* _argo0
= 0;
2573 char *_kwnames
[] = { "self", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 _result
= (int )wxListEvent_GetColumn(_arg0
);
2589 wxPy_END_ALLOW_THREADS
;
2590 } _resultobj
= Py_BuildValue("i",_result
);
2594 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2595 static PyObject
*_wrap_wxListEvent_Cancelled(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_Cancelled",_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_Cancelled. Expected _wxListEvent_p.");
2613 wxPy_BEGIN_ALLOW_THREADS
;
2614 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2616 wxPy_END_ALLOW_THREADS
;
2617 } _resultobj
= Py_BuildValue("i",_result
);
2621 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2622 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2625 wxListEvent
* _arg0
;
2626 PyObject
* _argo0
= 0;
2627 char *_kwnames
[] = { "self", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_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_GetPoint. Expected _wxListEvent_p.");
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2644 wxPy_END_ALLOW_THREADS
;
2645 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2646 _resultobj
= Py_BuildValue("s",_ptemp
);
2650 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2651 static PyObject
*_wrap_wxListEvent_GetLabel(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_GetLabel",_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_GetLabel. Expected _wxListEvent_p.");
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2671 _result
= (wxString
*) &_result_ref
;
2673 wxPy_END_ALLOW_THREADS
;
2675 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2680 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2681 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2684 wxListEvent
* _arg0
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2701 _result
= (wxString
*) &_result_ref
;
2703 wxPy_END_ALLOW_THREADS
;
2705 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2710 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2711 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2714 wxListEvent
* _arg0
;
2715 PyObject
* _argo0
= 0;
2716 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2729 wxPy_BEGIN_ALLOW_THREADS
;
2730 _result
= (int )wxListEvent_GetImage(_arg0
);
2732 wxPy_END_ALLOW_THREADS
;
2733 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2738 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2741 wxListEvent
* _arg0
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2756 wxPy_BEGIN_ALLOW_THREADS
;
2757 _result
= (long )wxListEvent_GetData(_arg0
);
2759 wxPy_END_ALLOW_THREADS
;
2760 } _resultobj
= Py_BuildValue("l",_result
);
2764 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2765 static PyObject
*_wrap_wxListEvent_GetMask(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_GetMask",_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_GetMask. Expected _wxListEvent_p.");
2783 wxPy_BEGIN_ALLOW_THREADS
;
2784 _result
= (long )wxListEvent_GetMask(_arg0
);
2786 wxPy_END_ALLOW_THREADS
;
2787 } _resultobj
= Py_BuildValue("l",_result
);
2791 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2792 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2794 wxListItem
* _result
;
2795 wxListEvent
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2812 _result
= (wxListItem
*) &_result_ref
;
2814 wxPy_END_ALLOW_THREADS
;
2815 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2819 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2822 src
= (wxListCtrl
*) ptr
;
2823 dest
= (wxControl
*) src
;
2824 return (void *) dest
;
2827 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2830 src
= (wxListCtrl
*) ptr
;
2831 dest
= (wxWindow
*) src
;
2832 return (void *) dest
;
2835 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2838 src
= (wxListCtrl
*) ptr
;
2839 dest
= (wxEvtHandler
*) src
;
2840 return (void *) dest
;
2843 static void *SwigwxListCtrlTowxObject(void *ptr
) {
2846 src
= (wxListCtrl
*) ptr
;
2847 dest
= (wxObject
*) src
;
2848 return (void *) dest
;
2851 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2852 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2854 wxListCtrl
* _result
;
2857 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2858 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2859 long _arg4
= (long ) wxLC_ICON
;
2860 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2861 char * _arg6
= (char *) "listCtrl";
2862 PyObject
* _argo0
= 0;
2864 PyObject
* _obj2
= 0;
2866 PyObject
* _obj3
= 0;
2867 PyObject
* _argo5
= 0;
2868 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2884 if (! wxPoint_helper(_obj2
, &_arg2
))
2890 if (! wxSize_helper(_obj3
, &_arg3
))
2894 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2904 wxPy_END_ALLOW_THREADS
;
2906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2907 _resultobj
= Py_BuildValue("s",_ptemp
);
2910 _resultobj
= Py_None
;
2915 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2916 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2920 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self","flag", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
2944 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 wxImageList
* _arg1
;
2949 PyObject
* _argo0
= 0;
2950 PyObject
* _argo1
= 0;
2951 char *_kwnames
[] = { "self","imageList","which", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxListCtrl_p.");
2964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
2974 wxPy_END_ALLOW_THREADS
;
2975 } Py_INCREF(Py_None
);
2976 _resultobj
= Py_None
;
2980 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2981 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2986 PyObject
* _argo0
= 0;
2987 char *_kwnames
[] = { "self","item", NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
3003 wxPy_END_ALLOW_THREADS
;
3004 } _resultobj
= Py_BuildValue("i",_result
);
3008 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3009 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } _resultobj
= Py_BuildValue("i",_result
);
3035 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
3036 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self","col", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
3058 wxPy_END_ALLOW_THREADS
;
3059 } _resultobj
= Py_BuildValue("i",_result
);
3063 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3064 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3068 PyObject
* _argo0
= 0;
3069 char *_kwnames
[] = { "self", NULL
};
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3082 wxPy_BEGIN_ALLOW_THREADS
;
3083 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3085 wxPy_END_ALLOW_THREADS
;
3086 } _resultobj
= Py_BuildValue("i",_result
);
3090 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3091 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxListCtrl_ClearAll(_arg0
);
3111 wxPy_END_ALLOW_THREADS
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3118 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self","item", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 wxListCtrl_EditLabel(_arg0
,_arg1
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } Py_INCREF(Py_None
);
3141 _resultobj
= Py_None
;
3145 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3146 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self","item", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3168 wxPy_END_ALLOW_THREADS
;
3169 } _resultobj
= Py_BuildValue("i",_result
);
3173 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3174 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
* _resultobj
;
3180 bool _arg3
= (bool ) FALSE
;
3181 PyObject
* _argo0
= 0;
3182 PyObject
* _obj2
= 0;
3183 int tempbool3
= (int) FALSE
;
3184 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3197 #if PYTHON_API_VERSION >= 1009
3198 char* tmpPtr
; int tmpSize
;
3199 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3200 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3203 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3205 _arg2
= new wxString(tmpPtr
, tmpSize
);
3207 if (!PyString_Check(_obj2
)) {
3208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3211 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3214 _arg3
= (bool ) tempbool3
;
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3219 wxPy_END_ALLOW_THREADS
;
3220 } _resultobj
= Py_BuildValue("l",_result
);
3228 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3229 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3235 PyObject
* _argo0
= 0;
3236 char *_kwnames
[] = { "self","start","data", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3249 wxPy_BEGIN_ALLOW_THREADS
;
3250 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3252 wxPy_END_ALLOW_THREADS
;
3253 } _resultobj
= Py_BuildValue("l",_result
);
3257 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3258 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3265 PyObject
* _argo0
= 0;
3267 PyObject
* _obj2
= 0;
3268 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3282 if (! wxPoint_helper(_obj2
, &_arg2
))
3286 wxPy_BEGIN_ALLOW_THREADS
;
3287 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3289 wxPy_END_ALLOW_THREADS
;
3290 } _resultobj
= Py_BuildValue("l",_result
);
3294 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3295 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3301 PyObject
* _argo0
= 0;
3302 PyObject
* _argo2
= 0;
3303 char *_kwnames
[] = { "self","col","item", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3316 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3323 wxPy_BEGIN_ALLOW_THREADS
;
3324 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3326 wxPy_END_ALLOW_THREADS
;
3327 } _resultobj
= Py_BuildValue("i",_result
);
3331 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3332 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self","col", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3360 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "self", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3378 wxPy_BEGIN_ALLOW_THREADS
;
3379 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3381 wxPy_END_ALLOW_THREADS
;
3382 } _resultobj
= Py_BuildValue("i",_result
);
3386 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3387 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3389 wxImageList
* _result
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self","which", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3409 wxPy_END_ALLOW_THREADS
;
3410 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3414 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3415 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self","item", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3437 wxPy_END_ALLOW_THREADS
;
3438 } _resultobj
= Py_BuildValue("l",_result
);
3442 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3443 wxListItem
* info
= new wxListItem
;
3444 info
->m_itemId
= itemId
;
3446 info
->m_mask
= 0xFFFF;
3447 self
->GetItem(*info
);
3450 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxListItem
* _result
;
3455 int _arg2
= (int ) 0;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self","itemId","col", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3473 wxPy_END_ALLOW_THREADS
;
3474 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3478 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3479 wxPoint
* pos
= new wxPoint
;
3480 self
->GetItemPosition(item
, *pos
);
3483 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self","item", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3506 wxPy_END_ALLOW_THREADS
;
3508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3509 _resultobj
= Py_BuildValue("s",_ptemp
);
3512 _resultobj
= Py_None
;
3517 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3518 wxRect
* rect
= new wxRect
;
3519 self
->GetItemRect(item
, *rect
, code
);
3522 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3527 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","item","code", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3546 wxPy_END_ALLOW_THREADS
;
3548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3549 _resultobj
= Py_BuildValue("s",_ptemp
);
3552 _resultobj
= Py_None
;
3557 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3558 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3581 wxPy_END_ALLOW_THREADS
;
3582 } _resultobj
= Py_BuildValue("i",_result
);
3586 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3587 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3591 PyObject
* _argo0
= 0;
3592 char *_kwnames
[] = { "self", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } _resultobj
= Py_BuildValue("i",_result
);
3613 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3614 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3619 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self","isSmall", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3633 _arg1
= (bool ) tempbool1
;
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3638 wxPy_END_ALLOW_THREADS
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3643 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3644 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3649 PyObject
* _argo0
= 0;
3650 char *_kwnames
[] = { "self","item", NULL
};
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3663 wxPy_BEGIN_ALLOW_THREADS
;
3664 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3666 wxPy_END_ALLOW_THREADS
;
3668 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3676 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3677 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
* _resultobj
;
3682 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3683 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3701 wxPy_END_ALLOW_THREADS
;
3702 } _resultobj
= Py_BuildValue("l",_result
);
3706 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3707 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3711 PyObject
* _argo0
= 0;
3712 char *_kwnames
[] = { "self", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3725 wxPy_BEGIN_ALLOW_THREADS
;
3726 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3728 wxPy_END_ALLOW_THREADS
;
3729 } _resultobj
= Py_BuildValue("i",_result
);
3733 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3734 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
* _resultobj
;
3738 PyObject
* _argo0
= 0;
3739 char *_kwnames
[] = { "self", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3752 wxPy_BEGIN_ALLOW_THREADS
;
3753 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3755 wxPy_END_ALLOW_THREADS
;
3756 } _resultobj
= Py_BuildValue("l",_result
);
3760 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3761 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3768 PyObject
* _argo0
= 0;
3770 PyObject
* _obj1
= 0;
3771 char *_kwnames
[] = { "self","point", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3788 if (! wxPoint_helper(_obj1
, &_arg1
))
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3795 wxPy_END_ALLOW_THREADS
;
3796 } _resultobj
= Py_BuildValue("l",_result
);
3799 o
= PyInt_FromLong((long) (*_arg2
));
3800 _resultobj
= t_output_helper(_resultobj
, o
);
3805 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3806 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3813 PyObject
* _argo2
= 0;
3814 char *_kwnames
[] = { "self","col","info", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3827 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3837 wxPy_END_ALLOW_THREADS
;
3838 } _resultobj
= Py_BuildValue("l",_result
);
3842 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3843 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3849 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3850 int _arg4
= (int ) -1;
3851 PyObject
* _argo0
= 0;
3852 PyObject
* _obj2
= 0;
3853 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3866 #if PYTHON_API_VERSION >= 1009
3867 char* tmpPtr
; int tmpSize
;
3868 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3872 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3874 _arg2
= new wxString(tmpPtr
, tmpSize
);
3876 if (!PyString_Check(_obj2
)) {
3877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3880 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
3887 wxPy_END_ALLOW_THREADS
;
3888 } _resultobj
= Py_BuildValue("l",_result
);
3896 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3897 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3902 PyObject
* _argo0
= 0;
3903 PyObject
* _argo1
= 0;
3904 char *_kwnames
[] = { "self","info", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3924 wxPy_BEGIN_ALLOW_THREADS
;
3925 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
3927 wxPy_END_ALLOW_THREADS
;
3928 } _resultobj
= Py_BuildValue("l",_result
);
3932 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3933 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3939 PyObject
* _argo0
= 0;
3940 PyObject
* _obj2
= 0;
3941 char *_kwnames
[] = { "self","index","label", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
3954 #if PYTHON_API_VERSION >= 1009
3955 char* tmpPtr
; int tmpSize
;
3956 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3960 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3962 _arg2
= new wxString(tmpPtr
, tmpSize
);
3964 if (!PyString_Check(_obj2
)) {
3965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3968 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3972 wxPy_BEGIN_ALLOW_THREADS
;
3973 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
3975 wxPy_END_ALLOW_THREADS
;
3976 } _resultobj
= Py_BuildValue("l",_result
);
3984 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3985 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3991 PyObject
* _argo0
= 0;
3992 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4008 wxPy_END_ALLOW_THREADS
;
4009 } _resultobj
= Py_BuildValue("l",_result
);
4013 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4014 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
* _resultobj
;
4021 PyObject
* _argo0
= 0;
4022 PyObject
* _obj2
= 0;
4023 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4036 #if PYTHON_API_VERSION >= 1009
4037 char* tmpPtr
; int tmpSize
;
4038 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4042 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4044 _arg2
= new wxString(tmpPtr
, tmpSize
);
4046 if (!PyString_Check(_obj2
)) {
4047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4050 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4057 wxPy_END_ALLOW_THREADS
;
4058 } _resultobj
= Py_BuildValue("l",_result
);
4066 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4067 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4073 PyObject
* _argo0
= 0;
4074 char *_kwnames
[] = { "self","dx","dy", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4090 wxPy_END_ALLOW_THREADS
;
4091 } _resultobj
= Py_BuildValue("i",_result
);
4095 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4096 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4100 PyObject
* _argo0
= 0;
4102 PyObject
* _obj1
= 0;
4103 char *_kwnames
[] = { "self","col", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4117 if (! wxColour_helper(_obj1
, &_arg1
))
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4124 wxPy_END_ALLOW_THREADS
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4131 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4137 PyObject
* _argo0
= 0;
4138 PyObject
* _argo2
= 0;
4139 char *_kwnames
[] = { "self","col","item", NULL
};
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4152 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4159 wxPy_BEGIN_ALLOW_THREADS
;
4160 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4162 wxPy_END_ALLOW_THREADS
;
4163 } _resultobj
= Py_BuildValue("i",_result
);
4167 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4168 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4174 PyObject
* _argo0
= 0;
4175 char *_kwnames
[] = { "self","col","width", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4188 wxPy_BEGIN_ALLOW_THREADS
;
4189 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4191 wxPy_END_ALLOW_THREADS
;
4192 } _resultobj
= Py_BuildValue("i",_result
);
4196 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4197 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4200 wxImageList
* _arg1
;
4202 PyObject
* _argo0
= 0;
4203 PyObject
* _argo1
= 0;
4204 char *_kwnames
[] = { "self","imageList","which", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4224 wxPy_BEGIN_ALLOW_THREADS
;
4225 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4227 wxPy_END_ALLOW_THREADS
;
4228 } Py_INCREF(Py_None
);
4229 _resultobj
= Py_None
;
4233 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4234 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
* _resultobj
;
4239 PyObject
* _argo0
= 0;
4240 PyObject
* _argo1
= 0;
4241 char *_kwnames
[] = { "self","info", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4264 wxPy_END_ALLOW_THREADS
;
4265 } _resultobj
= Py_BuildValue("i",_result
);
4269 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4270 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4277 int _arg4
= (int ) -1;
4278 PyObject
* _argo0
= 0;
4279 PyObject
* _obj3
= 0;
4280 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4293 #if PYTHON_API_VERSION >= 1009
4294 char* tmpPtr
; int tmpSize
;
4295 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4299 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4301 _arg3
= new wxString(tmpPtr
, tmpSize
);
4303 if (!PyString_Check(_obj3
)) {
4304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4307 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4311 wxPy_BEGIN_ALLOW_THREADS
;
4312 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4314 wxPy_END_ALLOW_THREADS
;
4315 } _resultobj
= Py_BuildValue("l",_result
);
4323 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4324 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
* _resultobj
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self","item","data", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4347 wxPy_END_ALLOW_THREADS
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4353 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4360 PyObject
* _argo0
= 0;
4361 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4374 wxPy_BEGIN_ALLOW_THREADS
;
4375 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4377 wxPy_END_ALLOW_THREADS
;
4378 } _resultobj
= Py_BuildValue("i",_result
);
4382 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4383 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4389 PyObject
* _argo0
= 0;
4391 PyObject
* _obj2
= 0;
4392 char *_kwnames
[] = { "self","item","pos", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4406 if (! wxPoint_helper(_obj2
, &_arg2
))
4410 wxPy_BEGIN_ALLOW_THREADS
;
4411 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4413 wxPy_END_ALLOW_THREADS
;
4414 } _resultobj
= Py_BuildValue("i",_result
);
4418 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4419 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4426 PyObject
* _argo0
= 0;
4427 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4440 wxPy_BEGIN_ALLOW_THREADS
;
4441 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4443 wxPy_END_ALLOW_THREADS
;
4444 } _resultobj
= Py_BuildValue("i",_result
);
4448 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4449 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4454 PyObject
* _argo0
= 0;
4455 PyObject
* _obj2
= 0;
4456 char *_kwnames
[] = { "self","item","text", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4469 #if PYTHON_API_VERSION >= 1009
4470 char* tmpPtr
; int tmpSize
;
4471 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4475 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4477 _arg2
= new wxString(tmpPtr
, tmpSize
);
4479 if (!PyString_Check(_obj2
)) {
4480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4483 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4487 wxPy_BEGIN_ALLOW_THREADS
;
4488 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4490 wxPy_END_ALLOW_THREADS
;
4491 } Py_INCREF(Py_None
);
4492 _resultobj
= Py_None
;
4500 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4501 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4505 bool _arg2
= (bool ) TRUE
;
4506 PyObject
* _argo0
= 0;
4507 int tempbool2
= (int) TRUE
;
4508 char *_kwnames
[] = { "self","style","add", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4520 _arg2
= (bool ) tempbool2
;
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4532 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4536 PyObject
* _argo0
= 0;
4537 char *_kwnames
[] = { "self","style", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4550 wxPy_BEGIN_ALLOW_THREADS
;
4551 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4553 wxPy_END_ALLOW_THREADS
;
4554 } Py_INCREF(Py_None
);
4555 _resultobj
= Py_None
;
4559 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4560 if (!PyCallable_Check(func
))
4563 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4565 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4570 PyObject
* _argo0
= 0;
4571 PyObject
* _obj1
= 0;
4572 char *_kwnames
[] = { "self","func", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4591 wxPy_END_ALLOW_THREADS
;
4592 } _resultobj
= Py_BuildValue("i",_result
);
4596 #define new_wxTreeItemId() (new wxTreeItemId())
4597 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4599 wxTreeItemId
* _result
;
4600 char *_kwnames
[] = { NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4607 wxPy_BEGIN_ALLOW_THREADS
;
4608 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4610 wxPy_END_ALLOW_THREADS
;
4612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4613 _resultobj
= Py_BuildValue("s",_ptemp
);
4616 _resultobj
= Py_None
;
4621 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4622 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4624 wxTreeItemId
* _arg0
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 delete_wxTreeItemId(_arg0
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4649 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4652 wxTreeItemId
* _arg0
;
4653 PyObject
* _argo0
= 0;
4654 char *_kwnames
[] = { "self", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4670 wxPy_END_ALLOW_THREADS
;
4671 } _resultobj
= Py_BuildValue("i",_result
);
4675 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4676 if (! other
) return -1;
4677 return *self
!= *other
;
4679 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4682 wxTreeItemId
* _arg0
;
4683 wxTreeItemId
* _arg1
;
4684 PyObject
* _argo0
= 0;
4685 PyObject
* _argo1
= 0;
4686 char *_kwnames
[] = { "self","other", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4709 wxPy_END_ALLOW_THREADS
;
4710 } _resultobj
= Py_BuildValue("i",_result
);
4714 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
4715 wxPyTreeItemData
*src
;
4717 src
= (wxPyTreeItemData
*) ptr
;
4718 dest
= (wxObject
*) src
;
4719 return (void *) dest
;
4722 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4723 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4725 wxPyTreeItemData
* _result
;
4726 PyObject
* _arg0
= (PyObject
*) NULL
;
4727 PyObject
* _obj0
= 0;
4728 char *_kwnames
[] = { "obj", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4739 wxPy_BEGIN_ALLOW_THREADS
;
4740 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4742 wxPy_END_ALLOW_THREADS
;
4744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4745 _resultobj
= Py_BuildValue("s",_ptemp
);
4748 _resultobj
= Py_None
;
4753 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4754 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4757 wxPyTreeItemData
* _arg0
;
4758 PyObject
* _argo0
= 0;
4759 char *_kwnames
[] = { "self", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4775 wxPy_END_ALLOW_THREADS
;
4777 _resultobj
= _result
;
4782 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4783 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4785 wxPyTreeItemData
* _arg0
;
4787 PyObject
* _argo0
= 0;
4788 PyObject
* _obj1
= 0;
4789 char *_kwnames
[] = { "self","obj", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4805 wxPy_BEGIN_ALLOW_THREADS
;
4806 wxTreeItemData_SetData(_arg0
,_arg1
);
4808 wxPy_END_ALLOW_THREADS
;
4809 } Py_INCREF(Py_None
);
4810 _resultobj
= Py_None
;
4814 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4815 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4817 wxTreeItemId
* _result
;
4818 wxPyTreeItemData
* _arg0
;
4819 PyObject
* _argo0
= 0;
4820 char *_kwnames
[] = { "self", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4836 _result
= (wxTreeItemId
*) &_result_ref
;
4838 wxPy_END_ALLOW_THREADS
;
4840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4841 _resultobj
= Py_BuildValue("s",_ptemp
);
4844 _resultobj
= Py_None
;
4849 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4850 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 wxPyTreeItemData
* _arg0
;
4853 wxTreeItemId
* _arg1
;
4854 PyObject
* _argo0
= 0;
4855 PyObject
* _argo1
= 0;
4856 char *_kwnames
[] = { "self","id", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 wxTreeItemData_SetId(_arg0
,*_arg1
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4885 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
4887 wxNotifyEvent
*dest
;
4888 src
= (wxTreeEvent
*) ptr
;
4889 dest
= (wxNotifyEvent
*) src
;
4890 return (void *) dest
;
4893 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
4895 wxCommandEvent
*dest
;
4896 src
= (wxTreeEvent
*) ptr
;
4897 dest
= (wxCommandEvent
*) src
;
4898 return (void *) dest
;
4901 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
4904 src
= (wxTreeEvent
*) ptr
;
4905 dest
= (wxEvent
*) src
;
4906 return (void *) dest
;
4909 static void *SwigwxTreeEventTowxObject(void *ptr
) {
4912 src
= (wxTreeEvent
*) ptr
;
4913 dest
= (wxObject
*) src
;
4914 return (void *) dest
;
4917 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4918 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4920 wxTreeItemId
* _result
;
4921 wxTreeEvent
* _arg0
;
4922 PyObject
* _argo0
= 0;
4923 char *_kwnames
[] = { "self", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
4940 wxPy_END_ALLOW_THREADS
;
4941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4942 _resultobj
= Py_BuildValue("s",_ptemp
);
4946 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4947 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4949 wxTreeItemId
* _result
;
4950 wxTreeEvent
* _arg0
;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "self", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
4969 wxPy_END_ALLOW_THREADS
;
4970 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4971 _resultobj
= Py_BuildValue("s",_ptemp
);
4975 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4976 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
* _resultobj
;
4979 wxTreeEvent
* _arg0
;
4980 PyObject
* _argo0
= 0;
4981 char *_kwnames
[] = { "self", NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
4988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4995 wxPy_BEGIN_ALLOW_THREADS
;
4996 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
4998 wxPy_END_ALLOW_THREADS
;
4999 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5000 _resultobj
= Py_BuildValue("s",_ptemp
);
5004 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5005 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
* _resultobj
;
5008 wxTreeEvent
* _arg0
;
5009 PyObject
* _argo0
= 0;
5010 char *_kwnames
[] = { "self", NULL
};
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5023 wxPy_BEGIN_ALLOW_THREADS
;
5024 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5026 wxPy_END_ALLOW_THREADS
;
5027 } _resultobj
= Py_BuildValue("i",_result
);
5031 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5032 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5035 wxTreeEvent
* _arg0
;
5036 PyObject
* _argo0
= 0;
5037 char *_kwnames
[] = { "self", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5050 wxPy_BEGIN_ALLOW_THREADS
;
5051 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5052 _result
= (wxString
*) &_result_ref
;
5054 wxPy_END_ALLOW_THREADS
;
5056 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5061 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5064 src
= (wxPyTreeCtrl
*) ptr
;
5065 dest
= (wxControl
*) src
;
5066 return (void *) dest
;
5069 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5072 src
= (wxPyTreeCtrl
*) ptr
;
5073 dest
= (wxWindow
*) src
;
5074 return (void *) dest
;
5077 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5080 src
= (wxPyTreeCtrl
*) ptr
;
5081 dest
= (wxEvtHandler
*) src
;
5082 return (void *) dest
;
5085 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
5088 src
= (wxPyTreeCtrl
*) ptr
;
5089 dest
= (wxObject
*) src
;
5090 return (void *) dest
;
5093 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5094 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5096 wxPyTreeCtrl
* _result
;
5098 wxWindowID _arg1
= (wxWindowID
) -1;
5099 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5100 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5101 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5102 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5103 char * _arg6
= (char *) "wxTreeCtrl";
5104 PyObject
* _argo0
= 0;
5106 PyObject
* _obj2
= 0;
5108 PyObject
* _obj3
= 0;
5109 PyObject
* _argo5
= 0;
5110 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5126 if (! wxPoint_helper(_obj2
, &_arg2
))
5132 if (! wxSize_helper(_obj3
, &_arg3
))
5136 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5146 wxPy_END_ALLOW_THREADS
;
5148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5149 _resultobj
= Py_BuildValue("s",_ptemp
);
5152 _resultobj
= Py_None
;
5157 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5158 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5160 wxPyTreeCtrl
* _arg0
;
5163 PyObject
* _argo0
= 0;
5164 PyObject
* _obj1
= 0;
5165 PyObject
* _obj2
= 0;
5166 char *_kwnames
[] = { "self","self","_class", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5185 wxPy_BEGIN_ALLOW_THREADS
;
5186 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5188 wxPy_END_ALLOW_THREADS
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5194 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5195 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5197 wxPyTreeCtrl
* _arg0
;
5198 wxImageList
* _arg1
;
5199 PyObject
* _argo0
= 0;
5200 PyObject
* _argo1
= 0;
5201 char *_kwnames
[] = { "self","imageList", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5221 wxPy_BEGIN_ALLOW_THREADS
;
5222 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5224 wxPy_END_ALLOW_THREADS
;
5225 } Py_INCREF(Py_None
);
5226 _resultobj
= Py_None
;
5230 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5231 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5234 wxPyTreeCtrl
* _arg0
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } _resultobj
= Py_BuildValue("i",_result
);
5257 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5258 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5260 unsigned int _result
;
5261 wxPyTreeCtrl
* _arg0
;
5262 PyObject
* _argo0
= 0;
5263 char *_kwnames
[] = { "self", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5276 wxPy_BEGIN_ALLOW_THREADS
;
5277 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5279 wxPy_END_ALLOW_THREADS
;
5280 } _resultobj
= Py_BuildValue("i",_result
);
5284 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5285 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5287 wxPyTreeCtrl
* _arg0
;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self","indent", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5303 wxPy_BEGIN_ALLOW_THREADS
;
5304 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5306 wxPy_END_ALLOW_THREADS
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5313 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5315 wxImageList
* _result
;
5316 wxPyTreeCtrl
* _arg0
;
5317 PyObject
* _argo0
= 0;
5318 char *_kwnames
[] = { "self", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5331 wxPy_BEGIN_ALLOW_THREADS
;
5332 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5334 wxPy_END_ALLOW_THREADS
;
5335 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5339 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5340 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5342 wxImageList
* _result
;
5343 wxPyTreeCtrl
* _arg0
;
5344 PyObject
* _argo0
= 0;
5345 char *_kwnames
[] = { "self", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5358 wxPy_BEGIN_ALLOW_THREADS
;
5359 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5361 wxPy_END_ALLOW_THREADS
;
5362 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5366 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5367 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5369 wxPyTreeCtrl
* _arg0
;
5370 wxImageList
* _arg1
;
5371 PyObject
* _argo0
= 0;
5372 PyObject
* _argo1
= 0;
5373 char *_kwnames
[] = { "self","imageList", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5393 wxPy_BEGIN_ALLOW_THREADS
;
5394 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5396 wxPy_END_ALLOW_THREADS
;
5397 } Py_INCREF(Py_None
);
5398 _resultobj
= Py_None
;
5402 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5403 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5405 wxPyTreeCtrl
* _arg0
;
5406 wxImageList
* _arg1
;
5407 PyObject
* _argo0
= 0;
5408 PyObject
* _argo1
= 0;
5409 char *_kwnames
[] = { "self","imageList", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5439 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5441 unsigned int _result
;
5442 wxPyTreeCtrl
* _arg0
;
5443 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self", NULL
};
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5457 wxPy_BEGIN_ALLOW_THREADS
;
5458 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5460 wxPy_END_ALLOW_THREADS
;
5461 } _resultobj
= Py_BuildValue("i",_result
);
5465 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5466 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5468 wxPyTreeCtrl
* _arg0
;
5470 PyObject
* _argo0
= 0;
5471 char *_kwnames
[] = { "self","spacing", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5487 wxPy_END_ALLOW_THREADS
;
5488 } Py_INCREF(Py_None
);
5489 _resultobj
= Py_None
;
5493 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5494 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5497 wxPyTreeCtrl
* _arg0
;
5498 wxTreeItemId
* _arg1
;
5499 PyObject
* _argo0
= 0;
5500 PyObject
* _argo1
= 0;
5501 char *_kwnames
[] = { "self","item", NULL
};
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5521 wxPy_BEGIN_ALLOW_THREADS
;
5522 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5524 wxPy_END_ALLOW_THREADS
;
5526 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5534 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5535 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5538 wxPyTreeCtrl
* _arg0
;
5539 wxTreeItemId
* _arg1
;
5540 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5541 PyObject
* _argo0
= 0;
5542 PyObject
* _argo1
= 0;
5543 char *_kwnames
[] = { "self","item","which", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5563 wxPy_BEGIN_ALLOW_THREADS
;
5564 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5566 wxPy_END_ALLOW_THREADS
;
5567 } _resultobj
= Py_BuildValue("i",_result
);
5571 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5572 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5575 wxPyTreeCtrl
* _arg0
;
5576 wxTreeItemId
* _arg1
;
5577 PyObject
* _argo0
= 0;
5578 PyObject
* _argo1
= 0;
5579 char *_kwnames
[] = { "self","item", NULL
};
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5599 wxPy_BEGIN_ALLOW_THREADS
;
5600 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5602 wxPy_END_ALLOW_THREADS
;
5603 } _resultobj
= Py_BuildValue("i",_result
);
5607 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5608 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5610 wxPyTreeCtrl
* _arg0
;
5611 wxTreeItemId
* _arg1
;
5613 PyObject
* _argo0
= 0;
5614 PyObject
* _argo1
= 0;
5615 PyObject
* _obj2
= 0;
5616 char *_kwnames
[] = { "self","item","text", NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5636 #if PYTHON_API_VERSION >= 1009
5637 char* tmpPtr
; int tmpSize
;
5638 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5642 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5644 _arg2
= new wxString(tmpPtr
, tmpSize
);
5646 if (!PyString_Check(_obj2
)) {
5647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5650 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5657 wxPy_END_ALLOW_THREADS
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5667 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5668 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5670 wxPyTreeCtrl
* _arg0
;
5671 wxTreeItemId
* _arg1
;
5673 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5674 PyObject
* _argo0
= 0;
5675 PyObject
* _argo1
= 0;
5676 char *_kwnames
[] = { "self","item","image","which", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5696 wxPy_BEGIN_ALLOW_THREADS
;
5697 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5699 wxPy_END_ALLOW_THREADS
;
5700 } Py_INCREF(Py_None
);
5701 _resultobj
= Py_None
;
5705 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5706 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5708 wxPyTreeCtrl
* _arg0
;
5709 wxTreeItemId
* _arg1
;
5711 PyObject
* _argo0
= 0;
5712 PyObject
* _argo1
= 0;
5713 char *_kwnames
[] = { "self","item","image", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5733 wxPy_BEGIN_ALLOW_THREADS
;
5734 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5736 wxPy_END_ALLOW_THREADS
;
5737 } Py_INCREF(Py_None
);
5738 _resultobj
= Py_None
;
5742 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5743 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5745 wxPyTreeCtrl
* _arg0
;
5746 wxTreeItemId
* _arg1
;
5747 bool _arg2
= (bool ) TRUE
;
5748 PyObject
* _argo0
= 0;
5749 PyObject
* _argo1
= 0;
5750 int tempbool2
= (int) TRUE
;
5751 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5770 _arg2
= (bool ) tempbool2
;
5772 wxPy_BEGIN_ALLOW_THREADS
;
5773 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5775 wxPy_END_ALLOW_THREADS
;
5776 } Py_INCREF(Py_None
);
5777 _resultobj
= Py_None
;
5781 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5782 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5784 data
= new wxPyTreeItemData();
5785 data
->SetId(item
); // set the id
5786 self
->SetItemData(item
, data
);
5790 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5792 wxPyTreeItemData
* _result
;
5793 wxPyTreeCtrl
* _arg0
;
5794 wxTreeItemId
* _arg1
;
5795 PyObject
* _argo0
= 0;
5796 PyObject
* _argo1
= 0;
5797 char *_kwnames
[] = { "self","item", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5818 wxPy_BEGIN_ALLOW_THREADS
;
5819 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5821 wxPy_END_ALLOW_THREADS
;
5823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5824 _resultobj
= Py_BuildValue("s",_ptemp
);
5827 _resultobj
= Py_None
;
5832 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5833 data
->SetId(item
); // set the id
5834 self
->SetItemData(item
, data
);
5836 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5838 wxPyTreeCtrl
* _arg0
;
5839 wxTreeItemId
* _arg1
;
5840 wxPyTreeItemData
* _arg2
;
5841 PyObject
* _argo0
= 0;
5842 PyObject
* _argo1
= 0;
5843 PyObject
* _argo2
= 0;
5844 char *_kwnames
[] = { "self","item","data", NULL
};
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5864 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5865 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5871 wxPy_BEGIN_ALLOW_THREADS
;
5872 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
5874 wxPy_END_ALLOW_THREADS
;
5875 } Py_INCREF(Py_None
);
5876 _resultobj
= Py_None
;
5880 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5881 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5883 data
= new wxPyTreeItemData();
5884 data
->SetId(item
); // set the id
5885 self
->SetItemData(item
, data
);
5887 return data
->GetData();
5889 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5892 wxPyTreeCtrl
* _arg0
;
5893 wxTreeItemId
* _arg1
;
5894 PyObject
* _argo0
= 0;
5895 PyObject
* _argo1
= 0;
5896 char *_kwnames
[] = { "self","item", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5916 wxPy_BEGIN_ALLOW_THREADS
;
5917 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
5919 wxPy_END_ALLOW_THREADS
;
5921 _resultobj
= _result
;
5926 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
5927 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5929 data
= new wxPyTreeItemData(obj
);
5930 data
->SetId(item
); // set the id
5931 self
->SetItemData(item
, data
);
5935 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5937 wxPyTreeCtrl
* _arg0
;
5938 wxTreeItemId
* _arg1
;
5940 PyObject
* _argo0
= 0;
5941 PyObject
* _argo1
= 0;
5942 PyObject
* _obj2
= 0;
5943 char *_kwnames
[] = { "self","item","obj", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
5969 wxPy_END_ALLOW_THREADS
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5975 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5976 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
* _resultobj
;
5979 wxPyTreeCtrl
* _arg0
;
5980 wxTreeItemId
* _arg1
;
5981 PyObject
* _argo0
= 0;
5982 PyObject
* _argo1
= 0;
5983 char *_kwnames
[] = { "self","item", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
6003 wxPy_BEGIN_ALLOW_THREADS
;
6004 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
6006 wxPy_END_ALLOW_THREADS
;
6007 } _resultobj
= Py_BuildValue("i",_result
);
6011 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6012 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6015 wxPyTreeCtrl
* _arg0
;
6016 wxTreeItemId
* _arg1
;
6017 PyObject
* _argo0
= 0;
6018 PyObject
* _argo1
= 0;
6019 char *_kwnames
[] = { "self","item", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6042 wxPy_END_ALLOW_THREADS
;
6043 } _resultobj
= Py_BuildValue("i",_result
);
6047 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6048 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
* _resultobj
;
6051 wxPyTreeCtrl
* _arg0
;
6052 wxTreeItemId
* _arg1
;
6053 PyObject
* _argo0
= 0;
6054 PyObject
* _argo1
= 0;
6055 char *_kwnames
[] = { "self","item", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6075 wxPy_BEGIN_ALLOW_THREADS
;
6076 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6078 wxPy_END_ALLOW_THREADS
;
6079 } _resultobj
= Py_BuildValue("i",_result
);
6083 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6084 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
* _resultobj
;
6087 wxPyTreeCtrl
* _arg0
;
6088 wxTreeItemId
* _arg1
;
6089 PyObject
* _argo0
= 0;
6090 PyObject
* _argo1
= 0;
6091 char *_kwnames
[] = { "self","item", NULL
};
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6104 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6111 wxPy_BEGIN_ALLOW_THREADS
;
6112 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6114 wxPy_END_ALLOW_THREADS
;
6115 } _resultobj
= Py_BuildValue("i",_result
);
6119 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6120 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
* _resultobj
;
6122 wxTreeItemId
* _result
;
6123 wxPyTreeCtrl
* _arg0
;
6124 PyObject
* _argo0
= 0;
6125 char *_kwnames
[] = { "self", NULL
};
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6139 wxPy_BEGIN_ALLOW_THREADS
;
6140 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6142 wxPy_END_ALLOW_THREADS
;
6143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6144 _resultobj
= Py_BuildValue("s",_ptemp
);
6148 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6149 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6151 wxTreeItemId
* _result
;
6152 wxPyTreeCtrl
* _arg0
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self", NULL
};
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6168 wxPy_BEGIN_ALLOW_THREADS
;
6169 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6171 wxPy_END_ALLOW_THREADS
;
6172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6173 _resultobj
= Py_BuildValue("s",_ptemp
);
6177 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6178 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6180 wxTreeItemId
* _result
;
6181 wxPyTreeCtrl
* _arg0
;
6182 wxTreeItemId
* _arg1
;
6183 PyObject
* _argo0
= 0;
6184 PyObject
* _argo1
= 0;
6185 char *_kwnames
[] = { "self","item", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6209 wxPy_END_ALLOW_THREADS
;
6210 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6211 _resultobj
= Py_BuildValue("s",_ptemp
);
6215 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6216 bool doSave
= wxPyRestoreThread();
6217 PyObject
* rval
= PyList_New(0);
6218 wxArrayTreeItemIds array
;
6220 num
= self
->GetSelections(array
);
6221 for (x
=0; x
< num
; x
++) {
6222 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6223 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6224 PyList_Append(rval
, item
);
6226 wxPySaveThread(doSave
);
6229 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6232 wxPyTreeCtrl
* _arg0
;
6233 PyObject
* _argo0
= 0;
6234 char *_kwnames
[] = { "self", NULL
};
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6247 wxPy_BEGIN_ALLOW_THREADS
;
6248 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6250 wxPy_END_ALLOW_THREADS
;
6252 _resultobj
= _result
;
6257 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6258 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
* _resultobj
;
6261 wxPyTreeCtrl
* _arg0
;
6262 wxTreeItemId
* _arg1
;
6263 bool _arg2
= (bool ) TRUE
;
6264 PyObject
* _argo0
= 0;
6265 PyObject
* _argo1
= 0;
6266 int tempbool2
= (int) TRUE
;
6267 char *_kwnames
[] = { "self","item","recursively", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6286 _arg2
= (bool ) tempbool2
;
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6291 wxPy_END_ALLOW_THREADS
;
6292 } _resultobj
= Py_BuildValue("i",_result
);
6296 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6297 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6299 wxTreeItemId
* _result
;
6300 wxPyTreeCtrl
* _arg0
;
6301 wxTreeItemId
* _arg1
;
6303 PyObject
* _argo0
= 0;
6304 PyObject
* _argo1
= 0;
6306 PyObject
* _obj2
= 0;
6307 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6328 temp
= (long) PyInt_AsLong(_obj2
);
6332 wxPy_BEGIN_ALLOW_THREADS
;
6333 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6335 wxPy_END_ALLOW_THREADS
;
6336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6337 _resultobj
= Py_BuildValue("s",_ptemp
);
6340 o
= PyInt_FromLong((long) (*_arg2
));
6341 _resultobj
= t_output_helper(_resultobj
, o
);
6346 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6347 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxTreeItemId
* _result
;
6350 wxPyTreeCtrl
* _arg0
;
6351 wxTreeItemId
* _arg1
;
6353 PyObject
* _argo0
= 0;
6354 PyObject
* _argo1
= 0;
6356 PyObject
* _obj2
= 0;
6357 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6378 temp
= (long) PyInt_AsLong(_obj2
);
6382 wxPy_BEGIN_ALLOW_THREADS
;
6383 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6385 wxPy_END_ALLOW_THREADS
;
6386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6387 _resultobj
= Py_BuildValue("s",_ptemp
);
6390 o
= PyInt_FromLong((long) (*_arg2
));
6391 _resultobj
= t_output_helper(_resultobj
, o
);
6396 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6397 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
* _resultobj
;
6399 wxTreeItemId
* _result
;
6400 wxPyTreeCtrl
* _arg0
;
6401 wxTreeItemId
* _arg1
;
6402 PyObject
* _argo0
= 0;
6403 PyObject
* _argo1
= 0;
6404 char *_kwnames
[] = { "self","item", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6425 wxPy_BEGIN_ALLOW_THREADS
;
6426 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6428 wxPy_END_ALLOW_THREADS
;
6429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6430 _resultobj
= Py_BuildValue("s",_ptemp
);
6434 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6435 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6437 wxTreeItemId
* _result
;
6438 wxPyTreeCtrl
* _arg0
;
6439 wxTreeItemId
* _arg1
;
6440 PyObject
* _argo0
= 0;
6441 PyObject
* _argo1
= 0;
6442 char *_kwnames
[] = { "self","item", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_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_GetPrevSibling. 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_GetPrevSibling. Expected _wxTreeItemId_p.");
6463 wxPy_BEGIN_ALLOW_THREADS
;
6464 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6466 wxPy_END_ALLOW_THREADS
;
6467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6468 _resultobj
= Py_BuildValue("s",_ptemp
);
6472 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6473 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6475 wxTreeItemId
* _result
;
6476 wxPyTreeCtrl
* _arg0
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6495 wxPy_END_ALLOW_THREADS
;
6496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6497 _resultobj
= Py_BuildValue("s",_ptemp
);
6501 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6502 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6504 wxTreeItemId
* _result
;
6505 wxPyTreeCtrl
* _arg0
;
6506 wxTreeItemId
* _arg1
;
6507 PyObject
* _argo0
= 0;
6508 PyObject
* _argo1
= 0;
6509 char *_kwnames
[] = { "self","item", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6530 wxPy_BEGIN_ALLOW_THREADS
;
6531 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6533 wxPy_END_ALLOW_THREADS
;
6534 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6535 _resultobj
= Py_BuildValue("s",_ptemp
);
6539 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6540 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6542 wxTreeItemId
* _result
;
6543 wxPyTreeCtrl
* _arg0
;
6544 wxTreeItemId
* _arg1
;
6545 PyObject
* _argo0
= 0;
6546 PyObject
* _argo1
= 0;
6547 char *_kwnames
[] = { "self","item", NULL
};
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6568 wxPy_BEGIN_ALLOW_THREADS
;
6569 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6571 wxPy_END_ALLOW_THREADS
;
6572 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6573 _resultobj
= Py_BuildValue("s",_ptemp
);
6577 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6578 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
* _resultobj
;
6580 wxTreeItemId
* _result
;
6581 wxPyTreeCtrl
* _arg0
;
6582 wxTreeItemId
* _arg1
;
6583 PyObject
* _argo0
= 0;
6584 PyObject
* _argo1
= 0;
6585 char *_kwnames
[] = { "self","item", NULL
};
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6606 wxPy_BEGIN_ALLOW_THREADS
;
6607 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6609 wxPy_END_ALLOW_THREADS
;
6610 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6611 _resultobj
= Py_BuildValue("s",_ptemp
);
6615 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6616 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6618 wxTreeItemId
* _result
;
6619 wxPyTreeCtrl
* _arg0
;
6621 int _arg2
= (int ) -1;
6622 int _arg3
= (int ) -1;
6623 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6624 PyObject
* _argo0
= 0;
6625 PyObject
* _obj1
= 0;
6626 PyObject
* _argo4
= 0;
6627 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6641 #if PYTHON_API_VERSION >= 1009
6642 char* tmpPtr
; int tmpSize
;
6643 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6647 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6649 _arg1
= new wxString(tmpPtr
, tmpSize
);
6651 if (!PyString_Check(_obj1
)) {
6652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6655 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6659 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6666 wxPy_BEGIN_ALLOW_THREADS
;
6667 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6669 wxPy_END_ALLOW_THREADS
;
6670 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6671 _resultobj
= Py_BuildValue("s",_ptemp
);
6679 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6680 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6682 wxTreeItemId
* _result
;
6683 wxPyTreeCtrl
* _arg0
;
6684 wxTreeItemId
* _arg1
;
6686 int _arg3
= (int ) -1;
6687 int _arg4
= (int ) -1;
6688 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6689 PyObject
* _argo0
= 0;
6690 PyObject
* _argo1
= 0;
6691 PyObject
* _obj2
= 0;
6692 PyObject
* _argo5
= 0;
6693 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6714 #if PYTHON_API_VERSION >= 1009
6715 char* tmpPtr
; int tmpSize
;
6716 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6720 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6722 _arg2
= new wxString(tmpPtr
, tmpSize
);
6724 if (!PyString_Check(_obj2
)) {
6725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6728 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6732 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6739 wxPy_BEGIN_ALLOW_THREADS
;
6740 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6742 wxPy_END_ALLOW_THREADS
;
6743 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6744 _resultobj
= Py_BuildValue("s",_ptemp
);
6752 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6753 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
* _resultobj
;
6755 wxTreeItemId
* _result
;
6756 wxPyTreeCtrl
* _arg0
;
6757 wxTreeItemId
* _arg1
;
6758 wxTreeItemId
* _arg2
;
6760 int _arg4
= (int ) -1;
6761 int _arg5
= (int ) -1;
6762 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6763 PyObject
* _argo0
= 0;
6764 PyObject
* _argo1
= 0;
6765 PyObject
* _argo2
= 0;
6766 PyObject
* _obj3
= 0;
6767 PyObject
* _argo6
= 0;
6768 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6789 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6790 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6796 #if PYTHON_API_VERSION >= 1009
6797 char* tmpPtr
; int tmpSize
;
6798 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6802 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6804 _arg3
= new wxString(tmpPtr
, tmpSize
);
6806 if (!PyString_Check(_obj3
)) {
6807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6810 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6814 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6821 wxPy_BEGIN_ALLOW_THREADS
;
6822 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6824 wxPy_END_ALLOW_THREADS
;
6825 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6826 _resultobj
= Py_BuildValue("s",_ptemp
);
6834 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6835 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6837 wxTreeItemId
* _result
;
6838 wxPyTreeCtrl
* _arg0
;
6839 wxTreeItemId
* _arg1
;
6842 int _arg4
= (int ) -1;
6843 int _arg5
= (int ) -1;
6844 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6845 PyObject
* _argo0
= 0;
6846 PyObject
* _argo1
= 0;
6847 PyObject
* _obj3
= 0;
6848 PyObject
* _argo6
= 0;
6849 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6870 #if PYTHON_API_VERSION >= 1009
6871 char* tmpPtr
; int tmpSize
;
6872 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6876 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6878 _arg3
= new wxString(tmpPtr
, tmpSize
);
6880 if (!PyString_Check(_obj3
)) {
6881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6884 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6888 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6889 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
6890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6895 wxPy_BEGIN_ALLOW_THREADS
;
6896 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6898 wxPy_END_ALLOW_THREADS
;
6899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6900 _resultobj
= Py_BuildValue("s",_ptemp
);
6908 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6909 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
* _resultobj
;
6911 wxTreeItemId
* _result
;
6912 wxPyTreeCtrl
* _arg0
;
6913 wxTreeItemId
* _arg1
;
6915 int _arg3
= (int ) -1;
6916 int _arg4
= (int ) -1;
6917 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6918 PyObject
* _argo0
= 0;
6919 PyObject
* _argo1
= 0;
6920 PyObject
* _obj2
= 0;
6921 PyObject
* _argo5
= 0;
6922 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6943 #if PYTHON_API_VERSION >= 1009
6944 char* tmpPtr
; int tmpSize
;
6945 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6949 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6951 _arg2
= new wxString(tmpPtr
, tmpSize
);
6953 if (!PyString_Check(_obj2
)) {
6954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6957 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6961 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6968 wxPy_BEGIN_ALLOW_THREADS
;
6969 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6971 wxPy_END_ALLOW_THREADS
;
6972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6973 _resultobj
= Py_BuildValue("s",_ptemp
);
6981 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6982 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
* _resultobj
;
6984 wxPyTreeCtrl
* _arg0
;
6985 wxTreeItemId
* _arg1
;
6986 PyObject
* _argo0
= 0;
6987 PyObject
* _argo1
= 0;
6988 char *_kwnames
[] = { "self","item", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
7001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7008 wxPy_BEGIN_ALLOW_THREADS
;
7009 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7011 wxPy_END_ALLOW_THREADS
;
7012 } Py_INCREF(Py_None
);
7013 _resultobj
= Py_None
;
7017 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7018 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7020 wxPyTreeCtrl
* _arg0
;
7021 wxTreeItemId
* _arg1
;
7022 PyObject
* _argo0
= 0;
7023 PyObject
* _argo1
= 0;
7024 char *_kwnames
[] = { "self","item", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7044 wxPy_BEGIN_ALLOW_THREADS
;
7045 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7047 wxPy_END_ALLOW_THREADS
;
7048 } Py_INCREF(Py_None
);
7049 _resultobj
= Py_None
;
7053 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7054 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7056 wxPyTreeCtrl
* _arg0
;
7057 PyObject
* _argo0
= 0;
7058 char *_kwnames
[] = { "self", NULL
};
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7071 wxPy_BEGIN_ALLOW_THREADS
;
7072 wxTreeCtrl_DeleteAllItems(_arg0
);
7074 wxPy_END_ALLOW_THREADS
;
7075 } Py_INCREF(Py_None
);
7076 _resultobj
= Py_None
;
7080 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7081 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7083 wxPyTreeCtrl
* _arg0
;
7084 wxTreeItemId
* _arg1
;
7085 PyObject
* _argo0
= 0;
7086 PyObject
* _argo1
= 0;
7087 char *_kwnames
[] = { "self","item", NULL
};
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7100 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7110 wxPy_END_ALLOW_THREADS
;
7111 } Py_INCREF(Py_None
);
7112 _resultobj
= Py_None
;
7116 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7117 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7119 wxPyTreeCtrl
* _arg0
;
7120 wxTreeItemId
* _arg1
;
7121 PyObject
* _argo0
= 0;
7122 PyObject
* _argo1
= 0;
7123 char *_kwnames
[] = { "self","item", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7143 wxPy_BEGIN_ALLOW_THREADS
;
7144 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7146 wxPy_END_ALLOW_THREADS
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7152 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7153 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7155 wxPyTreeCtrl
* _arg0
;
7156 wxTreeItemId
* _arg1
;
7157 PyObject
* _argo0
= 0;
7158 PyObject
* _argo1
= 0;
7159 char *_kwnames
[] = { "self","item", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7179 wxPy_BEGIN_ALLOW_THREADS
;
7180 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7182 wxPy_END_ALLOW_THREADS
;
7183 } Py_INCREF(Py_None
);
7184 _resultobj
= Py_None
;
7188 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7189 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7191 wxPyTreeCtrl
* _arg0
;
7192 wxTreeItemId
* _arg1
;
7193 PyObject
* _argo0
= 0;
7194 PyObject
* _argo1
= 0;
7195 char *_kwnames
[] = { "self","item", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7215 wxPy_BEGIN_ALLOW_THREADS
;
7216 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7218 wxPy_END_ALLOW_THREADS
;
7219 } Py_INCREF(Py_None
);
7220 _resultobj
= Py_None
;
7224 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7225 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7227 wxPyTreeCtrl
* _arg0
;
7228 PyObject
* _argo0
= 0;
7229 char *_kwnames
[] = { "self", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 wxTreeCtrl_Unselect(_arg0
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7251 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7252 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7254 wxPyTreeCtrl
* _arg0
;
7255 PyObject
* _argo0
= 0;
7256 char *_kwnames
[] = { "self", NULL
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7269 wxPy_BEGIN_ALLOW_THREADS
;
7270 wxTreeCtrl_UnselectAll(_arg0
);
7272 wxPy_END_ALLOW_THREADS
;
7273 } Py_INCREF(Py_None
);
7274 _resultobj
= Py_None
;
7278 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7279 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
* _resultobj
;
7281 wxPyTreeCtrl
* _arg0
;
7282 wxTreeItemId
* _arg1
;
7283 PyObject
* _argo0
= 0;
7284 PyObject
* _argo1
= 0;
7285 char *_kwnames
[] = { "self","item", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7305 wxPy_BEGIN_ALLOW_THREADS
;
7306 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7308 wxPy_END_ALLOW_THREADS
;
7309 } Py_INCREF(Py_None
);
7310 _resultobj
= Py_None
;
7314 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7315 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7317 wxPyTreeCtrl
* _arg0
;
7318 wxTreeItemId
* _arg1
;
7319 PyObject
* _argo0
= 0;
7320 PyObject
* _argo1
= 0;
7321 char *_kwnames
[] = { "self","item", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7341 wxPy_BEGIN_ALLOW_THREADS
;
7342 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7344 wxPy_END_ALLOW_THREADS
;
7345 } Py_INCREF(Py_None
);
7346 _resultobj
= Py_None
;
7350 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7351 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7353 wxPyTreeCtrl
* _arg0
;
7354 wxTreeItemId
* _arg1
;
7355 PyObject
* _argo0
= 0;
7356 PyObject
* _argo1
= 0;
7357 char *_kwnames
[] = { "self","item", NULL
};
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7377 wxPy_BEGIN_ALLOW_THREADS
;
7378 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7380 wxPy_END_ALLOW_THREADS
;
7381 } Py_INCREF(Py_None
);
7382 _resultobj
= Py_None
;
7386 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7387 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7389 wxPyTreeCtrl
* _arg0
;
7390 wxTreeItemId
* _arg1
;
7391 PyObject
* _argo0
= 0;
7392 PyObject
* _argo1
= 0;
7393 char *_kwnames
[] = { "self","item", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7413 wxPy_BEGIN_ALLOW_THREADS
;
7414 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7416 wxPy_END_ALLOW_THREADS
;
7417 } Py_INCREF(Py_None
);
7418 _resultobj
= Py_None
;
7422 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7423 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
* _resultobj
;
7425 wxPyTreeCtrl
* _arg0
;
7426 wxTreeItemId
* _arg1
;
7427 PyObject
* _argo0
= 0;
7428 PyObject
* _argo1
= 0;
7429 char *_kwnames
[] = { "self","item", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7449 wxPy_BEGIN_ALLOW_THREADS
;
7450 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7452 wxPy_END_ALLOW_THREADS
;
7453 } Py_INCREF(Py_None
);
7454 _resultobj
= Py_None
;
7458 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7459 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
* _resultobj
;
7461 wxPyTreeCtrl
* _arg0
;
7462 wxTreeItemId
* _arg1
;
7463 int _arg2
= (int ) TRUE
;
7464 PyObject
* _argo0
= 0;
7465 PyObject
* _argo1
= 0;
7466 char *_kwnames
[] = { "self","item","bold", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7486 wxPy_BEGIN_ALLOW_THREADS
;
7487 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7489 wxPy_END_ALLOW_THREADS
;
7490 } Py_INCREF(Py_None
);
7491 _resultobj
= Py_None
;
7495 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7496 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
* _resultobj
;
7499 wxPyTreeCtrl
* _arg0
;
7500 wxTreeItemId
* _arg1
;
7501 PyObject
* _argo0
= 0;
7502 PyObject
* _argo1
= 0;
7503 char *_kwnames
[] = { "self","item", NULL
};
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7523 wxPy_BEGIN_ALLOW_THREADS
;
7524 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7526 wxPy_END_ALLOW_THREADS
;
7527 } _resultobj
= Py_BuildValue("i",_result
);
7531 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7532 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7534 wxTreeItemId
* _result
;
7535 wxPyTreeCtrl
* _arg0
;
7539 PyObject
* _argo0
= 0;
7541 PyObject
* _obj1
= 0;
7542 char *_kwnames
[] = { "self","point", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7560 if (! wxPoint_helper(_obj1
, &_arg1
))
7564 wxPy_BEGIN_ALLOW_THREADS
;
7565 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7567 wxPy_END_ALLOW_THREADS
;
7568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7569 _resultobj
= Py_BuildValue("s",_ptemp
);
7572 o
= PyInt_FromLong((long) (*_arg2
));
7573 _resultobj
= t_output_helper(_resultobj
, o
);
7578 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7579 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
* _resultobj
;
7581 wxPyTreeCtrl
* _arg0
;
7582 wxTreeItemId
* _arg1
;
7584 PyObject
* _argo0
= 0;
7585 PyObject
* _argo1
= 0;
7587 PyObject
* _obj2
= 0;
7588 char *_kwnames
[] = { "self","item","col", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7609 if (! wxColour_helper(_obj2
, &_arg2
))
7613 wxPy_BEGIN_ALLOW_THREADS
;
7614 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7616 wxPy_END_ALLOW_THREADS
;
7617 } Py_INCREF(Py_None
);
7618 _resultobj
= Py_None
;
7622 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7623 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
* _resultobj
;
7625 wxPyTreeCtrl
* _arg0
;
7626 wxTreeItemId
* _arg1
;
7628 PyObject
* _argo0
= 0;
7629 PyObject
* _argo1
= 0;
7631 PyObject
* _obj2
= 0;
7632 char *_kwnames
[] = { "self","item","col", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7653 if (! wxColour_helper(_obj2
, &_arg2
))
7657 wxPy_BEGIN_ALLOW_THREADS
;
7658 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7660 wxPy_END_ALLOW_THREADS
;
7661 } Py_INCREF(Py_None
);
7662 _resultobj
= Py_None
;
7666 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7667 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
* _resultobj
;
7669 wxPyTreeCtrl
* _arg0
;
7670 wxTreeItemId
* _arg1
;
7672 PyObject
* _argo0
= 0;
7673 PyObject
* _argo1
= 0;
7674 PyObject
* _argo2
= 0;
7675 char *_kwnames
[] = { "self","item","font", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7695 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7702 wxPy_BEGIN_ALLOW_THREADS
;
7703 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7705 wxPy_END_ALLOW_THREADS
;
7706 } Py_INCREF(Py_None
);
7707 _resultobj
= Py_None
;
7711 static PyMethodDef controls2cMethods
[] = {
7712 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
7935 * This table is used by the pointer type-checker
7937 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7938 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7939 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7940 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7941 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
7942 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
7943 { "_wxEvent","_class_wxEvent",0},
7944 { "_class_wxActivateEvent","_wxActivateEvent",0},
7945 { "_signed_long","_long",0},
7946 { "_wxMenuEvent","_class_wxMenuEvent",0},
7947 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7948 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7949 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7950 { "_wxPrintQuality","_wxCoord",0},
7951 { "_wxPrintQuality","_int",0},
7952 { "_wxPrintQuality","_signed_int",0},
7953 { "_wxPrintQuality","_unsigned_int",0},
7954 { "_wxPrintQuality","_wxWindowID",0},
7955 { "_wxPrintQuality","_uint",0},
7956 { "_wxPrintQuality","_EBool",0},
7957 { "_wxPrintQuality","_size_t",0},
7958 { "_wxPrintQuality","_time_t",0},
7959 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7960 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7961 { "_class_wxRegionIterator","_wxRegionIterator",0},
7962 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7963 { "_class_wxMenuBar","_wxMenuBar",0},
7964 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
7965 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7966 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7967 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7968 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7969 { "_class_wxEvtHandler","_wxEvtHandler",0},
7970 { "_wxPaintEvent","_class_wxPaintEvent",0},
7971 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7972 { "_wxCursor","_class_wxCursor",0},
7973 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7974 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7975 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7976 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7977 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7978 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
7979 { "_wxMask","_class_wxMask",0},
7980 { "_wxPen","_class_wxPen",0},
7981 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7982 { "_byte","_unsigned_char",0},
7983 { "_wxDataObject","_class_wxDataObject",0},
7984 { "_wxStaticBox","_class_wxStaticBox",0},
7985 { "_wxColourDatabase","_class_wxColourDatabase",0},
7986 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7987 { "_wxPyDropSource","_class_wxPyDropSource",0},
7988 { "_wxChoice","_class_wxChoice",0},
7989 { "_wxSlider","_class_wxSlider",0},
7990 { "_long","_unsigned_long",0},
7991 { "_long","_signed_long",0},
7992 { "_wxImageList","_class_wxImageList",0},
7993 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7994 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7995 { "_wxBitmapButton","_class_wxBitmapButton",0},
7996 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7997 { "_class_wxClipboard","_wxClipboard",0},
7998 { "_class_wxGauge","_wxGauge",0},
7999 { "_wxGDIObject","_class_wxGDIObject",0},
8000 { "_wxDC","_class_wxDC",0},
8001 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8002 { "_wxListEvent","_class_wxListEvent",0},
8003 { "_class_wxObject","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8004 { "_class_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8005 { "_class_wxObject","_class_wxTreeEvent",SwigwxTreeEventTowxObject
},
8006 { "_class_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
8007 { "_class_wxObject","_class_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8008 { "_class_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8009 { "_class_wxObject","_class_wxListCtrl",SwigwxListCtrlTowxObject
},
8010 { "_class_wxObject","_wxListCtrl",SwigwxListCtrlTowxObject
},
8011 { "_class_wxObject","_class_wxListEvent",SwigwxListEventTowxObject
},
8012 { "_class_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
8013 { "_class_wxObject","_class_wxListItem",SwigwxListItemTowxObject
},
8014 { "_class_wxObject","_wxListItem",SwigwxListItemTowxObject
},
8015 { "_class_wxObject","_wxObject",0},
8016 { "_wxSpinEvent","_class_wxSpinEvent",0},
8017 { "_size_t","_wxCoord",0},
8018 { "_size_t","_wxPrintQuality",0},
8019 { "_size_t","_time_t",0},
8020 { "_size_t","_unsigned_int",0},
8021 { "_size_t","_int",0},
8022 { "_size_t","_wxWindowID",0},
8023 { "_size_t","_uint",0},
8024 { "_class_wxRealPoint","_wxRealPoint",0},
8025 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8026 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8027 { "_class_wxMenuItem","_wxMenuItem",0},
8028 { "_class_wxPaintEvent","_wxPaintEvent",0},
8029 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8030 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8031 { "_wxPanel","_class_wxPanel",0},
8032 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8033 { "_wxCheckBox","_class_wxCheckBox",0},
8034 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8035 { "_wxPyEvent","_class_wxPyEvent",0},
8036 { "_wxTextCtrl","_class_wxTextCtrl",0},
8037 { "_class_wxMask","_wxMask",0},
8038 { "_wxTextDataObject","_class_wxTextDataObject",0},
8039 { "_class_wxKeyEvent","_wxKeyEvent",0},
8040 { "_wxColour","_class_wxColour",0},
8041 { "_class_wxDialog","_wxDialog",0},
8042 { "_class_wxFileDataObject","_wxFileDataObject",0},
8043 { "_wxIdleEvent","_class_wxIdleEvent",0},
8044 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8045 { "_class_wxDataObject","_wxDataObject",0},
8046 { "_wxStaticLine","_class_wxStaticLine",0},
8047 { "_wxBrush","_class_wxBrush",0},
8048 { "_wxToggleButton","_class_wxToggleButton",0},
8049 { "_wxDataFormat","_class_wxDataFormat",0},
8050 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8051 { "_wxShowEvent","_class_wxShowEvent",0},
8052 { "_uint","_wxCoord",0},
8053 { "_uint","_wxPrintQuality",0},
8054 { "_uint","_time_t",0},
8055 { "_uint","_size_t",0},
8056 { "_uint","_unsigned_int",0},
8057 { "_uint","_int",0},
8058 { "_uint","_wxWindowID",0},
8059 { "_wxChar","_char",0},
8060 { "_wxPyValidator","_class_wxPyValidator",0},
8061 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8062 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8063 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8064 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8065 { "_class_wxEvent","_wxEvent",0},
8066 { "_wxCheckListBox","_class_wxCheckListBox",0},
8067 { "_wxRect","_class_wxRect",0},
8068 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8069 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8070 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8071 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8072 { "_wxCommandEvent","_class_wxCommandEvent",0},
8073 { "_wxSizeEvent","_class_wxSizeEvent",0},
8074 { "_wxPoint","_class_wxPoint",0},
8075 { "_class_wxButton","_wxButton",0},
8076 { "_wxRadioBox","_class_wxRadioBox",0},
8077 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8078 { "_char","_wxChar",0},
8079 { "_wxBitmap","_class_wxBitmap",0},
8080 { "_wxPenList","_class_wxPenList",0},
8081 { "_wxWindowDC","_class_wxWindowDC",0},
8082 { "_wxTimerEvent","_class_wxTimerEvent",0},
8083 { "_wxScrollBar","_class_wxScrollBar",0},
8084 { "_wxSpinButton","_class_wxSpinButton",0},
8085 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8086 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8087 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8088 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8089 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8090 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8091 { "_class_wxValidator","_wxValidator",0},
8092 { "_class_wxPyEvent","_wxPyEvent",0},
8093 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8094 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8095 { "_wxListItem","_class_wxListItem",0},
8096 { "_wxDropTarget","_class_wxDropTarget",0},
8097 { "_class_wxStaticLine","_wxStaticLine",0},
8098 { "_class_wxColourDatabase","_wxColourDatabase",0},
8099 { "_wxScrollEvent","_class_wxScrollEvent",0},
8100 { "_EBool","_wxCoord",0},
8101 { "_EBool","_wxPrintQuality",0},
8102 { "_EBool","_signed_int",0},
8103 { "_EBool","_int",0},
8104 { "_EBool","_wxWindowID",0},
8105 { "_class_wxRegion","_wxRegion",0},
8106 { "_class_wxDataFormat","_wxDataFormat",0},
8107 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8108 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8109 { "_wxStaticText","_class_wxStaticText",0},
8110 { "_wxFont","_class_wxFont",0},
8111 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8112 { "_wxCloseEvent","_class_wxCloseEvent",0},
8113 { "_unsigned_long","_long",0},
8114 { "_class_wxRect","_wxRect",0},
8115 { "_class_wxDC","_wxDC",0},
8116 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8117 { "_class_wxBrushList","_wxBrushList",0},
8118 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8119 { "_class_wxPenList","_wxPenList",0},
8120 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8121 { "_class_wxTreeEvent","_wxTreeEvent",0},
8122 { "_wxFocusEvent","_class_wxFocusEvent",0},
8123 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8124 { "_class_wxTimerEvent","_wxTimerEvent",0},
8125 { "_class_wxSpinButton","_wxSpinButton",0},
8126 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8127 { "_class_wxPanel","_wxPanel",0},
8128 { "_class_wxCheckBox","_wxCheckBox",0},
8129 { "_wxComboBox","_class_wxComboBox",0},
8130 { "_wxRadioButton","_class_wxRadioButton",0},
8131 { "_signed_int","_wxCoord",0},
8132 { "_signed_int","_wxPrintQuality",0},
8133 { "_signed_int","_EBool",0},
8134 { "_signed_int","_wxWindowID",0},
8135 { "_signed_int","_int",0},
8136 { "_class_wxTextCtrl","_wxTextCtrl",0},
8137 { "_class_wxListItemAttr","_wxListItemAttr",0},
8138 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8139 { "_class_wxTextDataObject","_wxTextDataObject",0},
8140 { "_wxMenu","_class_wxMenu",0},
8141 { "_class_wxMoveEvent","_wxMoveEvent",0},
8142 { "_wxListBox","_class_wxListBox",0},
8143 { "_wxScreenDC","_class_wxScreenDC",0},
8144 { "_WXTYPE","_short",0},
8145 { "_WXTYPE","_signed_short",0},
8146 { "_WXTYPE","_unsigned_short",0},
8147 { "_class_wxDropTarget","_wxDropTarget",0},
8148 { "_class_wxBrush","_wxBrush",0},
8149 { "_unsigned_short","_WXTYPE",0},
8150 { "_unsigned_short","_short",0},
8151 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8152 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8153 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8154 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8155 { "_class_wxWindow","_wxWindow",0},
8156 { "_class_wxStaticText","_wxStaticText",0},
8157 { "_class_wxFont","_wxFont",0},
8158 { "_wxClipboard","_class_wxClipboard",0},
8159 { "_class_wxPyValidator","_wxPyValidator",0},
8160 { "_class_wxCloseEvent","_wxCloseEvent",0},
8161 { "_wxBusyInfo","_class_wxBusyInfo",0},
8162 { "_wxFontList","_class_wxFontList",0},
8163 { "_class_wxMenuEvent","_wxMenuEvent",0},
8164 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8165 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8166 { "_wxClientDC","_class_wxClientDC",0},
8167 { "_wxMouseEvent","_class_wxMouseEvent",0},
8168 { "_wxListCtrl","_class_wxListCtrl",0},
8169 { "_wxObject","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8170 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
8171 { "_wxObject","_class_wxTreeEvent",SwigwxTreeEventTowxObject
},
8172 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
8173 { "_wxObject","_class_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8174 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
8175 { "_wxObject","_class_wxListCtrl",SwigwxListCtrlTowxObject
},
8176 { "_wxObject","_wxListCtrl",SwigwxListCtrlTowxObject
},
8177 { "_wxObject","_class_wxListEvent",SwigwxListEventTowxObject
},
8178 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
8179 { "_wxObject","_class_wxListItem",SwigwxListItemTowxObject
},
8180 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
8181 { "_wxObject","_class_wxObject",0},
8182 { "_class_wxPoint","_wxPoint",0},
8183 { "_wxRealPoint","_class_wxRealPoint",0},
8184 { "_class_wxRadioBox","_wxRadioBox",0},
8185 { "_signed_short","_WXTYPE",0},
8186 { "_signed_short","_short",0},
8187 { "_wxMemoryDC","_class_wxMemoryDC",0},
8188 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8189 { "_wxPaintDC","_class_wxPaintDC",0},
8190 { "_class_wxWindowDC","_wxWindowDC",0},
8191 { "_class_wxFocusEvent","_wxFocusEvent",0},
8192 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8193 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8194 { "_class_wxCursor","_wxCursor",0},
8195 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8196 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8197 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8198 { "_wxTreeItemId","_class_wxTreeItemId",0},
8199 { "_unsigned_char","_byte",0},
8200 { "_class_wxMenu","_wxMenu",0},
8201 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8202 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8203 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8204 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8205 { "_wxControl","_class_wxControl",0},
8206 { "_class_wxListBox","_wxListBox",0},
8207 { "_unsigned_int","_wxCoord",0},
8208 { "_unsigned_int","_wxPrintQuality",0},
8209 { "_unsigned_int","_time_t",0},
8210 { "_unsigned_int","_size_t",0},
8211 { "_unsigned_int","_uint",0},
8212 { "_unsigned_int","_wxWindowID",0},
8213 { "_unsigned_int","_int",0},
8214 { "_wxIcon","_class_wxIcon",0},
8215 { "_wxDialog","_class_wxDialog",0},
8216 { "_class_wxListItem","_wxListItem",0},
8217 { "_class_wxPen","_wxPen",0},
8218 { "_short","_WXTYPE",0},
8219 { "_short","_unsigned_short",0},
8220 { "_short","_signed_short",0},
8221 { "_class_wxStaticBox","_wxStaticBox",0},
8222 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8223 { "_class_wxPyDropSource","_wxPyDropSource",0},
8224 { "_class_wxScrollEvent","_wxScrollEvent",0},
8225 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8226 { "_class_wxChoice","_wxChoice",0},
8227 { "_class_wxSlider","_wxSlider",0},
8228 { "_class_wxImageList","_wxImageList",0},
8229 { "_class_wxBitmapButton","_wxBitmapButton",0},
8230 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8231 { "_wxWindowID","_wxCoord",0},
8232 { "_wxWindowID","_wxPrintQuality",0},
8233 { "_wxWindowID","_time_t",0},
8234 { "_wxWindowID","_size_t",0},
8235 { "_wxWindowID","_EBool",0},
8236 { "_wxWindowID","_uint",0},
8237 { "_wxWindowID","_int",0},
8238 { "_wxWindowID","_signed_int",0},
8239 { "_wxWindowID","_unsigned_int",0},
8240 { "_class_wxGDIObject","_wxGDIObject",0},
8241 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8242 { "_int","_wxCoord",0},
8243 { "_int","_wxPrintQuality",0},
8244 { "_int","_time_t",0},
8245 { "_int","_size_t",0},
8246 { "_int","_EBool",0},
8247 { "_int","_uint",0},
8248 { "_int","_wxWindowID",0},
8249 { "_int","_unsigned_int",0},
8250 { "_int","_signed_int",0},
8251 { "_class_wxMouseEvent","_wxMouseEvent",0},
8252 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8253 { "_class_wxListEvent","_wxListEvent",0},
8254 { "_class_wxSpinEvent","_wxSpinEvent",0},
8255 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8256 { "_time_t","_wxCoord",0},
8257 { "_time_t","_wxPrintQuality",0},
8258 { "_time_t","_unsigned_int",0},
8259 { "_time_t","_int",0},
8260 { "_time_t","_wxWindowID",0},
8261 { "_time_t","_uint",0},
8262 { "_time_t","_size_t",0},
8263 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8264 { "_wxButton","_class_wxButton",0},
8265 { "_wxSize","_class_wxSize",0},
8266 { "_wxRegionIterator","_class_wxRegionIterator",0},
8267 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8268 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8269 { "_class_wxPaintDC","_wxPaintDC",0},
8270 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8271 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8272 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8273 { "_class_wxComboBox","_wxComboBox",0},
8274 { "_class_wxRadioButton","_wxRadioButton",0},
8275 { "_wxValidator","_class_wxValidator",0},
8276 { "_class_wxTreeItemId","_wxTreeItemId",0},
8277 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8278 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8279 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8280 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8281 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8282 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8283 { "_class_wxControl","_wxControl",0},
8284 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8285 { "_class_wxIcon","_wxIcon",0},
8286 { "_class_wxColour","_wxColour",0},
8287 { "_class_wxScreenDC","_wxScreenDC",0},
8288 { "_wxPalette","_class_wxPalette",0},
8289 { "_class_wxIdleEvent","_wxIdleEvent",0},
8290 { "_wxCoord","_int",0},
8291 { "_wxCoord","_signed_int",0},
8292 { "_wxCoord","_unsigned_int",0},
8293 { "_wxCoord","_wxWindowID",0},
8294 { "_wxCoord","_uint",0},
8295 { "_wxCoord","_EBool",0},
8296 { "_wxCoord","_size_t",0},
8297 { "_wxCoord","_time_t",0},
8298 { "_wxCoord","_wxPrintQuality",0},
8299 { "_wxEraseEvent","_class_wxEraseEvent",0},
8300 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8301 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8302 { "_class_wxToggleButton","_wxToggleButton",0},
8303 { "_wxRegion","_class_wxRegion",0},
8304 { "_class_wxShowEvent","_wxShowEvent",0},
8305 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8306 { "_wxActivateEvent","_class_wxActivateEvent",0},
8307 { "_wxGauge","_class_wxGauge",0},
8308 { "_class_wxCheckListBox","_wxCheckListBox",0},
8309 { "_class_wxBusyInfo","_wxBusyInfo",0},
8310 { "_class_wxFontList","_wxFontList",0},
8311 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8312 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8313 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8314 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8315 { "_class_wxCommandEvent","_wxCommandEvent",0},
8316 { "_class_wxClientDC","_wxClientDC",0},
8317 { "_class_wxSizeEvent","_wxSizeEvent",0},
8318 { "_class_wxListCtrl","_wxListCtrl",0},
8319 { "_wxBrushList","_class_wxBrushList",0},
8320 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8321 { "_class_wxSize","_wxSize",0},
8322 { "_class_wxBitmap","_wxBitmap",0},
8323 { "_class_wxMemoryDC","_wxMemoryDC",0},
8324 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8325 { "_wxMenuBar","_class_wxMenuBar",0},
8326 { "_wxTreeEvent","_class_wxTreeEvent",0},
8327 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8328 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8329 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8330 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8331 { "_wxEvtHandler","_class_wxEvtHandler",0},
8332 { "_wxMenuItem","_class_wxMenuItem",0},
8333 { "_class_wxScrollBar","_wxScrollBar",0},
8334 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8335 { "_wxListItemAttr","_class_wxListItemAttr",0},
8336 { "_wxKeyEvent","_class_wxKeyEvent",0},
8337 { "_wxMoveEvent","_class_wxMoveEvent",0},
8338 { "_class_wxPalette","_wxPalette",0},
8339 { "_wxFileDataObject","_class_wxFileDataObject",0},
8340 { "_class_wxEraseEvent","_wxEraseEvent",0},
8341 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8342 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8343 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8344 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8345 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8346 { "_wxWindow","_class_wxWindow",0},
8347 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8350 static PyObject
*SWIG_globals
;
8354 SWIGEXPORT(void) initcontrols2c() {
8356 SWIG_globals
= SWIG_newvarlink();
8357 m
= Py_InitModule("controls2c", controls2cMethods
);
8358 d
= PyModule_GetDict(m
);
8359 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8360 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8361 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8362 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8363 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8364 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8365 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8366 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8367 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8368 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8369 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8370 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8371 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8372 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8373 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8374 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8375 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8376 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8377 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8378 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8379 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8380 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8381 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8382 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8383 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8384 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8385 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8386 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8387 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8388 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8389 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8390 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8391 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8392 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8393 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8394 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8395 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8396 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8397 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8398 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8399 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8400 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8401 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8402 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8403 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8404 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8405 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8406 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8407 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8408 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8409 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8410 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8411 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8412 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8413 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8414 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8415 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8416 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8417 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8418 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8419 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8420 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8421 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8422 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8423 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8424 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8425 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8426 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8427 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8428 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8429 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8430 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8431 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8432 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8433 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8434 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8435 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8436 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8437 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8438 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8439 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8440 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8441 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8442 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8443 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8444 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8445 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8446 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8447 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8448 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8449 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8450 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8451 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8452 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8453 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8454 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
8456 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
8457 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
8460 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8461 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);