2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
113 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
115 PyObject
* func
= (PyObject
*)funcPtr
;
116 bool doSave
= wxPyRestoreThread();
118 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
119 PyObject
* result
= PyEval_CallObject(func
, args
);
122 retval
= PyInt_AsLong(result
);
126 wxPySaveThread(doSave
);
131 class wxPyTreeItemData
: public wxTreeItemData
{
133 wxPyTreeItemData(PyObject
* obj
= NULL
) {
140 ~wxPyTreeItemData() {
141 bool doSave
= wxPyRestoreThread();
143 wxPySaveThread(doSave
);
146 PyObject
* GetData() {
151 void SetData(PyObject
* obj
) {
152 bool doSave
= wxPyRestoreThread();
154 wxPySaveThread(doSave
);
162 class wxPyTreeCtrl
: public wxTreeCtrl
{
164 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
168 const wxValidator
& validator
,
170 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
173 int OnCompareItems(const wxTreeItemId
& item1
,
174 const wxTreeItemId
& item2
) {
176 bool doSave
= wxPyRestoreThread();
177 if (m_myInst
.findCallback("OnCompareItems"))
178 rval
= m_myInst
.callCallback(Py_BuildValue(
180 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
181 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
183 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
184 wxPySaveThread(doSave
);
193 #define new_wxListItemAttr() (new wxListItemAttr())
194 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
196 wxListItemAttr
* _result
;
197 char *_kwnames
[] = { NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
204 wxPy_BEGIN_ALLOW_THREADS
;
205 _result
= (wxListItemAttr
*)new_wxListItemAttr();
207 wxPy_END_ALLOW_THREADS
;
209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
210 _resultobj
= Py_BuildValue("s",_ptemp
);
213 _resultobj
= Py_None
;
218 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
219 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
221 wxListItemAttr
* _arg0
;
223 PyObject
* _argo0
= 0;
225 PyObject
* _obj1
= 0;
226 char *_kwnames
[] = { "self","colText", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
240 if (! wxColour_helper(_obj1
, &_arg1
))
244 wxPy_BEGIN_ALLOW_THREADS
;
245 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
247 wxPy_END_ALLOW_THREADS
;
248 } Py_INCREF(Py_None
);
249 _resultobj
= Py_None
;
253 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
254 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
256 wxListItemAttr
* _arg0
;
258 PyObject
* _argo0
= 0;
260 PyObject
* _obj1
= 0;
261 char *_kwnames
[] = { "self","colBack", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
275 if (! wxColour_helper(_obj1
, &_arg1
))
279 wxPy_BEGIN_ALLOW_THREADS
;
280 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
282 wxPy_END_ALLOW_THREADS
;
283 } Py_INCREF(Py_None
);
284 _resultobj
= Py_None
;
288 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
289 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
291 wxListItemAttr
* _arg0
;
293 PyObject
* _argo0
= 0;
294 PyObject
* _argo1
= 0;
295 char *_kwnames
[] = { "self","font", NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
315 wxPy_BEGIN_ALLOW_THREADS
;
316 wxListItemAttr_SetFont(_arg0
,*_arg1
);
318 wxPy_END_ALLOW_THREADS
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
325 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
326 PyObject
* _resultobj
;
328 wxListItemAttr
* _arg0
;
329 PyObject
* _argo0
= 0;
330 char *_kwnames
[] = { "self", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
343 wxPy_BEGIN_ALLOW_THREADS
;
344 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
346 wxPy_END_ALLOW_THREADS
;
347 } _resultobj
= Py_BuildValue("i",_result
);
351 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
352 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
355 wxListItemAttr
* _arg0
;
356 PyObject
* _argo0
= 0;
357 char *_kwnames
[] = { "self", NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
370 wxPy_BEGIN_ALLOW_THREADS
;
371 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
373 wxPy_END_ALLOW_THREADS
;
374 } _resultobj
= Py_BuildValue("i",_result
);
378 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
379 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
382 wxListItemAttr
* _arg0
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
400 wxPy_END_ALLOW_THREADS
;
401 } _resultobj
= Py_BuildValue("i",_result
);
405 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
406 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
409 wxListItemAttr
* _arg0
;
410 PyObject
* _argo0
= 0;
411 char *_kwnames
[] = { "self", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
425 wxPy_BEGIN_ALLOW_THREADS
;
426 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
427 _result
= (wxColour
*) &_result_ref
;
429 wxPy_END_ALLOW_THREADS
;
431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
432 _resultobj
= Py_BuildValue("s",_ptemp
);
435 _resultobj
= Py_None
;
440 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
441 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
444 wxListItemAttr
* _arg0
;
445 PyObject
* _argo0
= 0;
446 char *_kwnames
[] = { "self", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
460 wxPy_BEGIN_ALLOW_THREADS
;
461 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
462 _result
= (wxColour
*) &_result_ref
;
464 wxPy_END_ALLOW_THREADS
;
466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
467 _resultobj
= Py_BuildValue("s",_ptemp
);
470 _resultobj
= Py_None
;
475 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
476 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
479 wxListItemAttr
* _arg0
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
497 _result
= (wxFont
*) &_result_ref
;
499 wxPy_END_ALLOW_THREADS
;
501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
502 _resultobj
= Py_BuildValue("s",_ptemp
);
505 _resultobj
= Py_None
;
510 #define new_wxListItem() (new wxListItem())
511 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
513 wxListItem
* _result
;
514 char *_kwnames
[] = { NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
521 wxPy_BEGIN_ALLOW_THREADS
;
522 _result
= (wxListItem
*)new_wxListItem();
524 wxPy_END_ALLOW_THREADS
;
526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
527 _resultobj
= Py_BuildValue("s",_ptemp
);
530 _resultobj
= Py_None
;
535 #define delete_wxListItem(_swigobj) (delete _swigobj)
536 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 delete_wxListItem(_arg0
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
563 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
566 PyObject
* _argo0
= 0;
567 char *_kwnames
[] = { "self", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 wxListItem_Clear(_arg0
);
583 wxPy_END_ALLOW_THREADS
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
589 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
590 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
607 wxPy_BEGIN_ALLOW_THREADS
;
608 wxListItem_ClearAttributes(_arg0
);
610 wxPy_END_ALLOW_THREADS
;
611 } Py_INCREF(Py_None
);
612 _resultobj
= Py_None
;
616 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
617 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
621 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self","mask", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 wxListItem_SetMask(_arg0
,_arg1
);
638 wxPy_END_ALLOW_THREADS
;
639 } Py_INCREF(Py_None
);
640 _resultobj
= Py_None
;
644 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
645 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
649 PyObject
* _argo0
= 0;
650 char *_kwnames
[] = { "self","id", NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
663 wxPy_BEGIN_ALLOW_THREADS
;
664 wxListItem_SetId(_arg0
,_arg1
);
666 wxPy_END_ALLOW_THREADS
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
673 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "self","col", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxListItem_SetColumn(_arg0
,_arg1
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
701 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
705 PyObject
* _argo0
= 0;
706 char *_kwnames
[] = { "self","state", NULL
};
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
719 wxPy_BEGIN_ALLOW_THREADS
;
720 wxListItem_SetState(_arg0
,_arg1
);
722 wxPy_END_ALLOW_THREADS
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
729 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","stateMask", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxListItem_SetStateMask(_arg0
,_arg1
);
750 wxPy_END_ALLOW_THREADS
;
751 } Py_INCREF(Py_None
);
752 _resultobj
= Py_None
;
756 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
757 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
761 PyObject
* _argo0
= 0;
762 PyObject
* _obj1
= 0;
763 char *_kwnames
[] = { "self","text", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
776 #if PYTHON_API_VERSION >= 1009
777 char* tmpPtr
; int tmpSize
;
778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
779 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
784 _arg1
= new wxString(tmpPtr
, tmpSize
);
786 if (!PyString_Check(_obj1
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
794 wxPy_BEGIN_ALLOW_THREADS
;
795 wxListItem_SetText(_arg0
,*_arg1
);
797 wxPy_END_ALLOW_THREADS
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
807 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
808 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self","image", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 wxListItem_SetImage(_arg0
,_arg1
);
829 wxPy_END_ALLOW_THREADS
;
830 } Py_INCREF(Py_None
);
831 _resultobj
= Py_None
;
835 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
836 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","data", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
854 wxPy_BEGIN_ALLOW_THREADS
;
855 wxListItem_SetData(_arg0
,_arg1
);
857 wxPy_END_ALLOW_THREADS
;
858 } Py_INCREF(Py_None
);
859 _resultobj
= Py_None
;
863 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
864 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
868 PyObject
* _argo0
= 0;
869 char *_kwnames
[] = { "self","width", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
882 wxPy_BEGIN_ALLOW_THREADS
;
883 wxListItem_SetWidth(_arg0
,_arg1
);
885 wxPy_END_ALLOW_THREADS
;
886 } Py_INCREF(Py_None
);
887 _resultobj
= Py_None
;
891 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
892 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
895 wxListColumnFormat _arg1
;
896 PyObject
* _argo0
= 0;
897 char *_kwnames
[] = { "self","align", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
910 wxPy_BEGIN_ALLOW_THREADS
;
911 wxListItem_SetAlign(_arg0
,_arg1
);
913 wxPy_END_ALLOW_THREADS
;
914 } Py_INCREF(Py_None
);
915 _resultobj
= Py_None
;
919 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
920 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
924 PyObject
* _argo0
= 0;
926 PyObject
* _obj1
= 0;
927 char *_kwnames
[] = { "self","colText", NULL
};
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
941 if (! wxColour_helper(_obj1
, &_arg1
))
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxListItem_SetTextColour(_arg0
,*_arg1
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
955 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 PyObject
* _argo0
= 0;
961 PyObject
* _obj1
= 0;
962 char *_kwnames
[] = { "self","colBack", NULL
};
965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
976 if (! wxColour_helper(_obj1
, &_arg1
))
980 wxPy_BEGIN_ALLOW_THREADS
;
981 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
990 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
994 PyObject
* _argo0
= 0;
995 PyObject
* _argo1
= 0;
996 char *_kwnames
[] = { "self","font", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1009 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 wxListItem_SetFont(_arg0
,*_arg1
);
1019 wxPy_END_ALLOW_THREADS
;
1020 } Py_INCREF(Py_None
);
1021 _resultobj
= Py_None
;
1025 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1026 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (long )wxListItem_GetMask(_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } _resultobj
= Py_BuildValue("l",_result
);
1052 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1053 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1057 PyObject
* _argo0
= 0;
1058 char *_kwnames
[] = { "self", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1071 wxPy_BEGIN_ALLOW_THREADS
;
1072 _result
= (long )wxListItem_GetId(_arg0
);
1074 wxPy_END_ALLOW_THREADS
;
1075 } _resultobj
= Py_BuildValue("l",_result
);
1079 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1080 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1084 PyObject
* _argo0
= 0;
1085 char *_kwnames
[] = { "self", NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 _result
= (int )wxListItem_GetColumn(_arg0
);
1101 wxPy_END_ALLOW_THREADS
;
1102 } _resultobj
= Py_BuildValue("i",_result
);
1106 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1107 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1111 PyObject
* _argo0
= 0;
1112 char *_kwnames
[] = { "self", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 _result
= (long )wxListItem_GetState(_arg0
);
1128 wxPy_END_ALLOW_THREADS
;
1129 } _resultobj
= Py_BuildValue("l",_result
);
1133 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1134 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1138 PyObject
* _argo0
= 0;
1139 char *_kwnames
[] = { "self", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1154 _result
= (wxString
*) &_result_ref
;
1156 wxPy_END_ALLOW_THREADS
;
1158 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1163 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1164 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1168 PyObject
* _argo0
= 0;
1169 char *_kwnames
[] = { "self", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 _result
= (int )wxListItem_GetImage(_arg0
);
1185 wxPy_END_ALLOW_THREADS
;
1186 } _resultobj
= Py_BuildValue("i",_result
);
1190 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1191 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 _result
= (long )wxListItem_GetData(_arg0
);
1212 wxPy_END_ALLOW_THREADS
;
1213 } _resultobj
= Py_BuildValue("l",_result
);
1217 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1218 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
* _resultobj
;
1222 PyObject
* _argo0
= 0;
1223 char *_kwnames
[] = { "self", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1236 wxPy_BEGIN_ALLOW_THREADS
;
1237 _result
= (int )wxListItem_GetWidth(_arg0
);
1239 wxPy_END_ALLOW_THREADS
;
1240 } _resultobj
= Py_BuildValue("i",_result
);
1244 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1245 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1247 wxListColumnFormat _result
;
1249 PyObject
* _argo0
= 0;
1250 char *_kwnames
[] = { "self", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1266 wxPy_END_ALLOW_THREADS
;
1267 } _resultobj
= Py_BuildValue("i",_result
);
1271 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1272 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxListItemAttr
* _result
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "self", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1294 wxPy_END_ALLOW_THREADS
;
1296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1297 _resultobj
= Py_BuildValue("s",_ptemp
);
1300 _resultobj
= Py_None
;
1305 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1306 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1310 PyObject
* _argo0
= 0;
1311 char *_kwnames
[] = { "self", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1324 wxPy_BEGIN_ALLOW_THREADS
;
1325 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1327 wxPy_END_ALLOW_THREADS
;
1328 } _resultobj
= Py_BuildValue("i",_result
);
1332 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1333 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1337 PyObject
* _argo0
= 0;
1338 char *_kwnames
[] = { "self", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1355 wxPy_END_ALLOW_THREADS
;
1356 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1357 _resultobj
= Py_BuildValue("s",_ptemp
);
1361 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1362 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1381 wxPy_BEGIN_ALLOW_THREADS
;
1382 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1384 wxPy_END_ALLOW_THREADS
;
1385 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1386 _resultobj
= Py_BuildValue("s",_ptemp
);
1390 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1391 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1395 PyObject
* _argo0
= 0;
1396 char *_kwnames
[] = { "self", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1413 wxPy_END_ALLOW_THREADS
;
1414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1415 _resultobj
= Py_BuildValue("s",_ptemp
);
1419 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1420 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1425 PyObject
* _argo0
= 0;
1426 char *_kwnames
[] = { "self","m_mask", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1439 wxPy_BEGIN_ALLOW_THREADS
;
1440 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1442 wxPy_END_ALLOW_THREADS
;
1443 } _resultobj
= Py_BuildValue("l",_result
);
1447 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1448 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 char *_kwnames
[] = { "self", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (long )wxListItem_m_mask_get(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } _resultobj
= Py_BuildValue("l",_result
);
1474 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1475 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self","m_itemId", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1497 wxPy_END_ALLOW_THREADS
;
1498 } _resultobj
= Py_BuildValue("l",_result
);
1502 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1503 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1524 wxPy_END_ALLOW_THREADS
;
1525 } _resultobj
= Py_BuildValue("l",_result
);
1529 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1530 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self","m_col", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1552 wxPy_END_ALLOW_THREADS
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1558 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1562 PyObject
* _argo0
= 0;
1563 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (int )wxListItem_m_col_get(_arg0
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } _resultobj
= Py_BuildValue("i",_result
);
1584 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1585 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1590 PyObject
* _argo0
= 0;
1591 char *_kwnames
[] = { "self","m_state", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } _resultobj
= Py_BuildValue("l",_result
);
1612 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1613 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 PyObject
* _argo0
= 0;
1618 char *_kwnames
[] = { "self", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 _result
= (long )wxListItem_m_state_get(_arg0
);
1634 wxPy_END_ALLOW_THREADS
;
1635 } _resultobj
= Py_BuildValue("l",_result
);
1639 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1640 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1645 PyObject
* _argo0
= 0;
1646 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1662 wxPy_END_ALLOW_THREADS
;
1663 } _resultobj
= Py_BuildValue("l",_result
);
1667 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1668 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1686 wxPy_BEGIN_ALLOW_THREADS
;
1687 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1689 wxPy_END_ALLOW_THREADS
;
1690 } _resultobj
= Py_BuildValue("l",_result
);
1694 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1695 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1700 PyObject
* _argo0
= 0;
1701 PyObject
* _obj1
= 0;
1702 char *_kwnames
[] = { "self","m_text", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1715 #if PYTHON_API_VERSION >= 1009
1716 char* tmpPtr
; int tmpSize
;
1717 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1718 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1721 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1723 _arg1
= new wxString(tmpPtr
, tmpSize
);
1725 if (!PyString_Check(_obj1
)) {
1726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1729 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1736 wxPy_END_ALLOW_THREADS
;
1738 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1747 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1748 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1769 wxPy_END_ALLOW_THREADS
;
1771 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1776 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1777 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self","m_image", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1796 wxPy_BEGIN_ALLOW_THREADS
;
1797 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1799 wxPy_END_ALLOW_THREADS
;
1800 } _resultobj
= Py_BuildValue("i",_result
);
1804 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1805 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (int )wxListItem_m_image_get(_arg0
);
1826 wxPy_END_ALLOW_THREADS
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1832 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1837 PyObject
* _argo0
= 0;
1838 char *_kwnames
[] = { "self","m_data", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } _resultobj
= Py_BuildValue("l",_result
);
1859 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1860 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1864 PyObject
* _argo0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 _result
= (long )wxListItem_m_data_get(_arg0
);
1881 wxPy_END_ALLOW_THREADS
;
1882 } _resultobj
= Py_BuildValue("l",_result
);
1886 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1887 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1892 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self","m_format", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } _resultobj
= Py_BuildValue("i",_result
);
1914 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1915 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= (int )wxListItem_m_format_get(_arg0
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } _resultobj
= Py_BuildValue("i",_result
);
1941 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1942 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self","m_width", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1970 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1974 PyObject
* _argo0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 _result
= (int )wxListItem_m_width_get(_arg0
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } _resultobj
= Py_BuildValue("i",_result
);
1996 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
1998 wxNotifyEvent
*dest
;
1999 src
= (wxListEvent
*) ptr
;
2000 dest
= (wxNotifyEvent
*) src
;
2001 return (void *) dest
;
2004 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2006 wxCommandEvent
*dest
;
2007 src
= (wxListEvent
*) ptr
;
2008 dest
= (wxCommandEvent
*) src
;
2009 return (void *) dest
;
2012 static void *SwigwxListEventTowxEvent(void *ptr
) {
2015 src
= (wxListEvent
*) ptr
;
2016 dest
= (wxEvent
*) src
;
2017 return (void *) dest
;
2020 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2021 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2024 wxListEvent
* _arg0
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self","m_code", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2040 wxPy_BEGIN_ALLOW_THREADS
;
2041 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2043 wxPy_END_ALLOW_THREADS
;
2044 } _resultobj
= Py_BuildValue("i",_result
);
2048 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2049 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2052 wxListEvent
* _arg0
;
2053 PyObject
* _argo0
= 0;
2054 char *_kwnames
[] = { "self", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2067 wxPy_BEGIN_ALLOW_THREADS
;
2068 _result
= (int )wxListEvent_m_code_get(_arg0
);
2070 wxPy_END_ALLOW_THREADS
;
2071 } _resultobj
= Py_BuildValue("i",_result
);
2075 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2076 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 wxListEvent
* _arg0
;
2081 PyObject
* _argo0
= 0;
2082 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2098 wxPy_END_ALLOW_THREADS
;
2099 } _resultobj
= Py_BuildValue("l",_result
);
2103 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2104 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2107 wxListEvent
* _arg0
;
2108 PyObject
* _argo0
= 0;
2109 char *_kwnames
[] = { "self", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } _resultobj
= Py_BuildValue("l",_result
);
2130 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2131 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2134 wxListEvent
* _arg0
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } _resultobj
= Py_BuildValue("l",_result
);
2158 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2159 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 wxListEvent
* _arg0
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } _resultobj
= Py_BuildValue("l",_result
);
2185 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2186 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2189 wxListEvent
* _arg0
;
2191 PyObject
* _argo0
= 0;
2192 char *_kwnames
[] = { "self","m_col", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2208 wxPy_END_ALLOW_THREADS
;
2209 } _resultobj
= Py_BuildValue("i",_result
);
2213 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2214 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2217 wxListEvent
* _arg0
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 _result
= (int )wxListEvent_m_col_get(_arg0
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } _resultobj
= Py_BuildValue("i",_result
);
2240 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2241 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2244 wxListEvent
* _arg0
;
2246 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2260 _arg1
= (bool ) tempbool1
;
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } _resultobj
= Py_BuildValue("i",_result
);
2270 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2271 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2274 wxListEvent
* _arg0
;
2275 PyObject
* _argo0
= 0;
2276 char *_kwnames
[] = { "self", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2289 wxPy_BEGIN_ALLOW_THREADS
;
2290 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2292 wxPy_END_ALLOW_THREADS
;
2293 } _resultobj
= Py_BuildValue("i",_result
);
2297 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2298 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2301 wxListEvent
* _arg0
;
2303 PyObject
* _argo0
= 0;
2305 PyObject
* _obj1
= 0;
2306 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2321 if (! wxPoint_helper(_obj1
, &_arg1
))
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2328 wxPy_END_ALLOW_THREADS
;
2330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2331 _resultobj
= Py_BuildValue("s",_ptemp
);
2334 _resultobj
= Py_None
;
2339 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2340 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2343 wxListEvent
* _arg0
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2359 wxPy_BEGIN_ALLOW_THREADS
;
2360 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2362 wxPy_END_ALLOW_THREADS
;
2364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2365 _resultobj
= Py_BuildValue("s",_ptemp
);
2368 _resultobj
= Py_None
;
2373 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2374 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2376 wxListItem
* _result
;
2377 wxListEvent
* _arg0
;
2379 PyObject
* _argo0
= 0;
2380 PyObject
* _argo1
= 0;
2381 char *_kwnames
[] = { "self","m_item", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2405 wxPy_END_ALLOW_THREADS
;
2407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2408 _resultobj
= Py_BuildValue("s",_ptemp
);
2411 _resultobj
= Py_None
;
2416 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2417 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2419 wxListItem
* _result
;
2420 wxListEvent
* _arg0
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2439 wxPy_END_ALLOW_THREADS
;
2441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2442 _resultobj
= Py_BuildValue("s",_ptemp
);
2445 _resultobj
= Py_None
;
2450 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2451 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2454 wxListEvent
* _arg0
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2469 wxPy_BEGIN_ALLOW_THREADS
;
2470 _result
= (int )wxListEvent_GetCode(_arg0
);
2472 wxPy_END_ALLOW_THREADS
;
2473 } _resultobj
= Py_BuildValue("i",_result
);
2477 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2478 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2481 wxListEvent
* _arg0
;
2482 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2496 wxPy_BEGIN_ALLOW_THREADS
;
2497 _result
= (long )wxListEvent_GetIndex(_arg0
);
2499 wxPy_END_ALLOW_THREADS
;
2500 } _resultobj
= Py_BuildValue("l",_result
);
2504 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2505 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2508 wxListEvent
* _arg0
;
2509 PyObject
* _argo0
= 0;
2510 char *_kwnames
[] = { "self", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2526 wxPy_END_ALLOW_THREADS
;
2527 } _resultobj
= Py_BuildValue("l",_result
);
2531 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2532 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2535 wxListEvent
* _arg0
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } _resultobj
= Py_BuildValue("l",_result
);
2558 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2559 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2562 wxListEvent
* _arg0
;
2563 PyObject
* _argo0
= 0;
2564 char *_kwnames
[] = { "self", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 _result
= (int )wxListEvent_GetColumn(_arg0
);
2580 wxPy_END_ALLOW_THREADS
;
2581 } _resultobj
= Py_BuildValue("i",_result
);
2585 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2586 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2589 wxListEvent
* _arg0
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2607 wxPy_END_ALLOW_THREADS
;
2608 } _resultobj
= Py_BuildValue("i",_result
);
2612 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2613 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2616 wxListEvent
* _arg0
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2635 wxPy_END_ALLOW_THREADS
;
2636 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2637 _resultobj
= Py_BuildValue("s",_ptemp
);
2641 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2642 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2645 wxListEvent
* _arg0
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2662 _result
= (wxString
*) &_result_ref
;
2664 wxPy_END_ALLOW_THREADS
;
2666 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2671 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2672 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2675 wxListEvent
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2692 _result
= (wxString
*) &_result_ref
;
2694 wxPy_END_ALLOW_THREADS
;
2696 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2701 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2702 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2705 wxListEvent
* _arg0
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (int )wxListEvent_GetImage(_arg0
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2729 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxListEvent
* _arg0
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 _result
= (long )wxListEvent_GetData(_arg0
);
2750 wxPy_END_ALLOW_THREADS
;
2751 } _resultobj
= Py_BuildValue("l",_result
);
2755 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2756 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2759 wxListEvent
* _arg0
;
2760 PyObject
* _argo0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (long )wxListEvent_GetMask(_arg0
);
2777 wxPy_END_ALLOW_THREADS
;
2778 } _resultobj
= Py_BuildValue("l",_result
);
2782 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2783 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2785 wxListItem
* _result
;
2786 wxListEvent
* _arg0
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2802 wxPy_BEGIN_ALLOW_THREADS
;
2803 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2804 _result
= (wxListItem
*) &_result_ref
;
2806 wxPy_END_ALLOW_THREADS
;
2808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2809 _resultobj
= Py_BuildValue("s",_ptemp
);
2812 _resultobj
= Py_None
;
2817 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2820 src
= (wxListCtrl
*) ptr
;
2821 dest
= (wxControl
*) src
;
2822 return (void *) dest
;
2825 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2828 src
= (wxListCtrl
*) ptr
;
2829 dest
= (wxWindow
*) src
;
2830 return (void *) dest
;
2833 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2836 src
= (wxListCtrl
*) ptr
;
2837 dest
= (wxEvtHandler
*) src
;
2838 return (void *) dest
;
2841 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2842 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2844 wxListCtrl
* _result
;
2847 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2848 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2849 long _arg4
= (long ) wxLC_ICON
;
2850 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2851 char * _arg6
= (char *) "listCtrl";
2852 PyObject
* _argo0
= 0;
2854 PyObject
* _obj2
= 0;
2856 PyObject
* _obj3
= 0;
2857 PyObject
* _argo5
= 0;
2858 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2874 if (! wxPoint_helper(_obj2
, &_arg2
))
2880 if (! wxSize_helper(_obj3
, &_arg3
))
2884 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2894 wxPy_END_ALLOW_THREADS
;
2896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2897 _resultobj
= Py_BuildValue("s",_ptemp
);
2900 _resultobj
= Py_None
;
2905 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2906 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2910 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2911 PyObject
* _argo0
= 0;
2912 char *_kwnames
[] = { "self","flag", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2925 wxPy_BEGIN_ALLOW_THREADS
;
2926 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2928 wxPy_END_ALLOW_THREADS
;
2929 } _resultobj
= Py_BuildValue("i",_result
);
2933 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
2934 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2937 wxImageList
* _arg1
;
2939 PyObject
* _argo0
= 0;
2940 PyObject
* _argo1
= 0;
2941 char *_kwnames
[] = { "self","imageList","which", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxListCtrl_p.");
2954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2970 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2971 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self","item", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2993 wxPy_END_ALLOW_THREADS
;
2994 } _resultobj
= Py_BuildValue("i",_result
);
2998 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2999 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
3017 wxPy_BEGIN_ALLOW_THREADS
;
3018 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
3020 wxPy_END_ALLOW_THREADS
;
3021 } _resultobj
= Py_BuildValue("i",_result
);
3025 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
3026 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self","col", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
3048 wxPy_END_ALLOW_THREADS
;
3049 } _resultobj
= Py_BuildValue("i",_result
);
3053 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
3054 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3081 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxListCtrl_ClearAll(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3108 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxTextCtrl
* _result
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self","item", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
3131 wxPy_END_ALLOW_THREADS
;
3133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3134 _resultobj
= Py_BuildValue("s",_ptemp
);
3137 _resultobj
= Py_None
;
3142 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
3143 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3148 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self","cancel", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
3162 _arg1
= (bool ) tempbool1
;
3164 wxPy_BEGIN_ALLOW_THREADS
;
3165 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
3167 wxPy_END_ALLOW_THREADS
;
3168 } _resultobj
= Py_BuildValue("i",_result
);
3172 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3173 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3175 wxTextCtrl
* _result
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3195 wxPy_END_ALLOW_THREADS
;
3197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3198 _resultobj
= Py_BuildValue("s",_ptemp
);
3201 _resultobj
= Py_None
;
3206 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3207 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self","item", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3229 wxPy_END_ALLOW_THREADS
;
3230 } _resultobj
= Py_BuildValue("i",_result
);
3234 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3235 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3241 bool _arg3
= (bool ) FALSE
;
3242 PyObject
* _argo0
= 0;
3243 PyObject
* _obj2
= 0;
3244 int tempbool3
= (int) FALSE
;
3245 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3258 #if PYTHON_API_VERSION >= 1009
3259 char* tmpPtr
; int tmpSize
;
3260 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3261 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3264 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3266 _arg2
= new wxString(tmpPtr
, tmpSize
);
3268 if (!PyString_Check(_obj2
)) {
3269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3272 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3275 _arg3
= (bool ) tempbool3
;
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3280 wxPy_END_ALLOW_THREADS
;
3281 } _resultobj
= Py_BuildValue("l",_result
);
3289 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3290 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self","start","data", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3313 wxPy_END_ALLOW_THREADS
;
3314 } _resultobj
= Py_BuildValue("l",_result
);
3318 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3319 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3326 PyObject
* _argo0
= 0;
3328 PyObject
* _obj2
= 0;
3329 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3343 if (! wxPoint_helper(_obj2
, &_arg2
))
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3350 wxPy_END_ALLOW_THREADS
;
3351 } _resultobj
= Py_BuildValue("l",_result
);
3355 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3356 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3362 PyObject
* _argo0
= 0;
3363 PyObject
* _argo2
= 0;
3364 char *_kwnames
[] = { "self","col","item", NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3377 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3384 wxPy_BEGIN_ALLOW_THREADS
;
3385 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3387 wxPy_END_ALLOW_THREADS
;
3388 } _resultobj
= Py_BuildValue("i",_result
);
3392 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3393 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self","col", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3415 wxPy_END_ALLOW_THREADS
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3420 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3421 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3425 PyObject
* _argo0
= 0;
3426 char *_kwnames
[] = { "self", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3442 wxPy_END_ALLOW_THREADS
;
3443 } _resultobj
= Py_BuildValue("i",_result
);
3447 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3448 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxImageList
* _result
;
3453 PyObject
* _argo0
= 0;
3454 char *_kwnames
[] = { "self","which", NULL
};
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3471 wxPy_END_ALLOW_THREADS
;
3473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3474 _resultobj
= Py_BuildValue("s",_ptemp
);
3477 _resultobj
= Py_None
;
3482 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3483 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self","item", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3502 wxPy_BEGIN_ALLOW_THREADS
;
3503 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3505 wxPy_END_ALLOW_THREADS
;
3506 } _resultobj
= Py_BuildValue("l",_result
);
3510 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3511 wxListItem
* info
= new wxListItem
;
3512 info
->m_itemId
= itemId
;
3514 info
->m_mask
= 0xFFFF;
3515 self
->GetItem(*info
);
3518 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxListItem
* _result
;
3523 int _arg2
= (int ) 0;
3524 PyObject
* _argo0
= 0;
3525 char *_kwnames
[] = { "self","itemId","col", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3542 wxPy_END_ALLOW_THREADS
;
3544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3545 _resultobj
= Py_BuildValue("s",_ptemp
);
3548 _resultobj
= Py_None
;
3553 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3554 wxPoint
* pos
= new wxPoint
;
3555 self
->GetItemPosition(item
, *pos
);
3558 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self","item", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3581 wxPy_END_ALLOW_THREADS
;
3583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3584 _resultobj
= Py_BuildValue("s",_ptemp
);
3587 _resultobj
= Py_None
;
3592 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3593 wxRect
* rect
= new wxRect
;
3594 self
->GetItemRect(item
, *rect
, code
);
3597 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3602 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self","item","code", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3618 wxPy_BEGIN_ALLOW_THREADS
;
3619 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3621 wxPy_END_ALLOW_THREADS
;
3623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3624 _resultobj
= Py_BuildValue("s",_ptemp
);
3627 _resultobj
= Py_None
;
3632 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3633 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3639 PyObject
* _argo0
= 0;
3640 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } _resultobj
= Py_BuildValue("i",_result
);
3661 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3662 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3666 PyObject
* _argo0
= 0;
3667 char *_kwnames
[] = { "self", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3680 wxPy_BEGIN_ALLOW_THREADS
;
3681 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3683 wxPy_END_ALLOW_THREADS
;
3684 } _resultobj
= Py_BuildValue("i",_result
);
3688 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3689 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3694 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self","isSmall", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3708 _arg1
= (bool ) tempbool1
;
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3719 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self","item", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3741 wxPy_END_ALLOW_THREADS
;
3743 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3751 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3752 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3757 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3758 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3776 wxPy_END_ALLOW_THREADS
;
3777 } _resultobj
= Py_BuildValue("l",_result
);
3781 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3782 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3800 wxPy_BEGIN_ALLOW_THREADS
;
3801 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3803 wxPy_END_ALLOW_THREADS
;
3804 } _resultobj
= Py_BuildValue("i",_result
);
3808 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3809 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3813 PyObject
* _argo0
= 0;
3814 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3831 wxPy_END_ALLOW_THREADS
;
3832 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3833 _resultobj
= Py_BuildValue("s",_ptemp
);
3837 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3838 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3842 PyObject
* _argo0
= 0;
3844 PyObject
* _obj1
= 0;
3845 char *_kwnames
[] = { "self","col", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
3859 if (! wxColour_helper(_obj1
, &_arg1
))
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } Py_INCREF(Py_None
);
3868 _resultobj
= Py_None
;
3872 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3873 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3877 PyObject
* _argo0
= 0;
3878 char *_kwnames
[] = { "self", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3891 wxPy_BEGIN_ALLOW_THREADS
;
3892 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3894 wxPy_END_ALLOW_THREADS
;
3895 } _resultobj
= Py_BuildValue("l",_result
);
3899 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3900 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3907 PyObject
* _argo0
= 0;
3909 PyObject
* _obj1
= 0;
3910 char *_kwnames
[] = { "self","point", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3927 if (! wxPoint_helper(_obj1
, &_arg1
))
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } _resultobj
= Py_BuildValue("l",_result
);
3938 o
= PyInt_FromLong((long) (*_arg2
));
3939 _resultobj
= t_output_helper(_resultobj
, o
);
3944 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3945 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3951 PyObject
* _argo0
= 0;
3952 PyObject
* _argo2
= 0;
3953 char *_kwnames
[] = { "self","col","info", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3966 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3973 wxPy_BEGIN_ALLOW_THREADS
;
3974 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3976 wxPy_END_ALLOW_THREADS
;
3977 } _resultobj
= Py_BuildValue("l",_result
);
3981 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3982 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3988 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3989 int _arg4
= (int ) -1;
3990 PyObject
* _argo0
= 0;
3991 PyObject
* _obj2
= 0;
3992 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
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_InsertColumn. 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_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4026 wxPy_END_ALLOW_THREADS
;
4027 } _resultobj
= Py_BuildValue("l",_result
);
4035 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4036 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 PyObject
* _argo1
= 0;
4043 char *_kwnames
[] = { "self","info", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
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_InsertItem. Expected _wxListCtrl_p.");
4056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4066 wxPy_END_ALLOW_THREADS
;
4067 } _resultobj
= Py_BuildValue("l",_result
);
4071 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4072 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4078 PyObject
* _argo0
= 0;
4079 PyObject
* _obj2
= 0;
4080 char *_kwnames
[] = { "self","index","label", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
4093 #if PYTHON_API_VERSION >= 1009
4094 char* tmpPtr
; int tmpSize
;
4095 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4096 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4099 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4101 _arg2
= new wxString(tmpPtr
, tmpSize
);
4103 if (!PyString_Check(_obj2
)) {
4104 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4107 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4111 wxPy_BEGIN_ALLOW_THREADS
;
4112 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4114 wxPy_END_ALLOW_THREADS
;
4115 } _resultobj
= Py_BuildValue("l",_result
);
4123 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4124 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4130 PyObject
* _argo0
= 0;
4131 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4147 wxPy_END_ALLOW_THREADS
;
4148 } _resultobj
= Py_BuildValue("l",_result
);
4152 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4153 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4160 PyObject
* _argo0
= 0;
4161 PyObject
* _obj2
= 0;
4162 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4175 #if PYTHON_API_VERSION >= 1009
4176 char* tmpPtr
; int tmpSize
;
4177 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4178 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4181 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4183 _arg2
= new wxString(tmpPtr
, tmpSize
);
4185 if (!PyString_Check(_obj2
)) {
4186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4189 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4196 wxPy_END_ALLOW_THREADS
;
4197 } _resultobj
= Py_BuildValue("l",_result
);
4205 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4206 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
* _resultobj
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self","dx","dy", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4226 wxPy_BEGIN_ALLOW_THREADS
;
4227 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4229 wxPy_END_ALLOW_THREADS
;
4230 } _resultobj
= Py_BuildValue("i",_result
);
4234 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4235 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4239 PyObject
* _argo0
= 0;
4241 PyObject
* _obj1
= 0;
4242 char *_kwnames
[] = { "self","col", NULL
};
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4256 if (! wxColour_helper(_obj1
, &_arg1
))
4260 wxPy_BEGIN_ALLOW_THREADS
;
4261 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4263 wxPy_END_ALLOW_THREADS
;
4264 } Py_INCREF(Py_None
);
4265 _resultobj
= Py_None
;
4269 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4270 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4276 PyObject
* _argo0
= 0;
4277 PyObject
* _argo2
= 0;
4278 char *_kwnames
[] = { "self","col","item", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4291 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4298 wxPy_BEGIN_ALLOW_THREADS
;
4299 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4301 wxPy_END_ALLOW_THREADS
;
4302 } _resultobj
= Py_BuildValue("i",_result
);
4306 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4307 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4313 PyObject
* _argo0
= 0;
4314 char *_kwnames
[] = { "self","col","width", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4327 wxPy_BEGIN_ALLOW_THREADS
;
4328 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4330 wxPy_END_ALLOW_THREADS
;
4331 } _resultobj
= Py_BuildValue("i",_result
);
4335 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4336 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4339 wxImageList
* _arg1
;
4341 PyObject
* _argo0
= 0;
4342 PyObject
* _argo1
= 0;
4343 char *_kwnames
[] = { "self","imageList","which", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4356 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4366 wxPy_END_ALLOW_THREADS
;
4367 } Py_INCREF(Py_None
);
4368 _resultobj
= Py_None
;
4372 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4373 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4378 PyObject
* _argo0
= 0;
4379 PyObject
* _argo1
= 0;
4380 char *_kwnames
[] = { "self","info", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
4393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4403 wxPy_END_ALLOW_THREADS
;
4404 } _resultobj
= Py_BuildValue("i",_result
);
4408 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4409 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4416 int _arg4
= (int ) -1;
4417 PyObject
* _argo0
= 0;
4418 PyObject
* _obj3
= 0;
4419 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4432 #if PYTHON_API_VERSION >= 1009
4433 char* tmpPtr
; int tmpSize
;
4434 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4435 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4438 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4440 _arg3
= new wxString(tmpPtr
, tmpSize
);
4442 if (!PyString_Check(_obj3
)) {
4443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4446 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4453 wxPy_END_ALLOW_THREADS
;
4454 } _resultobj
= Py_BuildValue("l",_result
);
4462 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4463 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4469 PyObject
* _argo0
= 0;
4470 char *_kwnames
[] = { "self","item","data", NULL
};
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4483 wxPy_BEGIN_ALLOW_THREADS
;
4484 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4486 wxPy_END_ALLOW_THREADS
;
4487 } _resultobj
= Py_BuildValue("i",_result
);
4491 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4492 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4499 PyObject
* _argo0
= 0;
4500 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4513 wxPy_BEGIN_ALLOW_THREADS
;
4514 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4516 wxPy_END_ALLOW_THREADS
;
4517 } _resultobj
= Py_BuildValue("i",_result
);
4521 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4522 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4528 PyObject
* _argo0
= 0;
4530 PyObject
* _obj2
= 0;
4531 char *_kwnames
[] = { "self","item","pos", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4545 if (! wxPoint_helper(_obj2
, &_arg2
))
4549 wxPy_BEGIN_ALLOW_THREADS
;
4550 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4552 wxPy_END_ALLOW_THREADS
;
4553 } _resultobj
= Py_BuildValue("i",_result
);
4557 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4558 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4579 wxPy_BEGIN_ALLOW_THREADS
;
4580 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4582 wxPy_END_ALLOW_THREADS
;
4583 } _resultobj
= Py_BuildValue("i",_result
);
4587 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4588 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4593 PyObject
* _argo0
= 0;
4594 PyObject
* _obj2
= 0;
4595 char *_kwnames
[] = { "self","item","text", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4608 #if PYTHON_API_VERSION >= 1009
4609 char* tmpPtr
; int tmpSize
;
4610 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4611 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4614 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4616 _arg2
= new wxString(tmpPtr
, tmpSize
);
4618 if (!PyString_Check(_obj2
)) {
4619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4622 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4626 wxPy_BEGIN_ALLOW_THREADS
;
4627 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4629 wxPy_END_ALLOW_THREADS
;
4630 } Py_INCREF(Py_None
);
4631 _resultobj
= Py_None
;
4639 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4640 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4644 bool _arg2
= (bool ) TRUE
;
4645 PyObject
* _argo0
= 0;
4646 int tempbool2
= (int) TRUE
;
4647 char *_kwnames
[] = { "self","style","add", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4659 _arg2
= (bool ) tempbool2
;
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4664 wxPy_END_ALLOW_THREADS
;
4665 } Py_INCREF(Py_None
);
4666 _resultobj
= Py_None
;
4670 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4671 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self","style", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4689 wxPy_BEGIN_ALLOW_THREADS
;
4690 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4692 wxPy_END_ALLOW_THREADS
;
4693 } Py_INCREF(Py_None
);
4694 _resultobj
= Py_None
;
4698 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4699 if (!PyCallable_Check(func
))
4702 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4704 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4709 PyObject
* _argo0
= 0;
4710 PyObject
* _obj1
= 0;
4711 char *_kwnames
[] = { "self","func", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4727 wxPy_BEGIN_ALLOW_THREADS
;
4728 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4730 wxPy_END_ALLOW_THREADS
;
4731 } _resultobj
= Py_BuildValue("i",_result
);
4735 #define new_wxTreeItemId() (new wxTreeItemId())
4736 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4738 wxTreeItemId
* _result
;
4739 char *_kwnames
[] = { NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4749 wxPy_END_ALLOW_THREADS
;
4751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4752 _resultobj
= Py_BuildValue("s",_ptemp
);
4755 _resultobj
= Py_None
;
4760 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4761 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
* _resultobj
;
4763 wxTreeItemId
* _arg0
;
4764 PyObject
* _argo0
= 0;
4765 char *_kwnames
[] = { "self", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4778 wxPy_BEGIN_ALLOW_THREADS
;
4779 delete_wxTreeItemId(_arg0
);
4781 wxPy_END_ALLOW_THREADS
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4788 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4791 wxTreeItemId
* _arg0
;
4792 PyObject
* _argo0
= 0;
4793 char *_kwnames
[] = { "self", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4806 wxPy_BEGIN_ALLOW_THREADS
;
4807 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4809 wxPy_END_ALLOW_THREADS
;
4810 } _resultobj
= Py_BuildValue("i",_result
);
4814 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4815 if (! other
) return -1;
4816 return *self
!= *other
;
4818 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4821 wxTreeItemId
* _arg0
;
4822 wxTreeItemId
* _arg1
;
4823 PyObject
* _argo0
= 0;
4824 PyObject
* _argo1
= 0;
4825 char *_kwnames
[] = { "self","other", NULL
};
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4845 wxPy_BEGIN_ALLOW_THREADS
;
4846 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4848 wxPy_END_ALLOW_THREADS
;
4849 } _resultobj
= Py_BuildValue("i",_result
);
4853 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4854 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
* _resultobj
;
4856 wxPyTreeItemData
* _result
;
4857 PyObject
* _arg0
= (PyObject
*) NULL
;
4858 PyObject
* _obj0
= 0;
4859 char *_kwnames
[] = { "obj", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4873 wxPy_END_ALLOW_THREADS
;
4875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4876 _resultobj
= Py_BuildValue("s",_ptemp
);
4879 _resultobj
= Py_None
;
4884 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4885 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4888 wxPyTreeItemData
* _arg0
;
4889 PyObject
* _argo0
= 0;
4890 char *_kwnames
[] = { "self", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4906 wxPy_END_ALLOW_THREADS
;
4908 _resultobj
= _result
;
4913 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4914 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxPyTreeItemData
* _arg0
;
4918 PyObject
* _argo0
= 0;
4919 PyObject
* _obj1
= 0;
4920 char *_kwnames
[] = { "self","obj", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4936 wxPy_BEGIN_ALLOW_THREADS
;
4937 wxTreeItemData_SetData(_arg0
,_arg1
);
4939 wxPy_END_ALLOW_THREADS
;
4940 } Py_INCREF(Py_None
);
4941 _resultobj
= Py_None
;
4945 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4946 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxTreeItemId
* _result
;
4949 wxPyTreeItemData
* _arg0
;
4950 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4965 wxPy_BEGIN_ALLOW_THREADS
;
4966 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4967 _result
= (wxTreeItemId
*) &_result_ref
;
4969 wxPy_END_ALLOW_THREADS
;
4971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4972 _resultobj
= Py_BuildValue("s",_ptemp
);
4975 _resultobj
= Py_None
;
4980 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4981 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4983 wxPyTreeItemData
* _arg0
;
4984 wxTreeItemId
* _arg1
;
4985 PyObject
* _argo0
= 0;
4986 PyObject
* _argo1
= 0;
4987 char *_kwnames
[] = { "self","id", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
5000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
5007 wxPy_BEGIN_ALLOW_THREADS
;
5008 wxTreeItemData_SetId(_arg0
,*_arg1
);
5010 wxPy_END_ALLOW_THREADS
;
5011 } Py_INCREF(Py_None
);
5012 _resultobj
= Py_None
;
5016 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
5018 wxNotifyEvent
*dest
;
5019 src
= (wxTreeEvent
*) ptr
;
5020 dest
= (wxNotifyEvent
*) src
;
5021 return (void *) dest
;
5024 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
5026 wxCommandEvent
*dest
;
5027 src
= (wxTreeEvent
*) ptr
;
5028 dest
= (wxCommandEvent
*) src
;
5029 return (void *) dest
;
5032 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
5035 src
= (wxTreeEvent
*) ptr
;
5036 dest
= (wxEvent
*) src
;
5037 return (void *) dest
;
5040 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
5041 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5043 wxTreeItemId
* _result
;
5044 wxTreeEvent
* _arg0
;
5045 PyObject
* _argo0
= 0;
5046 char *_kwnames
[] = { "self", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
5060 wxPy_BEGIN_ALLOW_THREADS
;
5061 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
5063 wxPy_END_ALLOW_THREADS
;
5064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5065 _resultobj
= Py_BuildValue("s",_ptemp
);
5069 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
5070 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5072 wxTreeItemId
* _result
;
5073 wxTreeEvent
* _arg0
;
5074 PyObject
* _argo0
= 0;
5075 char *_kwnames
[] = { "self", NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
5082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
5089 wxPy_BEGIN_ALLOW_THREADS
;
5090 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
5092 wxPy_END_ALLOW_THREADS
;
5093 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
5094 _resultobj
= Py_BuildValue("s",_ptemp
);
5098 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
5099 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5102 wxTreeEvent
* _arg0
;
5103 PyObject
* _argo0
= 0;
5104 char *_kwnames
[] = { "self", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
5118 wxPy_BEGIN_ALLOW_THREADS
;
5119 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
5121 wxPy_END_ALLOW_THREADS
;
5122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5123 _resultobj
= Py_BuildValue("s",_ptemp
);
5127 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5128 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5131 wxTreeEvent
* _arg0
;
5132 PyObject
* _argo0
= 0;
5133 char *_kwnames
[] = { "self", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5149 wxPy_END_ALLOW_THREADS
;
5150 } _resultobj
= Py_BuildValue("i",_result
);
5154 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5155 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5158 wxTreeEvent
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5175 _result
= (wxString
*) &_result_ref
;
5177 wxPy_END_ALLOW_THREADS
;
5179 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5184 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5187 src
= (wxPyTreeCtrl
*) ptr
;
5188 dest
= (wxControl
*) src
;
5189 return (void *) dest
;
5192 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5195 src
= (wxPyTreeCtrl
*) ptr
;
5196 dest
= (wxWindow
*) src
;
5197 return (void *) dest
;
5200 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5203 src
= (wxPyTreeCtrl
*) ptr
;
5204 dest
= (wxEvtHandler
*) src
;
5205 return (void *) dest
;
5208 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5209 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5211 wxPyTreeCtrl
* _result
;
5213 wxWindowID _arg1
= (wxWindowID
) -1;
5214 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5215 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5216 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5217 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5218 char * _arg6
= (char *) "wxTreeCtrl";
5219 PyObject
* _argo0
= 0;
5221 PyObject
* _obj2
= 0;
5223 PyObject
* _obj3
= 0;
5224 PyObject
* _argo5
= 0;
5225 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5241 if (! wxPoint_helper(_obj2
, &_arg2
))
5247 if (! wxSize_helper(_obj3
, &_arg3
))
5251 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5252 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5258 wxPy_BEGIN_ALLOW_THREADS
;
5259 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5261 wxPy_END_ALLOW_THREADS
;
5263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5264 _resultobj
= Py_BuildValue("s",_ptemp
);
5267 _resultobj
= Py_None
;
5272 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5273 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxPyTreeCtrl
* _arg0
;
5278 PyObject
* _argo0
= 0;
5279 PyObject
* _obj1
= 0;
5280 PyObject
* _obj2
= 0;
5281 char *_kwnames
[] = { "self","self","_class", NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5300 wxPy_BEGIN_ALLOW_THREADS
;
5301 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5303 wxPy_END_ALLOW_THREADS
;
5304 } Py_INCREF(Py_None
);
5305 _resultobj
= Py_None
;
5309 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
5310 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5312 wxPyTreeCtrl
* _arg0
;
5313 wxImageList
* _arg1
;
5314 PyObject
* _argo0
= 0;
5315 PyObject
* _argo1
= 0;
5316 char *_kwnames
[] = { "self","imageList", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
5329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
5336 wxPy_BEGIN_ALLOW_THREADS
;
5337 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
5339 wxPy_END_ALLOW_THREADS
;
5340 } Py_INCREF(Py_None
);
5341 _resultobj
= Py_None
;
5345 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5346 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5349 wxPyTreeCtrl
* _arg0
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "self", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5364 wxPy_BEGIN_ALLOW_THREADS
;
5365 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5367 wxPy_END_ALLOW_THREADS
;
5368 } _resultobj
= Py_BuildValue("i",_result
);
5372 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5373 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
* _resultobj
;
5375 unsigned int _result
;
5376 wxPyTreeCtrl
* _arg0
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } _resultobj
= Py_BuildValue("i",_result
);
5399 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5400 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5402 wxPyTreeCtrl
* _arg0
;
5404 PyObject
* _argo0
= 0;
5405 char *_kwnames
[] = { "self","indent", NULL
};
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5418 wxPy_BEGIN_ALLOW_THREADS
;
5419 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5421 wxPy_END_ALLOW_THREADS
;
5422 } Py_INCREF(Py_None
);
5423 _resultobj
= Py_None
;
5427 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5428 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5430 wxImageList
* _result
;
5431 wxPyTreeCtrl
* _arg0
;
5432 PyObject
* _argo0
= 0;
5433 char *_kwnames
[] = { "self", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5447 wxPy_BEGIN_ALLOW_THREADS
;
5448 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5450 wxPy_END_ALLOW_THREADS
;
5452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5453 _resultobj
= Py_BuildValue("s",_ptemp
);
5456 _resultobj
= Py_None
;
5461 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5462 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxImageList
* _result
;
5465 wxPyTreeCtrl
* _arg0
;
5466 PyObject
* _argo0
= 0;
5467 char *_kwnames
[] = { "self", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5484 wxPy_END_ALLOW_THREADS
;
5486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5487 _resultobj
= Py_BuildValue("s",_ptemp
);
5490 _resultobj
= Py_None
;
5495 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5496 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5498 wxPyTreeCtrl
* _arg0
;
5499 wxImageList
* _arg1
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _argo1
= 0;
5502 char *_kwnames
[] = { "self","imageList", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_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_SetImageList. Expected _wxPyTreeCtrl_p.");
5515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5522 wxPy_BEGIN_ALLOW_THREADS
;
5523 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5525 wxPy_END_ALLOW_THREADS
;
5526 } Py_INCREF(Py_None
);
5527 _resultobj
= Py_None
;
5531 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5532 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxPyTreeCtrl
* _arg0
;
5535 wxImageList
* _arg1
;
5536 PyObject
* _argo0
= 0;
5537 PyObject
* _argo1
= 0;
5538 char *_kwnames
[] = { "self","imageList", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5558 wxPy_BEGIN_ALLOW_THREADS
;
5559 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5561 wxPy_END_ALLOW_THREADS
;
5562 } Py_INCREF(Py_None
);
5563 _resultobj
= Py_None
;
5567 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5568 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5570 unsigned int _result
;
5571 wxPyTreeCtrl
* _arg0
;
5572 PyObject
* _argo0
= 0;
5573 char *_kwnames
[] = { "self", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5586 wxPy_BEGIN_ALLOW_THREADS
;
5587 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5589 wxPy_END_ALLOW_THREADS
;
5590 } _resultobj
= Py_BuildValue("i",_result
);
5594 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5595 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5597 wxPyTreeCtrl
* _arg0
;
5599 PyObject
* _argo0
= 0;
5600 char *_kwnames
[] = { "self","spacing", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5613 wxPy_BEGIN_ALLOW_THREADS
;
5614 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5616 wxPy_END_ALLOW_THREADS
;
5617 } Py_INCREF(Py_None
);
5618 _resultobj
= Py_None
;
5622 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5623 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5626 wxPyTreeCtrl
* _arg0
;
5627 wxTreeItemId
* _arg1
;
5628 PyObject
* _argo0
= 0;
5629 PyObject
* _argo1
= 0;
5630 char *_kwnames
[] = { "self","item", NULL
};
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5650 wxPy_BEGIN_ALLOW_THREADS
;
5651 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5653 wxPy_END_ALLOW_THREADS
;
5655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5663 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5664 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5667 wxPyTreeCtrl
* _arg0
;
5668 wxTreeItemId
* _arg1
;
5669 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5670 PyObject
* _argo0
= 0;
5671 PyObject
* _argo1
= 0;
5672 char *_kwnames
[] = { "self","item","which", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5692 wxPy_BEGIN_ALLOW_THREADS
;
5693 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5695 wxPy_END_ALLOW_THREADS
;
5696 } _resultobj
= Py_BuildValue("i",_result
);
5700 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5701 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5704 wxPyTreeCtrl
* _arg0
;
5705 wxTreeItemId
* _arg1
;
5706 PyObject
* _argo0
= 0;
5707 PyObject
* _argo1
= 0;
5708 char *_kwnames
[] = { "self","item", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } _resultobj
= Py_BuildValue("i",_result
);
5736 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5737 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5739 wxPyTreeCtrl
* _arg0
;
5740 wxTreeItemId
* _arg1
;
5742 PyObject
* _argo0
= 0;
5743 PyObject
* _argo1
= 0;
5744 PyObject
* _obj2
= 0;
5745 char *_kwnames
[] = { "self","item","text", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5765 #if PYTHON_API_VERSION >= 1009
5766 char* tmpPtr
; int tmpSize
;
5767 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5768 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5771 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5773 _arg2
= new wxString(tmpPtr
, tmpSize
);
5775 if (!PyString_Check(_obj2
)) {
5776 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5779 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5783 wxPy_BEGIN_ALLOW_THREADS
;
5784 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5786 wxPy_END_ALLOW_THREADS
;
5787 } Py_INCREF(Py_None
);
5788 _resultobj
= Py_None
;
5796 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5797 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5799 wxPyTreeCtrl
* _arg0
;
5800 wxTreeItemId
* _arg1
;
5802 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5803 PyObject
* _argo0
= 0;
5804 PyObject
* _argo1
= 0;
5805 char *_kwnames
[] = { "self","item","image","which", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5825 wxPy_BEGIN_ALLOW_THREADS
;
5826 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5828 wxPy_END_ALLOW_THREADS
;
5829 } Py_INCREF(Py_None
);
5830 _resultobj
= Py_None
;
5834 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5835 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5837 wxPyTreeCtrl
* _arg0
;
5838 wxTreeItemId
* _arg1
;
5840 PyObject
* _argo0
= 0;
5841 PyObject
* _argo1
= 0;
5842 char *_kwnames
[] = { "self","item","image", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5855 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5865 wxPy_END_ALLOW_THREADS
;
5866 } Py_INCREF(Py_None
);
5867 _resultobj
= Py_None
;
5871 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5872 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxPyTreeCtrl
* _arg0
;
5875 wxTreeItemId
* _arg1
;
5876 bool _arg2
= (bool ) TRUE
;
5877 PyObject
* _argo0
= 0;
5878 PyObject
* _argo1
= 0;
5879 int tempbool2
= (int) TRUE
;
5880 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5899 _arg2
= (bool ) tempbool2
;
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5904 wxPy_END_ALLOW_THREADS
;
5905 } Py_INCREF(Py_None
);
5906 _resultobj
= Py_None
;
5910 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5911 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5913 data
= new wxPyTreeItemData();
5914 data
->SetId(item
); // set the id
5915 self
->SetItemData(item
, data
);
5919 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
* _resultobj
;
5921 wxPyTreeItemData
* _result
;
5922 wxPyTreeCtrl
* _arg0
;
5923 wxTreeItemId
* _arg1
;
5924 PyObject
* _argo0
= 0;
5925 PyObject
* _argo1
= 0;
5926 char *_kwnames
[] = { "self","item", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5947 wxPy_BEGIN_ALLOW_THREADS
;
5948 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5950 wxPy_END_ALLOW_THREADS
;
5952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5953 _resultobj
= Py_BuildValue("s",_ptemp
);
5956 _resultobj
= Py_None
;
5961 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5962 data
->SetId(item
); // set the id
5963 self
->SetItemData(item
, data
);
5965 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5967 wxPyTreeCtrl
* _arg0
;
5968 wxTreeItemId
* _arg1
;
5969 wxPyTreeItemData
* _arg2
;
5970 PyObject
* _argo0
= 0;
5971 PyObject
* _argo1
= 0;
5972 PyObject
* _argo2
= 0;
5973 char *_kwnames
[] = { "self","item","data", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5993 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
6000 wxPy_BEGIN_ALLOW_THREADS
;
6001 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
6003 wxPy_END_ALLOW_THREADS
;
6004 } Py_INCREF(Py_None
);
6005 _resultobj
= Py_None
;
6009 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
6010 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6012 data
= new wxPyTreeItemData();
6013 data
->SetId(item
); // set the id
6014 self
->SetItemData(item
, data
);
6016 return data
->GetData();
6018 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6021 wxPyTreeCtrl
* _arg0
;
6022 wxTreeItemId
* _arg1
;
6023 PyObject
* _argo0
= 0;
6024 PyObject
* _argo1
= 0;
6025 char *_kwnames
[] = { "self","item", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
6038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
6048 wxPy_END_ALLOW_THREADS
;
6050 _resultobj
= _result
;
6055 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
6056 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
6058 data
= new wxPyTreeItemData(obj
);
6059 data
->SetId(item
); // set the id
6060 self
->SetItemData(item
, data
);
6064 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6066 wxPyTreeCtrl
* _arg0
;
6067 wxTreeItemId
* _arg1
;
6069 PyObject
* _argo0
= 0;
6070 PyObject
* _argo1
= 0;
6071 PyObject
* _obj2
= 0;
6072 char *_kwnames
[] = { "self","item","obj", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
6085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
6095 wxPy_BEGIN_ALLOW_THREADS
;
6096 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
6098 wxPy_END_ALLOW_THREADS
;
6099 } Py_INCREF(Py_None
);
6100 _resultobj
= Py_None
;
6104 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
6105 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6108 wxPyTreeCtrl
* _arg0
;
6109 wxTreeItemId
* _arg1
;
6110 PyObject
* _argo0
= 0;
6111 PyObject
* _argo1
= 0;
6112 char *_kwnames
[] = { "self","item", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
6125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
6132 wxPy_BEGIN_ALLOW_THREADS
;
6133 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
6135 wxPy_END_ALLOW_THREADS
;
6136 } _resultobj
= Py_BuildValue("i",_result
);
6140 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
6141 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6144 wxPyTreeCtrl
* _arg0
;
6145 wxTreeItemId
* _arg1
;
6146 PyObject
* _argo0
= 0;
6147 PyObject
* _argo1
= 0;
6148 char *_kwnames
[] = { "self","item", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
6161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
6168 wxPy_BEGIN_ALLOW_THREADS
;
6169 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6171 wxPy_END_ALLOW_THREADS
;
6172 } _resultobj
= Py_BuildValue("i",_result
);
6176 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6177 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6180 wxPyTreeCtrl
* _arg0
;
6181 wxTreeItemId
* _arg1
;
6182 PyObject
* _argo0
= 0;
6183 PyObject
* _argo1
= 0;
6184 char *_kwnames
[] = { "self","item", NULL
};
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6204 wxPy_BEGIN_ALLOW_THREADS
;
6205 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6207 wxPy_END_ALLOW_THREADS
;
6208 } _resultobj
= Py_BuildValue("i",_result
);
6212 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6213 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6216 wxPyTreeCtrl
* _arg0
;
6217 wxTreeItemId
* _arg1
;
6218 PyObject
* _argo0
= 0;
6219 PyObject
* _argo1
= 0;
6220 char *_kwnames
[] = { "self","item", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6243 wxPy_END_ALLOW_THREADS
;
6244 } _resultobj
= Py_BuildValue("i",_result
);
6248 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6249 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6251 wxTreeItemId
* _result
;
6252 wxPyTreeCtrl
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6271 wxPy_END_ALLOW_THREADS
;
6272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6273 _resultobj
= Py_BuildValue("s",_ptemp
);
6277 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6278 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
* _resultobj
;
6280 wxTreeItemId
* _result
;
6281 wxPyTreeCtrl
* _arg0
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6297 wxPy_BEGIN_ALLOW_THREADS
;
6298 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6300 wxPy_END_ALLOW_THREADS
;
6301 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6302 _resultobj
= Py_BuildValue("s",_ptemp
);
6306 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6307 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6309 wxTreeItemId
* _result
;
6310 wxPyTreeCtrl
* _arg0
;
6311 wxTreeItemId
* _arg1
;
6312 PyObject
* _argo0
= 0;
6313 PyObject
* _argo1
= 0;
6314 char *_kwnames
[] = { "self","item", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6335 wxPy_BEGIN_ALLOW_THREADS
;
6336 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6338 wxPy_END_ALLOW_THREADS
;
6339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6340 _resultobj
= Py_BuildValue("s",_ptemp
);
6344 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6345 bool doSave
= wxPyRestoreThread();
6346 PyObject
* rval
= PyList_New(0);
6347 wxArrayTreeItemIds array
;
6349 num
= self
->GetSelections(array
);
6350 for (x
=0; x
< num
; x
++) {
6351 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6352 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6353 PyList_Append(rval
, item
);
6355 wxPySaveThread(doSave
);
6358 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6361 wxPyTreeCtrl
* _arg0
;
6362 PyObject
* _argo0
= 0;
6363 char *_kwnames
[] = { "self", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6376 wxPy_BEGIN_ALLOW_THREADS
;
6377 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6379 wxPy_END_ALLOW_THREADS
;
6381 _resultobj
= _result
;
6386 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6387 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6390 wxPyTreeCtrl
* _arg0
;
6391 wxTreeItemId
* _arg1
;
6392 bool _arg2
= (bool ) TRUE
;
6393 PyObject
* _argo0
= 0;
6394 PyObject
* _argo1
= 0;
6395 int tempbool2
= (int) TRUE
;
6396 char *_kwnames
[] = { "self","item","recursively", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6415 _arg2
= (bool ) tempbool2
;
6417 wxPy_BEGIN_ALLOW_THREADS
;
6418 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6420 wxPy_END_ALLOW_THREADS
;
6421 } _resultobj
= Py_BuildValue("i",_result
);
6425 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6426 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
* _resultobj
;
6428 wxTreeItemId
* _result
;
6429 wxPyTreeCtrl
* _arg0
;
6430 wxTreeItemId
* _arg1
;
6432 PyObject
* _argo0
= 0;
6433 PyObject
* _argo1
= 0;
6435 PyObject
* _obj2
= 0;
6436 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6457 temp
= (long) PyInt_AsLong(_obj2
);
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6464 wxPy_END_ALLOW_THREADS
;
6465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6466 _resultobj
= Py_BuildValue("s",_ptemp
);
6469 o
= PyInt_FromLong((long) (*_arg2
));
6470 _resultobj
= t_output_helper(_resultobj
, o
);
6475 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6476 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6478 wxTreeItemId
* _result
;
6479 wxPyTreeCtrl
* _arg0
;
6480 wxTreeItemId
* _arg1
;
6482 PyObject
* _argo0
= 0;
6483 PyObject
* _argo1
= 0;
6485 PyObject
* _obj2
= 0;
6486 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6507 temp
= (long) PyInt_AsLong(_obj2
);
6511 wxPy_BEGIN_ALLOW_THREADS
;
6512 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6514 wxPy_END_ALLOW_THREADS
;
6515 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6516 _resultobj
= Py_BuildValue("s",_ptemp
);
6519 o
= PyInt_FromLong((long) (*_arg2
));
6520 _resultobj
= t_output_helper(_resultobj
, o
);
6525 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6526 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6528 wxTreeItemId
* _result
;
6529 wxPyTreeCtrl
* _arg0
;
6530 wxTreeItemId
* _arg1
;
6531 PyObject
* _argo0
= 0;
6532 PyObject
* _argo1
= 0;
6533 char *_kwnames
[] = { "self","item", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6554 wxPy_BEGIN_ALLOW_THREADS
;
6555 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6557 wxPy_END_ALLOW_THREADS
;
6558 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6559 _resultobj
= Py_BuildValue("s",_ptemp
);
6563 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6564 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6566 wxTreeItemId
* _result
;
6567 wxPyTreeCtrl
* _arg0
;
6568 wxTreeItemId
* _arg1
;
6569 PyObject
* _argo0
= 0;
6570 PyObject
* _argo1
= 0;
6571 char *_kwnames
[] = { "self","item", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6592 wxPy_BEGIN_ALLOW_THREADS
;
6593 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6595 wxPy_END_ALLOW_THREADS
;
6596 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6597 _resultobj
= Py_BuildValue("s",_ptemp
);
6601 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6602 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6604 wxTreeItemId
* _result
;
6605 wxPyTreeCtrl
* _arg0
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
6614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6624 wxPy_END_ALLOW_THREADS
;
6625 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6626 _resultobj
= Py_BuildValue("s",_ptemp
);
6630 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6631 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6633 wxTreeItemId
* _result
;
6634 wxPyTreeCtrl
* _arg0
;
6635 wxTreeItemId
* _arg1
;
6636 PyObject
* _argo0
= 0;
6637 PyObject
* _argo1
= 0;
6638 char *_kwnames
[] = { "self","item", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6659 wxPy_BEGIN_ALLOW_THREADS
;
6660 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6662 wxPy_END_ALLOW_THREADS
;
6663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6664 _resultobj
= Py_BuildValue("s",_ptemp
);
6668 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6669 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6671 wxTreeItemId
* _result
;
6672 wxPyTreeCtrl
* _arg0
;
6673 wxTreeItemId
* _arg1
;
6674 PyObject
* _argo0
= 0;
6675 PyObject
* _argo1
= 0;
6676 char *_kwnames
[] = { "self","item", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6697 wxPy_BEGIN_ALLOW_THREADS
;
6698 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6700 wxPy_END_ALLOW_THREADS
;
6701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6702 _resultobj
= Py_BuildValue("s",_ptemp
);
6706 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6707 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6709 wxTreeItemId
* _result
;
6710 wxPyTreeCtrl
* _arg0
;
6711 wxTreeItemId
* _arg1
;
6712 PyObject
* _argo0
= 0;
6713 PyObject
* _argo1
= 0;
6714 char *_kwnames
[] = { "self","item", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6735 wxPy_BEGIN_ALLOW_THREADS
;
6736 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6738 wxPy_END_ALLOW_THREADS
;
6739 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6740 _resultobj
= Py_BuildValue("s",_ptemp
);
6744 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6745 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6747 wxTreeItemId
* _result
;
6748 wxPyTreeCtrl
* _arg0
;
6750 int _arg2
= (int ) -1;
6751 int _arg3
= (int ) -1;
6752 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6753 PyObject
* _argo0
= 0;
6754 PyObject
* _obj1
= 0;
6755 PyObject
* _argo4
= 0;
6756 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6770 #if PYTHON_API_VERSION >= 1009
6771 char* tmpPtr
; int tmpSize
;
6772 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6773 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6776 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6778 _arg1
= new wxString(tmpPtr
, tmpSize
);
6780 if (!PyString_Check(_obj1
)) {
6781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6784 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6788 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6795 wxPy_BEGIN_ALLOW_THREADS
;
6796 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6798 wxPy_END_ALLOW_THREADS
;
6799 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6800 _resultobj
= Py_BuildValue("s",_ptemp
);
6808 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6809 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6811 wxTreeItemId
* _result
;
6812 wxPyTreeCtrl
* _arg0
;
6813 wxTreeItemId
* _arg1
;
6815 int _arg3
= (int ) -1;
6816 int _arg4
= (int ) -1;
6817 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6818 PyObject
* _argo0
= 0;
6819 PyObject
* _argo1
= 0;
6820 PyObject
* _obj2
= 0;
6821 PyObject
* _argo5
= 0;
6822 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6843 #if PYTHON_API_VERSION >= 1009
6844 char* tmpPtr
; int tmpSize
;
6845 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6846 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6849 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6851 _arg2
= new wxString(tmpPtr
, tmpSize
);
6853 if (!PyString_Check(_obj2
)) {
6854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6857 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6861 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6868 wxPy_BEGIN_ALLOW_THREADS
;
6869 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6871 wxPy_END_ALLOW_THREADS
;
6872 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6873 _resultobj
= Py_BuildValue("s",_ptemp
);
6881 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6882 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6884 wxTreeItemId
* _result
;
6885 wxPyTreeCtrl
* _arg0
;
6886 wxTreeItemId
* _arg1
;
6887 wxTreeItemId
* _arg2
;
6889 int _arg4
= (int ) -1;
6890 int _arg5
= (int ) -1;
6891 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6892 PyObject
* _argo0
= 0;
6893 PyObject
* _argo1
= 0;
6894 PyObject
* _argo2
= 0;
6895 PyObject
* _obj3
= 0;
6896 PyObject
* _argo6
= 0;
6897 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6918 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6925 #if PYTHON_API_VERSION >= 1009
6926 char* tmpPtr
; int tmpSize
;
6927 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6928 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6931 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6933 _arg3
= new wxString(tmpPtr
, tmpSize
);
6935 if (!PyString_Check(_obj3
)) {
6936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6939 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6943 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6944 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6950 wxPy_BEGIN_ALLOW_THREADS
;
6951 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6953 wxPy_END_ALLOW_THREADS
;
6954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6955 _resultobj
= Py_BuildValue("s",_ptemp
);
6963 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6964 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6966 wxTreeItemId
* _result
;
6967 wxPyTreeCtrl
* _arg0
;
6968 wxTreeItemId
* _arg1
;
6971 int _arg4
= (int ) -1;
6972 int _arg5
= (int ) -1;
6973 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6974 PyObject
* _argo0
= 0;
6975 PyObject
* _argo1
= 0;
6976 PyObject
* _obj3
= 0;
6977 PyObject
* _argo6
= 0;
6978 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6999 #if PYTHON_API_VERSION >= 1009
7000 char* tmpPtr
; int tmpSize
;
7001 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
7002 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7005 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
7007 _arg3
= new wxString(tmpPtr
, tmpSize
);
7009 if (!PyString_Check(_obj3
)) {
7010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7013 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
7017 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
7027 wxPy_END_ALLOW_THREADS
;
7028 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7029 _resultobj
= Py_BuildValue("s",_ptemp
);
7037 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7038 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
* _resultobj
;
7040 wxTreeItemId
* _result
;
7041 wxPyTreeCtrl
* _arg0
;
7042 wxTreeItemId
* _arg1
;
7044 int _arg3
= (int ) -1;
7045 int _arg4
= (int ) -1;
7046 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
7047 PyObject
* _argo0
= 0;
7048 PyObject
* _argo1
= 0;
7049 PyObject
* _obj2
= 0;
7050 PyObject
* _argo5
= 0;
7051 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
7065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
7072 #if PYTHON_API_VERSION >= 1009
7073 char* tmpPtr
; int tmpSize
;
7074 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7075 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7078 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7080 _arg2
= new wxString(tmpPtr
, tmpSize
);
7082 if (!PyString_Check(_obj2
)) {
7083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7086 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7090 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
7097 wxPy_BEGIN_ALLOW_THREADS
;
7098 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
7100 wxPy_END_ALLOW_THREADS
;
7101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7102 _resultobj
= Py_BuildValue("s",_ptemp
);
7110 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
7111 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7113 wxPyTreeCtrl
* _arg0
;
7114 wxTreeItemId
* _arg1
;
7115 PyObject
* _argo0
= 0;
7116 PyObject
* _argo1
= 0;
7117 char *_kwnames
[] = { "self","item", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
7130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
7137 wxPy_BEGIN_ALLOW_THREADS
;
7138 wxTreeCtrl_Delete(_arg0
,*_arg1
);
7140 wxPy_END_ALLOW_THREADS
;
7141 } Py_INCREF(Py_None
);
7142 _resultobj
= Py_None
;
7146 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
7147 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7149 wxPyTreeCtrl
* _arg0
;
7150 wxTreeItemId
* _arg1
;
7151 PyObject
* _argo0
= 0;
7152 PyObject
* _argo1
= 0;
7153 char *_kwnames
[] = { "self","item", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
7166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
7173 wxPy_BEGIN_ALLOW_THREADS
;
7174 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
7176 wxPy_END_ALLOW_THREADS
;
7177 } Py_INCREF(Py_None
);
7178 _resultobj
= Py_None
;
7182 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
7183 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7185 wxPyTreeCtrl
* _arg0
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
7200 wxPy_BEGIN_ALLOW_THREADS
;
7201 wxTreeCtrl_DeleteAllItems(_arg0
);
7203 wxPy_END_ALLOW_THREADS
;
7204 } Py_INCREF(Py_None
);
7205 _resultobj
= Py_None
;
7209 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
7210 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7212 wxPyTreeCtrl
* _arg0
;
7213 wxTreeItemId
* _arg1
;
7214 PyObject
* _argo0
= 0;
7215 PyObject
* _argo1
= 0;
7216 char *_kwnames
[] = { "self","item", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7236 wxPy_BEGIN_ALLOW_THREADS
;
7237 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7239 wxPy_END_ALLOW_THREADS
;
7240 } Py_INCREF(Py_None
);
7241 _resultobj
= Py_None
;
7245 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7246 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7248 wxPyTreeCtrl
* _arg0
;
7249 wxTreeItemId
* _arg1
;
7250 PyObject
* _argo0
= 0;
7251 PyObject
* _argo1
= 0;
7252 char *_kwnames
[] = { "self","item", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7272 wxPy_BEGIN_ALLOW_THREADS
;
7273 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7275 wxPy_END_ALLOW_THREADS
;
7276 } Py_INCREF(Py_None
);
7277 _resultobj
= Py_None
;
7281 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7282 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
* _resultobj
;
7284 wxPyTreeCtrl
* _arg0
;
7285 wxTreeItemId
* _arg1
;
7286 PyObject
* _argo0
= 0;
7287 PyObject
* _argo1
= 0;
7288 char *_kwnames
[] = { "self","item", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7308 wxPy_BEGIN_ALLOW_THREADS
;
7309 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7311 wxPy_END_ALLOW_THREADS
;
7312 } Py_INCREF(Py_None
);
7313 _resultobj
= Py_None
;
7317 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7318 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
* _resultobj
;
7320 wxPyTreeCtrl
* _arg0
;
7321 wxTreeItemId
* _arg1
;
7322 PyObject
* _argo0
= 0;
7323 PyObject
* _argo1
= 0;
7324 char *_kwnames
[] = { "self","item", NULL
};
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7344 wxPy_BEGIN_ALLOW_THREADS
;
7345 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7347 wxPy_END_ALLOW_THREADS
;
7348 } Py_INCREF(Py_None
);
7349 _resultobj
= Py_None
;
7353 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7354 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
* _resultobj
;
7356 wxPyTreeCtrl
* _arg0
;
7357 PyObject
* _argo0
= 0;
7358 char *_kwnames
[] = { "self", NULL
};
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7371 wxPy_BEGIN_ALLOW_THREADS
;
7372 wxTreeCtrl_Unselect(_arg0
);
7374 wxPy_END_ALLOW_THREADS
;
7375 } Py_INCREF(Py_None
);
7376 _resultobj
= Py_None
;
7380 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7381 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
* _resultobj
;
7383 wxPyTreeCtrl
* _arg0
;
7384 PyObject
* _argo0
= 0;
7385 char *_kwnames
[] = { "self", NULL
};
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7398 wxPy_BEGIN_ALLOW_THREADS
;
7399 wxTreeCtrl_UnselectAll(_arg0
);
7401 wxPy_END_ALLOW_THREADS
;
7402 } Py_INCREF(Py_None
);
7403 _resultobj
= Py_None
;
7407 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7408 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
* _resultobj
;
7410 wxPyTreeCtrl
* _arg0
;
7411 wxTreeItemId
* _arg1
;
7412 PyObject
* _argo0
= 0;
7413 PyObject
* _argo1
= 0;
7414 char *_kwnames
[] = { "self","item", NULL
};
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7434 wxPy_BEGIN_ALLOW_THREADS
;
7435 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7437 wxPy_END_ALLOW_THREADS
;
7438 } Py_INCREF(Py_None
);
7439 _resultobj
= Py_None
;
7443 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7444 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7446 wxPyTreeCtrl
* _arg0
;
7447 wxTreeItemId
* _arg1
;
7448 PyObject
* _argo0
= 0;
7449 PyObject
* _argo1
= 0;
7450 char *_kwnames
[] = { "self","item", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7470 wxPy_BEGIN_ALLOW_THREADS
;
7471 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7473 wxPy_END_ALLOW_THREADS
;
7474 } Py_INCREF(Py_None
);
7475 _resultobj
= Py_None
;
7479 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7480 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7482 wxPyTreeCtrl
* _arg0
;
7483 wxTreeItemId
* _arg1
;
7484 PyObject
* _argo0
= 0;
7485 PyObject
* _argo1
= 0;
7486 char *_kwnames
[] = { "self","item", NULL
};
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7506 wxPy_BEGIN_ALLOW_THREADS
;
7507 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7509 wxPy_END_ALLOW_THREADS
;
7510 } Py_INCREF(Py_None
);
7511 _resultobj
= Py_None
;
7515 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7516 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7518 wxTextCtrl
* _result
;
7519 wxPyTreeCtrl
* _arg0
;
7520 wxTreeItemId
* _arg1
;
7521 PyObject
* _argo0
= 0;
7522 PyObject
* _argo1
= 0;
7523 char *_kwnames
[] = { "self","item", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7544 wxPy_BEGIN_ALLOW_THREADS
;
7545 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7547 wxPy_END_ALLOW_THREADS
;
7549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7550 _resultobj
= Py_BuildValue("s",_ptemp
);
7553 _resultobj
= Py_None
;
7558 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
7559 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7561 wxTextCtrl
* _result
;
7562 wxPyTreeCtrl
* _arg0
;
7563 PyObject
* _argo0
= 0;
7564 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
7578 wxPy_BEGIN_ALLOW_THREADS
;
7579 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
7581 wxPy_END_ALLOW_THREADS
;
7583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7584 _resultobj
= Py_BuildValue("s",_ptemp
);
7587 _resultobj
= Py_None
;
7592 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
7593 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7595 wxPyTreeCtrl
* _arg0
;
7596 wxTreeItemId
* _arg1
;
7597 int _arg2
= (int ) FALSE
;
7598 PyObject
* _argo0
= 0;
7599 PyObject
* _argo1
= 0;
7600 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
7613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
7620 wxPy_BEGIN_ALLOW_THREADS
;
7621 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
7623 wxPy_END_ALLOW_THREADS
;
7624 } Py_INCREF(Py_None
);
7625 _resultobj
= Py_None
;
7629 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7630 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7632 wxPyTreeCtrl
* _arg0
;
7633 wxTreeItemId
* _arg1
;
7634 PyObject
* _argo0
= 0;
7635 PyObject
* _argo1
= 0;
7636 char *_kwnames
[] = { "self","item", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7656 wxPy_BEGIN_ALLOW_THREADS
;
7657 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7659 wxPy_END_ALLOW_THREADS
;
7660 } Py_INCREF(Py_None
);
7661 _resultobj
= Py_None
;
7665 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7666 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
* _resultobj
;
7668 wxPyTreeCtrl
* _arg0
;
7669 wxTreeItemId
* _arg1
;
7670 int _arg2
= (int ) TRUE
;
7671 PyObject
* _argo0
= 0;
7672 PyObject
* _argo1
= 0;
7673 char *_kwnames
[] = { "self","item","bold", NULL
};
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7693 wxPy_BEGIN_ALLOW_THREADS
;
7694 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7696 wxPy_END_ALLOW_THREADS
;
7697 } Py_INCREF(Py_None
);
7698 _resultobj
= Py_None
;
7702 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7703 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7706 wxPyTreeCtrl
* _arg0
;
7707 wxTreeItemId
* _arg1
;
7708 PyObject
* _argo0
= 0;
7709 PyObject
* _argo1
= 0;
7710 char *_kwnames
[] = { "self","item", NULL
};
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7730 wxPy_BEGIN_ALLOW_THREADS
;
7731 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7733 wxPy_END_ALLOW_THREADS
;
7734 } _resultobj
= Py_BuildValue("i",_result
);
7738 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7739 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7741 wxTreeItemId
* _result
;
7742 wxPyTreeCtrl
* _arg0
;
7746 PyObject
* _argo0
= 0;
7748 PyObject
* _obj1
= 0;
7749 char *_kwnames
[] = { "self","point", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7767 if (! wxPoint_helper(_obj1
, &_arg1
))
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7774 wxPy_END_ALLOW_THREADS
;
7775 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7776 _resultobj
= Py_BuildValue("s",_ptemp
);
7779 o
= PyInt_FromLong((long) (*_arg2
));
7780 _resultobj
= t_output_helper(_resultobj
, o
);
7785 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7786 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
* _resultobj
;
7788 wxPyTreeCtrl
* _arg0
;
7789 wxTreeItemId
* _arg1
;
7791 PyObject
* _argo0
= 0;
7792 PyObject
* _argo1
= 0;
7794 PyObject
* _obj2
= 0;
7795 char *_kwnames
[] = { "self","item","col", NULL
};
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7808 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7809 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7816 if (! wxColour_helper(_obj2
, &_arg2
))
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7823 wxPy_END_ALLOW_THREADS
;
7824 } Py_INCREF(Py_None
);
7825 _resultobj
= Py_None
;
7829 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7830 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7832 wxPyTreeCtrl
* _arg0
;
7833 wxTreeItemId
* _arg1
;
7835 PyObject
* _argo0
= 0;
7836 PyObject
* _argo1
= 0;
7838 PyObject
* _obj2
= 0;
7839 char *_kwnames
[] = { "self","item","col", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7852 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7860 if (! wxColour_helper(_obj2
, &_arg2
))
7864 wxPy_BEGIN_ALLOW_THREADS
;
7865 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7867 wxPy_END_ALLOW_THREADS
;
7868 } Py_INCREF(Py_None
);
7869 _resultobj
= Py_None
;
7873 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7874 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7876 wxPyTreeCtrl
* _arg0
;
7877 wxTreeItemId
* _arg1
;
7879 PyObject
* _argo0
= 0;
7880 PyObject
* _argo1
= 0;
7881 PyObject
* _argo2
= 0;
7882 char *_kwnames
[] = { "self","item","font", NULL
};
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7895 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7896 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7902 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7903 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7909 wxPy_BEGIN_ALLOW_THREADS
;
7910 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7912 wxPy_END_ALLOW_THREADS
;
7913 } Py_INCREF(Py_None
);
7914 _resultobj
= Py_None
;
7918 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
7919 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
* _resultobj
;
7921 wxPyTreeCtrl
* _arg0
;
7922 wxTreeItemId
* _arg1
;
7923 int _arg2
= (int ) TRUE
;
7924 PyObject
* _argo0
= 0;
7925 PyObject
* _argo1
= 0;
7926 char *_kwnames
[] = { "self","item","highlight", NULL
};
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
7939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
7946 wxPy_BEGIN_ALLOW_THREADS
;
7947 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
7949 wxPy_END_ALLOW_THREADS
;
7950 } Py_INCREF(Py_None
);
7951 _resultobj
= Py_None
;
7955 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
7957 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
7958 bool doSave
= wxPyRestoreThread();
7959 wxRect
* r
= new wxRect(rect
);
7960 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
7961 wxPySaveThread(doSave
);
7969 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
* _resultobj
;
7972 wxPyTreeCtrl
* _arg0
;
7973 wxTreeItemId
* _arg1
;
7974 int _arg2
= (int ) FALSE
;
7975 PyObject
* _argo0
= 0;
7976 PyObject
* _argo1
= 0;
7977 char *_kwnames
[] = { "self","item","textOnly", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
7990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
7997 wxPy_BEGIN_ALLOW_THREADS
;
7998 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
8000 wxPy_END_ALLOW_THREADS
;
8002 _resultobj
= _result
;
8007 static PyMethodDef controls2cMethods
[] = {
8008 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
8239 * This table is used by the pointer type-checker
8241 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8242 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8243 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8244 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8245 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8246 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8247 { "_wxEvent","_class_wxEvent",0},
8248 { "_class_wxActivateEvent","_wxActivateEvent",0},
8249 { "_signed_long","_long",0},
8250 { "_wxMenuEvent","_class_wxMenuEvent",0},
8251 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8252 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8253 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8254 { "_wxPrintQuality","_wxCoord",0},
8255 { "_wxPrintQuality","_int",0},
8256 { "_wxPrintQuality","_signed_int",0},
8257 { "_wxPrintQuality","_unsigned_int",0},
8258 { "_wxPrintQuality","_wxWindowID",0},
8259 { "_wxPrintQuality","_uint",0},
8260 { "_wxPrintQuality","_EBool",0},
8261 { "_wxPrintQuality","_size_t",0},
8262 { "_wxPrintQuality","_time_t",0},
8263 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8264 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8265 { "_class_wxRegionIterator","_wxRegionIterator",0},
8266 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8267 { "_class_wxMenuBar","_wxMenuBar",0},
8268 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8269 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8270 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8271 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8272 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8273 { "_class_wxEvtHandler","_wxEvtHandler",0},
8274 { "_wxPaintEvent","_class_wxPaintEvent",0},
8275 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8276 { "_wxCursor","_class_wxCursor",0},
8277 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8278 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8279 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8280 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8281 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8282 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8283 { "_wxMask","_class_wxMask",0},
8284 { "_wxPen","_class_wxPen",0},
8285 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8286 { "_byte","_unsigned_char",0},
8287 { "_wxDataObject","_class_wxDataObject",0},
8288 { "_wxStaticBox","_class_wxStaticBox",0},
8289 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8290 { "_wxPyDropSource","_class_wxPyDropSource",0},
8291 { "_wxChoice","_class_wxChoice",0},
8292 { "_wxSlider","_class_wxSlider",0},
8293 { "_long","_unsigned_long",0},
8294 { "_long","_signed_long",0},
8295 { "_wxImageList","_class_wxImageList",0},
8296 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8297 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8298 { "_wxBitmapButton","_class_wxBitmapButton",0},
8299 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8300 { "_class_wxClipboard","_wxClipboard",0},
8301 { "_class_wxGauge","_wxGauge",0},
8302 { "_wxDC","_class_wxDC",0},
8303 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8304 { "_wxListEvent","_class_wxListEvent",0},
8305 { "_wxSpinEvent","_class_wxSpinEvent",0},
8306 { "_size_t","_wxCoord",0},
8307 { "_size_t","_wxPrintQuality",0},
8308 { "_size_t","_time_t",0},
8309 { "_size_t","_unsigned_int",0},
8310 { "_size_t","_int",0},
8311 { "_size_t","_wxWindowID",0},
8312 { "_size_t","_uint",0},
8313 { "_class_wxRealPoint","_wxRealPoint",0},
8314 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8315 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8316 { "_class_wxMenuItem","_wxMenuItem",0},
8317 { "_class_wxPaintEvent","_wxPaintEvent",0},
8318 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8319 { "_wxPanel","_class_wxPanel",0},
8320 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8321 { "_wxCheckBox","_class_wxCheckBox",0},
8322 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8323 { "_wxPyEvent","_class_wxPyEvent",0},
8324 { "_wxTextCtrl","_class_wxTextCtrl",0},
8325 { "_class_wxMask","_wxMask",0},
8326 { "_wxTextDataObject","_class_wxTextDataObject",0},
8327 { "_class_wxKeyEvent","_wxKeyEvent",0},
8328 { "_wxColour","_class_wxColour",0},
8329 { "_class_wxDialog","_wxDialog",0},
8330 { "_class_wxFileDataObject","_wxFileDataObject",0},
8331 { "_wxIdleEvent","_class_wxIdleEvent",0},
8332 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8333 { "_class_wxDataObject","_wxDataObject",0},
8334 { "_wxStaticLine","_class_wxStaticLine",0},
8335 { "_wxBrush","_class_wxBrush",0},
8336 { "_wxDataFormat","_class_wxDataFormat",0},
8337 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8338 { "_wxShowEvent","_class_wxShowEvent",0},
8339 { "_uint","_wxCoord",0},
8340 { "_uint","_wxPrintQuality",0},
8341 { "_uint","_time_t",0},
8342 { "_uint","_size_t",0},
8343 { "_uint","_unsigned_int",0},
8344 { "_uint","_int",0},
8345 { "_uint","_wxWindowID",0},
8346 { "_wxChar","_char",0},
8347 { "_wxPyValidator","_class_wxPyValidator",0},
8348 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8349 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8350 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8351 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8352 { "_class_wxEvent","_wxEvent",0},
8353 { "_wxCheckListBox","_class_wxCheckListBox",0},
8354 { "_wxRect","_class_wxRect",0},
8355 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8356 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8357 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8358 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8359 { "_wxCommandEvent","_class_wxCommandEvent",0},
8360 { "_wxSizeEvent","_class_wxSizeEvent",0},
8361 { "_wxPoint","_class_wxPoint",0},
8362 { "_class_wxButton","_wxButton",0},
8363 { "_wxRadioBox","_class_wxRadioBox",0},
8364 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8365 { "_char","_wxChar",0},
8366 { "_wxBitmap","_class_wxBitmap",0},
8367 { "_wxWindowDC","_class_wxWindowDC",0},
8368 { "_wxTimerEvent","_class_wxTimerEvent",0},
8369 { "_wxScrollBar","_class_wxScrollBar",0},
8370 { "_wxSpinButton","_class_wxSpinButton",0},
8371 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8372 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8373 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8374 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8375 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8376 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8377 { "_class_wxValidator","_wxValidator",0},
8378 { "_class_wxPyEvent","_wxPyEvent",0},
8379 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8380 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8381 { "_wxListItem","_class_wxListItem",0},
8382 { "_wxDropTarget","_class_wxDropTarget",0},
8383 { "_class_wxStaticLine","_wxStaticLine",0},
8384 { "_wxScrollEvent","_class_wxScrollEvent",0},
8385 { "_EBool","_wxCoord",0},
8386 { "_EBool","_wxPrintQuality",0},
8387 { "_EBool","_signed_int",0},
8388 { "_EBool","_int",0},
8389 { "_EBool","_wxWindowID",0},
8390 { "_class_wxRegion","_wxRegion",0},
8391 { "_class_wxDataFormat","_wxDataFormat",0},
8392 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8393 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8394 { "_wxStaticText","_class_wxStaticText",0},
8395 { "_wxFont","_class_wxFont",0},
8396 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8397 { "_wxCloseEvent","_class_wxCloseEvent",0},
8398 { "_unsigned_long","_long",0},
8399 { "_class_wxRect","_wxRect",0},
8400 { "_class_wxDC","_wxDC",0},
8401 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8402 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8403 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8404 { "_class_wxTreeEvent","_wxTreeEvent",0},
8405 { "_wxFocusEvent","_class_wxFocusEvent",0},
8406 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8407 { "_class_wxTimerEvent","_wxTimerEvent",0},
8408 { "_class_wxSpinButton","_wxSpinButton",0},
8409 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8410 { "_class_wxPanel","_wxPanel",0},
8411 { "_class_wxCheckBox","_wxCheckBox",0},
8412 { "_wxComboBox","_class_wxComboBox",0},
8413 { "_wxRadioButton","_class_wxRadioButton",0},
8414 { "_signed_int","_wxCoord",0},
8415 { "_signed_int","_wxPrintQuality",0},
8416 { "_signed_int","_EBool",0},
8417 { "_signed_int","_wxWindowID",0},
8418 { "_signed_int","_int",0},
8419 { "_class_wxTextCtrl","_wxTextCtrl",0},
8420 { "_class_wxListItemAttr","_wxListItemAttr",0},
8421 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8422 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8423 { "_class_wxTextDataObject","_wxTextDataObject",0},
8424 { "_wxMenu","_class_wxMenu",0},
8425 { "_class_wxMoveEvent","_wxMoveEvent",0},
8426 { "_wxListBox","_class_wxListBox",0},
8427 { "_wxScreenDC","_class_wxScreenDC",0},
8428 { "_WXTYPE","_short",0},
8429 { "_WXTYPE","_signed_short",0},
8430 { "_WXTYPE","_unsigned_short",0},
8431 { "_class_wxDropTarget","_wxDropTarget",0},
8432 { "_class_wxBrush","_wxBrush",0},
8433 { "_unsigned_short","_WXTYPE",0},
8434 { "_unsigned_short","_short",0},
8435 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8436 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8437 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8438 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8439 { "_class_wxWindow","_wxWindow",0},
8440 { "_class_wxStaticText","_wxStaticText",0},
8441 { "_class_wxFont","_wxFont",0},
8442 { "_wxClipboard","_class_wxClipboard",0},
8443 { "_class_wxPyValidator","_wxPyValidator",0},
8444 { "_class_wxCloseEvent","_wxCloseEvent",0},
8445 { "_wxBusyInfo","_class_wxBusyInfo",0},
8446 { "_wxFontList","_class_wxFontList",0},
8447 { "_class_wxMenuEvent","_wxMenuEvent",0},
8448 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8449 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8450 { "_wxClientDC","_class_wxClientDC",0},
8451 { "_wxMouseEvent","_class_wxMouseEvent",0},
8452 { "_wxListCtrl","_class_wxListCtrl",0},
8453 { "_class_wxPoint","_wxPoint",0},
8454 { "_wxRealPoint","_class_wxRealPoint",0},
8455 { "_class_wxRadioBox","_wxRadioBox",0},
8456 { "_signed_short","_WXTYPE",0},
8457 { "_signed_short","_short",0},
8458 { "_wxMemoryDC","_class_wxMemoryDC",0},
8459 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8460 { "_wxPaintDC","_class_wxPaintDC",0},
8461 { "_class_wxWindowDC","_wxWindowDC",0},
8462 { "_class_wxFocusEvent","_wxFocusEvent",0},
8463 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8464 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8465 { "_class_wxCursor","_wxCursor",0},
8466 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8467 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8468 { "_wxTreeItemId","_class_wxTreeItemId",0},
8469 { "_unsigned_char","_byte",0},
8470 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8471 { "_class_wxMenu","_wxMenu",0},
8472 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8473 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8474 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8475 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8476 { "_wxControl","_class_wxControl",0},
8477 { "_class_wxListBox","_wxListBox",0},
8478 { "_unsigned_int","_wxCoord",0},
8479 { "_unsigned_int","_wxPrintQuality",0},
8480 { "_unsigned_int","_time_t",0},
8481 { "_unsigned_int","_size_t",0},
8482 { "_unsigned_int","_uint",0},
8483 { "_unsigned_int","_wxWindowID",0},
8484 { "_unsigned_int","_int",0},
8485 { "_wxIcon","_class_wxIcon",0},
8486 { "_wxDialog","_class_wxDialog",0},
8487 { "_class_wxListItem","_wxListItem",0},
8488 { "_class_wxPen","_wxPen",0},
8489 { "_short","_WXTYPE",0},
8490 { "_short","_unsigned_short",0},
8491 { "_short","_signed_short",0},
8492 { "_class_wxStaticBox","_wxStaticBox",0},
8493 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8494 { "_class_wxPyDropSource","_wxPyDropSource",0},
8495 { "_class_wxScrollEvent","_wxScrollEvent",0},
8496 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8497 { "_class_wxChoice","_wxChoice",0},
8498 { "_class_wxSlider","_wxSlider",0},
8499 { "_class_wxImageList","_wxImageList",0},
8500 { "_class_wxBitmapButton","_wxBitmapButton",0},
8501 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8502 { "_wxWindowID","_wxCoord",0},
8503 { "_wxWindowID","_wxPrintQuality",0},
8504 { "_wxWindowID","_time_t",0},
8505 { "_wxWindowID","_size_t",0},
8506 { "_wxWindowID","_EBool",0},
8507 { "_wxWindowID","_uint",0},
8508 { "_wxWindowID","_int",0},
8509 { "_wxWindowID","_signed_int",0},
8510 { "_wxWindowID","_unsigned_int",0},
8511 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8512 { "_int","_wxCoord",0},
8513 { "_int","_wxPrintQuality",0},
8514 { "_int","_time_t",0},
8515 { "_int","_size_t",0},
8516 { "_int","_EBool",0},
8517 { "_int","_uint",0},
8518 { "_int","_wxWindowID",0},
8519 { "_int","_unsigned_int",0},
8520 { "_int","_signed_int",0},
8521 { "_class_wxMouseEvent","_wxMouseEvent",0},
8522 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8523 { "_class_wxListEvent","_wxListEvent",0},
8524 { "_class_wxSpinEvent","_wxSpinEvent",0},
8525 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8526 { "_time_t","_wxCoord",0},
8527 { "_time_t","_wxPrintQuality",0},
8528 { "_time_t","_unsigned_int",0},
8529 { "_time_t","_int",0},
8530 { "_time_t","_wxWindowID",0},
8531 { "_time_t","_uint",0},
8532 { "_time_t","_size_t",0},
8533 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8534 { "_wxButton","_class_wxButton",0},
8535 { "_wxSize","_class_wxSize",0},
8536 { "_wxRegionIterator","_class_wxRegionIterator",0},
8537 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8538 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8539 { "_class_wxPaintDC","_wxPaintDC",0},
8540 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8541 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8542 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8543 { "_class_wxComboBox","_wxComboBox",0},
8544 { "_class_wxRadioButton","_wxRadioButton",0},
8545 { "_wxValidator","_class_wxValidator",0},
8546 { "_class_wxTreeItemId","_wxTreeItemId",0},
8547 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8548 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8549 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8550 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8551 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8552 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8553 { "_class_wxControl","_wxControl",0},
8554 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8555 { "_class_wxIcon","_wxIcon",0},
8556 { "_class_wxColour","_wxColour",0},
8557 { "_class_wxScreenDC","_wxScreenDC",0},
8558 { "_wxPalette","_class_wxPalette",0},
8559 { "_class_wxIdleEvent","_wxIdleEvent",0},
8560 { "_wxCoord","_int",0},
8561 { "_wxCoord","_signed_int",0},
8562 { "_wxCoord","_unsigned_int",0},
8563 { "_wxCoord","_wxWindowID",0},
8564 { "_wxCoord","_uint",0},
8565 { "_wxCoord","_EBool",0},
8566 { "_wxCoord","_size_t",0},
8567 { "_wxCoord","_time_t",0},
8568 { "_wxCoord","_wxPrintQuality",0},
8569 { "_wxEraseEvent","_class_wxEraseEvent",0},
8570 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8571 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8572 { "_wxRegion","_class_wxRegion",0},
8573 { "_class_wxShowEvent","_wxShowEvent",0},
8574 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8575 { "_wxActivateEvent","_class_wxActivateEvent",0},
8576 { "_wxGauge","_class_wxGauge",0},
8577 { "_class_wxCheckListBox","_wxCheckListBox",0},
8578 { "_class_wxBusyInfo","_wxBusyInfo",0},
8579 { "_class_wxFontList","_wxFontList",0},
8580 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8581 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8582 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8583 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8584 { "_class_wxCommandEvent","_wxCommandEvent",0},
8585 { "_class_wxClientDC","_wxClientDC",0},
8586 { "_class_wxSizeEvent","_wxSizeEvent",0},
8587 { "_class_wxListCtrl","_wxListCtrl",0},
8588 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8589 { "_class_wxSize","_wxSize",0},
8590 { "_class_wxBitmap","_wxBitmap",0},
8591 { "_class_wxMemoryDC","_wxMemoryDC",0},
8592 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8593 { "_wxMenuBar","_class_wxMenuBar",0},
8594 { "_wxTreeEvent","_class_wxTreeEvent",0},
8595 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8596 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8597 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8598 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8599 { "_wxEvtHandler","_class_wxEvtHandler",0},
8600 { "_wxMenuItem","_class_wxMenuItem",0},
8601 { "_class_wxScrollBar","_wxScrollBar",0},
8602 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8603 { "_wxListItemAttr","_class_wxListItemAttr",0},
8604 { "_wxKeyEvent","_class_wxKeyEvent",0},
8605 { "_wxMoveEvent","_class_wxMoveEvent",0},
8606 { "_class_wxPalette","_wxPalette",0},
8607 { "_wxFileDataObject","_class_wxFileDataObject",0},
8608 { "_class_wxEraseEvent","_wxEraseEvent",0},
8609 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8610 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8611 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8612 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8613 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8614 { "_wxWindow","_class_wxWindow",0},
8615 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8618 static PyObject
*SWIG_globals
;
8622 SWIGEXPORT(void) initcontrols2c() {
8624 SWIG_globals
= SWIG_newvarlink();
8625 m
= Py_InitModule("controls2c", controls2cMethods
);
8626 d
= PyModule_GetDict(m
);
8627 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8628 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8629 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8630 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8631 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8632 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8633 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8634 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8635 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8636 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8637 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8638 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8639 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8640 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8641 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8642 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8643 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8644 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8645 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8646 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8647 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8648 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8649 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8650 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8651 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8652 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8653 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8654 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8655 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8656 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8657 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8658 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8659 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8660 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8661 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8662 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8663 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8664 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8665 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8666 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8667 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8668 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8669 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8670 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
8671 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
8672 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
8673 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
8674 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
8675 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
8676 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
8677 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
8678 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
8679 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
8680 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
8681 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
8682 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
8683 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
8684 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
8685 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
8686 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8687 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8688 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8689 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8690 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8691 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8692 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8693 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8694 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8695 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8696 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8697 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8698 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8699 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8700 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8701 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8702 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8703 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8704 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8705 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
8706 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
8707 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
8708 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
8709 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
8710 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
8711 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
8712 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
8713 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
8714 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
8715 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
8716 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
8717 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
8718 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
8719 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
8720 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
8721 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
8724 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8725 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);