2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 #if PYTHON_API_VERSION >= 1009
112 static char* wxStringErrorMsg
= "String or Unicode type required";
114 static char* wxStringErrorMsg
= "string type is required for parameter";
117 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
119 PyObject
* func
= (PyObject
*)funcPtr
;
120 bool doSave
= wxPyRestoreThread();
122 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
123 PyObject
* result
= PyEval_CallObject(func
, args
);
126 retval
= PyInt_AsLong(result
);
130 wxPySaveThread(doSave
);
135 class wxPyTreeItemData
: public wxTreeItemData
{
137 wxPyTreeItemData(PyObject
* obj
= NULL
) {
144 ~wxPyTreeItemData() {
145 bool doSave
= wxPyRestoreThread();
147 wxPySaveThread(doSave
);
150 PyObject
* GetData() {
155 void SetData(PyObject
* obj
) {
156 bool doSave
= wxPyRestoreThread();
158 wxPySaveThread(doSave
);
166 class wxPyTreeCtrl
: public wxTreeCtrl
{
168 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
172 const wxValidator
& validator
,
174 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
177 int OnCompareItems(const wxTreeItemId
& item1
,
178 const wxTreeItemId
& item2
) {
180 bool doSave
= wxPyRestoreThread();
181 if (m_myInst
.findCallback("OnCompareItems"))
182 rval
= m_myInst
.callCallback(Py_BuildValue(
184 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
185 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
187 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
188 wxPySaveThread(doSave
);
197 #define new_wxListItemAttr() (new wxListItemAttr())
198 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
200 wxListItemAttr
* _result
;
201 char *_kwnames
[] = { NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxListItemAttr
*)new_wxListItemAttr();
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
223 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
225 wxListItemAttr
* _arg0
;
227 PyObject
* _argo0
= 0;
229 PyObject
* _obj1
= 0;
230 char *_kwnames
[] = { "self","colText", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
244 if (! wxColour_helper(_obj1
, &_arg1
))
248 wxPy_BEGIN_ALLOW_THREADS
;
249 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
251 wxPy_END_ALLOW_THREADS
;
252 } Py_INCREF(Py_None
);
253 _resultobj
= Py_None
;
257 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
258 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
260 wxListItemAttr
* _arg0
;
262 PyObject
* _argo0
= 0;
264 PyObject
* _obj1
= 0;
265 char *_kwnames
[] = { "self","colBack", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
279 if (! wxColour_helper(_obj1
, &_arg1
))
283 wxPy_BEGIN_ALLOW_THREADS
;
284 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
286 wxPy_END_ALLOW_THREADS
;
287 } Py_INCREF(Py_None
);
288 _resultobj
= Py_None
;
292 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
293 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 wxListItemAttr
* _arg0
;
297 PyObject
* _argo0
= 0;
298 PyObject
* _argo1
= 0;
299 char *_kwnames
[] = { "self","font", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
319 wxPy_BEGIN_ALLOW_THREADS
;
320 wxListItemAttr_SetFont(_arg0
,*_arg1
);
322 wxPy_END_ALLOW_THREADS
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
329 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
332 wxListItemAttr
* _arg0
;
333 PyObject
* _argo0
= 0;
334 char *_kwnames
[] = { "self", NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
347 wxPy_BEGIN_ALLOW_THREADS
;
348 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
350 wxPy_END_ALLOW_THREADS
;
351 } _resultobj
= Py_BuildValue("i",_result
);
355 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
356 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
359 wxListItemAttr
* _arg0
;
360 PyObject
* _argo0
= 0;
361 char *_kwnames
[] = { "self", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
374 wxPy_BEGIN_ALLOW_THREADS
;
375 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
377 wxPy_END_ALLOW_THREADS
;
378 } _resultobj
= Py_BuildValue("i",_result
);
382 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
383 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
386 wxListItemAttr
* _arg0
;
387 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "self", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
401 wxPy_BEGIN_ALLOW_THREADS
;
402 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
404 wxPy_END_ALLOW_THREADS
;
405 } _resultobj
= Py_BuildValue("i",_result
);
409 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
410 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
411 PyObject
* _resultobj
;
413 wxListItemAttr
* _arg0
;
414 PyObject
* _argo0
= 0;
415 char *_kwnames
[] = { "self", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
429 wxPy_BEGIN_ALLOW_THREADS
;
430 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
431 _result
= (wxColour
*) &_result_ref
;
433 wxPy_END_ALLOW_THREADS
;
435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
436 _resultobj
= Py_BuildValue("s",_ptemp
);
439 _resultobj
= Py_None
;
444 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
445 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
448 wxListItemAttr
* _arg0
;
449 PyObject
* _argo0
= 0;
450 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
466 _result
= (wxColour
*) &_result_ref
;
468 wxPy_END_ALLOW_THREADS
;
470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
471 _resultobj
= Py_BuildValue("s",_ptemp
);
474 _resultobj
= Py_None
;
479 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
480 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
481 PyObject
* _resultobj
;
483 wxListItemAttr
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
499 wxPy_BEGIN_ALLOW_THREADS
;
500 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
501 _result
= (wxFont
*) &_result_ref
;
503 wxPy_END_ALLOW_THREADS
;
505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
506 _resultobj
= Py_BuildValue("s",_ptemp
);
509 _resultobj
= Py_None
;
514 #define new_wxListItem() (new wxListItem())
515 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
517 wxListItem
* _result
;
518 char *_kwnames
[] = { NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= (wxListItem
*)new_wxListItem();
528 wxPy_END_ALLOW_THREADS
;
530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
531 _resultobj
= Py_BuildValue("s",_ptemp
);
534 _resultobj
= Py_None
;
539 #define delete_wxListItem(_swigobj) (delete _swigobj)
540 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 PyObject
* _argo0
= 0;
544 char *_kwnames
[] = { "self", NULL
};
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
557 wxPy_BEGIN_ALLOW_THREADS
;
558 delete_wxListItem(_arg0
);
560 wxPy_END_ALLOW_THREADS
;
561 } Py_INCREF(Py_None
);
562 _resultobj
= Py_None
;
566 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
567 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "self", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
584 wxPy_BEGIN_ALLOW_THREADS
;
585 wxListItem_Clear(_arg0
);
587 wxPy_END_ALLOW_THREADS
;
588 } Py_INCREF(Py_None
);
589 _resultobj
= Py_None
;
593 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
594 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 wxListItem_ClearAttributes(_arg0
);
614 wxPy_END_ALLOW_THREADS
;
615 } Py_INCREF(Py_None
);
616 _resultobj
= Py_None
;
620 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
621 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self","mask", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 wxListItem_SetMask(_arg0
,_arg1
);
642 wxPy_END_ALLOW_THREADS
;
643 } Py_INCREF(Py_None
);
644 _resultobj
= Py_None
;
648 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
649 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self","id", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 wxListItem_SetId(_arg0
,_arg1
);
670 wxPy_END_ALLOW_THREADS
;
671 } Py_INCREF(Py_None
);
672 _resultobj
= Py_None
;
676 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
677 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
681 PyObject
* _argo0
= 0;
682 char *_kwnames
[] = { "self","col", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 wxListItem_SetColumn(_arg0
,_arg1
);
698 wxPy_END_ALLOW_THREADS
;
699 } Py_INCREF(Py_None
);
700 _resultobj
= Py_None
;
704 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
705 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
709 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self","state", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
723 wxPy_BEGIN_ALLOW_THREADS
;
724 wxListItem_SetState(_arg0
,_arg1
);
726 wxPy_END_ALLOW_THREADS
;
727 } Py_INCREF(Py_None
);
728 _resultobj
= Py_None
;
732 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
733 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
737 PyObject
* _argo0
= 0;
738 char *_kwnames
[] = { "self","stateMask", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
751 wxPy_BEGIN_ALLOW_THREADS
;
752 wxListItem_SetStateMask(_arg0
,_arg1
);
754 wxPy_END_ALLOW_THREADS
;
755 } Py_INCREF(Py_None
);
756 _resultobj
= Py_None
;
760 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
761 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
765 PyObject
* _argo0
= 0;
766 PyObject
* _obj1
= 0;
767 char *_kwnames
[] = { "self","text", NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
780 #if PYTHON_API_VERSION >= 1009
781 char* tmpPtr
; int tmpSize
;
782 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
786 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
788 _arg1
= new wxString(tmpPtr
, tmpSize
);
790 if (!PyString_Check(_obj1
)) {
791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
794 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
798 wxPy_BEGIN_ALLOW_THREADS
;
799 wxListItem_SetText(_arg0
,*_arg1
);
801 wxPy_END_ALLOW_THREADS
;
802 } Py_INCREF(Py_None
);
803 _resultobj
= Py_None
;
811 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
812 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
816 PyObject
* _argo0
= 0;
817 char *_kwnames
[] = { "self","image", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
830 wxPy_BEGIN_ALLOW_THREADS
;
831 wxListItem_SetImage(_arg0
,_arg1
);
833 wxPy_END_ALLOW_THREADS
;
834 } Py_INCREF(Py_None
);
835 _resultobj
= Py_None
;
839 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
840 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self","data", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 wxListItem_SetData(_arg0
,_arg1
);
861 wxPy_END_ALLOW_THREADS
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
868 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
872 PyObject
* _argo0
= 0;
873 char *_kwnames
[] = { "self","width", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
886 wxPy_BEGIN_ALLOW_THREADS
;
887 wxListItem_SetWidth(_arg0
,_arg1
);
889 wxPy_END_ALLOW_THREADS
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
895 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
896 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
899 wxListColumnFormat _arg1
;
900 PyObject
* _argo0
= 0;
901 char *_kwnames
[] = { "self","align", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
914 wxPy_BEGIN_ALLOW_THREADS
;
915 wxListItem_SetAlign(_arg0
,_arg1
);
917 wxPy_END_ALLOW_THREADS
;
918 } Py_INCREF(Py_None
);
919 _resultobj
= Py_None
;
923 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
924 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 PyObject
* _resultobj
;
928 PyObject
* _argo0
= 0;
930 PyObject
* _obj1
= 0;
931 char *_kwnames
[] = { "self","colText", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
945 if (! wxColour_helper(_obj1
, &_arg1
))
949 wxPy_BEGIN_ALLOW_THREADS
;
950 wxListItem_SetTextColour(_arg0
,*_arg1
);
952 wxPy_END_ALLOW_THREADS
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
959 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
963 PyObject
* _argo0
= 0;
965 PyObject
* _obj1
= 0;
966 char *_kwnames
[] = { "self","colBack", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
980 if (! wxColour_helper(_obj1
, &_arg1
))
984 wxPy_BEGIN_ALLOW_THREADS
;
985 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
987 wxPy_END_ALLOW_THREADS
;
988 } Py_INCREF(Py_None
);
989 _resultobj
= Py_None
;
993 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
994 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
998 PyObject
* _argo0
= 0;
999 PyObject
* _argo1
= 0;
1000 char *_kwnames
[] = { "self","font", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1013 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1014 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 wxListItem_SetFont(_arg0
,*_arg1
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1030 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (long )wxListItem_GetMask(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("l",_result
);
1056 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1057 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1075 wxPy_BEGIN_ALLOW_THREADS
;
1076 _result
= (long )wxListItem_GetId(_arg0
);
1078 wxPy_END_ALLOW_THREADS
;
1079 } _resultobj
= Py_BuildValue("l",_result
);
1083 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1084 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 PyObject
* _argo0
= 0;
1089 char *_kwnames
[] = { "self", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1102 wxPy_BEGIN_ALLOW_THREADS
;
1103 _result
= (int )wxListItem_GetColumn(_arg0
);
1105 wxPy_END_ALLOW_THREADS
;
1106 } _resultobj
= Py_BuildValue("i",_result
);
1110 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1111 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1115 PyObject
* _argo0
= 0;
1116 char *_kwnames
[] = { "self", NULL
};
1119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 _result
= (long )wxListItem_GetState(_arg0
);
1132 wxPy_END_ALLOW_THREADS
;
1133 } _resultobj
= Py_BuildValue("l",_result
);
1137 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1138 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1142 PyObject
* _argo0
= 0;
1143 char *_kwnames
[] = { "self", NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1156 wxPy_BEGIN_ALLOW_THREADS
;
1157 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1158 _result
= (wxString
*) &_result_ref
;
1160 wxPy_END_ALLOW_THREADS
;
1162 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1167 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1168 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1172 PyObject
* _argo0
= 0;
1173 char *_kwnames
[] = { "self", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 _result
= (int )wxListItem_GetImage(_arg0
);
1189 wxPy_END_ALLOW_THREADS
;
1190 } _resultobj
= Py_BuildValue("i",_result
);
1194 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1195 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 _result
= (long )wxListItem_GetData(_arg0
);
1216 wxPy_END_ALLOW_THREADS
;
1217 } _resultobj
= Py_BuildValue("l",_result
);
1221 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1222 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1226 PyObject
* _argo0
= 0;
1227 char *_kwnames
[] = { "self", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1240 wxPy_BEGIN_ALLOW_THREADS
;
1241 _result
= (int )wxListItem_GetWidth(_arg0
);
1243 wxPy_END_ALLOW_THREADS
;
1244 } _resultobj
= Py_BuildValue("i",_result
);
1248 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1249 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1251 wxListColumnFormat _result
;
1253 PyObject
* _argo0
= 0;
1254 char *_kwnames
[] = { "self", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1270 wxPy_END_ALLOW_THREADS
;
1271 } _resultobj
= Py_BuildValue("i",_result
);
1275 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1276 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1278 wxListItemAttr
* _result
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1298 wxPy_END_ALLOW_THREADS
;
1300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1301 _resultobj
= Py_BuildValue("s",_ptemp
);
1304 _resultobj
= Py_None
;
1309 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1310 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1314 PyObject
* _argo0
= 0;
1315 char *_kwnames
[] = { "self", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } _resultobj
= Py_BuildValue("i",_result
);
1336 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1337 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "self", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1356 wxPy_BEGIN_ALLOW_THREADS
;
1357 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1359 wxPy_END_ALLOW_THREADS
;
1360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1365 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1366 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1388 wxPy_END_ALLOW_THREADS
;
1389 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1390 _resultobj
= Py_BuildValue("s",_ptemp
);
1394 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1395 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1417 wxPy_END_ALLOW_THREADS
;
1418 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1419 _resultobj
= Py_BuildValue("s",_ptemp
);
1423 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1424 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self","m_mask", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } _resultobj
= Py_BuildValue("l",_result
);
1451 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1452 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 _result
= (long )wxListItem_m_mask_get(_arg0
);
1473 wxPy_END_ALLOW_THREADS
;
1474 } _resultobj
= Py_BuildValue("l",_result
);
1478 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1479 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self","m_itemId", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } _resultobj
= Py_BuildValue("l",_result
);
1506 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1507 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1511 PyObject
* _argo0
= 0;
1512 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1525 wxPy_BEGIN_ALLOW_THREADS
;
1526 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1528 wxPy_END_ALLOW_THREADS
;
1529 } _resultobj
= Py_BuildValue("l",_result
);
1533 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1534 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self","m_col", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1556 wxPy_END_ALLOW_THREADS
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1561 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1562 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1566 PyObject
* _argo0
= 0;
1567 char *_kwnames
[] = { "self", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 _result
= (int )wxListItem_m_col_get(_arg0
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1589 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1594 PyObject
* _argo0
= 0;
1595 char *_kwnames
[] = { "self","m_state", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1608 wxPy_BEGIN_ALLOW_THREADS
;
1609 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1611 wxPy_END_ALLOW_THREADS
;
1612 } _resultobj
= Py_BuildValue("l",_result
);
1616 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1617 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1621 PyObject
* _argo0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 _result
= (long )wxListItem_m_state_get(_arg0
);
1638 wxPy_END_ALLOW_THREADS
;
1639 } _resultobj
= Py_BuildValue("l",_result
);
1643 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1644 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 } _resultobj
= Py_BuildValue("l",_result
);
1671 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1672 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1676 PyObject
* _argo0
= 0;
1677 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1693 wxPy_END_ALLOW_THREADS
;
1694 } _resultobj
= Py_BuildValue("l",_result
);
1698 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1699 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1704 PyObject
* _argo0
= 0;
1705 PyObject
* _obj1
= 0;
1706 char *_kwnames
[] = { "self","m_text", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1719 #if PYTHON_API_VERSION >= 1009
1720 char* tmpPtr
; int tmpSize
;
1721 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1725 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1727 _arg1
= new wxString(tmpPtr
, tmpSize
);
1729 if (!PyString_Check(_obj1
)) {
1730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1733 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1740 wxPy_END_ALLOW_THREADS
;
1742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1751 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1752 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1756 PyObject
* _argo0
= 0;
1757 char *_kwnames
[] = { "self", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1773 wxPy_END_ALLOW_THREADS
;
1775 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1780 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1781 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self","m_image", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1803 wxPy_END_ALLOW_THREADS
;
1804 } _resultobj
= Py_BuildValue("i",_result
);
1808 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1809 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1813 PyObject
* _argo0
= 0;
1814 char *_kwnames
[] = { "self", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1827 wxPy_BEGIN_ALLOW_THREADS
;
1828 _result
= (int )wxListItem_m_image_get(_arg0
);
1830 wxPy_END_ALLOW_THREADS
;
1831 } _resultobj
= Py_BuildValue("i",_result
);
1835 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1836 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self","m_data", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } _resultobj
= Py_BuildValue("l",_result
);
1863 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1864 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (long )wxListItem_m_data_get(_arg0
);
1885 wxPy_END_ALLOW_THREADS
;
1886 } _resultobj
= Py_BuildValue("l",_result
);
1890 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1891 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1896 PyObject
* _argo0
= 0;
1897 char *_kwnames
[] = { "self","m_format", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1910 wxPy_BEGIN_ALLOW_THREADS
;
1911 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1913 wxPy_END_ALLOW_THREADS
;
1914 } _resultobj
= Py_BuildValue("i",_result
);
1918 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1919 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1937 wxPy_BEGIN_ALLOW_THREADS
;
1938 _result
= (int )wxListItem_m_format_get(_arg0
);
1940 wxPy_END_ALLOW_THREADS
;
1941 } _resultobj
= Py_BuildValue("i",_result
);
1945 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1946 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "self","m_width", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1965 wxPy_BEGIN_ALLOW_THREADS
;
1966 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1968 wxPy_END_ALLOW_THREADS
;
1969 } _resultobj
= Py_BuildValue("i",_result
);
1973 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1974 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= (int )wxListItem_m_width_get(_arg0
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } _resultobj
= Py_BuildValue("i",_result
);
2000 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2002 wxNotifyEvent
*dest
;
2003 src
= (wxListEvent
*) ptr
;
2004 dest
= (wxNotifyEvent
*) src
;
2005 return (void *) dest
;
2008 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2010 wxCommandEvent
*dest
;
2011 src
= (wxListEvent
*) ptr
;
2012 dest
= (wxCommandEvent
*) src
;
2013 return (void *) dest
;
2016 static void *SwigwxListEventTowxEvent(void *ptr
) {
2019 src
= (wxListEvent
*) ptr
;
2020 dest
= (wxEvent
*) src
;
2021 return (void *) dest
;
2024 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2025 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 wxListEvent
* _arg0
;
2030 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self","m_code", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2044 wxPy_BEGIN_ALLOW_THREADS
;
2045 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2047 wxPy_END_ALLOW_THREADS
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2053 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2056 wxListEvent
* _arg0
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 _result
= (int )wxListEvent_m_code_get(_arg0
);
2074 wxPy_END_ALLOW_THREADS
;
2075 } _resultobj
= Py_BuildValue("i",_result
);
2079 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2080 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2083 wxListEvent
* _arg0
;
2085 PyObject
* _argo0
= 0;
2086 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2102 wxPy_END_ALLOW_THREADS
;
2103 } _resultobj
= Py_BuildValue("l",_result
);
2107 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2108 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2111 wxListEvent
* _arg0
;
2112 PyObject
* _argo0
= 0;
2113 char *_kwnames
[] = { "self", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2129 wxPy_END_ALLOW_THREADS
;
2130 } _resultobj
= Py_BuildValue("l",_result
);
2134 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2135 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2138 wxListEvent
* _arg0
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2154 wxPy_BEGIN_ALLOW_THREADS
;
2155 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2157 wxPy_END_ALLOW_THREADS
;
2158 } _resultobj
= Py_BuildValue("l",_result
);
2162 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2163 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2166 wxListEvent
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } _resultobj
= Py_BuildValue("l",_result
);
2189 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2190 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2193 wxListEvent
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self","m_col", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2212 wxPy_END_ALLOW_THREADS
;
2213 } _resultobj
= Py_BuildValue("i",_result
);
2217 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2218 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
* _resultobj
;
2221 wxListEvent
* _arg0
;
2222 PyObject
* _argo0
= 0;
2223 char *_kwnames
[] = { "self", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2236 wxPy_BEGIN_ALLOW_THREADS
;
2237 _result
= (int )wxListEvent_m_col_get(_arg0
);
2239 wxPy_END_ALLOW_THREADS
;
2240 } _resultobj
= Py_BuildValue("i",_result
);
2244 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2245 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
* _resultobj
;
2248 wxListEvent
* _arg0
;
2250 PyObject
* _argo0
= 0;
2252 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2264 _arg1
= (bool ) tempbool1
;
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } _resultobj
= Py_BuildValue("i",_result
);
2274 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2275 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2278 wxListEvent
* _arg0
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } _resultobj
= Py_BuildValue("i",_result
);
2301 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2302 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2305 wxListEvent
* _arg0
;
2307 PyObject
* _argo0
= 0;
2309 PyObject
* _obj1
= 0;
2310 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2325 if (! wxPoint_helper(_obj1
, &_arg1
))
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2332 wxPy_END_ALLOW_THREADS
;
2334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2335 _resultobj
= Py_BuildValue("s",_ptemp
);
2338 _resultobj
= Py_None
;
2343 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2344 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2347 wxListEvent
* _arg0
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2363 wxPy_BEGIN_ALLOW_THREADS
;
2364 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2366 wxPy_END_ALLOW_THREADS
;
2368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2369 _resultobj
= Py_BuildValue("s",_ptemp
);
2372 _resultobj
= Py_None
;
2377 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2378 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxListItem
* _result
;
2381 wxListEvent
* _arg0
;
2383 PyObject
* _argo0
= 0;
2384 PyObject
* _argo1
= 0;
2385 char *_kwnames
[] = { "self","m_item", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2409 wxPy_END_ALLOW_THREADS
;
2411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2412 _resultobj
= Py_BuildValue("s",_ptemp
);
2415 _resultobj
= Py_None
;
2420 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2421 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2423 wxListItem
* _result
;
2424 wxListEvent
* _arg0
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2440 wxPy_BEGIN_ALLOW_THREADS
;
2441 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2443 wxPy_END_ALLOW_THREADS
;
2445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2446 _resultobj
= Py_BuildValue("s",_ptemp
);
2449 _resultobj
= Py_None
;
2454 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2455 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2458 wxListEvent
* _arg0
;
2459 PyObject
* _argo0
= 0;
2460 char *_kwnames
[] = { "self", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 _result
= (int )wxListEvent_GetCode(_arg0
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } _resultobj
= Py_BuildValue("i",_result
);
2481 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2482 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2485 wxListEvent
* _arg0
;
2486 PyObject
* _argo0
= 0;
2487 char *_kwnames
[] = { "self", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 _result
= (long )wxListEvent_GetIndex(_arg0
);
2503 wxPy_END_ALLOW_THREADS
;
2504 } _resultobj
= Py_BuildValue("l",_result
);
2508 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2509 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2512 wxListEvent
* _arg0
;
2513 PyObject
* _argo0
= 0;
2514 char *_kwnames
[] = { "self", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2527 wxPy_BEGIN_ALLOW_THREADS
;
2528 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2530 wxPy_END_ALLOW_THREADS
;
2531 } _resultobj
= Py_BuildValue("l",_result
);
2535 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2536 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2539 wxListEvent
* _arg0
;
2540 PyObject
* _argo0
= 0;
2541 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } _resultobj
= Py_BuildValue("l",_result
);
2562 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2563 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2566 wxListEvent
* _arg0
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (int )wxListEvent_GetColumn(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } _resultobj
= Py_BuildValue("i",_result
);
2589 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2590 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2593 wxListEvent
* _arg0
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } _resultobj
= Py_BuildValue("i",_result
);
2616 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2617 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2620 wxListEvent
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2639 wxPy_END_ALLOW_THREADS
;
2640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2641 _resultobj
= Py_BuildValue("s",_ptemp
);
2645 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2646 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2649 wxListEvent
* _arg0
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2666 _result
= (wxString
*) &_result_ref
;
2668 wxPy_END_ALLOW_THREADS
;
2670 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2675 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2676 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2679 wxListEvent
* _arg0
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2694 wxPy_BEGIN_ALLOW_THREADS
;
2695 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2696 _result
= (wxString
*) &_result_ref
;
2698 wxPy_END_ALLOW_THREADS
;
2700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2705 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2706 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2709 wxListEvent
* _arg0
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 _result
= (int )wxListEvent_GetImage(_arg0
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2733 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2736 wxListEvent
* _arg0
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= (long )wxListEvent_GetData(_arg0
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } _resultobj
= Py_BuildValue("l",_result
);
2759 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2760 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2763 wxListEvent
* _arg0
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 _result
= (long )wxListEvent_GetMask(_arg0
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } _resultobj
= Py_BuildValue("l",_result
);
2786 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2787 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2789 wxListItem
* _result
;
2790 wxListEvent
* _arg0
;
2791 PyObject
* _argo0
= 0;
2792 char *_kwnames
[] = { "self", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2806 wxPy_BEGIN_ALLOW_THREADS
;
2807 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2808 _result
= (wxListItem
*) &_result_ref
;
2810 wxPy_END_ALLOW_THREADS
;
2812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2813 _resultobj
= Py_BuildValue("s",_ptemp
);
2816 _resultobj
= Py_None
;
2821 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2824 src
= (wxListCtrl
*) ptr
;
2825 dest
= (wxControl
*) src
;
2826 return (void *) dest
;
2829 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2832 src
= (wxListCtrl
*) ptr
;
2833 dest
= (wxWindow
*) src
;
2834 return (void *) dest
;
2837 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2840 src
= (wxListCtrl
*) ptr
;
2841 dest
= (wxEvtHandler
*) src
;
2842 return (void *) dest
;
2845 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2846 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxListCtrl
* _result
;
2851 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2852 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2853 long _arg4
= (long ) wxLC_ICON
;
2854 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2855 char * _arg6
= (char *) "listCtrl";
2856 PyObject
* _argo0
= 0;
2858 PyObject
* _obj2
= 0;
2860 PyObject
* _obj3
= 0;
2861 PyObject
* _argo5
= 0;
2862 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2878 if (! wxPoint_helper(_obj2
, &_arg2
))
2884 if (! wxSize_helper(_obj3
, &_arg3
))
2888 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2898 wxPy_END_ALLOW_THREADS
;
2900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2901 _resultobj
= Py_BuildValue("s",_ptemp
);
2904 _resultobj
= Py_None
;
2909 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2910 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2914 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self","flag", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2929 wxPy_BEGIN_ALLOW_THREADS
;
2930 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2932 wxPy_END_ALLOW_THREADS
;
2933 } _resultobj
= Py_BuildValue("i",_result
);
2937 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
2938 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2941 wxImageList
* _arg1
;
2943 PyObject
* _argo0
= 0;
2944 PyObject
* _argo1
= 0;
2945 char *_kwnames
[] = { "self","imageList","which", NULL
};
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxListCtrl_p.");
2958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2975 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self","item", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2997 wxPy_END_ALLOW_THREADS
;
2998 } _resultobj
= Py_BuildValue("i",_result
);
3002 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3003 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
3021 wxPy_BEGIN_ALLOW_THREADS
;
3022 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
3024 wxPy_END_ALLOW_THREADS
;
3025 } _resultobj
= Py_BuildValue("i",_result
);
3029 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
3030 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self","col", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3049 wxPy_BEGIN_ALLOW_THREADS
;
3050 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
3052 wxPy_END_ALLOW_THREADS
;
3053 } _resultobj
= Py_BuildValue("i",_result
);
3057 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3058 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3062 PyObject
* _argo0
= 0;
3063 char *_kwnames
[] = { "self", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3079 wxPy_END_ALLOW_THREADS
;
3080 } _resultobj
= Py_BuildValue("i",_result
);
3084 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3085 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3102 wxPy_BEGIN_ALLOW_THREADS
;
3103 wxListCtrl_ClearAll(_arg0
);
3105 wxPy_END_ALLOW_THREADS
;
3106 } Py_INCREF(Py_None
);
3107 _resultobj
= Py_None
;
3111 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3112 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3114 wxTextCtrl
* _result
;
3117 PyObject
* _argo0
= 0;
3118 char *_kwnames
[] = { "self","item", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
3135 wxPy_END_ALLOW_THREADS
;
3137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3138 _resultobj
= Py_BuildValue("s",_ptemp
);
3141 _resultobj
= Py_None
;
3146 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
3147 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3152 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self","cancel", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
3166 _arg1
= (bool ) tempbool1
;
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
3171 wxPy_END_ALLOW_THREADS
;
3172 } _resultobj
= Py_BuildValue("i",_result
);
3176 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3177 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3179 wxTextCtrl
* _result
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3199 wxPy_END_ALLOW_THREADS
;
3201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3202 _resultobj
= Py_BuildValue("s",_ptemp
);
3205 _resultobj
= Py_None
;
3210 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3211 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self","item", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3233 wxPy_END_ALLOW_THREADS
;
3234 } _resultobj
= Py_BuildValue("i",_result
);
3238 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3239 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3245 bool _arg3
= (bool ) FALSE
;
3246 PyObject
* _argo0
= 0;
3247 PyObject
* _obj2
= 0;
3248 int tempbool3
= (int) FALSE
;
3249 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3262 #if PYTHON_API_VERSION >= 1009
3263 char* tmpPtr
; int tmpSize
;
3264 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3268 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3270 _arg2
= new wxString(tmpPtr
, tmpSize
);
3272 if (!PyString_Check(_obj2
)) {
3273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3276 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3279 _arg3
= (bool ) tempbool3
;
3281 wxPy_BEGIN_ALLOW_THREADS
;
3282 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3284 wxPy_END_ALLOW_THREADS
;
3285 } _resultobj
= Py_BuildValue("l",_result
);
3293 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3294 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self","start","data", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } _resultobj
= Py_BuildValue("l",_result
);
3322 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3323 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3330 PyObject
* _argo0
= 0;
3332 PyObject
* _obj2
= 0;
3333 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3347 if (! wxPoint_helper(_obj2
, &_arg2
))
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } _resultobj
= Py_BuildValue("l",_result
);
3359 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3360 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3366 PyObject
* _argo0
= 0;
3367 PyObject
* _argo2
= 0;
3368 char *_kwnames
[] = { "self","col","item", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3381 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3391 wxPy_END_ALLOW_THREADS
;
3392 } _resultobj
= Py_BuildValue("i",_result
);
3396 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3397 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self","col", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3419 wxPy_END_ALLOW_THREADS
;
3420 } _resultobj
= Py_BuildValue("i",_result
);
3424 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3425 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3443 wxPy_BEGIN_ALLOW_THREADS
;
3444 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3446 wxPy_END_ALLOW_THREADS
;
3447 } _resultobj
= Py_BuildValue("i",_result
);
3451 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3452 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxImageList
* _result
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","which", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3475 wxPy_END_ALLOW_THREADS
;
3477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3478 _resultobj
= Py_BuildValue("s",_ptemp
);
3481 _resultobj
= Py_None
;
3486 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3487 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self","item", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3509 wxPy_END_ALLOW_THREADS
;
3510 } _resultobj
= Py_BuildValue("l",_result
);
3514 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3515 wxListItem
* info
= new wxListItem
;
3516 info
->m_itemId
= itemId
;
3518 info
->m_mask
= 0xFFFF;
3519 self
->GetItem(*info
);
3522 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3524 wxListItem
* _result
;
3527 int _arg2
= (int ) 0;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","itemId","col", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_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_GetItem. Expected _wxListCtrl_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3546 wxPy_END_ALLOW_THREADS
;
3548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3549 _resultobj
= Py_BuildValue("s",_ptemp
);
3552 _resultobj
= Py_None
;
3557 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3558 wxPoint
* pos
= new wxPoint
;
3559 self
->GetItemPosition(item
, *pos
);
3562 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self","item", NULL
};
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3582 wxPy_BEGIN_ALLOW_THREADS
;
3583 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3585 wxPy_END_ALLOW_THREADS
;
3587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3588 _resultobj
= Py_BuildValue("s",_ptemp
);
3591 _resultobj
= Py_None
;
3596 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3597 wxRect
* rect
= new wxRect
;
3598 self
->GetItemRect(item
, *rect
, code
);
3601 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3606 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self","item","code", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3625 wxPy_END_ALLOW_THREADS
;
3627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3628 _resultobj
= Py_BuildValue("s",_ptemp
);
3631 _resultobj
= Py_None
;
3636 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3637 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3657 wxPy_BEGIN_ALLOW_THREADS
;
3658 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3660 wxPy_END_ALLOW_THREADS
;
3661 } _resultobj
= Py_BuildValue("i",_result
);
3665 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3666 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3670 PyObject
* _argo0
= 0;
3671 char *_kwnames
[] = { "self", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3684 wxPy_BEGIN_ALLOW_THREADS
;
3685 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3687 wxPy_END_ALLOW_THREADS
;
3688 } _resultobj
= Py_BuildValue("i",_result
);
3692 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3693 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3698 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self","isSmall", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3712 _arg1
= (bool ) tempbool1
;
3714 wxPy_BEGIN_ALLOW_THREADS
;
3715 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3717 wxPy_END_ALLOW_THREADS
;
3718 } _resultobj
= Py_BuildValue("i",_result
);
3722 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3723 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3728 PyObject
* _argo0
= 0;
3729 char *_kwnames
[] = { "self","item", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3742 wxPy_BEGIN_ALLOW_THREADS
;
3743 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3745 wxPy_END_ALLOW_THREADS
;
3747 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3755 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3756 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3761 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3762 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3777 wxPy_BEGIN_ALLOW_THREADS
;
3778 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3780 wxPy_END_ALLOW_THREADS
;
3781 } _resultobj
= Py_BuildValue("l",_result
);
3785 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3786 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3790 PyObject
* _argo0
= 0;
3791 char *_kwnames
[] = { "self", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } _resultobj
= Py_BuildValue("i",_result
);
3812 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3813 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3817 PyObject
* _argo0
= 0;
3818 char *_kwnames
[] = { "self", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3835 wxPy_END_ALLOW_THREADS
;
3836 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3837 _resultobj
= Py_BuildValue("s",_ptemp
);
3841 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3842 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3846 PyObject
* _argo0
= 0;
3848 PyObject
* _obj1
= 0;
3849 char *_kwnames
[] = { "self","col", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
3863 if (! wxColour_helper(_obj1
, &_arg1
))
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3876 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3877 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } _resultobj
= Py_BuildValue("l",_result
);
3903 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3904 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3911 PyObject
* _argo0
= 0;
3913 PyObject
* _obj1
= 0;
3914 char *_kwnames
[] = { "self","point", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3931 if (! wxPoint_helper(_obj1
, &_arg1
))
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } _resultobj
= Py_BuildValue("l",_result
);
3942 o
= PyInt_FromLong((long) (*_arg2
));
3943 _resultobj
= t_output_helper(_resultobj
, o
);
3948 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3949 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3955 PyObject
* _argo0
= 0;
3956 PyObject
* _argo2
= 0;
3957 char *_kwnames
[] = { "self","col","info", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3970 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3977 wxPy_BEGIN_ALLOW_THREADS
;
3978 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3980 wxPy_END_ALLOW_THREADS
;
3981 } _resultobj
= Py_BuildValue("l",_result
);
3985 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3986 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3992 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3993 int _arg4
= (int ) -1;
3994 PyObject
* _argo0
= 0;
3995 PyObject
* _obj2
= 0;
3996 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
4009 #if PYTHON_API_VERSION >= 1009
4010 char* tmpPtr
; int tmpSize
;
4011 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4012 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4015 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4017 _arg2
= new wxString(tmpPtr
, tmpSize
);
4019 if (!PyString_Check(_obj2
)) {
4020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4023 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4030 wxPy_END_ALLOW_THREADS
;
4031 } _resultobj
= Py_BuildValue("l",_result
);
4039 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4040 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4045 PyObject
* _argo0
= 0;
4046 PyObject
* _argo1
= 0;
4047 char *_kwnames
[] = { "self","info", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
4060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } _resultobj
= Py_BuildValue("l",_result
);
4075 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4076 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4082 PyObject
* _argo0
= 0;
4083 PyObject
* _obj2
= 0;
4084 char *_kwnames
[] = { "self","index","label", NULL
};
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
4097 #if PYTHON_API_VERSION >= 1009
4098 char* tmpPtr
; int tmpSize
;
4099 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4103 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4105 _arg2
= new wxString(tmpPtr
, tmpSize
);
4107 if (!PyString_Check(_obj2
)) {
4108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4111 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } _resultobj
= Py_BuildValue("l",_result
);
4127 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4128 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4151 wxPy_END_ALLOW_THREADS
;
4152 } _resultobj
= Py_BuildValue("l",_result
);
4156 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4157 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 PyObject
* _obj2
= 0;
4166 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4179 #if PYTHON_API_VERSION >= 1009
4180 char* tmpPtr
; int tmpSize
;
4181 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4185 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4187 _arg2
= new wxString(tmpPtr
, tmpSize
);
4189 if (!PyString_Check(_obj2
)) {
4190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4193 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4197 wxPy_BEGIN_ALLOW_THREADS
;
4198 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4200 wxPy_END_ALLOW_THREADS
;
4201 } _resultobj
= Py_BuildValue("l",_result
);
4209 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4210 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4216 PyObject
* _argo0
= 0;
4217 char *_kwnames
[] = { "self","dx","dy", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4233 wxPy_END_ALLOW_THREADS
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4239 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4243 PyObject
* _argo0
= 0;
4245 PyObject
* _obj1
= 0;
4246 char *_kwnames
[] = { "self","col", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4260 if (! wxColour_helper(_obj1
, &_arg1
))
4264 wxPy_BEGIN_ALLOW_THREADS
;
4265 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4267 wxPy_END_ALLOW_THREADS
;
4268 } Py_INCREF(Py_None
);
4269 _resultobj
= Py_None
;
4273 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4274 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4280 PyObject
* _argo0
= 0;
4281 PyObject
* _argo2
= 0;
4282 char *_kwnames
[] = { "self","col","item", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4295 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4296 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4302 wxPy_BEGIN_ALLOW_THREADS
;
4303 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4305 wxPy_END_ALLOW_THREADS
;
4306 } _resultobj
= Py_BuildValue("i",_result
);
4310 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4311 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "self","col","width", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4334 wxPy_END_ALLOW_THREADS
;
4335 } _resultobj
= Py_BuildValue("i",_result
);
4339 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4340 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4343 wxImageList
* _arg1
;
4345 PyObject
* _argo0
= 0;
4346 PyObject
* _argo1
= 0;
4347 char *_kwnames
[] = { "self","imageList","which", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4370 wxPy_END_ALLOW_THREADS
;
4371 } Py_INCREF(Py_None
);
4372 _resultobj
= Py_None
;
4376 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4377 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4382 PyObject
* _argo0
= 0;
4383 PyObject
* _argo1
= 0;
4384 char *_kwnames
[] = { "self","info", NULL
};
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4404 wxPy_BEGIN_ALLOW_THREADS
;
4405 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4407 wxPy_END_ALLOW_THREADS
;
4408 } _resultobj
= Py_BuildValue("i",_result
);
4412 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4413 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4420 int _arg4
= (int ) -1;
4421 PyObject
* _argo0
= 0;
4422 PyObject
* _obj3
= 0;
4423 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4436 #if PYTHON_API_VERSION >= 1009
4437 char* tmpPtr
; int tmpSize
;
4438 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4439 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4442 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4444 _arg3
= new wxString(tmpPtr
, tmpSize
);
4446 if (!PyString_Check(_obj3
)) {
4447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4450 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4457 wxPy_END_ALLOW_THREADS
;
4458 } _resultobj
= Py_BuildValue("l",_result
);
4466 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4467 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4473 PyObject
* _argo0
= 0;
4474 char *_kwnames
[] = { "self","item","data", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4487 wxPy_BEGIN_ALLOW_THREADS
;
4488 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4490 wxPy_END_ALLOW_THREADS
;
4491 } _resultobj
= Py_BuildValue("i",_result
);
4495 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4496 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4503 PyObject
* _argo0
= 0;
4504 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4520 wxPy_END_ALLOW_THREADS
;
4521 } _resultobj
= Py_BuildValue("i",_result
);
4525 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4526 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4532 PyObject
* _argo0
= 0;
4534 PyObject
* _obj2
= 0;
4535 char *_kwnames
[] = { "self","item","pos", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4549 if (! wxPoint_helper(_obj2
, &_arg2
))
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } _resultobj
= Py_BuildValue("i",_result
);
4561 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4562 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4586 wxPy_END_ALLOW_THREADS
;
4587 } _resultobj
= Py_BuildValue("i",_result
);
4591 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4592 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4598 PyObject
* _obj2
= 0;
4599 char *_kwnames
[] = { "self","item","text", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4612 #if PYTHON_API_VERSION >= 1009
4613 char* tmpPtr
; int tmpSize
;
4614 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4618 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4620 _arg2
= new wxString(tmpPtr
, tmpSize
);
4622 if (!PyString_Check(_obj2
)) {
4623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4626 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4630 wxPy_BEGIN_ALLOW_THREADS
;
4631 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4633 wxPy_END_ALLOW_THREADS
;
4634 } Py_INCREF(Py_None
);
4635 _resultobj
= Py_None
;
4643 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4644 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4648 bool _arg2
= (bool ) TRUE
;
4649 PyObject
* _argo0
= 0;
4650 int tempbool2
= (int) TRUE
;
4651 char *_kwnames
[] = { "self","style","add", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4663 _arg2
= (bool ) tempbool2
;
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4668 wxPy_END_ALLOW_THREADS
;
4669 } Py_INCREF(Py_None
);
4670 _resultobj
= Py_None
;
4674 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4675 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self","style", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4693 wxPy_BEGIN_ALLOW_THREADS
;
4694 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4696 wxPy_END_ALLOW_THREADS
;
4697 } Py_INCREF(Py_None
);
4698 _resultobj
= Py_None
;
4702 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4703 if (!PyCallable_Check(func
))
4706 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4708 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4713 PyObject
* _argo0
= 0;
4714 PyObject
* _obj1
= 0;
4715 char *_kwnames
[] = { "self","func", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } _resultobj
= Py_BuildValue("i",_result
);
4739 #define new_wxTreeItemId() (new wxTreeItemId())
4740 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4742 wxTreeItemId
* _result
;
4743 char *_kwnames
[] = { NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4750 wxPy_BEGIN_ALLOW_THREADS
;
4751 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4753 wxPy_END_ALLOW_THREADS
;
4755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4759 _resultobj
= Py_None
;
4764 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4765 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4767 wxTreeItemId
* _arg0
;
4768 PyObject
* _argo0
= 0;
4769 char *_kwnames
[] = { "self", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4782 wxPy_BEGIN_ALLOW_THREADS
;
4783 delete_wxTreeItemId(_arg0
);
4785 wxPy_END_ALLOW_THREADS
;
4786 } Py_INCREF(Py_None
);
4787 _resultobj
= Py_None
;
4791 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4792 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4795 wxTreeItemId
* _arg0
;
4796 PyObject
* _argo0
= 0;
4797 char *_kwnames
[] = { "self", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4810 wxPy_BEGIN_ALLOW_THREADS
;
4811 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4813 wxPy_END_ALLOW_THREADS
;
4814 } _resultobj
= Py_BuildValue("i",_result
);
4818 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4819 if (! other
) return -1;
4820 return *self
!= *other
;
4822 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4825 wxTreeItemId
* _arg0
;
4826 wxTreeItemId
* _arg1
;
4827 PyObject
* _argo0
= 0;
4828 PyObject
* _argo1
= 0;
4829 char *_kwnames
[] = { "self","other", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } _resultobj
= Py_BuildValue("i",_result
);
4857 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4858 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4860 wxPyTreeItemData
* _result
;
4861 PyObject
* _arg0
= (PyObject
*) NULL
;
4862 PyObject
* _obj0
= 0;
4863 char *_kwnames
[] = { "obj", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4877 wxPy_END_ALLOW_THREADS
;
4879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4880 _resultobj
= Py_BuildValue("s",_ptemp
);
4883 _resultobj
= Py_None
;
4888 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4889 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4892 wxPyTreeItemData
* _arg0
;
4893 PyObject
* _argo0
= 0;
4894 char *_kwnames
[] = { "self", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4910 wxPy_END_ALLOW_THREADS
;
4912 _resultobj
= _result
;
4917 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4918 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4920 wxPyTreeItemData
* _arg0
;
4922 PyObject
* _argo0
= 0;
4923 PyObject
* _obj1
= 0;
4924 char *_kwnames
[] = { "self","obj", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 wxTreeItemData_SetData(_arg0
,_arg1
);
4943 wxPy_END_ALLOW_THREADS
;
4944 } Py_INCREF(Py_None
);
4945 _resultobj
= Py_None
;
4949 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4950 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4952 wxTreeItemId
* _result
;
4953 wxPyTreeItemData
* _arg0
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4969 wxPy_BEGIN_ALLOW_THREADS
;
4970 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4971 _result
= (wxTreeItemId
*) &_result_ref
;
4973 wxPy_END_ALLOW_THREADS
;
4975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4976 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 _resultobj
= Py_None
;
4984 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4985 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4987 wxPyTreeItemData
* _arg0
;
4988 wxTreeItemId
* _arg1
;
4989 PyObject
* _argo0
= 0;
4990 PyObject
* _argo1
= 0;
4991 char *_kwnames
[] = { "self","id", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
5004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
5011 wxPy_BEGIN_ALLOW_THREADS
;
5012 wxTreeItemData_SetId(_arg0
,*_arg1
);
5014 wxPy_END_ALLOW_THREADS
;
5015 } Py_INCREF(Py_None
);
5016 _resultobj
= Py_None
;
5020 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
5022 wxNotifyEvent
*dest
;
5023 src
= (wxTreeEvent
*) ptr
;
5024 dest
= (wxNotifyEvent
*) src
;
5025 return (void *) dest
;
5028 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
5030 wxCommandEvent
*dest
;
5031 src
= (wxTreeEvent
*) ptr
;
5032 dest
= (wxCommandEvent
*) src
;
5033 return (void *) dest
;
5036 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
5039 src
= (wxTreeEvent
*) ptr
;
5040 dest
= (wxEvent
*) src
;
5041 return (void *) dest
;
5044 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
5045 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5047 wxTreeItemId
* _result
;
5048 wxTreeEvent
* _arg0
;
5049 PyObject
* _argo0
= 0;
5050 char *_kwnames
[] = { "self", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
5067 wxPy_END_ALLOW_THREADS
;
5068 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5069 _resultobj
= Py_BuildValue("s",_ptemp
);
5073 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
5074 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5076 wxTreeItemId
* _result
;
5077 wxTreeEvent
* _arg0
;
5078 PyObject
* _argo0
= 0;
5079 char *_kwnames
[] = { "self", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
5096 wxPy_END_ALLOW_THREADS
;
5097 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5098 _resultobj
= Py_BuildValue("s",_ptemp
);
5102 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
5103 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5106 wxTreeEvent
* _arg0
;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self", NULL
};
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
5115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
5122 wxPy_BEGIN_ALLOW_THREADS
;
5123 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
5125 wxPy_END_ALLOW_THREADS
;
5126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5127 _resultobj
= Py_BuildValue("s",_ptemp
);
5131 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5132 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5135 wxTreeEvent
* _arg0
;
5136 PyObject
* _argo0
= 0;
5137 char *_kwnames
[] = { "self", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5150 wxPy_BEGIN_ALLOW_THREADS
;
5151 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5153 wxPy_END_ALLOW_THREADS
;
5154 } _resultobj
= Py_BuildValue("i",_result
);
5158 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5159 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5162 wxTreeEvent
* _arg0
;
5163 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5179 _result
= (wxString
*) &_result_ref
;
5181 wxPy_END_ALLOW_THREADS
;
5183 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5188 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5191 src
= (wxPyTreeCtrl
*) ptr
;
5192 dest
= (wxControl
*) src
;
5193 return (void *) dest
;
5196 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5199 src
= (wxPyTreeCtrl
*) ptr
;
5200 dest
= (wxWindow
*) src
;
5201 return (void *) dest
;
5204 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5207 src
= (wxPyTreeCtrl
*) ptr
;
5208 dest
= (wxEvtHandler
*) src
;
5209 return (void *) dest
;
5212 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5213 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 wxPyTreeCtrl
* _result
;
5217 wxWindowID _arg1
= (wxWindowID
) -1;
5218 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5219 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5220 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5221 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5222 char * _arg6
= (char *) "wxTreeCtrl";
5223 PyObject
* _argo0
= 0;
5225 PyObject
* _obj2
= 0;
5227 PyObject
* _obj3
= 0;
5228 PyObject
* _argo5
= 0;
5229 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5245 if (! wxPoint_helper(_obj2
, &_arg2
))
5251 if (! wxSize_helper(_obj3
, &_arg3
))
5255 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5265 wxPy_END_ALLOW_THREADS
;
5267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5268 _resultobj
= Py_BuildValue("s",_ptemp
);
5271 _resultobj
= Py_None
;
5276 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5277 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5279 wxPyTreeCtrl
* _arg0
;
5282 PyObject
* _argo0
= 0;
5283 PyObject
* _obj1
= 0;
5284 PyObject
* _obj2
= 0;
5285 char *_kwnames
[] = { "self","self","_class", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5304 wxPy_BEGIN_ALLOW_THREADS
;
5305 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5307 wxPy_END_ALLOW_THREADS
;
5308 } Py_INCREF(Py_None
);
5309 _resultobj
= Py_None
;
5313 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5314 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5316 wxPyTreeCtrl
* _arg0
;
5317 wxImageList
* _arg1
;
5318 PyObject
* _argo0
= 0;
5319 PyObject
* _argo1
= 0;
5320 char *_kwnames
[] = { "self","imageList", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5340 wxPy_BEGIN_ALLOW_THREADS
;
5341 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5343 wxPy_END_ALLOW_THREADS
;
5344 } Py_INCREF(Py_None
);
5345 _resultobj
= Py_None
;
5349 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5350 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5353 wxPyTreeCtrl
* _arg0
;
5354 PyObject
* _argo0
= 0;
5355 char *_kwnames
[] = { "self", NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5368 wxPy_BEGIN_ALLOW_THREADS
;
5369 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5371 wxPy_END_ALLOW_THREADS
;
5372 } _resultobj
= Py_BuildValue("i",_result
);
5376 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5377 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5379 unsigned int _result
;
5380 wxPyTreeCtrl
* _arg0
;
5381 PyObject
* _argo0
= 0;
5382 char *_kwnames
[] = { "self", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5395 wxPy_BEGIN_ALLOW_THREADS
;
5396 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5398 wxPy_END_ALLOW_THREADS
;
5399 } _resultobj
= Py_BuildValue("i",_result
);
5403 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5404 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5406 wxPyTreeCtrl
* _arg0
;
5408 PyObject
* _argo0
= 0;
5409 char *_kwnames
[] = { "self","indent", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
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_SetIndent. Expected _wxPyTreeCtrl_p.");
5422 wxPy_BEGIN_ALLOW_THREADS
;
5423 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5425 wxPy_END_ALLOW_THREADS
;
5426 } Py_INCREF(Py_None
);
5427 _resultobj
= Py_None
;
5431 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5432 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5434 wxImageList
* _result
;
5435 wxPyTreeCtrl
* _arg0
;
5436 PyObject
* _argo0
= 0;
5437 char *_kwnames
[] = { "self", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5454 wxPy_END_ALLOW_THREADS
;
5456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5457 _resultobj
= Py_BuildValue("s",_ptemp
);
5460 _resultobj
= Py_None
;
5465 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5466 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5468 wxImageList
* _result
;
5469 wxPyTreeCtrl
* _arg0
;
5470 PyObject
* _argo0
= 0;
5471 char *_kwnames
[] = { "self", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5485 wxPy_BEGIN_ALLOW_THREADS
;
5486 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5488 wxPy_END_ALLOW_THREADS
;
5490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5491 _resultobj
= Py_BuildValue("s",_ptemp
);
5494 _resultobj
= Py_None
;
5499 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5500 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
* _resultobj
;
5502 wxPyTreeCtrl
* _arg0
;
5503 wxImageList
* _arg1
;
5504 PyObject
* _argo0
= 0;
5505 PyObject
* _argo1
= 0;
5506 char *_kwnames
[] = { "self","imageList", NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5526 wxPy_BEGIN_ALLOW_THREADS
;
5527 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5529 wxPy_END_ALLOW_THREADS
;
5530 } Py_INCREF(Py_None
);
5531 _resultobj
= Py_None
;
5535 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5536 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5538 wxPyTreeCtrl
* _arg0
;
5539 wxImageList
* _arg1
;
5540 PyObject
* _argo0
= 0;
5541 PyObject
* _argo1
= 0;
5542 char *_kwnames
[] = { "self","imageList", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5565 wxPy_END_ALLOW_THREADS
;
5566 } Py_INCREF(Py_None
);
5567 _resultobj
= Py_None
;
5571 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5572 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5574 unsigned int _result
;
5575 wxPyTreeCtrl
* _arg0
;
5576 PyObject
* _argo0
= 0;
5577 char *_kwnames
[] = { "self", NULL
};
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5590 wxPy_BEGIN_ALLOW_THREADS
;
5591 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5593 wxPy_END_ALLOW_THREADS
;
5594 } _resultobj
= Py_BuildValue("i",_result
);
5598 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5599 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5601 wxPyTreeCtrl
* _arg0
;
5603 PyObject
* _argo0
= 0;
5604 char *_kwnames
[] = { "self","spacing", NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5617 wxPy_BEGIN_ALLOW_THREADS
;
5618 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5620 wxPy_END_ALLOW_THREADS
;
5621 } Py_INCREF(Py_None
);
5622 _resultobj
= Py_None
;
5626 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5627 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5630 wxPyTreeCtrl
* _arg0
;
5631 wxTreeItemId
* _arg1
;
5632 PyObject
* _argo0
= 0;
5633 PyObject
* _argo1
= 0;
5634 char *_kwnames
[] = { "self","item", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5657 wxPy_END_ALLOW_THREADS
;
5659 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5667 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5668 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5671 wxPyTreeCtrl
* _arg0
;
5672 wxTreeItemId
* _arg1
;
5673 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5674 PyObject
* _argo0
= 0;
5675 PyObject
* _argo1
= 0;
5676 char *_kwnames
[] = { "self","item","which", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_GetItemImage. 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_GetItemImage. Expected _wxTreeItemId_p.");
5696 wxPy_BEGIN_ALLOW_THREADS
;
5697 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5699 wxPy_END_ALLOW_THREADS
;
5700 } _resultobj
= Py_BuildValue("i",_result
);
5704 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5705 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
* _resultobj
;
5708 wxPyTreeCtrl
* _arg0
;
5709 wxTreeItemId
* _arg1
;
5710 PyObject
* _argo0
= 0;
5711 PyObject
* _argo1
= 0;
5712 char *_kwnames
[] = { "self","item", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5732 wxPy_BEGIN_ALLOW_THREADS
;
5733 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5735 wxPy_END_ALLOW_THREADS
;
5736 } _resultobj
= Py_BuildValue("i",_result
);
5740 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5741 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5743 wxPyTreeCtrl
* _arg0
;
5744 wxTreeItemId
* _arg1
;
5746 PyObject
* _argo0
= 0;
5747 PyObject
* _argo1
= 0;
5748 PyObject
* _obj2
= 0;
5749 char *_kwnames
[] = { "self","item","text", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5769 #if PYTHON_API_VERSION >= 1009
5770 char* tmpPtr
; int tmpSize
;
5771 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5772 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5775 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5777 _arg2
= new wxString(tmpPtr
, tmpSize
);
5779 if (!PyString_Check(_obj2
)) {
5780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5783 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5787 wxPy_BEGIN_ALLOW_THREADS
;
5788 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5790 wxPy_END_ALLOW_THREADS
;
5791 } Py_INCREF(Py_None
);
5792 _resultobj
= Py_None
;
5800 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5801 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5803 wxPyTreeCtrl
* _arg0
;
5804 wxTreeItemId
* _arg1
;
5806 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5807 PyObject
* _argo0
= 0;
5808 PyObject
* _argo1
= 0;
5809 char *_kwnames
[] = { "self","item","image","which", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5829 wxPy_BEGIN_ALLOW_THREADS
;
5830 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5832 wxPy_END_ALLOW_THREADS
;
5833 } Py_INCREF(Py_None
);
5834 _resultobj
= Py_None
;
5838 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5839 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5841 wxPyTreeCtrl
* _arg0
;
5842 wxTreeItemId
* _arg1
;
5844 PyObject
* _argo0
= 0;
5845 PyObject
* _argo1
= 0;
5846 char *_kwnames
[] = { "self","item","image", NULL
};
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5866 wxPy_BEGIN_ALLOW_THREADS
;
5867 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5869 wxPy_END_ALLOW_THREADS
;
5870 } Py_INCREF(Py_None
);
5871 _resultobj
= Py_None
;
5875 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5876 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5878 wxPyTreeCtrl
* _arg0
;
5879 wxTreeItemId
* _arg1
;
5880 bool _arg2
= (bool ) TRUE
;
5881 PyObject
* _argo0
= 0;
5882 PyObject
* _argo1
= 0;
5883 int tempbool2
= (int) TRUE
;
5884 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5903 _arg2
= (bool ) tempbool2
;
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5908 wxPy_END_ALLOW_THREADS
;
5909 } Py_INCREF(Py_None
);
5910 _resultobj
= Py_None
;
5914 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5915 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5917 data
= new wxPyTreeItemData();
5918 data
->SetId(item
); // set the id
5919 self
->SetItemData(item
, data
);
5923 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5925 wxPyTreeItemData
* _result
;
5926 wxPyTreeCtrl
* _arg0
;
5927 wxTreeItemId
* _arg1
;
5928 PyObject
* _argo0
= 0;
5929 PyObject
* _argo1
= 0;
5930 char *_kwnames
[] = { "self","item", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5951 wxPy_BEGIN_ALLOW_THREADS
;
5952 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5954 wxPy_END_ALLOW_THREADS
;
5956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5957 _resultobj
= Py_BuildValue("s",_ptemp
);
5960 _resultobj
= Py_None
;
5965 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5966 data
->SetId(item
); // set the id
5967 self
->SetItemData(item
, data
);
5969 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5971 wxPyTreeCtrl
* _arg0
;
5972 wxTreeItemId
* _arg1
;
5973 wxPyTreeItemData
* _arg2
;
5974 PyObject
* _argo0
= 0;
5975 PyObject
* _argo1
= 0;
5976 PyObject
* _argo2
= 0;
5977 char *_kwnames
[] = { "self","item","data", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5997 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
6007 wxPy_END_ALLOW_THREADS
;
6008 } Py_INCREF(Py_None
);
6009 _resultobj
= Py_None
;
6013 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6014 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6016 data
= new wxPyTreeItemData();
6017 data
->SetId(item
); // set the id
6018 self
->SetItemData(item
, data
);
6020 return data
->GetData();
6022 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6025 wxPyTreeCtrl
* _arg0
;
6026 wxTreeItemId
* _arg1
;
6027 PyObject
* _argo0
= 0;
6028 PyObject
* _argo1
= 0;
6029 char *_kwnames
[] = { "self","item", NULL
};
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
6035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
6042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
6049 wxPy_BEGIN_ALLOW_THREADS
;
6050 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
6052 wxPy_END_ALLOW_THREADS
;
6054 _resultobj
= _result
;
6059 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
6060 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6062 data
= new wxPyTreeItemData(obj
);
6063 data
->SetId(item
); // set the id
6064 self
->SetItemData(item
, data
);
6068 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6070 wxPyTreeCtrl
* _arg0
;
6071 wxTreeItemId
* _arg1
;
6073 PyObject
* _argo0
= 0;
6074 PyObject
* _argo1
= 0;
6075 PyObject
* _obj2
= 0;
6076 char *_kwnames
[] = { "self","item","obj", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
6089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
6099 wxPy_BEGIN_ALLOW_THREADS
;
6100 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
6102 wxPy_END_ALLOW_THREADS
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6108 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
6109 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
* _resultobj
;
6112 wxPyTreeCtrl
* _arg0
;
6113 wxTreeItemId
* _arg1
;
6114 PyObject
* _argo0
= 0;
6115 PyObject
* _argo1
= 0;
6116 char *_kwnames
[] = { "self","item", NULL
};
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
6122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
6129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
6139 wxPy_END_ALLOW_THREADS
;
6140 } _resultobj
= Py_BuildValue("i",_result
);
6144 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6145 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6148 wxPyTreeCtrl
* _arg0
;
6149 wxTreeItemId
* _arg1
;
6150 PyObject
* _argo0
= 0;
6151 PyObject
* _argo1
= 0;
6152 char *_kwnames
[] = { "self","item", NULL
};
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6172 wxPy_BEGIN_ALLOW_THREADS
;
6173 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6175 wxPy_END_ALLOW_THREADS
;
6176 } _resultobj
= Py_BuildValue("i",_result
);
6180 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6181 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6184 wxPyTreeCtrl
* _arg0
;
6185 wxTreeItemId
* _arg1
;
6186 PyObject
* _argo0
= 0;
6187 PyObject
* _argo1
= 0;
6188 char *_kwnames
[] = { "self","item", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6208 wxPy_BEGIN_ALLOW_THREADS
;
6209 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6211 wxPy_END_ALLOW_THREADS
;
6212 } _resultobj
= Py_BuildValue("i",_result
);
6216 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6217 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6220 wxPyTreeCtrl
* _arg0
;
6221 wxTreeItemId
* _arg1
;
6222 PyObject
* _argo0
= 0;
6223 PyObject
* _argo1
= 0;
6224 char *_kwnames
[] = { "self","item", NULL
};
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6244 wxPy_BEGIN_ALLOW_THREADS
;
6245 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6247 wxPy_END_ALLOW_THREADS
;
6248 } _resultobj
= Py_BuildValue("i",_result
);
6252 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6253 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
* _resultobj
;
6255 wxTreeItemId
* _result
;
6256 wxPyTreeCtrl
* _arg0
;
6257 PyObject
* _argo0
= 0;
6258 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6275 wxPy_END_ALLOW_THREADS
;
6276 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6277 _resultobj
= Py_BuildValue("s",_ptemp
);
6281 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6282 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
* _resultobj
;
6284 wxTreeItemId
* _result
;
6285 wxPyTreeCtrl
* _arg0
;
6286 PyObject
* _argo0
= 0;
6287 char *_kwnames
[] = { "self", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6301 wxPy_BEGIN_ALLOW_THREADS
;
6302 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6304 wxPy_END_ALLOW_THREADS
;
6305 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6306 _resultobj
= Py_BuildValue("s",_ptemp
);
6310 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6311 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
* _resultobj
;
6313 wxTreeItemId
* _result
;
6314 wxPyTreeCtrl
* _arg0
;
6315 wxTreeItemId
* _arg1
;
6316 PyObject
* _argo0
= 0;
6317 PyObject
* _argo1
= 0;
6318 char *_kwnames
[] = { "self","item", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6339 wxPy_BEGIN_ALLOW_THREADS
;
6340 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6342 wxPy_END_ALLOW_THREADS
;
6343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6344 _resultobj
= Py_BuildValue("s",_ptemp
);
6348 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6349 bool doSave
= wxPyRestoreThread();
6350 PyObject
* rval
= PyList_New(0);
6351 wxArrayTreeItemIds array
;
6353 num
= self
->GetSelections(array
);
6354 for (x
=0; x
< num
; x
++) {
6355 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6356 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6357 PyList_Append(rval
, item
);
6359 wxPySaveThread(doSave
);
6362 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6365 wxPyTreeCtrl
* _arg0
;
6366 PyObject
* _argo0
= 0;
6367 char *_kwnames
[] = { "self", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6380 wxPy_BEGIN_ALLOW_THREADS
;
6381 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6383 wxPy_END_ALLOW_THREADS
;
6385 _resultobj
= _result
;
6390 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6391 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6394 wxPyTreeCtrl
* _arg0
;
6395 wxTreeItemId
* _arg1
;
6396 bool _arg2
= (bool ) TRUE
;
6397 PyObject
* _argo0
= 0;
6398 PyObject
* _argo1
= 0;
6399 int tempbool2
= (int) TRUE
;
6400 char *_kwnames
[] = { "self","item","recursively", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6419 _arg2
= (bool ) tempbool2
;
6421 wxPy_BEGIN_ALLOW_THREADS
;
6422 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6424 wxPy_END_ALLOW_THREADS
;
6425 } _resultobj
= Py_BuildValue("i",_result
);
6429 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6430 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6432 wxTreeItemId
* _result
;
6433 wxPyTreeCtrl
* _arg0
;
6434 wxTreeItemId
* _arg1
;
6436 PyObject
* _argo0
= 0;
6437 PyObject
* _argo1
= 0;
6439 PyObject
* _obj2
= 0;
6440 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6461 temp
= (long) PyInt_AsLong(_obj2
);
6465 wxPy_BEGIN_ALLOW_THREADS
;
6466 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6468 wxPy_END_ALLOW_THREADS
;
6469 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6470 _resultobj
= Py_BuildValue("s",_ptemp
);
6473 o
= PyInt_FromLong((long) (*_arg2
));
6474 _resultobj
= t_output_helper(_resultobj
, o
);
6479 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6480 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
* _resultobj
;
6482 wxTreeItemId
* _result
;
6483 wxPyTreeCtrl
* _arg0
;
6484 wxTreeItemId
* _arg1
;
6486 PyObject
* _argo0
= 0;
6487 PyObject
* _argo1
= 0;
6489 PyObject
* _obj2
= 0;
6490 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6511 temp
= (long) PyInt_AsLong(_obj2
);
6515 wxPy_BEGIN_ALLOW_THREADS
;
6516 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6518 wxPy_END_ALLOW_THREADS
;
6519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6520 _resultobj
= Py_BuildValue("s",_ptemp
);
6523 o
= PyInt_FromLong((long) (*_arg2
));
6524 _resultobj
= t_output_helper(_resultobj
, o
);
6529 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6530 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6532 wxTreeItemId
* _result
;
6533 wxPyTreeCtrl
* _arg0
;
6534 wxTreeItemId
* _arg1
;
6535 PyObject
* _argo0
= 0;
6536 PyObject
* _argo1
= 0;
6537 char *_kwnames
[] = { "self","item", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6561 wxPy_END_ALLOW_THREADS
;
6562 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6563 _resultobj
= Py_BuildValue("s",_ptemp
);
6567 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6568 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6570 wxTreeItemId
* _result
;
6571 wxPyTreeCtrl
* _arg0
;
6572 wxTreeItemId
* _arg1
;
6573 PyObject
* _argo0
= 0;
6574 PyObject
* _argo1
= 0;
6575 char *_kwnames
[] = { "self","item", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6596 wxPy_BEGIN_ALLOW_THREADS
;
6597 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6599 wxPy_END_ALLOW_THREADS
;
6600 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6601 _resultobj
= Py_BuildValue("s",_ptemp
);
6605 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6606 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
* _resultobj
;
6608 wxTreeItemId
* _result
;
6609 wxPyTreeCtrl
* _arg0
;
6610 PyObject
* _argo0
= 0;
6611 char *_kwnames
[] = { "self", NULL
};
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6625 wxPy_BEGIN_ALLOW_THREADS
;
6626 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6628 wxPy_END_ALLOW_THREADS
;
6629 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6630 _resultobj
= Py_BuildValue("s",_ptemp
);
6634 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6635 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
* _resultobj
;
6637 wxTreeItemId
* _result
;
6638 wxPyTreeCtrl
* _arg0
;
6639 wxTreeItemId
* _arg1
;
6640 PyObject
* _argo0
= 0;
6641 PyObject
* _argo1
= 0;
6642 char *_kwnames
[] = { "self","item", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6663 wxPy_BEGIN_ALLOW_THREADS
;
6664 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6666 wxPy_END_ALLOW_THREADS
;
6667 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6668 _resultobj
= Py_BuildValue("s",_ptemp
);
6672 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6673 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
* _resultobj
;
6675 wxTreeItemId
* _result
;
6676 wxPyTreeCtrl
* _arg0
;
6677 wxTreeItemId
* _arg1
;
6678 PyObject
* _argo0
= 0;
6679 PyObject
* _argo1
= 0;
6680 char *_kwnames
[] = { "self","item", NULL
};
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6701 wxPy_BEGIN_ALLOW_THREADS
;
6702 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6704 wxPy_END_ALLOW_THREADS
;
6705 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6706 _resultobj
= Py_BuildValue("s",_ptemp
);
6710 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6711 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
* _resultobj
;
6713 wxTreeItemId
* _result
;
6714 wxPyTreeCtrl
* _arg0
;
6715 wxTreeItemId
* _arg1
;
6716 PyObject
* _argo0
= 0;
6717 PyObject
* _argo1
= 0;
6718 char *_kwnames
[] = { "self","item", NULL
};
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6739 wxPy_BEGIN_ALLOW_THREADS
;
6740 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6742 wxPy_END_ALLOW_THREADS
;
6743 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6744 _resultobj
= Py_BuildValue("s",_ptemp
);
6748 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6749 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6751 wxTreeItemId
* _result
;
6752 wxPyTreeCtrl
* _arg0
;
6754 int _arg2
= (int ) -1;
6755 int _arg3
= (int ) -1;
6756 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6757 PyObject
* _argo0
= 0;
6758 PyObject
* _obj1
= 0;
6759 PyObject
* _argo4
= 0;
6760 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6774 #if PYTHON_API_VERSION >= 1009
6775 char* tmpPtr
; int tmpSize
;
6776 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6780 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6782 _arg1
= new wxString(tmpPtr
, tmpSize
);
6784 if (!PyString_Check(_obj1
)) {
6785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6788 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6792 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6799 wxPy_BEGIN_ALLOW_THREADS
;
6800 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6802 wxPy_END_ALLOW_THREADS
;
6803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6804 _resultobj
= Py_BuildValue("s",_ptemp
);
6812 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6813 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6815 wxTreeItemId
* _result
;
6816 wxPyTreeCtrl
* _arg0
;
6817 wxTreeItemId
* _arg1
;
6819 int _arg3
= (int ) -1;
6820 int _arg4
= (int ) -1;
6821 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6822 PyObject
* _argo0
= 0;
6823 PyObject
* _argo1
= 0;
6824 PyObject
* _obj2
= 0;
6825 PyObject
* _argo5
= 0;
6826 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6847 #if PYTHON_API_VERSION >= 1009
6848 char* tmpPtr
; int tmpSize
;
6849 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6853 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6855 _arg2
= new wxString(tmpPtr
, tmpSize
);
6857 if (!PyString_Check(_obj2
)) {
6858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6861 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6865 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6872 wxPy_BEGIN_ALLOW_THREADS
;
6873 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6875 wxPy_END_ALLOW_THREADS
;
6876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6877 _resultobj
= Py_BuildValue("s",_ptemp
);
6885 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6886 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6888 wxTreeItemId
* _result
;
6889 wxPyTreeCtrl
* _arg0
;
6890 wxTreeItemId
* _arg1
;
6891 wxTreeItemId
* _arg2
;
6893 int _arg4
= (int ) -1;
6894 int _arg5
= (int ) -1;
6895 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6896 PyObject
* _argo0
= 0;
6897 PyObject
* _argo1
= 0;
6898 PyObject
* _argo2
= 0;
6899 PyObject
* _obj3
= 0;
6900 PyObject
* _argo6
= 0;
6901 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6922 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6929 #if PYTHON_API_VERSION >= 1009
6930 char* tmpPtr
; int tmpSize
;
6931 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6935 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6937 _arg3
= new wxString(tmpPtr
, tmpSize
);
6939 if (!PyString_Check(_obj3
)) {
6940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6943 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6947 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6954 wxPy_BEGIN_ALLOW_THREADS
;
6955 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6957 wxPy_END_ALLOW_THREADS
;
6958 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6959 _resultobj
= Py_BuildValue("s",_ptemp
);
6967 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6968 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6970 wxTreeItemId
* _result
;
6971 wxPyTreeCtrl
* _arg0
;
6972 wxTreeItemId
* _arg1
;
6975 int _arg4
= (int ) -1;
6976 int _arg5
= (int ) -1;
6977 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6978 PyObject
* _argo0
= 0;
6979 PyObject
* _argo1
= 0;
6980 PyObject
* _obj3
= 0;
6981 PyObject
* _argo6
= 0;
6982 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
7003 #if PYTHON_API_VERSION >= 1009
7004 char* tmpPtr
; int tmpSize
;
7005 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7009 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7011 _arg3
= new wxString(tmpPtr
, tmpSize
);
7013 if (!PyString_Check(_obj3
)) {
7014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7017 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7021 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7022 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
7023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
7028 wxPy_BEGIN_ALLOW_THREADS
;
7029 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7031 wxPy_END_ALLOW_THREADS
;
7032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7033 _resultobj
= Py_BuildValue("s",_ptemp
);
7041 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7042 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7044 wxTreeItemId
* _result
;
7045 wxPyTreeCtrl
* _arg0
;
7046 wxTreeItemId
* _arg1
;
7048 int _arg3
= (int ) -1;
7049 int _arg4
= (int ) -1;
7050 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7051 PyObject
* _argo0
= 0;
7052 PyObject
* _argo1
= 0;
7053 PyObject
* _obj2
= 0;
7054 PyObject
* _argo5
= 0;
7055 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
7069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
7076 #if PYTHON_API_VERSION >= 1009
7077 char* tmpPtr
; int tmpSize
;
7078 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7082 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7084 _arg2
= new wxString(tmpPtr
, tmpSize
);
7086 if (!PyString_Check(_obj2
)) {
7087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7090 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7094 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
7101 wxPy_BEGIN_ALLOW_THREADS
;
7102 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7104 wxPy_END_ALLOW_THREADS
;
7105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7106 _resultobj
= Py_BuildValue("s",_ptemp
);
7114 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7115 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
* _resultobj
;
7117 wxPyTreeCtrl
* _arg0
;
7118 wxTreeItemId
* _arg1
;
7119 PyObject
* _argo0
= 0;
7120 PyObject
* _argo1
= 0;
7121 char *_kwnames
[] = { "self","item", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
7127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
7134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7141 wxPy_BEGIN_ALLOW_THREADS
;
7142 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7144 wxPy_END_ALLOW_THREADS
;
7145 } Py_INCREF(Py_None
);
7146 _resultobj
= Py_None
;
7150 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7151 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
* _resultobj
;
7153 wxPyTreeCtrl
* _arg0
;
7154 wxTreeItemId
* _arg1
;
7155 PyObject
* _argo0
= 0;
7156 PyObject
* _argo1
= 0;
7157 char *_kwnames
[] = { "self","item", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7177 wxPy_BEGIN_ALLOW_THREADS
;
7178 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7180 wxPy_END_ALLOW_THREADS
;
7181 } Py_INCREF(Py_None
);
7182 _resultobj
= Py_None
;
7186 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7187 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
* _resultobj
;
7189 wxPyTreeCtrl
* _arg0
;
7190 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7204 wxPy_BEGIN_ALLOW_THREADS
;
7205 wxTreeCtrl_DeleteAllItems(_arg0
);
7207 wxPy_END_ALLOW_THREADS
;
7208 } Py_INCREF(Py_None
);
7209 _resultobj
= Py_None
;
7213 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7214 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7216 wxPyTreeCtrl
* _arg0
;
7217 wxTreeItemId
* _arg1
;
7218 PyObject
* _argo0
= 0;
7219 PyObject
* _argo1
= 0;
7220 char *_kwnames
[] = { "self","item", NULL
};
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7240 wxPy_BEGIN_ALLOW_THREADS
;
7241 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7243 wxPy_END_ALLOW_THREADS
;
7244 } Py_INCREF(Py_None
);
7245 _resultobj
= Py_None
;
7249 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7250 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
* _resultobj
;
7252 wxPyTreeCtrl
* _arg0
;
7253 wxTreeItemId
* _arg1
;
7254 PyObject
* _argo0
= 0;
7255 PyObject
* _argo1
= 0;
7256 char *_kwnames
[] = { "self","item", NULL
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
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_Collapse. Expected _wxPyTreeCtrl_p.");
7269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7276 wxPy_BEGIN_ALLOW_THREADS
;
7277 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7279 wxPy_END_ALLOW_THREADS
;
7280 } Py_INCREF(Py_None
);
7281 _resultobj
= Py_None
;
7285 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7286 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
* _resultobj
;
7288 wxPyTreeCtrl
* _arg0
;
7289 wxTreeItemId
* _arg1
;
7290 PyObject
* _argo0
= 0;
7291 PyObject
* _argo1
= 0;
7292 char *_kwnames
[] = { "self","item", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7312 wxPy_BEGIN_ALLOW_THREADS
;
7313 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7315 wxPy_END_ALLOW_THREADS
;
7316 } Py_INCREF(Py_None
);
7317 _resultobj
= Py_None
;
7321 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7322 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7324 wxPyTreeCtrl
* _arg0
;
7325 wxTreeItemId
* _arg1
;
7326 PyObject
* _argo0
= 0;
7327 PyObject
* _argo1
= 0;
7328 char *_kwnames
[] = { "self","item", NULL
};
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7348 wxPy_BEGIN_ALLOW_THREADS
;
7349 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7351 wxPy_END_ALLOW_THREADS
;
7352 } Py_INCREF(Py_None
);
7353 _resultobj
= Py_None
;
7357 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7358 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
* _resultobj
;
7360 wxPyTreeCtrl
* _arg0
;
7361 PyObject
* _argo0
= 0;
7362 char *_kwnames
[] = { "self", NULL
};
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7375 wxPy_BEGIN_ALLOW_THREADS
;
7376 wxTreeCtrl_Unselect(_arg0
);
7378 wxPy_END_ALLOW_THREADS
;
7379 } Py_INCREF(Py_None
);
7380 _resultobj
= Py_None
;
7384 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7385 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
* _resultobj
;
7387 wxPyTreeCtrl
* _arg0
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7402 wxPy_BEGIN_ALLOW_THREADS
;
7403 wxTreeCtrl_UnselectAll(_arg0
);
7405 wxPy_END_ALLOW_THREADS
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7411 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7412 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7414 wxPyTreeCtrl
* _arg0
;
7415 wxTreeItemId
* _arg1
;
7416 PyObject
* _argo0
= 0;
7417 PyObject
* _argo1
= 0;
7418 char *_kwnames
[] = { "self","item", NULL
};
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7438 wxPy_BEGIN_ALLOW_THREADS
;
7439 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7441 wxPy_END_ALLOW_THREADS
;
7442 } Py_INCREF(Py_None
);
7443 _resultobj
= Py_None
;
7447 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7448 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
* _resultobj
;
7450 wxPyTreeCtrl
* _arg0
;
7451 wxTreeItemId
* _arg1
;
7452 PyObject
* _argo0
= 0;
7453 PyObject
* _argo1
= 0;
7454 char *_kwnames
[] = { "self","item", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7467 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7474 wxPy_BEGIN_ALLOW_THREADS
;
7475 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7477 wxPy_END_ALLOW_THREADS
;
7478 } Py_INCREF(Py_None
);
7479 _resultobj
= Py_None
;
7483 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7484 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
* _resultobj
;
7486 wxPyTreeCtrl
* _arg0
;
7487 wxTreeItemId
* _arg1
;
7488 PyObject
* _argo0
= 0;
7489 PyObject
* _argo1
= 0;
7490 char *_kwnames
[] = { "self","item", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7510 wxPy_BEGIN_ALLOW_THREADS
;
7511 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7513 wxPy_END_ALLOW_THREADS
;
7514 } Py_INCREF(Py_None
);
7515 _resultobj
= Py_None
;
7519 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7520 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7522 wxTextCtrl
* _result
;
7523 wxPyTreeCtrl
* _arg0
;
7524 wxTreeItemId
* _arg1
;
7525 PyObject
* _argo0
= 0;
7526 PyObject
* _argo1
= 0;
7527 char *_kwnames
[] = { "self","item", NULL
};
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7548 wxPy_BEGIN_ALLOW_THREADS
;
7549 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7551 wxPy_END_ALLOW_THREADS
;
7553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7554 _resultobj
= Py_BuildValue("s",_ptemp
);
7557 _resultobj
= Py_None
;
7562 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
7563 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
* _resultobj
;
7565 wxTextCtrl
* _result
;
7566 wxPyTreeCtrl
* _arg0
;
7567 PyObject
* _argo0
= 0;
7568 char *_kwnames
[] = { "self", NULL
};
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
7575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
7582 wxPy_BEGIN_ALLOW_THREADS
;
7583 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
7585 wxPy_END_ALLOW_THREADS
;
7587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7588 _resultobj
= Py_BuildValue("s",_ptemp
);
7591 _resultobj
= Py_None
;
7596 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
7597 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
* _resultobj
;
7599 wxPyTreeCtrl
* _arg0
;
7600 wxTreeItemId
* _arg1
;
7601 int _arg2
= (int ) FALSE
;
7602 PyObject
* _argo0
= 0;
7603 PyObject
* _argo1
= 0;
7604 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
7617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
7624 wxPy_BEGIN_ALLOW_THREADS
;
7625 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
7627 wxPy_END_ALLOW_THREADS
;
7628 } Py_INCREF(Py_None
);
7629 _resultobj
= Py_None
;
7633 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7634 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
* _resultobj
;
7636 wxPyTreeCtrl
* _arg0
;
7637 wxTreeItemId
* _arg1
;
7638 PyObject
* _argo0
= 0;
7639 PyObject
* _argo1
= 0;
7640 char *_kwnames
[] = { "self","item", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7660 wxPy_BEGIN_ALLOW_THREADS
;
7661 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7663 wxPy_END_ALLOW_THREADS
;
7664 } Py_INCREF(Py_None
);
7665 _resultobj
= Py_None
;
7669 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7670 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
* _resultobj
;
7672 wxPyTreeCtrl
* _arg0
;
7673 wxTreeItemId
* _arg1
;
7674 int _arg2
= (int ) TRUE
;
7675 PyObject
* _argo0
= 0;
7676 PyObject
* _argo1
= 0;
7677 char *_kwnames
[] = { "self","item","bold", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7697 wxPy_BEGIN_ALLOW_THREADS
;
7698 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7700 wxPy_END_ALLOW_THREADS
;
7701 } Py_INCREF(Py_None
);
7702 _resultobj
= Py_None
;
7706 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7707 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7710 wxPyTreeCtrl
* _arg0
;
7711 wxTreeItemId
* _arg1
;
7712 PyObject
* _argo0
= 0;
7713 PyObject
* _argo1
= 0;
7714 char *_kwnames
[] = { "self","item", NULL
};
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7734 wxPy_BEGIN_ALLOW_THREADS
;
7735 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7737 wxPy_END_ALLOW_THREADS
;
7738 } _resultobj
= Py_BuildValue("i",_result
);
7742 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7743 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7745 wxTreeItemId
* _result
;
7746 wxPyTreeCtrl
* _arg0
;
7750 PyObject
* _argo0
= 0;
7752 PyObject
* _obj1
= 0;
7753 char *_kwnames
[] = { "self","point", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7771 if (! wxPoint_helper(_obj1
, &_arg1
))
7775 wxPy_BEGIN_ALLOW_THREADS
;
7776 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7778 wxPy_END_ALLOW_THREADS
;
7779 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7780 _resultobj
= Py_BuildValue("s",_ptemp
);
7783 o
= PyInt_FromLong((long) (*_arg2
));
7784 _resultobj
= t_output_helper(_resultobj
, o
);
7789 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7790 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
* _resultobj
;
7792 wxPyTreeCtrl
* _arg0
;
7793 wxTreeItemId
* _arg1
;
7795 PyObject
* _argo0
= 0;
7796 PyObject
* _argo1
= 0;
7798 PyObject
* _obj2
= 0;
7799 char *_kwnames
[] = { "self","item","col", NULL
};
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7820 if (! wxColour_helper(_obj2
, &_arg2
))
7824 wxPy_BEGIN_ALLOW_THREADS
;
7825 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7827 wxPy_END_ALLOW_THREADS
;
7828 } Py_INCREF(Py_None
);
7829 _resultobj
= Py_None
;
7833 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7834 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7836 wxPyTreeCtrl
* _arg0
;
7837 wxTreeItemId
* _arg1
;
7839 PyObject
* _argo0
= 0;
7840 PyObject
* _argo1
= 0;
7842 PyObject
* _obj2
= 0;
7843 char *_kwnames
[] = { "self","item","col", NULL
};
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7864 if (! wxColour_helper(_obj2
, &_arg2
))
7868 wxPy_BEGIN_ALLOW_THREADS
;
7869 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7871 wxPy_END_ALLOW_THREADS
;
7872 } Py_INCREF(Py_None
);
7873 _resultobj
= Py_None
;
7877 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7878 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
* _resultobj
;
7880 wxPyTreeCtrl
* _arg0
;
7881 wxTreeItemId
* _arg1
;
7883 PyObject
* _argo0
= 0;
7884 PyObject
* _argo1
= 0;
7885 PyObject
* _argo2
= 0;
7886 char *_kwnames
[] = { "self","item","font", NULL
};
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7906 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7913 wxPy_BEGIN_ALLOW_THREADS
;
7914 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7916 wxPy_END_ALLOW_THREADS
;
7917 } Py_INCREF(Py_None
);
7918 _resultobj
= Py_None
;
7922 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
7923 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7925 wxPyTreeCtrl
* _arg0
;
7926 wxTreeItemId
* _arg1
;
7927 int _arg2
= (int ) TRUE
;
7928 PyObject
* _argo0
= 0;
7929 PyObject
* _argo1
= 0;
7930 char *_kwnames
[] = { "self","item","highlight", NULL
};
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
7943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
7950 wxPy_BEGIN_ALLOW_THREADS
;
7951 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
7953 wxPy_END_ALLOW_THREADS
;
7954 } Py_INCREF(Py_None
);
7955 _resultobj
= Py_None
;
7959 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
7961 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
7962 bool doSave
= wxPyRestoreThread();
7963 wxRect
* r
= new wxRect(rect
);
7964 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
7965 wxPySaveThread(doSave
);
7973 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
* _resultobj
;
7976 wxPyTreeCtrl
* _arg0
;
7977 wxTreeItemId
* _arg1
;
7978 int _arg2
= (int ) FALSE
;
7979 PyObject
* _argo0
= 0;
7980 PyObject
* _argo1
= 0;
7981 char *_kwnames
[] = { "self","item","textOnly", NULL
};
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
7994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
8001 wxPy_BEGIN_ALLOW_THREADS
;
8002 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
8004 wxPy_END_ALLOW_THREADS
;
8006 _resultobj
= _result
;
8011 static PyMethodDef controls2cMethods
[] = {
8012 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
8243 * This table is used by the pointer type-checker
8245 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8246 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8247 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8248 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8249 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8250 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8251 { "_wxEvent","_class_wxEvent",0},
8252 { "_class_wxActivateEvent","_wxActivateEvent",0},
8253 { "_signed_long","_long",0},
8254 { "_wxMenuEvent","_class_wxMenuEvent",0},
8255 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8256 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8257 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8258 { "_wxPrintQuality","_wxCoord",0},
8259 { "_wxPrintQuality","_int",0},
8260 { "_wxPrintQuality","_signed_int",0},
8261 { "_wxPrintQuality","_unsigned_int",0},
8262 { "_wxPrintQuality","_wxWindowID",0},
8263 { "_wxPrintQuality","_uint",0},
8264 { "_wxPrintQuality","_EBool",0},
8265 { "_wxPrintQuality","_size_t",0},
8266 { "_wxPrintQuality","_time_t",0},
8267 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8268 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8269 { "_class_wxRegionIterator","_wxRegionIterator",0},
8270 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8271 { "_class_wxMenuBar","_wxMenuBar",0},
8272 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8273 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8274 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8275 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8276 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8277 { "_class_wxEvtHandler","_wxEvtHandler",0},
8278 { "_wxPaintEvent","_class_wxPaintEvent",0},
8279 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8280 { "_wxCursor","_class_wxCursor",0},
8281 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8282 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8283 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8284 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8285 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8286 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8287 { "_wxMask","_class_wxMask",0},
8288 { "_wxPen","_class_wxPen",0},
8289 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8290 { "_byte","_unsigned_char",0},
8291 { "_wxDataObject","_class_wxDataObject",0},
8292 { "_wxStaticBox","_class_wxStaticBox",0},
8293 { "_wxColourDatabase","_class_wxColourDatabase",0},
8294 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8295 { "_wxPyDropSource","_class_wxPyDropSource",0},
8296 { "_wxChoice","_class_wxChoice",0},
8297 { "_wxSlider","_class_wxSlider",0},
8298 { "_long","_unsigned_long",0},
8299 { "_long","_signed_long",0},
8300 { "_wxImageList","_class_wxImageList",0},
8301 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8302 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8303 { "_wxBitmapButton","_class_wxBitmapButton",0},
8304 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8305 { "_class_wxClipboard","_wxClipboard",0},
8306 { "_class_wxGauge","_wxGauge",0},
8307 { "_wxDC","_class_wxDC",0},
8308 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8309 { "_wxListEvent","_class_wxListEvent",0},
8310 { "_wxSpinEvent","_class_wxSpinEvent",0},
8311 { "_size_t","_wxCoord",0},
8312 { "_size_t","_wxPrintQuality",0},
8313 { "_size_t","_time_t",0},
8314 { "_size_t","_unsigned_int",0},
8315 { "_size_t","_int",0},
8316 { "_size_t","_wxWindowID",0},
8317 { "_size_t","_uint",0},
8318 { "_class_wxRealPoint","_wxRealPoint",0},
8319 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8320 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8321 { "_class_wxMenuItem","_wxMenuItem",0},
8322 { "_class_wxPaintEvent","_wxPaintEvent",0},
8323 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8324 { "_wxPanel","_class_wxPanel",0},
8325 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8326 { "_wxCheckBox","_class_wxCheckBox",0},
8327 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8328 { "_wxPyEvent","_class_wxPyEvent",0},
8329 { "_wxTextCtrl","_class_wxTextCtrl",0},
8330 { "_class_wxMask","_wxMask",0},
8331 { "_wxTextDataObject","_class_wxTextDataObject",0},
8332 { "_class_wxKeyEvent","_wxKeyEvent",0},
8333 { "_wxColour","_class_wxColour",0},
8334 { "_class_wxDialog","_wxDialog",0},
8335 { "_class_wxFileDataObject","_wxFileDataObject",0},
8336 { "_wxIdleEvent","_class_wxIdleEvent",0},
8337 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8338 { "_class_wxDataObject","_wxDataObject",0},
8339 { "_wxStaticLine","_class_wxStaticLine",0},
8340 { "_wxBrush","_class_wxBrush",0},
8341 { "_wxToggleButton","_class_wxToggleButton",0},
8342 { "_wxDataFormat","_class_wxDataFormat",0},
8343 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8344 { "_wxShowEvent","_class_wxShowEvent",0},
8345 { "_uint","_wxCoord",0},
8346 { "_uint","_wxPrintQuality",0},
8347 { "_uint","_time_t",0},
8348 { "_uint","_size_t",0},
8349 { "_uint","_unsigned_int",0},
8350 { "_uint","_int",0},
8351 { "_uint","_wxWindowID",0},
8352 { "_wxChar","_char",0},
8353 { "_wxPyValidator","_class_wxPyValidator",0},
8354 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8355 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8356 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8357 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8358 { "_class_wxEvent","_wxEvent",0},
8359 { "_wxCheckListBox","_class_wxCheckListBox",0},
8360 { "_wxRect","_class_wxRect",0},
8361 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8362 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8363 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8364 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8365 { "_wxCommandEvent","_class_wxCommandEvent",0},
8366 { "_wxSizeEvent","_class_wxSizeEvent",0},
8367 { "_wxPoint","_class_wxPoint",0},
8368 { "_class_wxButton","_wxButton",0},
8369 { "_wxRadioBox","_class_wxRadioBox",0},
8370 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8371 { "_char","_wxChar",0},
8372 { "_wxBitmap","_class_wxBitmap",0},
8373 { "_wxPenList","_class_wxPenList",0},
8374 { "_wxWindowDC","_class_wxWindowDC",0},
8375 { "_wxTimerEvent","_class_wxTimerEvent",0},
8376 { "_wxScrollBar","_class_wxScrollBar",0},
8377 { "_wxSpinButton","_class_wxSpinButton",0},
8378 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8379 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8380 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8381 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8382 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8383 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8384 { "_class_wxValidator","_wxValidator",0},
8385 { "_class_wxPyEvent","_wxPyEvent",0},
8386 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8387 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8388 { "_wxListItem","_class_wxListItem",0},
8389 { "_wxDropTarget","_class_wxDropTarget",0},
8390 { "_class_wxStaticLine","_wxStaticLine",0},
8391 { "_class_wxColourDatabase","_wxColourDatabase",0},
8392 { "_wxScrollEvent","_class_wxScrollEvent",0},
8393 { "_EBool","_wxCoord",0},
8394 { "_EBool","_wxPrintQuality",0},
8395 { "_EBool","_signed_int",0},
8396 { "_EBool","_int",0},
8397 { "_EBool","_wxWindowID",0},
8398 { "_class_wxRegion","_wxRegion",0},
8399 { "_class_wxDataFormat","_wxDataFormat",0},
8400 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8401 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8402 { "_wxStaticText","_class_wxStaticText",0},
8403 { "_wxFont","_class_wxFont",0},
8404 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8405 { "_wxCloseEvent","_class_wxCloseEvent",0},
8406 { "_unsigned_long","_long",0},
8407 { "_class_wxRect","_wxRect",0},
8408 { "_class_wxDC","_wxDC",0},
8409 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8410 { "_class_wxBrushList","_wxBrushList",0},
8411 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8412 { "_class_wxPenList","_wxPenList",0},
8413 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8414 { "_class_wxTreeEvent","_wxTreeEvent",0},
8415 { "_wxFocusEvent","_class_wxFocusEvent",0},
8416 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8417 { "_class_wxTimerEvent","_wxTimerEvent",0},
8418 { "_class_wxSpinButton","_wxSpinButton",0},
8419 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8420 { "_class_wxPanel","_wxPanel",0},
8421 { "_class_wxCheckBox","_wxCheckBox",0},
8422 { "_wxComboBox","_class_wxComboBox",0},
8423 { "_wxRadioButton","_class_wxRadioButton",0},
8424 { "_signed_int","_wxCoord",0},
8425 { "_signed_int","_wxPrintQuality",0},
8426 { "_signed_int","_EBool",0},
8427 { "_signed_int","_wxWindowID",0},
8428 { "_signed_int","_int",0},
8429 { "_class_wxTextCtrl","_wxTextCtrl",0},
8430 { "_class_wxListItemAttr","_wxListItemAttr",0},
8431 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8432 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8433 { "_class_wxTextDataObject","_wxTextDataObject",0},
8434 { "_wxMenu","_class_wxMenu",0},
8435 { "_class_wxMoveEvent","_wxMoveEvent",0},
8436 { "_wxListBox","_class_wxListBox",0},
8437 { "_wxScreenDC","_class_wxScreenDC",0},
8438 { "_WXTYPE","_short",0},
8439 { "_WXTYPE","_signed_short",0},
8440 { "_WXTYPE","_unsigned_short",0},
8441 { "_class_wxDropTarget","_wxDropTarget",0},
8442 { "_class_wxBrush","_wxBrush",0},
8443 { "_unsigned_short","_WXTYPE",0},
8444 { "_unsigned_short","_short",0},
8445 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8446 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8447 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8448 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8449 { "_class_wxWindow","_wxWindow",0},
8450 { "_class_wxStaticText","_wxStaticText",0},
8451 { "_class_wxFont","_wxFont",0},
8452 { "_wxClipboard","_class_wxClipboard",0},
8453 { "_class_wxPyValidator","_wxPyValidator",0},
8454 { "_class_wxCloseEvent","_wxCloseEvent",0},
8455 { "_wxBusyInfo","_class_wxBusyInfo",0},
8456 { "_wxFontList","_class_wxFontList",0},
8457 { "_class_wxMenuEvent","_wxMenuEvent",0},
8458 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8459 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8460 { "_wxClientDC","_class_wxClientDC",0},
8461 { "_wxMouseEvent","_class_wxMouseEvent",0},
8462 { "_wxListCtrl","_class_wxListCtrl",0},
8463 { "_class_wxPoint","_wxPoint",0},
8464 { "_wxRealPoint","_class_wxRealPoint",0},
8465 { "_class_wxRadioBox","_wxRadioBox",0},
8466 { "_signed_short","_WXTYPE",0},
8467 { "_signed_short","_short",0},
8468 { "_wxMemoryDC","_class_wxMemoryDC",0},
8469 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8470 { "_wxPaintDC","_class_wxPaintDC",0},
8471 { "_class_wxWindowDC","_wxWindowDC",0},
8472 { "_class_wxFocusEvent","_wxFocusEvent",0},
8473 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8474 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8475 { "_class_wxCursor","_wxCursor",0},
8476 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8477 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8478 { "_wxTreeItemId","_class_wxTreeItemId",0},
8479 { "_unsigned_char","_byte",0},
8480 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8481 { "_class_wxMenu","_wxMenu",0},
8482 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8483 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8484 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8485 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8486 { "_wxControl","_class_wxControl",0},
8487 { "_class_wxListBox","_wxListBox",0},
8488 { "_unsigned_int","_wxCoord",0},
8489 { "_unsigned_int","_wxPrintQuality",0},
8490 { "_unsigned_int","_time_t",0},
8491 { "_unsigned_int","_size_t",0},
8492 { "_unsigned_int","_uint",0},
8493 { "_unsigned_int","_wxWindowID",0},
8494 { "_unsigned_int","_int",0},
8495 { "_wxIcon","_class_wxIcon",0},
8496 { "_wxDialog","_class_wxDialog",0},
8497 { "_class_wxListItem","_wxListItem",0},
8498 { "_class_wxPen","_wxPen",0},
8499 { "_short","_WXTYPE",0},
8500 { "_short","_unsigned_short",0},
8501 { "_short","_signed_short",0},
8502 { "_class_wxStaticBox","_wxStaticBox",0},
8503 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8504 { "_class_wxPyDropSource","_wxPyDropSource",0},
8505 { "_class_wxScrollEvent","_wxScrollEvent",0},
8506 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8507 { "_class_wxChoice","_wxChoice",0},
8508 { "_class_wxSlider","_wxSlider",0},
8509 { "_class_wxImageList","_wxImageList",0},
8510 { "_class_wxBitmapButton","_wxBitmapButton",0},
8511 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8512 { "_wxWindowID","_wxCoord",0},
8513 { "_wxWindowID","_wxPrintQuality",0},
8514 { "_wxWindowID","_time_t",0},
8515 { "_wxWindowID","_size_t",0},
8516 { "_wxWindowID","_EBool",0},
8517 { "_wxWindowID","_uint",0},
8518 { "_wxWindowID","_int",0},
8519 { "_wxWindowID","_signed_int",0},
8520 { "_wxWindowID","_unsigned_int",0},
8521 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8522 { "_int","_wxCoord",0},
8523 { "_int","_wxPrintQuality",0},
8524 { "_int","_time_t",0},
8525 { "_int","_size_t",0},
8526 { "_int","_EBool",0},
8527 { "_int","_uint",0},
8528 { "_int","_wxWindowID",0},
8529 { "_int","_unsigned_int",0},
8530 { "_int","_signed_int",0},
8531 { "_class_wxMouseEvent","_wxMouseEvent",0},
8532 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8533 { "_class_wxListEvent","_wxListEvent",0},
8534 { "_class_wxSpinEvent","_wxSpinEvent",0},
8535 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8536 { "_time_t","_wxCoord",0},
8537 { "_time_t","_wxPrintQuality",0},
8538 { "_time_t","_unsigned_int",0},
8539 { "_time_t","_int",0},
8540 { "_time_t","_wxWindowID",0},
8541 { "_time_t","_uint",0},
8542 { "_time_t","_size_t",0},
8543 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8544 { "_wxButton","_class_wxButton",0},
8545 { "_wxSize","_class_wxSize",0},
8546 { "_wxRegionIterator","_class_wxRegionIterator",0},
8547 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8548 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8549 { "_class_wxPaintDC","_wxPaintDC",0},
8550 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8551 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8552 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8553 { "_class_wxComboBox","_wxComboBox",0},
8554 { "_class_wxRadioButton","_wxRadioButton",0},
8555 { "_wxValidator","_class_wxValidator",0},
8556 { "_class_wxTreeItemId","_wxTreeItemId",0},
8557 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8558 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8559 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8560 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8561 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8562 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8563 { "_class_wxControl","_wxControl",0},
8564 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8565 { "_class_wxIcon","_wxIcon",0},
8566 { "_class_wxColour","_wxColour",0},
8567 { "_class_wxScreenDC","_wxScreenDC",0},
8568 { "_wxPalette","_class_wxPalette",0},
8569 { "_class_wxIdleEvent","_wxIdleEvent",0},
8570 { "_wxCoord","_int",0},
8571 { "_wxCoord","_signed_int",0},
8572 { "_wxCoord","_unsigned_int",0},
8573 { "_wxCoord","_wxWindowID",0},
8574 { "_wxCoord","_uint",0},
8575 { "_wxCoord","_EBool",0},
8576 { "_wxCoord","_size_t",0},
8577 { "_wxCoord","_time_t",0},
8578 { "_wxCoord","_wxPrintQuality",0},
8579 { "_wxEraseEvent","_class_wxEraseEvent",0},
8580 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8581 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8582 { "_class_wxToggleButton","_wxToggleButton",0},
8583 { "_wxRegion","_class_wxRegion",0},
8584 { "_class_wxShowEvent","_wxShowEvent",0},
8585 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8586 { "_wxActivateEvent","_class_wxActivateEvent",0},
8587 { "_wxGauge","_class_wxGauge",0},
8588 { "_class_wxCheckListBox","_wxCheckListBox",0},
8589 { "_class_wxBusyInfo","_wxBusyInfo",0},
8590 { "_class_wxFontList","_wxFontList",0},
8591 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8592 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8593 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8594 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8595 { "_class_wxCommandEvent","_wxCommandEvent",0},
8596 { "_class_wxClientDC","_wxClientDC",0},
8597 { "_class_wxSizeEvent","_wxSizeEvent",0},
8598 { "_class_wxListCtrl","_wxListCtrl",0},
8599 { "_wxBrushList","_class_wxBrushList",0},
8600 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8601 { "_class_wxSize","_wxSize",0},
8602 { "_class_wxBitmap","_wxBitmap",0},
8603 { "_class_wxMemoryDC","_wxMemoryDC",0},
8604 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8605 { "_wxMenuBar","_class_wxMenuBar",0},
8606 { "_wxTreeEvent","_class_wxTreeEvent",0},
8607 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8608 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8609 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8610 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8611 { "_wxEvtHandler","_class_wxEvtHandler",0},
8612 { "_wxMenuItem","_class_wxMenuItem",0},
8613 { "_class_wxScrollBar","_wxScrollBar",0},
8614 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8615 { "_wxListItemAttr","_class_wxListItemAttr",0},
8616 { "_wxKeyEvent","_class_wxKeyEvent",0},
8617 { "_wxMoveEvent","_class_wxMoveEvent",0},
8618 { "_class_wxPalette","_wxPalette",0},
8619 { "_wxFileDataObject","_class_wxFileDataObject",0},
8620 { "_class_wxEraseEvent","_wxEraseEvent",0},
8621 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8622 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8623 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8624 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8625 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8626 { "_wxWindow","_class_wxWindow",0},
8627 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8630 static PyObject
*SWIG_globals
;
8634 SWIGEXPORT(void) initcontrols2c() {
8636 SWIG_globals
= SWIG_newvarlink();
8637 m
= Py_InitModule("controls2c", controls2cMethods
);
8638 d
= PyModule_GetDict(m
);
8639 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8640 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8641 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8642 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8643 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8644 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8645 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8646 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8647 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8648 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8649 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8650 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8651 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8652 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8653 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8654 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8655 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8656 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8657 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8658 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8659 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8660 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8661 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8662 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8663 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8664 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8665 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8666 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8667 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8668 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8669 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8670 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8671 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8672 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8673 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8674 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8675 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8676 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8677 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8678 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8679 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8680 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8681 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8682 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8683 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8684 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8685 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8686 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8687 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8688 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8689 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8690 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8691 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8692 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8693 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8694 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8695 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8696 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8697 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8698 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8699 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8700 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8701 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8702 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8703 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8704 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8705 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8706 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8707 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8708 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8709 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8710 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8711 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8712 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8713 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8714 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8715 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8716 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8717 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8718 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8719 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8720 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8721 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8722 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8723 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8724 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8725 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8726 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8727 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8728 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8729 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8730 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8731 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8732 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8733 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8734 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
8737 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8738 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);