2 * FILE : src/gtk/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
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 static char* wxStringErrorMsg
= "string type is required for parameter";
113 extern wxValidator wxPyDefaultValidator
;
115 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
117 PyObject
* func
= (PyObject
*)funcPtr
;
118 bool doSave
= wxPyRestoreThread();
120 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
121 PyObject
* result
= PyEval_CallObject(func
, args
);
124 retval
= PyInt_AsLong(result
);
128 wxPySaveThread(doSave
);
133 class wxPyTreeItemData
: public wxTreeItemData
{
135 wxPyTreeItemData(PyObject
* obj
= NULL
) {
142 ~wxPyTreeItemData() {
143 bool doSave
= wxPyRestoreThread();
145 wxPySaveThread(doSave
);
148 PyObject
* GetData() {
153 void SetData(PyObject
* obj
) {
154 bool doSave
= wxPyRestoreThread();
156 wxPySaveThread(doSave
);
164 class wxPyTreeCtrl
: public wxTreeCtrl
{
166 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
170 const wxValidator
& validator
,
172 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
175 int OnCompareItems(const wxTreeItemId
& item1
,
176 const wxTreeItemId
& item2
) {
178 bool doSave
= wxPyRestoreThread();
179 if (m_myInst
.findCallback("OnCompareItems"))
180 rval
= m_myInst
.callCallback(Py_BuildValue(
182 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
183 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
185 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
186 wxPySaveThread(doSave
);
195 #define new_wxListItemAttr() (new wxListItemAttr())
196 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
198 wxListItemAttr
* _result
;
199 char *_kwnames
[] = { NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
206 wxPy_BEGIN_ALLOW_THREADS
;
207 _result
= (wxListItemAttr
*)new_wxListItemAttr();
209 wxPy_END_ALLOW_THREADS
;
211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
212 _resultobj
= Py_BuildValue("s",_ptemp
);
215 _resultobj
= Py_None
;
220 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
221 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
223 wxListItemAttr
* _arg0
;
225 PyObject
* _argo0
= 0;
227 PyObject
* _obj1
= 0;
228 char *_kwnames
[] = { "self","colText", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
242 if (! wxColour_helper(_obj1
, &_arg1
))
246 wxPy_BEGIN_ALLOW_THREADS
;
247 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
249 wxPy_END_ALLOW_THREADS
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
256 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 wxListItemAttr
* _arg0
;
260 PyObject
* _argo0
= 0;
262 PyObject
* _obj1
= 0;
263 char *_kwnames
[] = { "self","colBack", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
277 if (! wxColour_helper(_obj1
, &_arg1
))
281 wxPy_BEGIN_ALLOW_THREADS
;
282 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
284 wxPy_END_ALLOW_THREADS
;
285 } Py_INCREF(Py_None
);
286 _resultobj
= Py_None
;
290 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
291 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
292 PyObject
* _resultobj
;
293 wxListItemAttr
* _arg0
;
295 PyObject
* _argo0
= 0;
296 PyObject
* _argo1
= 0;
297 char *_kwnames
[] = { "self","font", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
317 wxPy_BEGIN_ALLOW_THREADS
;
318 wxListItemAttr_SetFont(_arg0
,*_arg1
);
320 wxPy_END_ALLOW_THREADS
;
321 } Py_INCREF(Py_None
);
322 _resultobj
= Py_None
;
326 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
327 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
330 wxListItemAttr
* _arg0
;
331 PyObject
* _argo0
= 0;
332 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
348 wxPy_END_ALLOW_THREADS
;
349 } _resultobj
= Py_BuildValue("i",_result
);
353 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
354 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
357 wxListItemAttr
* _arg0
;
358 PyObject
* _argo0
= 0;
359 char *_kwnames
[] = { "self", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
375 wxPy_END_ALLOW_THREADS
;
376 } _resultobj
= Py_BuildValue("i",_result
);
380 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
381 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
384 wxListItemAttr
* _arg0
;
385 PyObject
* _argo0
= 0;
386 char *_kwnames
[] = { "self", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
399 wxPy_BEGIN_ALLOW_THREADS
;
400 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
402 wxPy_END_ALLOW_THREADS
;
403 } _resultobj
= Py_BuildValue("i",_result
);
407 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
408 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
411 wxListItemAttr
* _arg0
;
412 PyObject
* _argo0
= 0;
413 char *_kwnames
[] = { "self", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
427 wxPy_BEGIN_ALLOW_THREADS
;
428 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
429 _result
= (wxColour
*) &_result_ref
;
431 wxPy_END_ALLOW_THREADS
;
433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
434 _resultobj
= Py_BuildValue("s",_ptemp
);
437 _resultobj
= Py_None
;
442 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
443 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
446 wxListItemAttr
* _arg0
;
447 PyObject
* _argo0
= 0;
448 char *_kwnames
[] = { "self", NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
462 wxPy_BEGIN_ALLOW_THREADS
;
463 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
464 _result
= (wxColour
*) &_result_ref
;
466 wxPy_END_ALLOW_THREADS
;
468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
469 _resultobj
= Py_BuildValue("s",_ptemp
);
472 _resultobj
= Py_None
;
477 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
478 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
481 wxListItemAttr
* _arg0
;
482 PyObject
* _argo0
= 0;
483 char *_kwnames
[] = { "self", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
499 _result
= (wxFont
*) &_result_ref
;
501 wxPy_END_ALLOW_THREADS
;
503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
504 _resultobj
= Py_BuildValue("s",_ptemp
);
507 _resultobj
= Py_None
;
512 #define new_wxListItem() (new wxListItem())
513 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
515 wxListItem
* _result
;
516 char *_kwnames
[] = { NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
523 wxPy_BEGIN_ALLOW_THREADS
;
524 _result
= (wxListItem
*)new_wxListItem();
526 wxPy_END_ALLOW_THREADS
;
528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
529 _resultobj
= Py_BuildValue("s",_ptemp
);
532 _resultobj
= Py_None
;
537 #define delete_wxListItem(_swigobj) (delete _swigobj)
538 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 PyObject
* _argo0
= 0;
542 char *_kwnames
[] = { "self", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 delete_wxListItem(_arg0
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
565 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
568 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 wxListItem_Clear(_arg0
);
585 wxPy_END_ALLOW_THREADS
;
586 } Py_INCREF(Py_None
);
587 _resultobj
= Py_None
;
591 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
592 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 wxListItem_ClearAttributes(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
613 } Py_INCREF(Py_None
);
614 _resultobj
= Py_None
;
618 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
619 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
623 PyObject
* _argo0
= 0;
624 char *_kwnames
[] = { "self","mask", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
637 wxPy_BEGIN_ALLOW_THREADS
;
638 wxListItem_SetMask(_arg0
,_arg1
);
640 wxPy_END_ALLOW_THREADS
;
641 } Py_INCREF(Py_None
);
642 _resultobj
= Py_None
;
646 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
647 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
651 PyObject
* _argo0
= 0;
652 char *_kwnames
[] = { "self","id", NULL
};
655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
665 wxPy_BEGIN_ALLOW_THREADS
;
666 wxListItem_SetId(_arg0
,_arg1
);
668 wxPy_END_ALLOW_THREADS
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
675 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 PyObject
* _resultobj
;
679 PyObject
* _argo0
= 0;
680 char *_kwnames
[] = { "self","col", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
693 wxPy_BEGIN_ALLOW_THREADS
;
694 wxListItem_SetColumn(_arg0
,_arg1
);
696 wxPy_END_ALLOW_THREADS
;
697 } Py_INCREF(Py_None
);
698 _resultobj
= Py_None
;
702 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
703 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
707 PyObject
* _argo0
= 0;
708 char *_kwnames
[] = { "self","state", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 wxListItem_SetState(_arg0
,_arg1
);
724 wxPy_END_ALLOW_THREADS
;
725 } Py_INCREF(Py_None
);
726 _resultobj
= Py_None
;
730 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
731 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
732 PyObject
* _resultobj
;
735 PyObject
* _argo0
= 0;
736 char *_kwnames
[] = { "self","stateMask", NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
749 wxPy_BEGIN_ALLOW_THREADS
;
750 wxListItem_SetStateMask(_arg0
,_arg1
);
752 wxPy_END_ALLOW_THREADS
;
753 } Py_INCREF(Py_None
);
754 _resultobj
= Py_None
;
758 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
759 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
763 PyObject
* _argo0
= 0;
764 PyObject
* _obj1
= 0;
765 char *_kwnames
[] = { "self","text", NULL
};
768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
778 #if PYTHON_API_VERSION >= 1009
779 char* tmpPtr
; int tmpSize
;
780 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
781 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
784 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
786 _arg1
= new wxString(tmpPtr
, tmpSize
);
788 if (!PyString_Check(_obj1
)) {
789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
792 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxListItem_SetText(_arg0
,*_arg1
);
799 wxPy_END_ALLOW_THREADS
;
800 } Py_INCREF(Py_None
);
801 _resultobj
= Py_None
;
809 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
810 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self","image", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 wxListItem_SetImage(_arg0
,_arg1
);
831 wxPy_END_ALLOW_THREADS
;
832 } Py_INCREF(Py_None
);
833 _resultobj
= Py_None
;
837 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
838 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
842 PyObject
* _argo0
= 0;
843 char *_kwnames
[] = { "self","data", NULL
};
846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
856 wxPy_BEGIN_ALLOW_THREADS
;
857 wxListItem_SetData(_arg0
,_arg1
);
859 wxPy_END_ALLOW_THREADS
;
860 } Py_INCREF(Py_None
);
861 _resultobj
= Py_None
;
865 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
866 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
870 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self","width", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
884 wxPy_BEGIN_ALLOW_THREADS
;
885 wxListItem_SetWidth(_arg0
,_arg1
);
887 wxPy_END_ALLOW_THREADS
;
888 } Py_INCREF(Py_None
);
889 _resultobj
= Py_None
;
893 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
894 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
897 wxListColumnFormat _arg1
;
898 PyObject
* _argo0
= 0;
899 char *_kwnames
[] = { "self","align", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 wxListItem_SetAlign(_arg0
,_arg1
);
915 wxPy_END_ALLOW_THREADS
;
916 } Py_INCREF(Py_None
);
917 _resultobj
= Py_None
;
921 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
922 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
926 PyObject
* _argo0
= 0;
928 PyObject
* _obj1
= 0;
929 char *_kwnames
[] = { "self","colText", NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
943 if (! wxColour_helper(_obj1
, &_arg1
))
947 wxPy_BEGIN_ALLOW_THREADS
;
948 wxListItem_SetTextColour(_arg0
,*_arg1
);
950 wxPy_END_ALLOW_THREADS
;
951 } Py_INCREF(Py_None
);
952 _resultobj
= Py_None
;
956 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
957 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
958 PyObject
* _resultobj
;
961 PyObject
* _argo0
= 0;
963 PyObject
* _obj1
= 0;
964 char *_kwnames
[] = { "self","colBack", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
978 if (! wxColour_helper(_obj1
, &_arg1
))
982 wxPy_BEGIN_ALLOW_THREADS
;
983 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
985 wxPy_END_ALLOW_THREADS
;
986 } Py_INCREF(Py_None
);
987 _resultobj
= Py_None
;
991 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
992 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
996 PyObject
* _argo0
= 0;
997 PyObject
* _argo1
= 0;
998 char *_kwnames
[] = { "self","font", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 wxListItem_SetFont(_arg0
,*_arg1
);
1021 wxPy_END_ALLOW_THREADS
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1028 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 _result
= (long )wxListItem_GetMask(_arg0
);
1049 wxPy_END_ALLOW_THREADS
;
1050 } _resultobj
= Py_BuildValue("l",_result
);
1054 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1055 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1059 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1073 wxPy_BEGIN_ALLOW_THREADS
;
1074 _result
= (long )wxListItem_GetId(_arg0
);
1076 wxPy_END_ALLOW_THREADS
;
1077 } _resultobj
= Py_BuildValue("l",_result
);
1081 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1082 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1086 PyObject
* _argo0
= 0;
1087 char *_kwnames
[] = { "self", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 _result
= (int )wxListItem_GetColumn(_arg0
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } _resultobj
= Py_BuildValue("i",_result
);
1108 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1109 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (long )wxListItem_GetState(_arg0
);
1130 wxPy_END_ALLOW_THREADS
;
1131 } _resultobj
= Py_BuildValue("l",_result
);
1135 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1136 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1156 _result
= (wxString
*) &_result_ref
;
1158 wxPy_END_ALLOW_THREADS
;
1160 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1165 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1166 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1170 PyObject
* _argo0
= 0;
1171 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= (int )wxListItem_GetImage(_arg0
);
1187 wxPy_END_ALLOW_THREADS
;
1188 } _resultobj
= Py_BuildValue("i",_result
);
1192 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1193 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1197 PyObject
* _argo0
= 0;
1198 char *_kwnames
[] = { "self", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 _result
= (long )wxListItem_GetData(_arg0
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } _resultobj
= Py_BuildValue("l",_result
);
1219 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1220 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1224 PyObject
* _argo0
= 0;
1225 char *_kwnames
[] = { "self", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1238 wxPy_BEGIN_ALLOW_THREADS
;
1239 _result
= (int )wxListItem_GetWidth(_arg0
);
1241 wxPy_END_ALLOW_THREADS
;
1242 } _resultobj
= Py_BuildValue("i",_result
);
1246 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1247 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1249 wxListColumnFormat _result
;
1251 PyObject
* _argo0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1265 wxPy_BEGIN_ALLOW_THREADS
;
1266 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1268 wxPy_END_ALLOW_THREADS
;
1269 } _resultobj
= Py_BuildValue("i",_result
);
1273 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1274 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1276 wxListItemAttr
* _result
;
1278 PyObject
* _argo0
= 0;
1279 char *_kwnames
[] = { "self", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1296 wxPy_END_ALLOW_THREADS
;
1298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1299 _resultobj
= Py_BuildValue("s",_ptemp
);
1302 _resultobj
= Py_None
;
1307 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1308 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1312 PyObject
* _argo0
= 0;
1313 char *_kwnames
[] = { "self", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1329 wxPy_END_ALLOW_THREADS
;
1330 } _resultobj
= Py_BuildValue("i",_result
);
1334 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1335 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1339 PyObject
* _argo0
= 0;
1340 char *_kwnames
[] = { "self", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1357 wxPy_END_ALLOW_THREADS
;
1358 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1359 _resultobj
= Py_BuildValue("s",_ptemp
);
1363 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1364 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1368 PyObject
* _argo0
= 0;
1369 char *_kwnames
[] = { "self", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1386 wxPy_END_ALLOW_THREADS
;
1387 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1388 _resultobj
= Py_BuildValue("s",_ptemp
);
1392 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1393 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1415 wxPy_END_ALLOW_THREADS
;
1416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1417 _resultobj
= Py_BuildValue("s",_ptemp
);
1421 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1422 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self","m_mask", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1444 wxPy_END_ALLOW_THREADS
;
1445 } _resultobj
= Py_BuildValue("l",_result
);
1449 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1450 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (long )wxListItem_m_mask_get(_arg0
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } _resultobj
= Py_BuildValue("l",_result
);
1476 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1477 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self","m_itemId", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1499 wxPy_END_ALLOW_THREADS
;
1500 } _resultobj
= Py_BuildValue("l",_result
);
1504 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1505 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1526 wxPy_END_ALLOW_THREADS
;
1527 } _resultobj
= Py_BuildValue("l",_result
);
1531 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1532 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self","m_col", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1560 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1564 PyObject
* _argo0
= 0;
1565 char *_kwnames
[] = { "self", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (int )wxListItem_m_col_get(_arg0
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } _resultobj
= Py_BuildValue("i",_result
);
1586 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1587 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1592 PyObject
* _argo0
= 0;
1593 char *_kwnames
[] = { "self","m_state", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 } _resultobj
= Py_BuildValue("l",_result
);
1614 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1615 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (long )wxListItem_m_state_get(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("l",_result
);
1641 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1642 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1647 PyObject
* _argo0
= 0;
1648 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1661 wxPy_BEGIN_ALLOW_THREADS
;
1662 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1664 wxPy_END_ALLOW_THREADS
;
1665 } _resultobj
= Py_BuildValue("l",_result
);
1669 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1670 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "self", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1691 wxPy_END_ALLOW_THREADS
;
1692 } _resultobj
= Py_BuildValue("l",_result
);
1696 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1697 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _obj1
= 0;
1704 char *_kwnames
[] = { "self","m_text", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1717 #if PYTHON_API_VERSION >= 1009
1718 char* tmpPtr
; int tmpSize
;
1719 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1720 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1723 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1725 _arg1
= new wxString(tmpPtr
, tmpSize
);
1727 if (!PyString_Check(_obj1
)) {
1728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1731 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1738 wxPy_END_ALLOW_THREADS
;
1740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1749 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1750 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1754 PyObject
* _argo0
= 0;
1755 char *_kwnames
[] = { "self", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1771 wxPy_END_ALLOW_THREADS
;
1773 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1778 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1779 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self","m_image", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1798 wxPy_BEGIN_ALLOW_THREADS
;
1799 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1801 wxPy_END_ALLOW_THREADS
;
1802 } _resultobj
= Py_BuildValue("i",_result
);
1806 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1807 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1825 wxPy_BEGIN_ALLOW_THREADS
;
1826 _result
= (int )wxListItem_m_image_get(_arg0
);
1828 wxPy_END_ALLOW_THREADS
;
1829 } _resultobj
= Py_BuildValue("i",_result
);
1833 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1834 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self","m_data", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } _resultobj
= Py_BuildValue("l",_result
);
1861 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1862 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (long )wxListItem_m_data_get(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } _resultobj
= Py_BuildValue("l",_result
);
1888 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1889 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1894 PyObject
* _argo0
= 0;
1895 char *_kwnames
[] = { "self","m_format", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1908 wxPy_BEGIN_ALLOW_THREADS
;
1909 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1911 wxPy_END_ALLOW_THREADS
;
1912 } _resultobj
= Py_BuildValue("i",_result
);
1916 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1917 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (int )wxListItem_m_format_get(_arg0
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1944 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self","m_width", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1966 wxPy_END_ALLOW_THREADS
;
1967 } _resultobj
= Py_BuildValue("i",_result
);
1971 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1972 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= (int )wxListItem_m_width_get(_arg0
);
1993 wxPy_END_ALLOW_THREADS
;
1994 } _resultobj
= Py_BuildValue("i",_result
);
1998 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2000 wxNotifyEvent
*dest
;
2001 src
= (wxListEvent
*) ptr
;
2002 dest
= (wxNotifyEvent
*) src
;
2003 return (void *) dest
;
2006 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2008 wxCommandEvent
*dest
;
2009 src
= (wxListEvent
*) ptr
;
2010 dest
= (wxCommandEvent
*) src
;
2011 return (void *) dest
;
2014 static void *SwigwxListEventTowxEvent(void *ptr
) {
2017 src
= (wxListEvent
*) ptr
;
2018 dest
= (wxEvent
*) src
;
2019 return (void *) dest
;
2022 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2023 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2026 wxListEvent
* _arg0
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self","m_code", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2051 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 wxListEvent
* _arg0
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (int )wxListEvent_m_code_get(_arg0
);
2072 wxPy_END_ALLOW_THREADS
;
2073 } _resultobj
= Py_BuildValue("i",_result
);
2077 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2078 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2081 wxListEvent
* _arg0
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2100 wxPy_END_ALLOW_THREADS
;
2101 } _resultobj
= Py_BuildValue("l",_result
);
2105 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2106 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 wxListEvent
* _arg0
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2124 wxPy_BEGIN_ALLOW_THREADS
;
2125 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2127 wxPy_END_ALLOW_THREADS
;
2128 } _resultobj
= Py_BuildValue("l",_result
);
2132 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2133 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2136 wxListEvent
* _arg0
;
2138 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2155 wxPy_END_ALLOW_THREADS
;
2156 } _resultobj
= Py_BuildValue("l",_result
);
2160 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2161 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2164 wxListEvent
* _arg0
;
2165 PyObject
* _argo0
= 0;
2166 char *_kwnames
[] = { "self", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } _resultobj
= Py_BuildValue("l",_result
);
2187 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2188 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxListEvent
* _arg0
;
2193 PyObject
* _argo0
= 0;
2194 char *_kwnames
[] = { "self","m_col", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } _resultobj
= Py_BuildValue("i",_result
);
2215 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2216 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2219 wxListEvent
* _arg0
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2234 wxPy_BEGIN_ALLOW_THREADS
;
2235 _result
= (int )wxListEvent_m_col_get(_arg0
);
2237 wxPy_END_ALLOW_THREADS
;
2238 } _resultobj
= Py_BuildValue("i",_result
);
2242 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2243 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2246 wxListEvent
* _arg0
;
2248 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2262 _arg1
= (bool ) tempbool1
;
2264 wxPy_BEGIN_ALLOW_THREADS
;
2265 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2267 wxPy_END_ALLOW_THREADS
;
2268 } _resultobj
= Py_BuildValue("i",_result
);
2272 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2273 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2276 wxListEvent
* _arg0
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2294 wxPy_END_ALLOW_THREADS
;
2295 } _resultobj
= Py_BuildValue("i",_result
);
2299 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2300 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2303 wxListEvent
* _arg0
;
2305 PyObject
* _argo0
= 0;
2307 PyObject
* _obj1
= 0;
2308 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2323 if (! wxPoint_helper(_obj1
, &_arg1
))
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2330 wxPy_END_ALLOW_THREADS
;
2332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2333 _resultobj
= Py_BuildValue("s",_ptemp
);
2336 _resultobj
= Py_None
;
2341 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2342 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2345 wxListEvent
* _arg0
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2364 wxPy_END_ALLOW_THREADS
;
2366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2367 _resultobj
= Py_BuildValue("s",_ptemp
);
2370 _resultobj
= Py_None
;
2375 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2376 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxListItem
* _result
;
2379 wxListEvent
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 PyObject
* _argo1
= 0;
2383 char *_kwnames
[] = { "self","m_item", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2397 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2407 wxPy_END_ALLOW_THREADS
;
2409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2410 _resultobj
= Py_BuildValue("s",_ptemp
);
2413 _resultobj
= Py_None
;
2418 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2419 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2421 wxListItem
* _result
;
2422 wxListEvent
* _arg0
;
2423 PyObject
* _argo0
= 0;
2424 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2441 wxPy_END_ALLOW_THREADS
;
2443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2444 _resultobj
= Py_BuildValue("s",_ptemp
);
2447 _resultobj
= Py_None
;
2452 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2453 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2456 wxListEvent
* _arg0
;
2457 PyObject
* _argo0
= 0;
2458 char *_kwnames
[] = { "self", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 _result
= (int )wxListEvent_GetCode(_arg0
);
2474 wxPy_END_ALLOW_THREADS
;
2475 } _resultobj
= Py_BuildValue("i",_result
);
2479 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2480 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2483 wxListEvent
* _arg0
;
2484 PyObject
* _argo0
= 0;
2485 char *_kwnames
[] = { "self", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2498 wxPy_BEGIN_ALLOW_THREADS
;
2499 _result
= (long )wxListEvent_GetIndex(_arg0
);
2501 wxPy_END_ALLOW_THREADS
;
2502 } _resultobj
= Py_BuildValue("l",_result
);
2506 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2507 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2510 wxListEvent
* _arg0
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2528 wxPy_END_ALLOW_THREADS
;
2529 } _resultobj
= Py_BuildValue("l",_result
);
2533 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2534 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2537 wxListEvent
* _arg0
;
2538 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self", NULL
};
2542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2555 wxPy_END_ALLOW_THREADS
;
2556 } _resultobj
= Py_BuildValue("l",_result
);
2560 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2561 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2564 wxListEvent
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= (int )wxListEvent_GetColumn(_arg0
);
2582 wxPy_END_ALLOW_THREADS
;
2583 } _resultobj
= Py_BuildValue("i",_result
);
2587 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2588 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2591 wxListEvent
* _arg0
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2609 wxPy_END_ALLOW_THREADS
;
2610 } _resultobj
= Py_BuildValue("i",_result
);
2614 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2615 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2618 wxListEvent
* _arg0
;
2619 PyObject
* _argo0
= 0;
2620 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2634 wxPy_BEGIN_ALLOW_THREADS
;
2635 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2637 wxPy_END_ALLOW_THREADS
;
2638 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2639 _resultobj
= Py_BuildValue("s",_ptemp
);
2643 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2644 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2647 wxListEvent
* _arg0
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2664 _result
= (wxString
*) &_result_ref
;
2666 wxPy_END_ALLOW_THREADS
;
2668 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2673 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2674 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2677 wxListEvent
* _arg0
;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2692 wxPy_BEGIN_ALLOW_THREADS
;
2693 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2694 _result
= (wxString
*) &_result_ref
;
2696 wxPy_END_ALLOW_THREADS
;
2698 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2703 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2704 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2707 wxListEvent
* _arg0
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 _result
= (int )wxListEvent_GetImage(_arg0
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } _resultobj
= Py_BuildValue("i",_result
);
2730 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2731 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2734 wxListEvent
* _arg0
;
2735 PyObject
* _argo0
= 0;
2736 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 _result
= (long )wxListEvent_GetData(_arg0
);
2752 wxPy_END_ALLOW_THREADS
;
2753 } _resultobj
= Py_BuildValue("l",_result
);
2757 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2758 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2761 wxListEvent
* _arg0
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 _result
= (long )wxListEvent_GetMask(_arg0
);
2779 wxPy_END_ALLOW_THREADS
;
2780 } _resultobj
= Py_BuildValue("l",_result
);
2784 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2785 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2787 wxListItem
* _result
;
2788 wxListEvent
* _arg0
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2806 _result
= (wxListItem
*) &_result_ref
;
2808 wxPy_END_ALLOW_THREADS
;
2810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2811 _resultobj
= Py_BuildValue("s",_ptemp
);
2814 _resultobj
= Py_None
;
2819 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2822 src
= (wxListCtrl
*) ptr
;
2823 dest
= (wxControl
*) src
;
2824 return (void *) dest
;
2827 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2830 src
= (wxListCtrl
*) ptr
;
2831 dest
= (wxWindow
*) src
;
2832 return (void *) dest
;
2835 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2838 src
= (wxListCtrl
*) ptr
;
2839 dest
= (wxEvtHandler
*) src
;
2840 return (void *) dest
;
2843 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2844 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxListCtrl
* _result
;
2849 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2850 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2851 long _arg4
= (long ) wxLC_ICON
;
2852 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
2853 char * _arg6
= (char *) "listCtrl";
2854 PyObject
* _argo0
= 0;
2856 PyObject
* _obj2
= 0;
2858 PyObject
* _obj3
= 0;
2859 PyObject
* _argo5
= 0;
2860 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2876 if (! wxPoint_helper(_obj2
, &_arg2
))
2882 if (! wxSize_helper(_obj3
, &_arg3
))
2886 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2893 wxPy_BEGIN_ALLOW_THREADS
;
2894 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2896 wxPy_END_ALLOW_THREADS
;
2898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2899 _resultobj
= Py_BuildValue("s",_ptemp
);
2902 _resultobj
= Py_None
;
2907 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2908 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2913 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self","flag", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2927 wxPy_BEGIN_ALLOW_THREADS
;
2928 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2930 wxPy_END_ALLOW_THREADS
;
2931 } _resultobj
= Py_BuildValue("i",_result
);
2935 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2936 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self","item", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2958 wxPy_END_ALLOW_THREADS
;
2959 } _resultobj
= Py_BuildValue("i",_result
);
2963 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2964 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2968 PyObject
* _argo0
= 0;
2969 char *_kwnames
[] = { "self", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
2985 wxPy_END_ALLOW_THREADS
;
2986 } _resultobj
= Py_BuildValue("i",_result
);
2990 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
2991 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self","col", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } _resultobj
= Py_BuildValue("i",_result
);
3018 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3019 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3023 PyObject
* _argo0
= 0;
3024 char *_kwnames
[] = { "self", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3040 wxPy_END_ALLOW_THREADS
;
3041 } _resultobj
= Py_BuildValue("i",_result
);
3045 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3046 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3050 char *_kwnames
[] = { "self", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3063 wxPy_BEGIN_ALLOW_THREADS
;
3064 wxListCtrl_ClearAll(_arg0
);
3066 wxPy_END_ALLOW_THREADS
;
3067 } Py_INCREF(Py_None
);
3068 _resultobj
= Py_None
;
3072 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3073 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3077 PyObject
* _argo0
= 0;
3078 char *_kwnames
[] = { "self","item", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3091 wxPy_BEGIN_ALLOW_THREADS
;
3092 wxListCtrl_EditLabel(_arg0
,_arg1
);
3094 wxPy_END_ALLOW_THREADS
;
3095 } Py_INCREF(Py_None
);
3096 _resultobj
= Py_None
;
3100 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3101 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3106 PyObject
* _argo0
= 0;
3107 char *_kwnames
[] = { "self","item", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3120 wxPy_BEGIN_ALLOW_THREADS
;
3121 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3123 wxPy_END_ALLOW_THREADS
;
3124 } _resultobj
= Py_BuildValue("i",_result
);
3128 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3129 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3135 bool _arg3
= (bool ) FALSE
;
3136 PyObject
* _argo0
= 0;
3137 PyObject
* _obj2
= 0;
3138 int tempbool3
= (int) FALSE
;
3139 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3152 #if PYTHON_API_VERSION >= 1009
3153 char* tmpPtr
; int tmpSize
;
3154 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3155 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3158 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3160 _arg2
= new wxString(tmpPtr
, tmpSize
);
3162 if (!PyString_Check(_obj2
)) {
3163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3166 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3169 _arg3
= (bool ) tempbool3
;
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3174 wxPy_END_ALLOW_THREADS
;
3175 } _resultobj
= Py_BuildValue("l",_result
);
3183 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3184 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3190 PyObject
* _argo0
= 0;
3191 char *_kwnames
[] = { "self","start","data", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3204 wxPy_BEGIN_ALLOW_THREADS
;
3205 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3207 wxPy_END_ALLOW_THREADS
;
3208 } _resultobj
= Py_BuildValue("l",_result
);
3212 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3213 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3220 PyObject
* _argo0
= 0;
3222 PyObject
* _obj2
= 0;
3223 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3237 if (! wxPoint_helper(_obj2
, &_arg2
))
3241 wxPy_BEGIN_ALLOW_THREADS
;
3242 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3244 wxPy_END_ALLOW_THREADS
;
3245 } _resultobj
= Py_BuildValue("l",_result
);
3249 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3250 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3256 PyObject
* _argo0
= 0;
3257 PyObject
* _argo2
= 0;
3258 char *_kwnames
[] = { "self","col","item", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3271 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } _resultobj
= Py_BuildValue("i",_result
);
3286 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3287 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self","col", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } _resultobj
= Py_BuildValue("i",_result
);
3314 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3315 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3336 wxPy_END_ALLOW_THREADS
;
3337 } _resultobj
= Py_BuildValue("i",_result
);
3341 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3342 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 wxImageList
* _result
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self","which", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3362 wxPy_BEGIN_ALLOW_THREADS
;
3363 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3365 wxPy_END_ALLOW_THREADS
;
3367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3368 _resultobj
= Py_BuildValue("s",_ptemp
);
3371 _resultobj
= Py_None
;
3376 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3377 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self","item", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3399 wxPy_END_ALLOW_THREADS
;
3400 } _resultobj
= Py_BuildValue("l",_result
);
3404 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3405 wxListItem
* info
= new wxListItem
;
3406 info
->m_itemId
= itemId
;
3408 info
->m_mask
= 0xFFFF;
3409 self
->GetItem(*info
);
3412 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
* _resultobj
;
3414 wxListItem
* _result
;
3417 int _arg2
= (int ) 0;
3418 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "self","itemId","col", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3436 wxPy_END_ALLOW_THREADS
;
3438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3439 _resultobj
= Py_BuildValue("s",_ptemp
);
3442 _resultobj
= Py_None
;
3447 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3448 wxPoint
* pos
= new wxPoint
;
3449 self
->GetItemPosition(item
, *pos
);
3452 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","item", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_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_GetItemPosition. Expected _wxListCtrl_p.");
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3475 wxPy_END_ALLOW_THREADS
;
3477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3478 _resultobj
= Py_BuildValue("s",_ptemp
);
3481 _resultobj
= Py_None
;
3486 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3487 wxRect
* rect
= new wxRect
;
3488 self
->GetItemRect(item
, *rect
, code
);
3491 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3496 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3497 PyObject
* _argo0
= 0;
3498 char *_kwnames
[] = { "self","item","code", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3512 wxPy_BEGIN_ALLOW_THREADS
;
3513 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3515 wxPy_END_ALLOW_THREADS
;
3517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3518 _resultobj
= Py_BuildValue("s",_ptemp
);
3521 _resultobj
= Py_None
;
3526 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3527 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
* _resultobj
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3550 wxPy_END_ALLOW_THREADS
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3556 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3574 wxPy_BEGIN_ALLOW_THREADS
;
3575 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3577 wxPy_END_ALLOW_THREADS
;
3578 } _resultobj
= Py_BuildValue("i",_result
);
3582 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3583 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3588 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self","isSmall", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3602 _arg1
= (bool ) tempbool1
;
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } _resultobj
= Py_BuildValue("i",_result
);
3612 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3613 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self","item", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3635 wxPy_END_ALLOW_THREADS
;
3637 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3645 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3646 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3651 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3652 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3667 wxPy_BEGIN_ALLOW_THREADS
;
3668 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3670 wxPy_END_ALLOW_THREADS
;
3671 } _resultobj
= Py_BuildValue("l",_result
);
3675 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3676 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3694 wxPy_BEGIN_ALLOW_THREADS
;
3695 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3697 wxPy_END_ALLOW_THREADS
;
3698 } _resultobj
= Py_BuildValue("i",_result
);
3702 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3703 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3707 PyObject
* _argo0
= 0;
3708 char *_kwnames
[] = { "self", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3721 wxPy_BEGIN_ALLOW_THREADS
;
3722 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3724 wxPy_END_ALLOW_THREADS
;
3725 } _resultobj
= Py_BuildValue("l",_result
);
3729 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3730 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3739 PyObject
* _obj1
= 0;
3740 char *_kwnames
[] = { "self","point", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3757 if (! wxPoint_helper(_obj1
, &_arg1
))
3761 wxPy_BEGIN_ALLOW_THREADS
;
3762 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3764 wxPy_END_ALLOW_THREADS
;
3765 } _resultobj
= Py_BuildValue("l",_result
);
3768 o
= PyInt_FromLong((long) (*_arg2
));
3769 _resultobj
= t_output_helper(_resultobj
, o
);
3774 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3775 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3781 PyObject
* _argo0
= 0;
3782 PyObject
* _argo2
= 0;
3783 char *_kwnames
[] = { "self","col","info", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3796 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3803 wxPy_BEGIN_ALLOW_THREADS
;
3804 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3806 wxPy_END_ALLOW_THREADS
;
3807 } _resultobj
= Py_BuildValue("l",_result
);
3811 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3812 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3818 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3819 int _arg4
= (int ) -1;
3820 PyObject
* _argo0
= 0;
3821 PyObject
* _obj2
= 0;
3822 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3835 #if PYTHON_API_VERSION >= 1009
3836 char* tmpPtr
; int tmpSize
;
3837 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3838 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3841 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3843 _arg2
= new wxString(tmpPtr
, tmpSize
);
3845 if (!PyString_Check(_obj2
)) {
3846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3849 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3853 wxPy_BEGIN_ALLOW_THREADS
;
3854 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
3856 wxPy_END_ALLOW_THREADS
;
3857 } _resultobj
= Py_BuildValue("l",_result
);
3865 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3866 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3871 PyObject
* _argo0
= 0;
3872 PyObject
* _argo1
= 0;
3873 char *_kwnames
[] = { "self","info", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
3896 wxPy_END_ALLOW_THREADS
;
3897 } _resultobj
= Py_BuildValue("l",_result
);
3901 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3902 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3908 PyObject
* _argo0
= 0;
3909 PyObject
* _obj2
= 0;
3910 char *_kwnames
[] = { "self","index","label", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
3923 #if PYTHON_API_VERSION >= 1009
3924 char* tmpPtr
; int tmpSize
;
3925 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3926 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3929 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3931 _arg2
= new wxString(tmpPtr
, tmpSize
);
3933 if (!PyString_Check(_obj2
)) {
3934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3937 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
3944 wxPy_END_ALLOW_THREADS
;
3945 } _resultobj
= Py_BuildValue("l",_result
);
3953 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3954 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3961 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } _resultobj
= Py_BuildValue("l",_result
);
3982 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
3983 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3990 PyObject
* _argo0
= 0;
3991 PyObject
* _obj2
= 0;
3992 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4005 #if PYTHON_API_VERSION >= 1009
4006 char* tmpPtr
; int tmpSize
;
4007 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4008 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4011 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4013 _arg2
= new wxString(tmpPtr
, tmpSize
);
4015 if (!PyString_Check(_obj2
)) {
4016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4019 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4023 wxPy_BEGIN_ALLOW_THREADS
;
4024 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4026 wxPy_END_ALLOW_THREADS
;
4027 } _resultobj
= Py_BuildValue("l",_result
);
4035 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4036 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self","dx","dy", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4059 wxPy_END_ALLOW_THREADS
;
4060 } _resultobj
= Py_BuildValue("i",_result
);
4064 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4065 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4071 PyObject
* _obj1
= 0;
4072 char *_kwnames
[] = { "self","col", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4086 if (! wxColour_helper(_obj1
, &_arg1
))
4090 wxPy_BEGIN_ALLOW_THREADS
;
4091 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4093 wxPy_END_ALLOW_THREADS
;
4094 } Py_INCREF(Py_None
);
4095 _resultobj
= Py_None
;
4099 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4100 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4107 PyObject
* _argo2
= 0;
4108 char *_kwnames
[] = { "self","col","item", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4121 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4128 wxPy_BEGIN_ALLOW_THREADS
;
4129 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4131 wxPy_END_ALLOW_THREADS
;
4132 } _resultobj
= Py_BuildValue("i",_result
);
4136 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4137 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4143 PyObject
* _argo0
= 0;
4144 char *_kwnames
[] = { "self","col","width", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4160 wxPy_END_ALLOW_THREADS
;
4161 } _resultobj
= Py_BuildValue("i",_result
);
4165 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4166 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4169 wxImageList
* _arg1
;
4171 PyObject
* _argo0
= 0;
4172 PyObject
* _argo1
= 0;
4173 char *_kwnames
[] = { "self","imageList","which", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4196 wxPy_END_ALLOW_THREADS
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4203 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4208 PyObject
* _argo0
= 0;
4209 PyObject
* _argo1
= 0;
4210 char *_kwnames
[] = { "self","info", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4233 wxPy_END_ALLOW_THREADS
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4239 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4246 int _arg4
= (int ) -1;
4247 PyObject
* _argo0
= 0;
4248 PyObject
* _obj3
= 0;
4249 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4262 #if PYTHON_API_VERSION >= 1009
4263 char* tmpPtr
; int tmpSize
;
4264 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4265 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4268 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4270 _arg3
= new wxString(tmpPtr
, tmpSize
);
4272 if (!PyString_Check(_obj3
)) {
4273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4276 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4280 wxPy_BEGIN_ALLOW_THREADS
;
4281 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4283 wxPy_END_ALLOW_THREADS
;
4284 } _resultobj
= Py_BuildValue("l",_result
);
4292 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4293 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4299 PyObject
* _argo0
= 0;
4300 char *_kwnames
[] = { "self","item","data", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4316 wxPy_END_ALLOW_THREADS
;
4317 } _resultobj
= Py_BuildValue("i",_result
);
4321 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4322 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4329 PyObject
* _argo0
= 0;
4330 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4343 wxPy_BEGIN_ALLOW_THREADS
;
4344 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4346 wxPy_END_ALLOW_THREADS
;
4347 } _resultobj
= Py_BuildValue("i",_result
);
4351 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4352 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4358 PyObject
* _argo0
= 0;
4360 PyObject
* _obj2
= 0;
4361 char *_kwnames
[] = { "self","item","pos", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4375 if (! wxPoint_helper(_obj2
, &_arg2
))
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4382 wxPy_END_ALLOW_THREADS
;
4383 } _resultobj
= Py_BuildValue("i",_result
);
4387 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4388 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4409 wxPy_BEGIN_ALLOW_THREADS
;
4410 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4412 wxPy_END_ALLOW_THREADS
;
4413 } _resultobj
= Py_BuildValue("i",_result
);
4417 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4418 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4423 PyObject
* _argo0
= 0;
4424 PyObject
* _obj2
= 0;
4425 char *_kwnames
[] = { "self","item","text", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4438 #if PYTHON_API_VERSION >= 1009
4439 char* tmpPtr
; int tmpSize
;
4440 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4441 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4444 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4446 _arg2
= new wxString(tmpPtr
, tmpSize
);
4448 if (!PyString_Check(_obj2
)) {
4449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4452 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4469 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4470 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4474 bool _arg2
= (bool ) TRUE
;
4475 PyObject
* _argo0
= 0;
4476 int tempbool2
= (int) TRUE
;
4477 char *_kwnames
[] = { "self","style","add", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4489 _arg2
= (bool ) tempbool2
;
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4494 wxPy_END_ALLOW_THREADS
;
4495 } Py_INCREF(Py_None
);
4496 _resultobj
= Py_None
;
4500 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4501 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4505 PyObject
* _argo0
= 0;
4506 char *_kwnames
[] = { "self","style", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4522 wxPy_END_ALLOW_THREADS
;
4523 } Py_INCREF(Py_None
);
4524 _resultobj
= Py_None
;
4528 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4529 if (!PyCallable_Check(func
))
4532 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4534 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4539 PyObject
* _argo0
= 0;
4540 PyObject
* _obj1
= 0;
4541 char *_kwnames
[] = { "self","func", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4557 wxPy_BEGIN_ALLOW_THREADS
;
4558 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4560 wxPy_END_ALLOW_THREADS
;
4561 } _resultobj
= Py_BuildValue("i",_result
);
4565 #define new_wxTreeItemId() (new wxTreeItemId())
4566 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4568 wxTreeItemId
* _result
;
4569 char *_kwnames
[] = { NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4579 wxPy_END_ALLOW_THREADS
;
4581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4582 _resultobj
= Py_BuildValue("s",_ptemp
);
4585 _resultobj
= Py_None
;
4590 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4591 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4593 wxTreeItemId
* _arg0
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4608 wxPy_BEGIN_ALLOW_THREADS
;
4609 delete_wxTreeItemId(_arg0
);
4611 wxPy_END_ALLOW_THREADS
;
4612 } Py_INCREF(Py_None
);
4613 _resultobj
= Py_None
;
4617 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4618 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4621 wxTreeItemId
* _arg0
;
4622 PyObject
* _argo0
= 0;
4623 char *_kwnames
[] = { "self", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4639 wxPy_END_ALLOW_THREADS
;
4640 } _resultobj
= Py_BuildValue("i",_result
);
4644 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4645 if (! other
) return -1;
4646 return *self
!= *other
;
4648 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4651 wxTreeItemId
* _arg0
;
4652 wxTreeItemId
* _arg1
;
4653 PyObject
* _argo0
= 0;
4654 PyObject
* _argo1
= 0;
4655 char *_kwnames
[] = { "self","other", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4678 wxPy_END_ALLOW_THREADS
;
4679 } _resultobj
= Py_BuildValue("i",_result
);
4683 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4684 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4686 wxPyTreeItemData
* _result
;
4687 PyObject
* _arg0
= (PyObject
*) NULL
;
4688 PyObject
* _obj0
= 0;
4689 char *_kwnames
[] = { "obj", NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4700 wxPy_BEGIN_ALLOW_THREADS
;
4701 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4703 wxPy_END_ALLOW_THREADS
;
4705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4706 _resultobj
= Py_BuildValue("s",_ptemp
);
4709 _resultobj
= Py_None
;
4714 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4715 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4718 wxPyTreeItemData
* _arg0
;
4719 PyObject
* _argo0
= 0;
4720 char *_kwnames
[] = { "self", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4736 wxPy_END_ALLOW_THREADS
;
4738 _resultobj
= _result
;
4743 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4744 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4746 wxPyTreeItemData
* _arg0
;
4748 PyObject
* _argo0
= 0;
4749 PyObject
* _obj1
= 0;
4750 char *_kwnames
[] = { "self","obj", NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 wxTreeItemData_SetData(_arg0
,_arg1
);
4769 wxPy_END_ALLOW_THREADS
;
4770 } Py_INCREF(Py_None
);
4771 _resultobj
= Py_None
;
4775 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4776 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4778 wxTreeItemId
* _result
;
4779 wxPyTreeItemData
* _arg0
;
4780 PyObject
* _argo0
= 0;
4781 char *_kwnames
[] = { "self", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4797 _result
= (wxTreeItemId
*) &_result_ref
;
4799 wxPy_END_ALLOW_THREADS
;
4801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4802 _resultobj
= Py_BuildValue("s",_ptemp
);
4805 _resultobj
= Py_None
;
4810 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4811 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4813 wxPyTreeItemData
* _arg0
;
4814 wxTreeItemId
* _arg1
;
4815 PyObject
* _argo0
= 0;
4816 PyObject
* _argo1
= 0;
4817 char *_kwnames
[] = { "self","id", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4837 wxPy_BEGIN_ALLOW_THREADS
;
4838 wxTreeItemData_SetId(_arg0
,*_arg1
);
4840 wxPy_END_ALLOW_THREADS
;
4841 } Py_INCREF(Py_None
);
4842 _resultobj
= Py_None
;
4846 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
4848 wxNotifyEvent
*dest
;
4849 src
= (wxTreeEvent
*) ptr
;
4850 dest
= (wxNotifyEvent
*) src
;
4851 return (void *) dest
;
4854 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
4856 wxCommandEvent
*dest
;
4857 src
= (wxTreeEvent
*) ptr
;
4858 dest
= (wxCommandEvent
*) src
;
4859 return (void *) dest
;
4862 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
4865 src
= (wxTreeEvent
*) ptr
;
4866 dest
= (wxEvent
*) src
;
4867 return (void *) dest
;
4870 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4871 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4873 wxTreeItemId
* _result
;
4874 wxTreeEvent
* _arg0
;
4875 PyObject
* _argo0
= 0;
4876 char *_kwnames
[] = { "self", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4890 wxPy_BEGIN_ALLOW_THREADS
;
4891 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
4893 wxPy_END_ALLOW_THREADS
;
4894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4895 _resultobj
= Py_BuildValue("s",_ptemp
);
4899 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4900 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4902 wxTreeItemId
* _result
;
4903 wxTreeEvent
* _arg0
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4919 wxPy_BEGIN_ALLOW_THREADS
;
4920 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
4922 wxPy_END_ALLOW_THREADS
;
4923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4924 _resultobj
= Py_BuildValue("s",_ptemp
);
4928 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4929 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
* _resultobj
;
4932 wxTreeEvent
* _arg0
;
4933 PyObject
* _argo0
= 0;
4934 char *_kwnames
[] = { "self", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4948 wxPy_BEGIN_ALLOW_THREADS
;
4949 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
4951 wxPy_END_ALLOW_THREADS
;
4952 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4953 _resultobj
= Py_BuildValue("s",_ptemp
);
4957 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
4958 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4961 wxTreeEvent
* _arg0
;
4962 PyObject
* _argo0
= 0;
4963 char *_kwnames
[] = { "self", NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
4969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
4976 wxPy_BEGIN_ALLOW_THREADS
;
4977 _result
= (int )wxTreeEvent_GetCode(_arg0
);
4979 wxPy_END_ALLOW_THREADS
;
4980 } _resultobj
= Py_BuildValue("i",_result
);
4984 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
4985 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4988 wxTreeEvent
* _arg0
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5003 wxPy_BEGIN_ALLOW_THREADS
;
5004 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5005 _result
= (wxString
*) &_result_ref
;
5007 wxPy_END_ALLOW_THREADS
;
5009 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5014 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5017 src
= (wxPyTreeCtrl
*) ptr
;
5018 dest
= (wxControl
*) src
;
5019 return (void *) dest
;
5022 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5025 src
= (wxPyTreeCtrl
*) ptr
;
5026 dest
= (wxWindow
*) src
;
5027 return (void *) dest
;
5030 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5033 src
= (wxPyTreeCtrl
*) ptr
;
5034 dest
= (wxEvtHandler
*) src
;
5035 return (void *) dest
;
5038 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5039 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5041 wxPyTreeCtrl
* _result
;
5043 wxWindowID _arg1
= (wxWindowID
) -1;
5044 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5045 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5046 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5047 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
5048 char * _arg6
= (char *) "wxTreeCtrl";
5049 PyObject
* _argo0
= 0;
5051 PyObject
* _obj2
= 0;
5053 PyObject
* _obj3
= 0;
5054 PyObject
* _argo5
= 0;
5055 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5071 if (! wxPoint_helper(_obj2
, &_arg2
))
5077 if (! wxSize_helper(_obj3
, &_arg3
))
5081 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5088 wxPy_BEGIN_ALLOW_THREADS
;
5089 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5091 wxPy_END_ALLOW_THREADS
;
5093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5094 _resultobj
= Py_BuildValue("s",_ptemp
);
5097 _resultobj
= Py_None
;
5102 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5103 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5105 wxPyTreeCtrl
* _arg0
;
5108 PyObject
* _argo0
= 0;
5109 PyObject
* _obj1
= 0;
5110 PyObject
* _obj2
= 0;
5111 char *_kwnames
[] = { "self","self","_class", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5133 wxPy_END_ALLOW_THREADS
;
5134 } Py_INCREF(Py_None
);
5135 _resultobj
= Py_None
;
5139 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5140 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5143 wxPyTreeCtrl
* _arg0
;
5144 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5158 wxPy_BEGIN_ALLOW_THREADS
;
5159 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5161 wxPy_END_ALLOW_THREADS
;
5162 } _resultobj
= Py_BuildValue("i",_result
);
5166 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5167 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5169 unsigned int _result
;
5170 wxPyTreeCtrl
* _arg0
;
5171 PyObject
* _argo0
= 0;
5172 char *_kwnames
[] = { "self", NULL
};
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5185 wxPy_BEGIN_ALLOW_THREADS
;
5186 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5188 wxPy_END_ALLOW_THREADS
;
5189 } _resultobj
= Py_BuildValue("i",_result
);
5193 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5194 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxPyTreeCtrl
* _arg0
;
5198 PyObject
* _argo0
= 0;
5199 char *_kwnames
[] = { "self","indent", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5212 wxPy_BEGIN_ALLOW_THREADS
;
5213 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5215 wxPy_END_ALLOW_THREADS
;
5216 } Py_INCREF(Py_None
);
5217 _resultobj
= Py_None
;
5221 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5222 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5224 wxImageList
* _result
;
5225 wxPyTreeCtrl
* _arg0
;
5226 PyObject
* _argo0
= 0;
5227 char *_kwnames
[] = { "self", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5241 wxPy_BEGIN_ALLOW_THREADS
;
5242 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5244 wxPy_END_ALLOW_THREADS
;
5246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5247 _resultobj
= Py_BuildValue("s",_ptemp
);
5250 _resultobj
= Py_None
;
5255 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5256 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5258 wxImageList
* _result
;
5259 wxPyTreeCtrl
* _arg0
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5275 wxPy_BEGIN_ALLOW_THREADS
;
5276 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5278 wxPy_END_ALLOW_THREADS
;
5280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5281 _resultobj
= Py_BuildValue("s",_ptemp
);
5284 _resultobj
= Py_None
;
5289 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5290 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5292 wxPyTreeCtrl
* _arg0
;
5293 wxImageList
* _arg1
;
5294 PyObject
* _argo0
= 0;
5295 PyObject
* _argo1
= 0;
5296 char *_kwnames
[] = { "self","imageList", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5316 wxPy_BEGIN_ALLOW_THREADS
;
5317 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5319 wxPy_END_ALLOW_THREADS
;
5320 } Py_INCREF(Py_None
);
5321 _resultobj
= Py_None
;
5325 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5326 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5328 wxPyTreeCtrl
* _arg0
;
5329 wxImageList
* _arg1
;
5330 PyObject
* _argo0
= 0;
5331 PyObject
* _argo1
= 0;
5332 char *_kwnames
[] = { "self","imageList", NULL
};
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5352 wxPy_BEGIN_ALLOW_THREADS
;
5353 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5355 wxPy_END_ALLOW_THREADS
;
5356 } Py_INCREF(Py_None
);
5357 _resultobj
= Py_None
;
5361 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5362 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5364 unsigned int _result
;
5365 wxPyTreeCtrl
* _arg0
;
5366 PyObject
* _argo0
= 0;
5367 char *_kwnames
[] = { "self", NULL
};
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5380 wxPy_BEGIN_ALLOW_THREADS
;
5381 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5383 wxPy_END_ALLOW_THREADS
;
5384 } _resultobj
= Py_BuildValue("i",_result
);
5388 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5389 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5391 wxPyTreeCtrl
* _arg0
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self","spacing", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5416 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5417 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5420 wxPyTreeCtrl
* _arg0
;
5421 wxTreeItemId
* _arg1
;
5422 PyObject
* _argo0
= 0;
5423 PyObject
* _argo1
= 0;
5424 char *_kwnames
[] = { "self","item", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5444 wxPy_BEGIN_ALLOW_THREADS
;
5445 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5447 wxPy_END_ALLOW_THREADS
;
5449 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5457 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5458 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5461 wxPyTreeCtrl
* _arg0
;
5462 wxTreeItemId
* _arg1
;
5463 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5464 PyObject
* _argo0
= 0;
5465 PyObject
* _argo1
= 0;
5466 char *_kwnames
[] = { "self","item","which", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5486 wxPy_BEGIN_ALLOW_THREADS
;
5487 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5489 wxPy_END_ALLOW_THREADS
;
5490 } _resultobj
= Py_BuildValue("i",_result
);
5494 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5495 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5498 wxPyTreeCtrl
* _arg0
;
5499 wxTreeItemId
* _arg1
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _argo1
= 0;
5502 char *_kwnames
[] = { "self","item", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5522 wxPy_BEGIN_ALLOW_THREADS
;
5523 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5525 wxPy_END_ALLOW_THREADS
;
5526 } _resultobj
= Py_BuildValue("i",_result
);
5530 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5531 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
* _resultobj
;
5533 wxPyTreeCtrl
* _arg0
;
5534 wxTreeItemId
* _arg1
;
5536 PyObject
* _argo0
= 0;
5537 PyObject
* _argo1
= 0;
5538 PyObject
* _obj2
= 0;
5539 char *_kwnames
[] = { "self","item","text", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5559 #if PYTHON_API_VERSION >= 1009
5560 char* tmpPtr
; int tmpSize
;
5561 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5562 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5565 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5567 _arg2
= new wxString(tmpPtr
, tmpSize
);
5569 if (!PyString_Check(_obj2
)) {
5570 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5573 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5577 wxPy_BEGIN_ALLOW_THREADS
;
5578 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5580 wxPy_END_ALLOW_THREADS
;
5581 } Py_INCREF(Py_None
);
5582 _resultobj
= Py_None
;
5590 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5591 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5593 wxPyTreeCtrl
* _arg0
;
5594 wxTreeItemId
* _arg1
;
5596 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5597 PyObject
* _argo0
= 0;
5598 PyObject
* _argo1
= 0;
5599 char *_kwnames
[] = { "self","item","image","which", NULL
};
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5619 wxPy_BEGIN_ALLOW_THREADS
;
5620 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5622 wxPy_END_ALLOW_THREADS
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5628 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5629 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5631 wxPyTreeCtrl
* _arg0
;
5632 wxTreeItemId
* _arg1
;
5634 PyObject
* _argo0
= 0;
5635 PyObject
* _argo1
= 0;
5636 char *_kwnames
[] = { "self","item","image", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5659 wxPy_END_ALLOW_THREADS
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5665 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5666 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5668 wxPyTreeCtrl
* _arg0
;
5669 wxTreeItemId
* _arg1
;
5670 bool _arg2
= (bool ) TRUE
;
5671 PyObject
* _argo0
= 0;
5672 PyObject
* _argo1
= 0;
5673 int tempbool2
= (int) TRUE
;
5674 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5693 _arg2
= (bool ) tempbool2
;
5695 wxPy_BEGIN_ALLOW_THREADS
;
5696 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5698 wxPy_END_ALLOW_THREADS
;
5699 } Py_INCREF(Py_None
);
5700 _resultobj
= Py_None
;
5704 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5705 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5707 data
= new wxPyTreeItemData();
5708 data
->SetId(item
); // set the id
5709 self
->SetItemData(item
, data
);
5713 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
* _resultobj
;
5715 wxPyTreeItemData
* _result
;
5716 wxPyTreeCtrl
* _arg0
;
5717 wxTreeItemId
* _arg1
;
5718 PyObject
* _argo0
= 0;
5719 PyObject
* _argo1
= 0;
5720 char *_kwnames
[] = { "self","item", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5744 wxPy_END_ALLOW_THREADS
;
5746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5747 _resultobj
= Py_BuildValue("s",_ptemp
);
5750 _resultobj
= Py_None
;
5755 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5756 data
->SetId(item
); // set the id
5757 self
->SetItemData(item
, data
);
5759 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5761 wxPyTreeCtrl
* _arg0
;
5762 wxTreeItemId
* _arg1
;
5763 wxPyTreeItemData
* _arg2
;
5764 PyObject
* _argo0
= 0;
5765 PyObject
* _argo1
= 0;
5766 PyObject
* _argo2
= 0;
5767 char *_kwnames
[] = { "self","item","data", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5787 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5794 wxPy_BEGIN_ALLOW_THREADS
;
5795 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
5797 wxPy_END_ALLOW_THREADS
;
5798 } Py_INCREF(Py_None
);
5799 _resultobj
= Py_None
;
5803 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5804 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5806 data
= new wxPyTreeItemData();
5807 data
->SetId(item
); // set the id
5808 self
->SetItemData(item
, data
);
5810 return data
->GetData();
5812 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5815 wxPyTreeCtrl
* _arg0
;
5816 wxTreeItemId
* _arg1
;
5817 PyObject
* _argo0
= 0;
5818 PyObject
* _argo1
= 0;
5819 char *_kwnames
[] = { "self","item", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5839 wxPy_BEGIN_ALLOW_THREADS
;
5840 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
5842 wxPy_END_ALLOW_THREADS
;
5844 _resultobj
= _result
;
5849 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
5850 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5852 data
= new wxPyTreeItemData(obj
);
5853 data
->SetId(item
); // set the id
5854 self
->SetItemData(item
, data
);
5858 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5860 wxPyTreeCtrl
* _arg0
;
5861 wxTreeItemId
* _arg1
;
5863 PyObject
* _argo0
= 0;
5864 PyObject
* _argo1
= 0;
5865 PyObject
* _obj2
= 0;
5866 char *_kwnames
[] = { "self","item","obj", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
5892 wxPy_END_ALLOW_THREADS
;
5893 } Py_INCREF(Py_None
);
5894 _resultobj
= Py_None
;
5898 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5899 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5902 wxPyTreeCtrl
* _arg0
;
5903 wxTreeItemId
* _arg1
;
5904 PyObject
* _argo0
= 0;
5905 PyObject
* _argo1
= 0;
5906 char *_kwnames
[] = { "self","item", NULL
};
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
5912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5926 wxPy_BEGIN_ALLOW_THREADS
;
5927 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
5929 wxPy_END_ALLOW_THREADS
;
5930 } _resultobj
= Py_BuildValue("i",_result
);
5934 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
5935 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5938 wxPyTreeCtrl
* _arg0
;
5939 wxTreeItemId
* _arg1
;
5940 PyObject
* _argo0
= 0;
5941 PyObject
* _argo1
= 0;
5942 char *_kwnames
[] = { "self","item", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
5955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
5962 wxPy_BEGIN_ALLOW_THREADS
;
5963 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
5965 wxPy_END_ALLOW_THREADS
;
5966 } _resultobj
= Py_BuildValue("i",_result
);
5970 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
5971 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5974 wxPyTreeCtrl
* _arg0
;
5975 wxTreeItemId
* _arg1
;
5976 PyObject
* _argo0
= 0;
5977 PyObject
* _argo1
= 0;
5978 char *_kwnames
[] = { "self","item", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
5991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
5998 wxPy_BEGIN_ALLOW_THREADS
;
5999 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6001 wxPy_END_ALLOW_THREADS
;
6002 } _resultobj
= Py_BuildValue("i",_result
);
6006 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6007 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6010 wxPyTreeCtrl
* _arg0
;
6011 wxTreeItemId
* _arg1
;
6012 PyObject
* _argo0
= 0;
6013 PyObject
* _argo1
= 0;
6014 char *_kwnames
[] = { "self","item", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6034 wxPy_BEGIN_ALLOW_THREADS
;
6035 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6037 wxPy_END_ALLOW_THREADS
;
6038 } _resultobj
= Py_BuildValue("i",_result
);
6042 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6043 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6045 wxTreeItemId
* _result
;
6046 wxPyTreeCtrl
* _arg0
;
6047 PyObject
* _argo0
= 0;
6048 char *_kwnames
[] = { "self", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6062 wxPy_BEGIN_ALLOW_THREADS
;
6063 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6065 wxPy_END_ALLOW_THREADS
;
6066 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6067 _resultobj
= Py_BuildValue("s",_ptemp
);
6071 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6072 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
* _resultobj
;
6074 wxTreeItemId
* _result
;
6075 wxPyTreeCtrl
* _arg0
;
6076 PyObject
* _argo0
= 0;
6077 char *_kwnames
[] = { "self", NULL
};
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6091 wxPy_BEGIN_ALLOW_THREADS
;
6092 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6094 wxPy_END_ALLOW_THREADS
;
6095 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6096 _resultobj
= Py_BuildValue("s",_ptemp
);
6100 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6101 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
* _resultobj
;
6103 wxTreeItemId
* _result
;
6104 wxPyTreeCtrl
* _arg0
;
6105 wxTreeItemId
* _arg1
;
6106 PyObject
* _argo0
= 0;
6107 PyObject
* _argo1
= 0;
6108 char *_kwnames
[] = { "self","item", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6129 wxPy_BEGIN_ALLOW_THREADS
;
6130 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6132 wxPy_END_ALLOW_THREADS
;
6133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6134 _resultobj
= Py_BuildValue("s",_ptemp
);
6138 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6139 bool doSave
= wxPyRestoreThread();
6140 PyObject
* rval
= PyList_New(0);
6141 wxArrayTreeItemIds array
;
6143 num
= self
->GetSelections(array
);
6144 for (x
=0; x
< num
; x
++) {
6145 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6146 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6147 PyList_Append(rval
, item
);
6149 wxPySaveThread(doSave
);
6152 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6155 wxPyTreeCtrl
* _arg0
;
6156 PyObject
* _argo0
= 0;
6157 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6170 wxPy_BEGIN_ALLOW_THREADS
;
6171 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6173 wxPy_END_ALLOW_THREADS
;
6175 _resultobj
= _result
;
6180 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6181 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6184 wxPyTreeCtrl
* _arg0
;
6185 wxTreeItemId
* _arg1
;
6186 bool _arg2
= (bool ) TRUE
;
6187 PyObject
* _argo0
= 0;
6188 PyObject
* _argo1
= 0;
6189 int tempbool2
= (int) TRUE
;
6190 char *_kwnames
[] = { "self","item","recursively", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6209 _arg2
= (bool ) tempbool2
;
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6214 wxPy_END_ALLOW_THREADS
;
6215 } _resultobj
= Py_BuildValue("i",_result
);
6219 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6220 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6222 wxTreeItemId
* _result
;
6223 wxPyTreeCtrl
* _arg0
;
6224 wxTreeItemId
* _arg1
;
6226 PyObject
* _argo0
= 0;
6227 PyObject
* _argo1
= 0;
6229 PyObject
* _obj2
= 0;
6230 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6244 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6251 temp
= (long) PyInt_AsLong(_obj2
);
6255 wxPy_BEGIN_ALLOW_THREADS
;
6256 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6258 wxPy_END_ALLOW_THREADS
;
6259 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6260 _resultobj
= Py_BuildValue("s",_ptemp
);
6263 o
= PyInt_FromLong((long) (*_arg2
));
6264 _resultobj
= t_output_helper(_resultobj
, o
);
6269 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6270 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6272 wxTreeItemId
* _result
;
6273 wxPyTreeCtrl
* _arg0
;
6274 wxTreeItemId
* _arg1
;
6276 PyObject
* _argo0
= 0;
6277 PyObject
* _argo1
= 0;
6279 PyObject
* _obj2
= 0;
6280 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6301 temp
= (long) PyInt_AsLong(_obj2
);
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6308 wxPy_END_ALLOW_THREADS
;
6309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6310 _resultobj
= Py_BuildValue("s",_ptemp
);
6313 o
= PyInt_FromLong((long) (*_arg2
));
6314 _resultobj
= t_output_helper(_resultobj
, o
);
6319 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6320 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
* _resultobj
;
6322 wxTreeItemId
* _result
;
6323 wxPyTreeCtrl
* _arg0
;
6324 wxTreeItemId
* _arg1
;
6325 PyObject
* _argo0
= 0;
6326 PyObject
* _argo1
= 0;
6327 char *_kwnames
[] = { "self","item", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6348 wxPy_BEGIN_ALLOW_THREADS
;
6349 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6351 wxPy_END_ALLOW_THREADS
;
6352 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6353 _resultobj
= Py_BuildValue("s",_ptemp
);
6357 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6358 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6360 wxTreeItemId
* _result
;
6361 wxPyTreeCtrl
* _arg0
;
6362 wxTreeItemId
* _arg1
;
6363 PyObject
* _argo0
= 0;
6364 PyObject
* _argo1
= 0;
6365 char *_kwnames
[] = { "self","item", NULL
};
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6386 wxPy_BEGIN_ALLOW_THREADS
;
6387 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6389 wxPy_END_ALLOW_THREADS
;
6390 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6391 _resultobj
= Py_BuildValue("s",_ptemp
);
6395 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6396 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6398 wxTreeItemId
* _result
;
6399 wxPyTreeCtrl
* _arg0
;
6400 PyObject
* _argo0
= 0;
6401 char *_kwnames
[] = { "self", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6415 wxPy_BEGIN_ALLOW_THREADS
;
6416 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6418 wxPy_END_ALLOW_THREADS
;
6419 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6420 _resultobj
= Py_BuildValue("s",_ptemp
);
6424 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6425 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6427 wxTreeItemId
* _result
;
6428 wxPyTreeCtrl
* _arg0
;
6429 wxTreeItemId
* _arg1
;
6430 PyObject
* _argo0
= 0;
6431 PyObject
* _argo1
= 0;
6432 char *_kwnames
[] = { "self","item", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6453 wxPy_BEGIN_ALLOW_THREADS
;
6454 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6456 wxPy_END_ALLOW_THREADS
;
6457 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6458 _resultobj
= Py_BuildValue("s",_ptemp
);
6462 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6463 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
* _resultobj
;
6465 wxTreeItemId
* _result
;
6466 wxPyTreeCtrl
* _arg0
;
6467 wxTreeItemId
* _arg1
;
6468 PyObject
* _argo0
= 0;
6469 PyObject
* _argo1
= 0;
6470 char *_kwnames
[] = { "self","item", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6491 wxPy_BEGIN_ALLOW_THREADS
;
6492 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6494 wxPy_END_ALLOW_THREADS
;
6495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6496 _resultobj
= Py_BuildValue("s",_ptemp
);
6500 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6501 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6503 wxTreeItemId
* _result
;
6504 wxPyTreeCtrl
* _arg0
;
6505 wxTreeItemId
* _arg1
;
6506 PyObject
* _argo0
= 0;
6507 PyObject
* _argo1
= 0;
6508 char *_kwnames
[] = { "self","item", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6529 wxPy_BEGIN_ALLOW_THREADS
;
6530 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6532 wxPy_END_ALLOW_THREADS
;
6533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6534 _resultobj
= Py_BuildValue("s",_ptemp
);
6538 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6539 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6541 wxTreeItemId
* _result
;
6542 wxPyTreeCtrl
* _arg0
;
6544 int _arg2
= (int ) -1;
6545 int _arg3
= (int ) -1;
6546 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6547 PyObject
* _argo0
= 0;
6548 PyObject
* _obj1
= 0;
6549 PyObject
* _argo4
= 0;
6550 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6564 #if PYTHON_API_VERSION >= 1009
6565 char* tmpPtr
; int tmpSize
;
6566 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6567 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6570 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6572 _arg1
= new wxString(tmpPtr
, tmpSize
);
6574 if (!PyString_Check(_obj1
)) {
6575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6578 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6582 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6589 wxPy_BEGIN_ALLOW_THREADS
;
6590 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6592 wxPy_END_ALLOW_THREADS
;
6593 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6594 _resultobj
= Py_BuildValue("s",_ptemp
);
6602 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6603 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
* _resultobj
;
6605 wxTreeItemId
* _result
;
6606 wxPyTreeCtrl
* _arg0
;
6607 wxTreeItemId
* _arg1
;
6609 int _arg3
= (int ) -1;
6610 int _arg4
= (int ) -1;
6611 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6612 PyObject
* _argo0
= 0;
6613 PyObject
* _argo1
= 0;
6614 PyObject
* _obj2
= 0;
6615 PyObject
* _argo5
= 0;
6616 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6637 #if PYTHON_API_VERSION >= 1009
6638 char* tmpPtr
; int tmpSize
;
6639 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6640 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6643 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6645 _arg2
= new wxString(tmpPtr
, tmpSize
);
6647 if (!PyString_Check(_obj2
)) {
6648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6651 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6655 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6662 wxPy_BEGIN_ALLOW_THREADS
;
6663 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6665 wxPy_END_ALLOW_THREADS
;
6666 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6667 _resultobj
= Py_BuildValue("s",_ptemp
);
6675 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6676 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6678 wxTreeItemId
* _result
;
6679 wxPyTreeCtrl
* _arg0
;
6680 wxTreeItemId
* _arg1
;
6681 wxTreeItemId
* _arg2
;
6683 int _arg4
= (int ) -1;
6684 int _arg5
= (int ) -1;
6685 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6686 PyObject
* _argo0
= 0;
6687 PyObject
* _argo1
= 0;
6688 PyObject
* _argo2
= 0;
6689 PyObject
* _obj3
= 0;
6690 PyObject
* _argo6
= 0;
6691 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6712 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6719 #if PYTHON_API_VERSION >= 1009
6720 char* tmpPtr
; int tmpSize
;
6721 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6722 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6725 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6727 _arg3
= new wxString(tmpPtr
, tmpSize
);
6729 if (!PyString_Check(_obj3
)) {
6730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6733 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6737 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6738 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6744 wxPy_BEGIN_ALLOW_THREADS
;
6745 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6747 wxPy_END_ALLOW_THREADS
;
6748 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6749 _resultobj
= Py_BuildValue("s",_ptemp
);
6757 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6758 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6760 wxTreeItemId
* _result
;
6761 wxPyTreeCtrl
* _arg0
;
6762 wxTreeItemId
* _arg1
;
6765 int _arg4
= (int ) -1;
6766 int _arg5
= (int ) -1;
6767 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6768 PyObject
* _argo0
= 0;
6769 PyObject
* _argo1
= 0;
6770 PyObject
* _obj3
= 0;
6771 PyObject
* _argo6
= 0;
6772 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6793 #if PYTHON_API_VERSION >= 1009
6794 char* tmpPtr
; int tmpSize
;
6795 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6796 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6799 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6801 _arg3
= new wxString(tmpPtr
, tmpSize
);
6803 if (!PyString_Check(_obj3
)) {
6804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6807 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6811 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6818 wxPy_BEGIN_ALLOW_THREADS
;
6819 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6821 wxPy_END_ALLOW_THREADS
;
6822 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6823 _resultobj
= Py_BuildValue("s",_ptemp
);
6831 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6832 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
* _resultobj
;
6834 wxTreeItemId
* _result
;
6835 wxPyTreeCtrl
* _arg0
;
6836 wxTreeItemId
* _arg1
;
6838 int _arg3
= (int ) -1;
6839 int _arg4
= (int ) -1;
6840 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6841 PyObject
* _argo0
= 0;
6842 PyObject
* _argo1
= 0;
6843 PyObject
* _obj2
= 0;
6844 PyObject
* _argo5
= 0;
6845 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6866 #if PYTHON_API_VERSION >= 1009
6867 char* tmpPtr
; int tmpSize
;
6868 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6869 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6872 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6874 _arg2
= new wxString(tmpPtr
, tmpSize
);
6876 if (!PyString_Check(_obj2
)) {
6877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6880 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6884 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6891 wxPy_BEGIN_ALLOW_THREADS
;
6892 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6894 wxPy_END_ALLOW_THREADS
;
6895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6896 _resultobj
= Py_BuildValue("s",_ptemp
);
6904 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6905 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6907 wxPyTreeCtrl
* _arg0
;
6908 wxTreeItemId
* _arg1
;
6909 PyObject
* _argo0
= 0;
6910 PyObject
* _argo1
= 0;
6911 char *_kwnames
[] = { "self","item", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
6924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
6931 wxPy_BEGIN_ALLOW_THREADS
;
6932 wxTreeCtrl_Delete(_arg0
,*_arg1
);
6934 wxPy_END_ALLOW_THREADS
;
6935 } Py_INCREF(Py_None
);
6936 _resultobj
= Py_None
;
6940 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
6941 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6943 wxPyTreeCtrl
* _arg0
;
6944 wxTreeItemId
* _arg1
;
6945 PyObject
* _argo0
= 0;
6946 PyObject
* _argo1
= 0;
6947 char *_kwnames
[] = { "self","item", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
6960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
6967 wxPy_BEGIN_ALLOW_THREADS
;
6968 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
6970 wxPy_END_ALLOW_THREADS
;
6971 } Py_INCREF(Py_None
);
6972 _resultobj
= Py_None
;
6976 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
6977 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6979 wxPyTreeCtrl
* _arg0
;
6980 PyObject
* _argo0
= 0;
6981 char *_kwnames
[] = { "self", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
6994 wxPy_BEGIN_ALLOW_THREADS
;
6995 wxTreeCtrl_DeleteAllItems(_arg0
);
6997 wxPy_END_ALLOW_THREADS
;
6998 } Py_INCREF(Py_None
);
6999 _resultobj
= Py_None
;
7003 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7004 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7006 wxPyTreeCtrl
* _arg0
;
7007 wxTreeItemId
* _arg1
;
7008 PyObject
* _argo0
= 0;
7009 PyObject
* _argo1
= 0;
7010 char *_kwnames
[] = { "self","item", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7030 wxPy_BEGIN_ALLOW_THREADS
;
7031 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7033 wxPy_END_ALLOW_THREADS
;
7034 } Py_INCREF(Py_None
);
7035 _resultobj
= Py_None
;
7039 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7040 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7042 wxPyTreeCtrl
* _arg0
;
7043 wxTreeItemId
* _arg1
;
7044 PyObject
* _argo0
= 0;
7045 PyObject
* _argo1
= 0;
7046 char *_kwnames
[] = { "self","item", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7066 wxPy_BEGIN_ALLOW_THREADS
;
7067 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7069 wxPy_END_ALLOW_THREADS
;
7070 } Py_INCREF(Py_None
);
7071 _resultobj
= Py_None
;
7075 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7076 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7078 wxPyTreeCtrl
* _arg0
;
7079 wxTreeItemId
* _arg1
;
7080 PyObject
* _argo0
= 0;
7081 PyObject
* _argo1
= 0;
7082 char *_kwnames
[] = { "self","item", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7102 wxPy_BEGIN_ALLOW_THREADS
;
7103 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7105 wxPy_END_ALLOW_THREADS
;
7106 } Py_INCREF(Py_None
);
7107 _resultobj
= Py_None
;
7111 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7112 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
* _resultobj
;
7114 wxPyTreeCtrl
* _arg0
;
7115 wxTreeItemId
* _arg1
;
7116 PyObject
* _argo0
= 0;
7117 PyObject
* _argo1
= 0;
7118 char *_kwnames
[] = { "self","item", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7138 wxPy_BEGIN_ALLOW_THREADS
;
7139 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7141 wxPy_END_ALLOW_THREADS
;
7142 } Py_INCREF(Py_None
);
7143 _resultobj
= Py_None
;
7147 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7148 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7150 wxPyTreeCtrl
* _arg0
;
7151 PyObject
* _argo0
= 0;
7152 char *_kwnames
[] = { "self", NULL
};
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7165 wxPy_BEGIN_ALLOW_THREADS
;
7166 wxTreeCtrl_Unselect(_arg0
);
7168 wxPy_END_ALLOW_THREADS
;
7169 } Py_INCREF(Py_None
);
7170 _resultobj
= Py_None
;
7174 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7175 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
* _resultobj
;
7177 wxPyTreeCtrl
* _arg0
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7192 wxPy_BEGIN_ALLOW_THREADS
;
7193 wxTreeCtrl_UnselectAll(_arg0
);
7195 wxPy_END_ALLOW_THREADS
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7201 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7202 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7204 wxPyTreeCtrl
* _arg0
;
7205 wxTreeItemId
* _arg1
;
7206 PyObject
* _argo0
= 0;
7207 PyObject
* _argo1
= 0;
7208 char *_kwnames
[] = { "self","item", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7228 wxPy_BEGIN_ALLOW_THREADS
;
7229 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7231 wxPy_END_ALLOW_THREADS
;
7232 } Py_INCREF(Py_None
);
7233 _resultobj
= Py_None
;
7237 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7238 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7240 wxPyTreeCtrl
* _arg0
;
7241 wxTreeItemId
* _arg1
;
7242 PyObject
* _argo0
= 0;
7243 PyObject
* _argo1
= 0;
7244 char *_kwnames
[] = { "self","item", NULL
};
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7264 wxPy_BEGIN_ALLOW_THREADS
;
7265 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7267 wxPy_END_ALLOW_THREADS
;
7268 } Py_INCREF(Py_None
);
7269 _resultobj
= Py_None
;
7273 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7274 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7276 wxPyTreeCtrl
* _arg0
;
7277 wxTreeItemId
* _arg1
;
7278 PyObject
* _argo0
= 0;
7279 PyObject
* _argo1
= 0;
7280 char *_kwnames
[] = { "self","item", NULL
};
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7300 wxPy_BEGIN_ALLOW_THREADS
;
7301 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7303 wxPy_END_ALLOW_THREADS
;
7304 } Py_INCREF(Py_None
);
7305 _resultobj
= Py_None
;
7309 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7310 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7312 wxPyTreeCtrl
* _arg0
;
7313 wxTreeItemId
* _arg1
;
7314 PyObject
* _argo0
= 0;
7315 PyObject
* _argo1
= 0;
7316 char *_kwnames
[] = { "self","item", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7336 wxPy_BEGIN_ALLOW_THREADS
;
7337 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7339 wxPy_END_ALLOW_THREADS
;
7340 } Py_INCREF(Py_None
);
7341 _resultobj
= Py_None
;
7345 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7346 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
* _resultobj
;
7348 wxPyTreeCtrl
* _arg0
;
7349 wxTreeItemId
* _arg1
;
7350 PyObject
* _argo0
= 0;
7351 PyObject
* _argo1
= 0;
7352 char *_kwnames
[] = { "self","item", NULL
};
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7372 wxPy_BEGIN_ALLOW_THREADS
;
7373 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7375 wxPy_END_ALLOW_THREADS
;
7376 } Py_INCREF(Py_None
);
7377 _resultobj
= Py_None
;
7381 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7382 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7384 wxPyTreeCtrl
* _arg0
;
7385 wxTreeItemId
* _arg1
;
7386 int _arg2
= (int ) TRUE
;
7387 PyObject
* _argo0
= 0;
7388 PyObject
* _argo1
= 0;
7389 char *_kwnames
[] = { "self","item","bold", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_SetItemBold. Expected _wxPyTreeCtrl_p.");
7402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7409 wxPy_BEGIN_ALLOW_THREADS
;
7410 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7412 wxPy_END_ALLOW_THREADS
;
7413 } Py_INCREF(Py_None
);
7414 _resultobj
= Py_None
;
7418 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7419 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7422 wxPyTreeCtrl
* _arg0
;
7423 wxTreeItemId
* _arg1
;
7424 PyObject
* _argo0
= 0;
7425 PyObject
* _argo1
= 0;
7426 char *_kwnames
[] = { "self","item", NULL
};
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7446 wxPy_BEGIN_ALLOW_THREADS
;
7447 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7449 wxPy_END_ALLOW_THREADS
;
7450 } _resultobj
= Py_BuildValue("i",_result
);
7454 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7455 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
* _resultobj
;
7457 wxTreeItemId
* _result
;
7458 wxPyTreeCtrl
* _arg0
;
7462 PyObject
* _argo0
= 0;
7464 PyObject
* _obj1
= 0;
7465 char *_kwnames
[] = { "self","point", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7483 if (! wxPoint_helper(_obj1
, &_arg1
))
7487 wxPy_BEGIN_ALLOW_THREADS
;
7488 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7490 wxPy_END_ALLOW_THREADS
;
7491 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7492 _resultobj
= Py_BuildValue("s",_ptemp
);
7495 o
= PyInt_FromLong((long) (*_arg2
));
7496 _resultobj
= t_output_helper(_resultobj
, o
);
7501 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7502 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7504 wxPyTreeCtrl
* _arg0
;
7505 wxTreeItemId
* _arg1
;
7507 PyObject
* _argo0
= 0;
7508 PyObject
* _argo1
= 0;
7510 PyObject
* _obj2
= 0;
7511 char *_kwnames
[] = { "self","item","col", NULL
};
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7532 if (! wxColour_helper(_obj2
, &_arg2
))
7536 wxPy_BEGIN_ALLOW_THREADS
;
7537 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7539 wxPy_END_ALLOW_THREADS
;
7540 } Py_INCREF(Py_None
);
7541 _resultobj
= Py_None
;
7545 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7546 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7548 wxPyTreeCtrl
* _arg0
;
7549 wxTreeItemId
* _arg1
;
7551 PyObject
* _argo0
= 0;
7552 PyObject
* _argo1
= 0;
7554 PyObject
* _obj2
= 0;
7555 char *_kwnames
[] = { "self","item","col", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7576 if (! wxColour_helper(_obj2
, &_arg2
))
7580 wxPy_BEGIN_ALLOW_THREADS
;
7581 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7583 wxPy_END_ALLOW_THREADS
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7589 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7590 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7592 wxPyTreeCtrl
* _arg0
;
7593 wxTreeItemId
* _arg1
;
7595 PyObject
* _argo0
= 0;
7596 PyObject
* _argo1
= 0;
7597 PyObject
* _argo2
= 0;
7598 char *_kwnames
[] = { "self","item","font", NULL
};
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7618 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7625 wxPy_BEGIN_ALLOW_THREADS
;
7626 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7628 wxPy_END_ALLOW_THREADS
;
7629 } Py_INCREF(Py_None
);
7630 _resultobj
= Py_None
;
7634 static PyMethodDef controls2cMethods
[] = {
7635 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
7650 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
7651 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
7652 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7653 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
7654 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7655 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7656 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
7657 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7658 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
7659 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
7660 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
7661 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
7662 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
7663 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
7664 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
7665 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
7666 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
7667 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
7668 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
7669 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7670 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
7671 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7672 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
7673 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
7674 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
7675 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7676 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7677 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7678 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7679 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7680 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7681 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7682 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7683 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7684 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7685 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7686 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7687 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7688 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7689 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7690 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7691 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7692 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7693 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7694 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7695 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7696 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
7697 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7698 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7699 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7700 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7701 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7702 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7703 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7704 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7705 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7706 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7707 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7708 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
7709 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7710 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7711 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7712 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7713 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
7714 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7715 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
7716 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7717 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7718 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7719 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7720 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7721 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7722 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
7723 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7724 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7725 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7726 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7727 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
7728 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7729 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
7730 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7731 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7732 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
7733 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
7734 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7735 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
7736 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7737 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
7738 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7739 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7740 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7741 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7742 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
7743 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7744 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7745 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7746 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7747 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
7748 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7749 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7750 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
7751 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
7752 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7753 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7754 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7755 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
7756 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
7757 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
7758 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7759 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
7760 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
7761 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7762 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7763 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7764 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7765 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7766 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7767 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7768 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7769 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
7770 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7771 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7772 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
7773 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
7774 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7775 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
7776 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
7777 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
7778 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
7779 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
7780 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
7781 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7782 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
7856 * This table is used by the pointer type-checker
7858 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7859 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7860 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7861 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7862 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
7863 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
7864 { "_wxEvent","_class_wxEvent",0},
7865 { "_class_wxActivateEvent","_wxActivateEvent",0},
7866 { "_signed_long","_long",0},
7867 { "_wxMenuEvent","_class_wxMenuEvent",0},
7868 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7869 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7870 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7871 { "_wxPrintQuality","_wxCoord",0},
7872 { "_wxPrintQuality","_int",0},
7873 { "_wxPrintQuality","_signed_int",0},
7874 { "_wxPrintQuality","_unsigned_int",0},
7875 { "_wxPrintQuality","_wxWindowID",0},
7876 { "_wxPrintQuality","_uint",0},
7877 { "_wxPrintQuality","_EBool",0},
7878 { "_wxPrintQuality","_size_t",0},
7879 { "_wxPrintQuality","_time_t",0},
7880 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7881 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7882 { "_class_wxRegionIterator","_wxRegionIterator",0},
7883 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7884 { "_class_wxMenuBar","_wxMenuBar",0},
7885 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
7886 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7887 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
7888 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7889 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
7890 { "_class_wxEvtHandler","_wxEvtHandler",0},
7891 { "_wxPaintEvent","_class_wxPaintEvent",0},
7892 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7893 { "_wxCursor","_class_wxCursor",0},
7894 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7895 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7896 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7897 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7898 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7899 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
7900 { "_wxMask","_class_wxMask",0},
7901 { "_wxPen","_class_wxPen",0},
7902 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7903 { "_byte","_unsigned_char",0},
7904 { "_wxDataObject","_class_wxDataObject",0},
7905 { "_wxStaticBox","_class_wxStaticBox",0},
7906 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7907 { "_wxPyDropSource","_class_wxPyDropSource",0},
7908 { "_wxChoice","_class_wxChoice",0},
7909 { "_wxSlider","_class_wxSlider",0},
7910 { "_long","_unsigned_long",0},
7911 { "_long","_signed_long",0},
7912 { "_wxImageList","_class_wxImageList",0},
7913 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7914 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7915 { "_wxBitmapButton","_class_wxBitmapButton",0},
7916 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7917 { "_class_wxClipboard","_wxClipboard",0},
7918 { "_class_wxGauge","_wxGauge",0},
7919 { "_wxDC","_class_wxDC",0},
7920 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7921 { "_wxListEvent","_class_wxListEvent",0},
7922 { "_wxSpinEvent","_class_wxSpinEvent",0},
7923 { "_size_t","_wxCoord",0},
7924 { "_size_t","_wxPrintQuality",0},
7925 { "_size_t","_time_t",0},
7926 { "_size_t","_unsigned_int",0},
7927 { "_size_t","_int",0},
7928 { "_size_t","_wxWindowID",0},
7929 { "_size_t","_uint",0},
7930 { "_class_wxRealPoint","_wxRealPoint",0},
7931 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7932 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7933 { "_class_wxMenuItem","_wxMenuItem",0},
7934 { "_class_wxPaintEvent","_wxPaintEvent",0},
7935 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7936 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7937 { "_wxPanel","_class_wxPanel",0},
7938 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7939 { "_wxCheckBox","_class_wxCheckBox",0},
7940 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
7941 { "_wxPyEvent","_class_wxPyEvent",0},
7942 { "_wxTextCtrl","_class_wxTextCtrl",0},
7943 { "_class_wxMask","_wxMask",0},
7944 { "_wxTextDataObject","_class_wxTextDataObject",0},
7945 { "_class_wxKeyEvent","_wxKeyEvent",0},
7946 { "_wxColour","_class_wxColour",0},
7947 { "_class_wxDialog","_wxDialog",0},
7948 { "_class_wxFileDataObject","_wxFileDataObject",0},
7949 { "_wxIdleEvent","_class_wxIdleEvent",0},
7950 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7951 { "_class_wxDataObject","_wxDataObject",0},
7952 { "_wxStaticLine","_class_wxStaticLine",0},
7953 { "_wxBrush","_class_wxBrush",0},
7954 { "_wxDataFormat","_class_wxDataFormat",0},
7955 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
7956 { "_wxShowEvent","_class_wxShowEvent",0},
7957 { "_uint","_wxCoord",0},
7958 { "_uint","_wxPrintQuality",0},
7959 { "_uint","_time_t",0},
7960 { "_uint","_size_t",0},
7961 { "_uint","_unsigned_int",0},
7962 { "_uint","_int",0},
7963 { "_uint","_wxWindowID",0},
7964 { "_wxChar","_char",0},
7965 { "_wxPyValidator","_class_wxPyValidator",0},
7966 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7967 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
7968 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
7969 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
7970 { "_class_wxEvent","_wxEvent",0},
7971 { "_wxCheckListBox","_class_wxCheckListBox",0},
7972 { "_wxRect","_class_wxRect",0},
7973 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
7974 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
7975 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
7976 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
7977 { "_wxCommandEvent","_class_wxCommandEvent",0},
7978 { "_wxSizeEvent","_class_wxSizeEvent",0},
7979 { "_wxPoint","_class_wxPoint",0},
7980 { "_class_wxButton","_wxButton",0},
7981 { "_wxRadioBox","_class_wxRadioBox",0},
7982 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
7983 { "_char","_wxChar",0},
7984 { "_wxBitmap","_class_wxBitmap",0},
7985 { "_wxWindowDC","_class_wxWindowDC",0},
7986 { "_wxTimerEvent","_class_wxTimerEvent",0},
7987 { "_wxScrollBar","_class_wxScrollBar",0},
7988 { "_wxSpinButton","_class_wxSpinButton",0},
7989 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7990 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7991 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
7992 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7993 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
7994 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7995 { "_class_wxValidator","_wxValidator",0},
7996 { "_class_wxPyEvent","_wxPyEvent",0},
7997 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7998 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7999 { "_wxListItem","_class_wxListItem",0},
8000 { "_wxDropTarget","_class_wxDropTarget",0},
8001 { "_class_wxStaticLine","_wxStaticLine",0},
8002 { "_wxScrollEvent","_class_wxScrollEvent",0},
8003 { "_EBool","_wxCoord",0},
8004 { "_EBool","_wxPrintQuality",0},
8005 { "_EBool","_signed_int",0},
8006 { "_EBool","_int",0},
8007 { "_EBool","_wxWindowID",0},
8008 { "_class_wxRegion","_wxRegion",0},
8009 { "_class_wxDataFormat","_wxDataFormat",0},
8010 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8011 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8012 { "_wxStaticText","_class_wxStaticText",0},
8013 { "_wxFont","_class_wxFont",0},
8014 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8015 { "_wxCloseEvent","_class_wxCloseEvent",0},
8016 { "_unsigned_long","_long",0},
8017 { "_class_wxRect","_wxRect",0},
8018 { "_class_wxDC","_wxDC",0},
8019 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8020 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8021 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8022 { "_class_wxTreeEvent","_wxTreeEvent",0},
8023 { "_wxFocusEvent","_class_wxFocusEvent",0},
8024 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8025 { "_class_wxTimerEvent","_wxTimerEvent",0},
8026 { "_class_wxSpinButton","_wxSpinButton",0},
8027 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8028 { "_class_wxPanel","_wxPanel",0},
8029 { "_class_wxCheckBox","_wxCheckBox",0},
8030 { "_wxComboBox","_class_wxComboBox",0},
8031 { "_wxRadioButton","_class_wxRadioButton",0},
8032 { "_signed_int","_wxCoord",0},
8033 { "_signed_int","_wxPrintQuality",0},
8034 { "_signed_int","_EBool",0},
8035 { "_signed_int","_wxWindowID",0},
8036 { "_signed_int","_int",0},
8037 { "_class_wxTextCtrl","_wxTextCtrl",0},
8038 { "_class_wxListItemAttr","_wxListItemAttr",0},
8039 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8040 { "_class_wxTextDataObject","_wxTextDataObject",0},
8041 { "_wxMenu","_class_wxMenu",0},
8042 { "_class_wxMoveEvent","_wxMoveEvent",0},
8043 { "_wxListBox","_class_wxListBox",0},
8044 { "_wxScreenDC","_class_wxScreenDC",0},
8045 { "_WXTYPE","_short",0},
8046 { "_WXTYPE","_signed_short",0},
8047 { "_WXTYPE","_unsigned_short",0},
8048 { "_class_wxDropTarget","_wxDropTarget",0},
8049 { "_class_wxBrush","_wxBrush",0},
8050 { "_unsigned_short","_WXTYPE",0},
8051 { "_unsigned_short","_short",0},
8052 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8053 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8054 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8055 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8056 { "_class_wxWindow","_wxWindow",0},
8057 { "_class_wxStaticText","_wxStaticText",0},
8058 { "_class_wxFont","_wxFont",0},
8059 { "_wxClipboard","_class_wxClipboard",0},
8060 { "_class_wxPyValidator","_wxPyValidator",0},
8061 { "_class_wxCloseEvent","_wxCloseEvent",0},
8062 { "_wxBusyInfo","_class_wxBusyInfo",0},
8063 { "_class_wxMenuEvent","_wxMenuEvent",0},
8064 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8065 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8066 { "_wxClientDC","_class_wxClientDC",0},
8067 { "_wxMouseEvent","_class_wxMouseEvent",0},
8068 { "_wxListCtrl","_class_wxListCtrl",0},
8069 { "_class_wxPoint","_wxPoint",0},
8070 { "_wxRealPoint","_class_wxRealPoint",0},
8071 { "_class_wxRadioBox","_wxRadioBox",0},
8072 { "_signed_short","_WXTYPE",0},
8073 { "_signed_short","_short",0},
8074 { "_wxMemoryDC","_class_wxMemoryDC",0},
8075 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8076 { "_wxPaintDC","_class_wxPaintDC",0},
8077 { "_class_wxWindowDC","_wxWindowDC",0},
8078 { "_class_wxFocusEvent","_wxFocusEvent",0},
8079 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8080 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8081 { "_class_wxCursor","_wxCursor",0},
8082 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8083 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8084 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8085 { "_wxTreeItemId","_class_wxTreeItemId",0},
8086 { "_unsigned_char","_byte",0},
8087 { "_class_wxMenu","_wxMenu",0},
8088 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8089 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8090 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8091 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8092 { "_wxControl","_class_wxControl",0},
8093 { "_class_wxListBox","_wxListBox",0},
8094 { "_unsigned_int","_wxCoord",0},
8095 { "_unsigned_int","_wxPrintQuality",0},
8096 { "_unsigned_int","_time_t",0},
8097 { "_unsigned_int","_size_t",0},
8098 { "_unsigned_int","_uint",0},
8099 { "_unsigned_int","_wxWindowID",0},
8100 { "_unsigned_int","_int",0},
8101 { "_wxIcon","_class_wxIcon",0},
8102 { "_wxDialog","_class_wxDialog",0},
8103 { "_class_wxListItem","_wxListItem",0},
8104 { "_class_wxPen","_wxPen",0},
8105 { "_short","_WXTYPE",0},
8106 { "_short","_unsigned_short",0},
8107 { "_short","_signed_short",0},
8108 { "_class_wxStaticBox","_wxStaticBox",0},
8109 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8110 { "_class_wxPyDropSource","_wxPyDropSource",0},
8111 { "_class_wxScrollEvent","_wxScrollEvent",0},
8112 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8113 { "_class_wxChoice","_wxChoice",0},
8114 { "_class_wxSlider","_wxSlider",0},
8115 { "_class_wxImageList","_wxImageList",0},
8116 { "_class_wxBitmapButton","_wxBitmapButton",0},
8117 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8118 { "_wxWindowID","_wxCoord",0},
8119 { "_wxWindowID","_wxPrintQuality",0},
8120 { "_wxWindowID","_time_t",0},
8121 { "_wxWindowID","_size_t",0},
8122 { "_wxWindowID","_EBool",0},
8123 { "_wxWindowID","_uint",0},
8124 { "_wxWindowID","_int",0},
8125 { "_wxWindowID","_signed_int",0},
8126 { "_wxWindowID","_unsigned_int",0},
8127 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8128 { "_int","_wxCoord",0},
8129 { "_int","_wxPrintQuality",0},
8130 { "_int","_time_t",0},
8131 { "_int","_size_t",0},
8132 { "_int","_EBool",0},
8133 { "_int","_uint",0},
8134 { "_int","_wxWindowID",0},
8135 { "_int","_unsigned_int",0},
8136 { "_int","_signed_int",0},
8137 { "_class_wxMouseEvent","_wxMouseEvent",0},
8138 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8139 { "_class_wxListEvent","_wxListEvent",0},
8140 { "_class_wxSpinEvent","_wxSpinEvent",0},
8141 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8142 { "_time_t","_wxCoord",0},
8143 { "_time_t","_wxPrintQuality",0},
8144 { "_time_t","_unsigned_int",0},
8145 { "_time_t","_int",0},
8146 { "_time_t","_wxWindowID",0},
8147 { "_time_t","_uint",0},
8148 { "_time_t","_size_t",0},
8149 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8150 { "_wxButton","_class_wxButton",0},
8151 { "_wxSize","_class_wxSize",0},
8152 { "_wxRegionIterator","_class_wxRegionIterator",0},
8153 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8154 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8155 { "_class_wxPaintDC","_wxPaintDC",0},
8156 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8157 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8158 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8159 { "_class_wxComboBox","_wxComboBox",0},
8160 { "_class_wxRadioButton","_wxRadioButton",0},
8161 { "_wxValidator","_class_wxValidator",0},
8162 { "_class_wxTreeItemId","_wxTreeItemId",0},
8163 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8164 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8165 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8166 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8167 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8168 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8169 { "_class_wxControl","_wxControl",0},
8170 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8171 { "_class_wxIcon","_wxIcon",0},
8172 { "_class_wxColour","_wxColour",0},
8173 { "_class_wxScreenDC","_wxScreenDC",0},
8174 { "_wxPalette","_class_wxPalette",0},
8175 { "_class_wxIdleEvent","_wxIdleEvent",0},
8176 { "_wxCoord","_int",0},
8177 { "_wxCoord","_signed_int",0},
8178 { "_wxCoord","_unsigned_int",0},
8179 { "_wxCoord","_wxWindowID",0},
8180 { "_wxCoord","_uint",0},
8181 { "_wxCoord","_EBool",0},
8182 { "_wxCoord","_size_t",0},
8183 { "_wxCoord","_time_t",0},
8184 { "_wxCoord","_wxPrintQuality",0},
8185 { "_wxEraseEvent","_class_wxEraseEvent",0},
8186 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8187 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8188 { "_wxRegion","_class_wxRegion",0},
8189 { "_class_wxShowEvent","_wxShowEvent",0},
8190 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8191 { "_wxActivateEvent","_class_wxActivateEvent",0},
8192 { "_wxGauge","_class_wxGauge",0},
8193 { "_class_wxCheckListBox","_wxCheckListBox",0},
8194 { "_class_wxBusyInfo","_wxBusyInfo",0},
8195 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8196 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8197 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8198 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8199 { "_class_wxCommandEvent","_wxCommandEvent",0},
8200 { "_class_wxClientDC","_wxClientDC",0},
8201 { "_class_wxSizeEvent","_wxSizeEvent",0},
8202 { "_class_wxListCtrl","_wxListCtrl",0},
8203 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8204 { "_class_wxSize","_wxSize",0},
8205 { "_class_wxBitmap","_wxBitmap",0},
8206 { "_class_wxMemoryDC","_wxMemoryDC",0},
8207 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8208 { "_wxMenuBar","_class_wxMenuBar",0},
8209 { "_wxTreeEvent","_class_wxTreeEvent",0},
8210 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8211 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8212 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8213 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8214 { "_wxEvtHandler","_class_wxEvtHandler",0},
8215 { "_wxMenuItem","_class_wxMenuItem",0},
8216 { "_class_wxScrollBar","_wxScrollBar",0},
8217 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8218 { "_wxListItemAttr","_class_wxListItemAttr",0},
8219 { "_wxKeyEvent","_class_wxKeyEvent",0},
8220 { "_wxMoveEvent","_class_wxMoveEvent",0},
8221 { "_class_wxPalette","_wxPalette",0},
8222 { "_wxFileDataObject","_class_wxFileDataObject",0},
8223 { "_class_wxEraseEvent","_wxEraseEvent",0},
8224 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8225 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8226 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8227 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8228 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8229 { "_wxWindow","_class_wxWindow",0},
8230 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8233 static PyObject
*SWIG_globals
;
8237 SWIGEXPORT(void) initcontrols2c() {
8239 SWIG_globals
= SWIG_newvarlink();
8240 m
= Py_InitModule("controls2c", controls2cMethods
);
8241 d
= PyModule_GetDict(m
);
8242 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8243 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8244 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8245 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8246 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8247 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8248 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8249 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8250 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8251 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8252 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8253 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8254 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8255 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8256 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8257 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8258 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8259 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8260 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8261 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8262 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8263 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8264 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8265 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8266 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8267 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8268 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8269 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8270 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8271 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8272 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8273 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8274 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8275 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8276 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8277 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8278 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8279 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8280 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8281 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8282 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8283 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8284 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8285 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8286 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8287 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8288 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8289 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8290 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8291 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8292 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8293 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8294 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8295 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8296 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8297 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8298 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8299 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8300 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8301 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8302 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8303 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8306 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8307 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);