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 810)
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
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcontrols2c
55 #define SWIG_name "controls2c"
61 #include <wx/listctrl.h>
62 #include <wx/treectrl.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
112 extern wxValidator wxPyDefaultValidator
;
114 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
116 PyObject
* func
= (PyObject
*)funcPtr
;
117 bool doSave
= wxPyRestoreThread();
119 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
120 PyObject
* result
= PyEval_CallObject(func
, args
);
123 retval
= PyInt_AsLong(result
);
127 wxPySaveThread(doSave
);
132 class wxPyTreeItemData
: public wxTreeItemData
{
134 wxPyTreeItemData(PyObject
* obj
= NULL
) {
141 ~wxPyTreeItemData() {
142 bool doSave
= wxPyRestoreThread();
144 wxPySaveThread(doSave
);
147 PyObject
* GetData() {
152 void SetData(PyObject
* obj
) {
153 bool doSave
= wxPyRestoreThread();
155 wxPySaveThread(doSave
);
163 class wxPyTreeCtrl
: public wxTreeCtrl
{
165 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
169 const wxValidator
& validator
,
171 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
174 int OnCompareItems(const wxTreeItemId
& item1
,
175 const wxTreeItemId
& item2
) {
177 bool doSave
= wxPyRestoreThread();
178 if (m_myInst
.findCallback("OnCompareItems"))
179 rval
= m_myInst
.callCallback(Py_BuildValue(
181 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
182 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
184 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
185 wxPySaveThread(doSave
);
194 #define new_wxListItemAttr() (new wxListItemAttr())
195 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
197 wxListItemAttr
* _result
;
198 char *_kwnames
[] = { NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItemAttr",_kwnames
))
205 wxPy_BEGIN_ALLOW_THREADS
;
206 _result
= (wxListItemAttr
*)new_wxListItemAttr();
208 wxPy_END_ALLOW_THREADS
;
210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
211 _resultobj
= Py_BuildValue("s",_ptemp
);
214 _resultobj
= Py_None
;
219 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
220 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
221 PyObject
* _resultobj
;
222 wxListItemAttr
* _arg0
;
224 PyObject
* _argo0
= 0;
226 PyObject
* _obj1
= 0;
227 char *_kwnames
[] = { "self","colText", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
241 if (! wxColour_helper(_obj1
, &_arg1
))
245 wxPy_BEGIN_ALLOW_THREADS
;
246 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
248 wxPy_END_ALLOW_THREADS
;
249 } Py_INCREF(Py_None
);
250 _resultobj
= Py_None
;
254 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
255 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
256 PyObject
* _resultobj
;
257 wxListItemAttr
* _arg0
;
259 PyObject
* _argo0
= 0;
261 PyObject
* _obj1
= 0;
262 char *_kwnames
[] = { "self","colBack", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
276 if (! wxColour_helper(_obj1
, &_arg1
))
280 wxPy_BEGIN_ALLOW_THREADS
;
281 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
283 wxPy_END_ALLOW_THREADS
;
284 } Py_INCREF(Py_None
);
285 _resultobj
= Py_None
;
289 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
290 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
292 wxListItemAttr
* _arg0
;
294 PyObject
* _argo0
= 0;
295 PyObject
* _argo1
= 0;
296 char *_kwnames
[] = { "self","font", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
316 wxPy_BEGIN_ALLOW_THREADS
;
317 wxListItemAttr_SetFont(_arg0
,*_arg1
);
319 wxPy_END_ALLOW_THREADS
;
320 } Py_INCREF(Py_None
);
321 _resultobj
= Py_None
;
325 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
326 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
329 wxListItemAttr
* _arg0
;
330 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self", NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
344 wxPy_BEGIN_ALLOW_THREADS
;
345 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
347 wxPy_END_ALLOW_THREADS
;
348 } _resultobj
= Py_BuildValue("i",_result
);
352 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
353 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
356 wxListItemAttr
* _arg0
;
357 PyObject
* _argo0
= 0;
358 char *_kwnames
[] = { "self", NULL
};
361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
371 wxPy_BEGIN_ALLOW_THREADS
;
372 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
374 wxPy_END_ALLOW_THREADS
;
375 } _resultobj
= Py_BuildValue("i",_result
);
379 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
380 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
383 wxListItemAttr
* _arg0
;
384 PyObject
* _argo0
= 0;
385 char *_kwnames
[] = { "self", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
398 wxPy_BEGIN_ALLOW_THREADS
;
399 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
401 wxPy_END_ALLOW_THREADS
;
402 } _resultobj
= Py_BuildValue("i",_result
);
406 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
407 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
410 wxListItemAttr
* _arg0
;
411 PyObject
* _argo0
= 0;
412 char *_kwnames
[] = { "self", NULL
};
416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
426 wxPy_BEGIN_ALLOW_THREADS
;
427 const wxColour
& _result_ref
= wxListItemAttr_GetTextColour(_arg0
);
428 _result
= (wxColour
*) &_result_ref
;
430 wxPy_END_ALLOW_THREADS
;
432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
433 _resultobj
= Py_BuildValue("s",_ptemp
);
436 _resultobj
= Py_None
;
441 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
442 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
445 wxListItemAttr
* _arg0
;
446 PyObject
* _argo0
= 0;
447 char *_kwnames
[] = { "self", NULL
};
451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
461 wxPy_BEGIN_ALLOW_THREADS
;
462 const wxColour
& _result_ref
= wxListItemAttr_GetBackgroundColour(_arg0
);
463 _result
= (wxColour
*) &_result_ref
;
465 wxPy_END_ALLOW_THREADS
;
467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
468 _resultobj
= Py_BuildValue("s",_ptemp
);
471 _resultobj
= Py_None
;
476 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
477 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxListItemAttr
* _arg0
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
496 wxPy_BEGIN_ALLOW_THREADS
;
497 const wxFont
& _result_ref
= wxListItemAttr_GetFont(_arg0
);
498 _result
= (wxFont
*) &_result_ref
;
500 wxPy_END_ALLOW_THREADS
;
502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
503 _resultobj
= Py_BuildValue("s",_ptemp
);
506 _resultobj
= Py_None
;
511 #define new_wxListItem() (new wxListItem())
512 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
514 wxListItem
* _result
;
515 char *_kwnames
[] = { NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
522 wxPy_BEGIN_ALLOW_THREADS
;
523 _result
= (wxListItem
*)new_wxListItem();
525 wxPy_END_ALLOW_THREADS
;
527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
528 _resultobj
= Py_BuildValue("s",_ptemp
);
531 _resultobj
= Py_None
;
536 #define delete_wxListItem(_swigobj) (delete _swigobj)
537 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
540 PyObject
* _argo0
= 0;
541 char *_kwnames
[] = { "self", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
554 wxPy_BEGIN_ALLOW_THREADS
;
555 delete_wxListItem(_arg0
);
557 wxPy_END_ALLOW_THREADS
;
558 } Py_INCREF(Py_None
);
559 _resultobj
= Py_None
;
563 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
564 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
567 PyObject
* _argo0
= 0;
568 char *_kwnames
[] = { "self", NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
581 wxPy_BEGIN_ALLOW_THREADS
;
582 wxListItem_Clear(_arg0
);
584 wxPy_END_ALLOW_THREADS
;
585 } Py_INCREF(Py_None
);
586 _resultobj
= Py_None
;
590 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
591 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "self", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
608 wxPy_BEGIN_ALLOW_THREADS
;
609 wxListItem_ClearAttributes(_arg0
);
611 wxPy_END_ALLOW_THREADS
;
612 } Py_INCREF(Py_None
);
613 _resultobj
= Py_None
;
617 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
618 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
622 PyObject
* _argo0
= 0;
623 char *_kwnames
[] = { "self","mask", NULL
};
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
636 wxPy_BEGIN_ALLOW_THREADS
;
637 wxListItem_SetMask(_arg0
,_arg1
);
639 wxPy_END_ALLOW_THREADS
;
640 } Py_INCREF(Py_None
);
641 _resultobj
= Py_None
;
645 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
646 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
650 PyObject
* _argo0
= 0;
651 char *_kwnames
[] = { "self","id", NULL
};
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 wxListItem_SetId(_arg0
,_arg1
);
667 wxPy_END_ALLOW_THREADS
;
668 } Py_INCREF(Py_None
);
669 _resultobj
= Py_None
;
673 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
674 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self","col", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 wxListItem_SetColumn(_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
702 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
706 PyObject
* _argo0
= 0;
707 char *_kwnames
[] = { "self","state", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
720 wxPy_BEGIN_ALLOW_THREADS
;
721 wxListItem_SetState(_arg0
,_arg1
);
723 wxPy_END_ALLOW_THREADS
;
724 } Py_INCREF(Py_None
);
725 _resultobj
= Py_None
;
729 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
730 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
734 PyObject
* _argo0
= 0;
735 char *_kwnames
[] = { "self","stateMask", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
748 wxPy_BEGIN_ALLOW_THREADS
;
749 wxListItem_SetStateMask(_arg0
,_arg1
);
751 wxPy_END_ALLOW_THREADS
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
758 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 PyObject
* _obj1
= 0;
764 char *_kwnames
[] = { "self","text", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
777 if (!PyString_Check(_obj1
)) {
778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
781 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
784 wxPy_BEGIN_ALLOW_THREADS
;
785 wxListItem_SetText(_arg0
,*_arg1
);
787 wxPy_END_ALLOW_THREADS
;
788 } Py_INCREF(Py_None
);
789 _resultobj
= Py_None
;
797 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
798 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
802 PyObject
* _argo0
= 0;
803 char *_kwnames
[] = { "self","image", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
816 wxPy_BEGIN_ALLOW_THREADS
;
817 wxListItem_SetImage(_arg0
,_arg1
);
819 wxPy_END_ALLOW_THREADS
;
820 } Py_INCREF(Py_None
);
821 _resultobj
= Py_None
;
825 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
826 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self","data", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 wxListItem_SetData(_arg0
,_arg1
);
847 wxPy_END_ALLOW_THREADS
;
848 } Py_INCREF(Py_None
);
849 _resultobj
= Py_None
;
853 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
854 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
858 PyObject
* _argo0
= 0;
859 char *_kwnames
[] = { "self","width", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
872 wxPy_BEGIN_ALLOW_THREADS
;
873 wxListItem_SetWidth(_arg0
,_arg1
);
875 wxPy_END_ALLOW_THREADS
;
876 } Py_INCREF(Py_None
);
877 _resultobj
= Py_None
;
881 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
882 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
885 wxListColumnFormat _arg1
;
886 PyObject
* _argo0
= 0;
887 char *_kwnames
[] = { "self","align", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
900 wxPy_BEGIN_ALLOW_THREADS
;
901 wxListItem_SetAlign(_arg0
,_arg1
);
903 wxPy_END_ALLOW_THREADS
;
904 } Py_INCREF(Py_None
);
905 _resultobj
= Py_None
;
909 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
910 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
914 PyObject
* _argo0
= 0;
916 PyObject
* _obj1
= 0;
917 char *_kwnames
[] = { "self","colText", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
931 if (! wxColour_helper(_obj1
, &_arg1
))
935 wxPy_BEGIN_ALLOW_THREADS
;
936 wxListItem_SetTextColour(_arg0
,*_arg1
);
938 wxPy_END_ALLOW_THREADS
;
939 } Py_INCREF(Py_None
);
940 _resultobj
= Py_None
;
944 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
945 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
949 PyObject
* _argo0
= 0;
951 PyObject
* _obj1
= 0;
952 char *_kwnames
[] = { "self","colBack", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
966 if (! wxColour_helper(_obj1
, &_arg1
))
970 wxPy_BEGIN_ALLOW_THREADS
;
971 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
973 wxPy_END_ALLOW_THREADS
;
974 } Py_INCREF(Py_None
);
975 _resultobj
= Py_None
;
979 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
980 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
984 PyObject
* _argo0
= 0;
985 PyObject
* _argo1
= 0;
986 char *_kwnames
[] = { "self","font", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 wxListItem_SetFont(_arg0
,*_arg1
);
1009 wxPy_END_ALLOW_THREADS
;
1010 } Py_INCREF(Py_None
);
1011 _resultobj
= Py_None
;
1015 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1016 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1020 PyObject
* _argo0
= 0;
1021 char *_kwnames
[] = { "self", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 _result
= (long )wxListItem_GetMask(_arg0
);
1037 wxPy_END_ALLOW_THREADS
;
1038 } _resultobj
= Py_BuildValue("l",_result
);
1042 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1043 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1047 PyObject
* _argo0
= 0;
1048 char *_kwnames
[] = { "self", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= (long )wxListItem_GetId(_arg0
);
1064 wxPy_END_ALLOW_THREADS
;
1065 } _resultobj
= Py_BuildValue("l",_result
);
1069 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1070 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1074 PyObject
* _argo0
= 0;
1075 char *_kwnames
[] = { "self", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= (int )wxListItem_GetColumn(_arg0
);
1091 wxPy_END_ALLOW_THREADS
;
1092 } _resultobj
= Py_BuildValue("i",_result
);
1096 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1097 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1101 PyObject
* _argo0
= 0;
1102 char *_kwnames
[] = { "self", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= (long )wxListItem_GetState(_arg0
);
1118 wxPy_END_ALLOW_THREADS
;
1119 } _resultobj
= Py_BuildValue("l",_result
);
1123 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1124 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1144 _result
= (wxString
*) &_result_ref
;
1146 wxPy_END_ALLOW_THREADS
;
1148 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1153 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1154 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1158 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "self", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 _result
= (int )wxListItem_GetImage(_arg0
);
1175 wxPy_END_ALLOW_THREADS
;
1176 } _resultobj
= Py_BuildValue("i",_result
);
1180 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1181 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1185 PyObject
* _argo0
= 0;
1186 char *_kwnames
[] = { "self", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 _result
= (long )wxListItem_GetData(_arg0
);
1202 wxPy_END_ALLOW_THREADS
;
1203 } _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1208 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1212 PyObject
* _argo0
= 0;
1213 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1226 wxPy_BEGIN_ALLOW_THREADS
;
1227 _result
= (int )wxListItem_GetWidth(_arg0
);
1229 wxPy_END_ALLOW_THREADS
;
1230 } _resultobj
= Py_BuildValue("i",_result
);
1234 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1235 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1237 wxListColumnFormat _result
;
1239 PyObject
* _argo0
= 0;
1240 char *_kwnames
[] = { "self", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1256 wxPy_END_ALLOW_THREADS
;
1257 } _resultobj
= Py_BuildValue("i",_result
);
1261 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1262 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1264 wxListItemAttr
* _result
;
1266 PyObject
* _argo0
= 0;
1267 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1284 wxPy_END_ALLOW_THREADS
;
1286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1287 _resultobj
= Py_BuildValue("s",_ptemp
);
1290 _resultobj
= Py_None
;
1295 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1296 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1300 PyObject
* _argo0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1314 wxPy_BEGIN_ALLOW_THREADS
;
1315 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1317 wxPy_END_ALLOW_THREADS
;
1318 } _resultobj
= Py_BuildValue("i",_result
);
1322 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1323 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1327 PyObject
* _argo0
= 0;
1328 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1345 wxPy_END_ALLOW_THREADS
;
1346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1347 _resultobj
= Py_BuildValue("s",_ptemp
);
1351 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1352 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1356 PyObject
* _argo0
= 0;
1357 char *_kwnames
[] = { "self", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1371 wxPy_BEGIN_ALLOW_THREADS
;
1372 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1374 wxPy_END_ALLOW_THREADS
;
1375 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1376 _resultobj
= Py_BuildValue("s",_ptemp
);
1380 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1381 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1385 PyObject
* _argo0
= 0;
1386 char *_kwnames
[] = { "self", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1403 wxPy_END_ALLOW_THREADS
;
1404 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1405 _resultobj
= Py_BuildValue("s",_ptemp
);
1409 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1410 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1415 PyObject
* _argo0
= 0;
1416 char *_kwnames
[] = { "self","m_mask", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1432 wxPy_END_ALLOW_THREADS
;
1433 } _resultobj
= Py_BuildValue("l",_result
);
1437 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1438 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1456 wxPy_BEGIN_ALLOW_THREADS
;
1457 _result
= (long )wxListItem_m_mask_get(_arg0
);
1459 wxPy_END_ALLOW_THREADS
;
1460 } _resultobj
= Py_BuildValue("l",_result
);
1464 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1465 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
* _resultobj
;
1470 PyObject
* _argo0
= 0;
1471 char *_kwnames
[] = { "self","m_itemId", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } _resultobj
= Py_BuildValue("l",_result
);
1492 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1493 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1514 wxPy_END_ALLOW_THREADS
;
1515 } _resultobj
= Py_BuildValue("l",_result
);
1519 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1520 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
* _resultobj
;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "self","m_col", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } _resultobj
= Py_BuildValue("i",_result
);
1547 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1548 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1552 PyObject
* _argo0
= 0;
1553 char *_kwnames
[] = { "self", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1566 wxPy_BEGIN_ALLOW_THREADS
;
1567 _result
= (int )wxListItem_m_col_get(_arg0
);
1569 wxPy_END_ALLOW_THREADS
;
1570 } _resultobj
= Py_BuildValue("i",_result
);
1574 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1575 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self","m_state", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } _resultobj
= Py_BuildValue("l",_result
);
1602 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1603 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= (long )wxListItem_m_state_get(_arg0
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } _resultobj
= Py_BuildValue("l",_result
);
1629 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1630 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1635 PyObject
* _argo0
= 0;
1636 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } _resultobj
= Py_BuildValue("l",_result
);
1657 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1658 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1662 PyObject
* _argo0
= 0;
1663 char *_kwnames
[] = { "self", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1679 wxPy_END_ALLOW_THREADS
;
1680 } _resultobj
= Py_BuildValue("l",_result
);
1684 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1685 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1690 PyObject
* _argo0
= 0;
1691 PyObject
* _obj1
= 0;
1692 char *_kwnames
[] = { "self","m_text", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1705 if (!PyString_Check(_obj1
)) {
1706 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1709 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1712 wxPy_BEGIN_ALLOW_THREADS
;
1713 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1715 wxPy_END_ALLOW_THREADS
;
1717 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1726 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1727 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1731 PyObject
* _argo0
= 0;
1732 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1745 wxPy_BEGIN_ALLOW_THREADS
;
1746 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1748 wxPy_END_ALLOW_THREADS
;
1750 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1755 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1756 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self","m_image", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1778 wxPy_END_ALLOW_THREADS
;
1779 } _resultobj
= Py_BuildValue("i",_result
);
1783 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1784 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= (int )wxListItem_m_image_get(_arg0
);
1805 wxPy_END_ALLOW_THREADS
;
1806 } _resultobj
= Py_BuildValue("i",_result
);
1810 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1811 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self","m_data", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } _resultobj
= Py_BuildValue("l",_result
);
1838 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1839 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 _result
= (long )wxListItem_m_data_get(_arg0
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } _resultobj
= Py_BuildValue("l",_result
);
1865 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1866 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1871 PyObject
* _argo0
= 0;
1872 char *_kwnames
[] = { "self","m_format", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
1894 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 char *_kwnames
[] = { "self", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
1905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
1912 wxPy_BEGIN_ALLOW_THREADS
;
1913 _result
= (int )wxListItem_m_format_get(_arg0
);
1915 wxPy_END_ALLOW_THREADS
;
1916 } _resultobj
= Py_BuildValue("i",_result
);
1920 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
1921 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","m_width", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
1943 wxPy_END_ALLOW_THREADS
;
1944 } _resultobj
= Py_BuildValue("i",_result
);
1948 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
1949 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1953 PyObject
* _argo0
= 0;
1954 char *_kwnames
[] = { "self", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (int )wxListItem_m_width_get(_arg0
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } _resultobj
= Py_BuildValue("i",_result
);
1975 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
1977 wxNotifyEvent
*dest
;
1978 src
= (wxListEvent
*) ptr
;
1979 dest
= (wxNotifyEvent
*) src
;
1980 return (void *) dest
;
1983 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
1985 wxCommandEvent
*dest
;
1986 src
= (wxListEvent
*) ptr
;
1987 dest
= (wxCommandEvent
*) src
;
1988 return (void *) dest
;
1991 static void *SwigwxListEventTowxEvent(void *ptr
) {
1994 src
= (wxListEvent
*) ptr
;
1995 dest
= (wxEvent
*) src
;
1996 return (void *) dest
;
1999 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2000 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 wxListEvent
* _arg0
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self","m_code", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2022 wxPy_END_ALLOW_THREADS
;
2023 } _resultobj
= Py_BuildValue("i",_result
);
2027 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2028 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 wxListEvent
* _arg0
;
2032 PyObject
* _argo0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2046 wxPy_BEGIN_ALLOW_THREADS
;
2047 _result
= (int )wxListEvent_m_code_get(_arg0
);
2049 wxPy_END_ALLOW_THREADS
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2055 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2058 wxListEvent
* _arg0
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2077 wxPy_END_ALLOW_THREADS
;
2078 } _resultobj
= Py_BuildValue("l",_result
);
2082 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2083 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2086 wxListEvent
* _arg0
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } _resultobj
= Py_BuildValue("l",_result
);
2109 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2110 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2113 wxListEvent
* _arg0
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2132 wxPy_END_ALLOW_THREADS
;
2133 } _resultobj
= Py_BuildValue("l",_result
);
2137 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2138 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 wxListEvent
* _arg0
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } _resultobj
= Py_BuildValue("l",_result
);
2164 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2165 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2168 wxListEvent
* _arg0
;
2170 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self","m_col", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2193 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2196 wxListEvent
* _arg0
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (int )wxListEvent_m_col_get(_arg0
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval)
2220 static PyObject
*_wrap_wxListEvent_m_cancelled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxListEvent
* _arg0
;
2225 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self","m_cancelled", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_cancelled_set",_kwnames
,&_argo0
,&tempbool1
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p.");
2239 _arg1
= (bool ) tempbool1
;
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= (bool )wxListEvent_m_cancelled_set(_arg0
,_arg1
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled)
2250 static PyObject
*_wrap_wxListEvent_m_cancelled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2253 wxListEvent
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_cancelled_get",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (bool )wxListEvent_m_cancelled_get(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2277 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2280 wxListEvent
* _arg0
;
2282 PyObject
* _argo0
= 0;
2284 PyObject
* _obj1
= 0;
2285 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2300 if (! wxPoint_helper(_obj1
, &_arg1
))
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2307 wxPy_END_ALLOW_THREADS
;
2309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2310 _resultobj
= Py_BuildValue("s",_ptemp
);
2313 _resultobj
= Py_None
;
2318 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2319 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2322 wxListEvent
* _arg0
;
2323 PyObject
* _argo0
= 0;
2324 char *_kwnames
[] = { "self", NULL
};
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2338 wxPy_BEGIN_ALLOW_THREADS
;
2339 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2341 wxPy_END_ALLOW_THREADS
;
2343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2344 _resultobj
= Py_BuildValue("s",_ptemp
);
2347 _resultobj
= Py_None
;
2352 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2353 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2355 wxListItem
* _result
;
2356 wxListEvent
* _arg0
;
2358 PyObject
* _argo0
= 0;
2359 PyObject
* _argo1
= 0;
2360 char *_kwnames
[] = { "self","m_item", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2384 wxPy_END_ALLOW_THREADS
;
2386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2387 _resultobj
= Py_BuildValue("s",_ptemp
);
2390 _resultobj
= Py_None
;
2395 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2396 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2398 wxListItem
* _result
;
2399 wxListEvent
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2415 wxPy_BEGIN_ALLOW_THREADS
;
2416 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2418 wxPy_END_ALLOW_THREADS
;
2420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2424 _resultobj
= Py_None
;
2429 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2430 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2433 wxListEvent
* _arg0
;
2434 PyObject
* _argo0
= 0;
2435 char *_kwnames
[] = { "self", NULL
};
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 _result
= (int )wxListEvent_GetCode(_arg0
);
2451 wxPy_END_ALLOW_THREADS
;
2452 } _resultobj
= Py_BuildValue("i",_result
);
2456 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2457 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2460 wxListEvent
* _arg0
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (long )wxListEvent_GetIndex(_arg0
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("l",_result
);
2483 #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex())
2484 static PyObject
*_wrap_wxListEvent_GetOldIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2487 wxListEvent
* _arg0
;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldIndex",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p.");
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 _result
= (long )wxListEvent_GetOldIndex(_arg0
);
2505 wxPy_END_ALLOW_THREADS
;
2506 } _resultobj
= Py_BuildValue("l",_result
);
2510 #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2511 static PyObject
*_wrap_wxListEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2514 wxListEvent
* _arg0
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetOldItem",_kwnames
,&_argo0
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p.");
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 _result
= (long )wxListEvent_GetOldItem(_arg0
);
2532 wxPy_END_ALLOW_THREADS
;
2533 } _resultobj
= Py_BuildValue("l",_result
);
2537 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2538 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2541 wxListEvent
* _arg0
;
2542 PyObject
* _argo0
= 0;
2543 char *_kwnames
[] = { "self", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (int )wxListEvent_GetColumn(_arg0
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } _resultobj
= Py_BuildValue("i",_result
);
2564 #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled())
2565 static PyObject
*_wrap_wxListEvent_Cancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2568 wxListEvent
* _arg0
;
2569 PyObject
* _argo0
= 0;
2570 char *_kwnames
[] = { "self", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_Cancelled",_kwnames
,&_argo0
))
2576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p.");
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 _result
= (bool )wxListEvent_Cancelled(_arg0
);
2586 wxPy_END_ALLOW_THREADS
;
2587 } _resultobj
= Py_BuildValue("i",_result
);
2591 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2592 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2595 wxListEvent
* _arg0
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2614 wxPy_END_ALLOW_THREADS
;
2615 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2616 _resultobj
= Py_BuildValue("s",_ptemp
);
2620 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2621 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2624 wxListEvent
* _arg0
;
2625 PyObject
* _argo0
= 0;
2626 char *_kwnames
[] = { "self", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2641 _result
= (wxString
*) &_result_ref
;
2643 wxPy_END_ALLOW_THREADS
;
2645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2650 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2651 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2654 wxListEvent
* _arg0
;
2655 PyObject
* _argo0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2671 _result
= (wxString
*) &_result_ref
;
2673 wxPy_END_ALLOW_THREADS
;
2675 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2680 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2681 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2684 wxListEvent
* _arg0
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (int )wxListEvent_GetImage(_arg0
);
2702 wxPy_END_ALLOW_THREADS
;
2703 } _resultobj
= Py_BuildValue("i",_result
);
2707 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2708 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2711 wxListEvent
* _arg0
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 _result
= (long )wxListEvent_GetData(_arg0
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } _resultobj
= Py_BuildValue("l",_result
);
2734 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2735 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2738 wxListEvent
* _arg0
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2753 wxPy_BEGIN_ALLOW_THREADS
;
2754 _result
= (long )wxListEvent_GetMask(_arg0
);
2756 wxPy_END_ALLOW_THREADS
;
2757 } _resultobj
= Py_BuildValue("l",_result
);
2761 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2762 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxListItem
* _result
;
2765 wxListEvent
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2783 _result
= (wxListItem
*) &_result_ref
;
2785 wxPy_END_ALLOW_THREADS
;
2787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
2788 _resultobj
= Py_BuildValue("s",_ptemp
);
2791 _resultobj
= Py_None
;
2796 static void *SwigwxListCtrlTowxControl(void *ptr
) {
2799 src
= (wxListCtrl
*) ptr
;
2800 dest
= (wxControl
*) src
;
2801 return (void *) dest
;
2804 static void *SwigwxListCtrlTowxWindow(void *ptr
) {
2807 src
= (wxListCtrl
*) ptr
;
2808 dest
= (wxWindow
*) src
;
2809 return (void *) dest
;
2812 static void *SwigwxListCtrlTowxEvtHandler(void *ptr
) {
2815 src
= (wxListCtrl
*) ptr
;
2816 dest
= (wxEvtHandler
*) src
;
2817 return (void *) dest
;
2820 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2821 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2823 wxListCtrl
* _result
;
2826 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2827 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2828 long _arg4
= (long ) wxLC_ICON
;
2829 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
2830 char * _arg6
= (char *) "listCtrl";
2831 PyObject
* _argo0
= 0;
2833 PyObject
* _obj2
= 0;
2835 PyObject
* _obj3
= 0;
2836 PyObject
* _argo5
= 0;
2837 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2853 if (! wxPoint_helper(_obj2
, &_arg2
))
2859 if (! wxSize_helper(_obj3
, &_arg3
))
2863 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 _result
= (wxListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2873 wxPy_END_ALLOW_THREADS
;
2875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
2876 _resultobj
= Py_BuildValue("s",_ptemp
);
2879 _resultobj
= Py_None
;
2884 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
2885 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2889 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self","flag", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } _resultobj
= Py_BuildValue("i",_result
);
2912 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
2913 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","item", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
2941 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } _resultobj
= Py_BuildValue("i",_result
);
2967 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
2968 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self","col", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
2996 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } _resultobj
= Py_BuildValue("i",_result
);
3022 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
3023 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxListCtrl_ClearAll(_arg0
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
3050 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3052 wxTextCtrl
* _result
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self","item", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3076 _resultobj
= Py_BuildValue("s",_ptemp
);
3079 _resultobj
= Py_None
;
3084 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
3085 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3090 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self","cancel", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p.");
3104 _arg1
= (bool ) tempbool1
;
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
3109 wxPy_END_ALLOW_THREADS
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3115 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3117 wxTextCtrl
* _result
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p.");
3134 wxPy_BEGIN_ALLOW_THREADS
;
3135 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3137 wxPy_END_ALLOW_THREADS
;
3139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3140 _resultobj
= Py_BuildValue("s",_ptemp
);
3143 _resultobj
= Py_None
;
3148 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
3149 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3154 PyObject
* _argo0
= 0;
3155 char *_kwnames
[] = { "self","item", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p.");
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
3171 wxPy_END_ALLOW_THREADS
;
3172 } _resultobj
= Py_BuildValue("i",_result
);
3176 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3177 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3183 bool _arg3
= (bool ) FALSE
;
3184 PyObject
* _argo0
= 0;
3185 PyObject
* _obj2
= 0;
3186 int tempbool3
= (int) FALSE
;
3187 char *_kwnames
[] = { "self","start","str","partial", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p.");
3200 if (!PyString_Check(_obj2
)) {
3201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3204 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3206 _arg3
= (bool ) tempbool3
;
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } _resultobj
= Py_BuildValue("l",_result
);
3220 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
3221 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self","start","data", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p.");
3241 wxPy_BEGIN_ALLOW_THREADS
;
3242 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
3244 wxPy_END_ALLOW_THREADS
;
3245 } _resultobj
= Py_BuildValue("l",_result
);
3249 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
3250 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3257 PyObject
* _argo0
= 0;
3259 PyObject
* _obj2
= 0;
3260 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
3266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p.");
3274 if (! wxPoint_helper(_obj2
, &_arg2
))
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } _resultobj
= Py_BuildValue("l",_result
);
3286 #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1))
3287 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3293 PyObject
* _argo0
= 0;
3294 PyObject
* _argo2
= 0;
3295 char *_kwnames
[] = { "self","col","item", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p.");
3308 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p.");
3315 wxPy_BEGIN_ALLOW_THREADS
;
3316 _result
= (bool )wxListCtrl_GetColumn(_arg0
,_arg1
,*_arg2
);
3318 wxPy_END_ALLOW_THREADS
;
3319 } _resultobj
= Py_BuildValue("i",_result
);
3323 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3324 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self","col", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } _resultobj
= Py_BuildValue("i",_result
);
3351 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3352 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3379 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 wxImageList
* _result
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self","which", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p.");
3399 wxPy_BEGIN_ALLOW_THREADS
;
3400 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3402 wxPy_END_ALLOW_THREADS
;
3404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
3405 _resultobj
= Py_BuildValue("s",_ptemp
);
3408 _resultobj
= Py_None
;
3413 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3414 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self","item", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } _resultobj
= Py_BuildValue("l",_result
);
3441 static wxListItem
* wxListCtrl_GetItem(wxListCtrl
*self
,long itemId
,int col
) {
3442 wxListItem
* info
= new wxListItem
;
3443 info
->m_itemId
= itemId
;
3445 info
->m_mask
= 0xFFFF;
3446 self
->GetItem(*info
);
3449 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxListItem
* _result
;
3454 int _arg2
= (int ) 0;
3455 PyObject
* _argo0
= 0;
3456 char *_kwnames
[] = { "self","itemId","col", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 _result
= (wxListItem
*)wxListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3473 wxPy_END_ALLOW_THREADS
;
3475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
3476 _resultobj
= Py_BuildValue("s",_ptemp
);
3479 _resultobj
= Py_None
;
3484 static wxPoint
* wxListCtrl_GetItemPosition(wxListCtrl
*self
,long item
) {
3485 wxPoint
* pos
= new wxPoint
;
3486 self
->GetItemPosition(item
, *pos
);
3489 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self","item", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 _result
= (wxPoint
*)wxListCtrl_GetItemPosition(_arg0
,_arg1
);
3512 wxPy_END_ALLOW_THREADS
;
3514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3515 _resultobj
= Py_BuildValue("s",_ptemp
);
3518 _resultobj
= Py_None
;
3523 static wxRect
* wxListCtrl_GetItemRect(wxListCtrl
*self
,long item
,int code
) {
3524 wxRect
* rect
= new wxRect
;
3525 self
->GetItemRect(item
, *rect
, code
);
3528 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3533 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self","item","code", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 _result
= (wxRect
*)wxListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3552 wxPy_END_ALLOW_THREADS
;
3554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3555 _resultobj
= Py_BuildValue("s",_ptemp
);
3558 _resultobj
= Py_None
;
3563 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3564 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3587 wxPy_END_ALLOW_THREADS
;
3588 } _resultobj
= Py_BuildValue("i",_result
);
3592 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3593 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } _resultobj
= Py_BuildValue("i",_result
);
3619 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3620 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3625 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self","isSmall", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
3639 _arg1
= (bool ) tempbool1
;
3641 wxPy_BEGIN_ALLOW_THREADS
;
3642 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3644 wxPy_END_ALLOW_THREADS
;
3645 } _resultobj
= Py_BuildValue("i",_result
);
3649 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3650 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self","item", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
3669 wxPy_BEGIN_ALLOW_THREADS
;
3670 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3672 wxPy_END_ALLOW_THREADS
;
3674 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3682 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3683 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3688 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3689 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3707 wxPy_END_ALLOW_THREADS
;
3708 } _resultobj
= Py_BuildValue("l",_result
);
3712 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3713 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3734 wxPy_END_ALLOW_THREADS
;
3735 } _resultobj
= Py_BuildValue("i",_result
);
3739 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3740 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3744 PyObject
* _argo0
= 0;
3745 char *_kwnames
[] = { "self", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3760 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3762 wxPy_END_ALLOW_THREADS
;
3763 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3764 _resultobj
= Py_BuildValue("s",_ptemp
);
3768 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3769 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3773 PyObject
* _argo0
= 0;
3775 PyObject
* _obj1
= 0;
3776 char *_kwnames
[] = { "self","col", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
3790 if (! wxColour_helper(_obj1
, &_arg1
))
3794 wxPy_BEGIN_ALLOW_THREADS
;
3795 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3797 wxPy_END_ALLOW_THREADS
;
3798 } Py_INCREF(Py_None
);
3799 _resultobj
= Py_None
;
3803 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3804 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3808 PyObject
* _argo0
= 0;
3809 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3825 wxPy_END_ALLOW_THREADS
;
3826 } _resultobj
= Py_BuildValue("l",_result
);
3830 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
3831 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3838 PyObject
* _argo0
= 0;
3840 PyObject
* _obj1
= 0;
3841 char *_kwnames
[] = { "self","point", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
3858 if (! wxPoint_helper(_obj1
, &_arg1
))
3862 wxPy_BEGIN_ALLOW_THREADS
;
3863 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
3865 wxPy_END_ALLOW_THREADS
;
3866 } _resultobj
= Py_BuildValue("l",_result
);
3869 o
= PyInt_FromLong((long) (*_arg2
));
3870 _resultobj
= t_output_helper(_resultobj
, o
);
3875 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
3876 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3882 PyObject
* _argo0
= 0;
3883 PyObject
* _argo2
= 0;
3884 char *_kwnames
[] = { "self","col","info", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p.");
3897 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
3904 wxPy_BEGIN_ALLOW_THREADS
;
3905 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
3907 wxPy_END_ALLOW_THREADS
;
3908 } _resultobj
= Py_BuildValue("l",_result
);
3912 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3913 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3919 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
3920 int _arg4
= (int ) -1;
3921 PyObject
* _argo0
= 0;
3922 PyObject
* _obj2
= 0;
3923 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
3936 if (!PyString_Check(_obj2
)) {
3937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3940 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3943 wxPy_BEGIN_ALLOW_THREADS
;
3944 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
3946 wxPy_END_ALLOW_THREADS
;
3947 } _resultobj
= Py_BuildValue("l",_result
);
3955 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
3956 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3961 PyObject
* _argo0
= 0;
3962 PyObject
* _argo1
= 0;
3963 char *_kwnames
[] = { "self","info", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
3976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } _resultobj
= Py_BuildValue("l",_result
);
3991 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
3992 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3998 PyObject
* _argo0
= 0;
3999 PyObject
* _obj2
= 0;
4000 char *_kwnames
[] = { "self","index","label", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
4013 if (!PyString_Check(_obj2
)) {
4014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4017 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4020 wxPy_BEGIN_ALLOW_THREADS
;
4021 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4023 wxPy_END_ALLOW_THREADS
;
4024 } _resultobj
= Py_BuildValue("l",_result
);
4032 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4033 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
* _resultobj
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
4053 wxPy_BEGIN_ALLOW_THREADS
;
4054 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4056 wxPy_END_ALLOW_THREADS
;
4057 } _resultobj
= Py_BuildValue("l",_result
);
4061 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4062 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 PyObject
* _obj2
= 0;
4071 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
4084 if (!PyString_Check(_obj2
)) {
4085 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4088 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4091 wxPy_BEGIN_ALLOW_THREADS
;
4092 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4094 wxPy_END_ALLOW_THREADS
;
4095 } _resultobj
= Py_BuildValue("l",_result
);
4103 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4104 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4110 PyObject
* _argo0
= 0;
4111 char *_kwnames
[] = { "self","dx","dy", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
4124 wxPy_BEGIN_ALLOW_THREADS
;
4125 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4127 wxPy_END_ALLOW_THREADS
;
4128 } _resultobj
= Py_BuildValue("i",_result
);
4132 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4133 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj1
= 0;
4140 char *_kwnames
[] = { "self","col", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
4154 if (! wxColour_helper(_obj1
, &_arg1
))
4158 wxPy_BEGIN_ALLOW_THREADS
;
4159 wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
4161 wxPy_END_ALLOW_THREADS
;
4162 } Py_INCREF(Py_None
);
4163 _resultobj
= Py_None
;
4167 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
4168 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4174 PyObject
* _argo0
= 0;
4175 PyObject
* _argo2
= 0;
4176 char *_kwnames
[] = { "self","col","item", NULL
};
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
4189 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
4196 wxPy_BEGIN_ALLOW_THREADS
;
4197 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
4199 wxPy_END_ALLOW_THREADS
;
4200 } _resultobj
= Py_BuildValue("i",_result
);
4204 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
4205 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4211 PyObject
* _argo0
= 0;
4212 char *_kwnames
[] = { "self","col","width", NULL
};
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } _resultobj
= Py_BuildValue("i",_result
);
4233 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4234 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
* _resultobj
;
4237 wxImageList
* _arg1
;
4239 PyObject
* _argo0
= 0;
4240 PyObject
* _argo1
= 0;
4241 char *_kwnames
[] = { "self","imageList","which", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
4254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4264 wxPy_END_ALLOW_THREADS
;
4265 } Py_INCREF(Py_None
);
4266 _resultobj
= Py_None
;
4270 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
4271 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4276 PyObject
* _argo0
= 0;
4277 PyObject
* _argo1
= 0;
4278 char *_kwnames
[] = { "self","info", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
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_SetItem. Expected _wxListCtrl_p.");
4291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
4298 wxPy_BEGIN_ALLOW_THREADS
;
4299 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
4301 wxPy_END_ALLOW_THREADS
;
4302 } _resultobj
= Py_BuildValue("i",_result
);
4306 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4307 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4314 int _arg4
= (int ) -1;
4315 PyObject
* _argo0
= 0;
4316 PyObject
* _obj3
= 0;
4317 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
4330 if (!PyString_Check(_obj3
)) {
4331 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4334 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4337 wxPy_BEGIN_ALLOW_THREADS
;
4338 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4340 wxPy_END_ALLOW_THREADS
;
4341 } _resultobj
= Py_BuildValue("l",_result
);
4349 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
4350 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self","item","data", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
4370 wxPy_BEGIN_ALLOW_THREADS
;
4371 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
4373 wxPy_END_ALLOW_THREADS
;
4374 } _resultobj
= Py_BuildValue("i",_result
);
4378 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
4379 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4386 PyObject
* _argo0
= 0;
4387 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
4403 wxPy_END_ALLOW_THREADS
;
4404 } _resultobj
= Py_BuildValue("i",_result
);
4408 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
4409 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4417 PyObject
* _obj2
= 0;
4418 char *_kwnames
[] = { "self","item","pos", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
4432 if (! wxPoint_helper(_obj2
, &_arg2
))
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
4439 wxPy_END_ALLOW_THREADS
;
4440 } _resultobj
= Py_BuildValue("i",_result
);
4444 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
4445 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4452 PyObject
* _argo0
= 0;
4453 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
4466 wxPy_BEGIN_ALLOW_THREADS
;
4467 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
4469 wxPy_END_ALLOW_THREADS
;
4470 } _resultobj
= Py_BuildValue("i",_result
);
4474 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
4475 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
* _resultobj
;
4480 PyObject
* _argo0
= 0;
4481 PyObject
* _obj2
= 0;
4482 char *_kwnames
[] = { "self","item","text", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
4495 if (!PyString_Check(_obj2
)) {
4496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4499 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
4502 wxPy_BEGIN_ALLOW_THREADS
;
4503 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
4505 wxPy_END_ALLOW_THREADS
;
4506 } Py_INCREF(Py_None
);
4507 _resultobj
= Py_None
;
4515 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4516 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4520 bool _arg2
= (bool ) TRUE
;
4521 PyObject
* _argo0
= 0;
4522 int tempbool2
= (int) TRUE
;
4523 char *_kwnames
[] = { "self","style","add", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
4535 _arg2
= (bool ) tempbool2
;
4537 wxPy_BEGIN_ALLOW_THREADS
;
4538 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4540 wxPy_END_ALLOW_THREADS
;
4541 } Py_INCREF(Py_None
);
4542 _resultobj
= Py_None
;
4546 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4547 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4551 PyObject
* _argo0
= 0;
4552 char *_kwnames
[] = { "self","style", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
4565 wxPy_BEGIN_ALLOW_THREADS
;
4566 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4568 wxPy_END_ALLOW_THREADS
;
4569 } Py_INCREF(Py_None
);
4570 _resultobj
= Py_None
;
4574 static bool wxListCtrl_SortItems(wxListCtrl
*self
,PyObject
* func
) {
4575 if (!PyCallable_Check(func
))
4578 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4580 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4585 PyObject
* _argo0
= 0;
4586 PyObject
* _obj1
= 0;
4587 char *_kwnames
[] = { "self","func", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p.");
4603 wxPy_BEGIN_ALLOW_THREADS
;
4604 _result
= (bool )wxListCtrl_SortItems(_arg0
,_arg1
);
4606 wxPy_END_ALLOW_THREADS
;
4607 } _resultobj
= Py_BuildValue("i",_result
);
4611 #define new_wxTreeItemId() (new wxTreeItemId())
4612 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4614 wxTreeItemId
* _result
;
4615 char *_kwnames
[] = { NULL
};
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
4622 wxPy_BEGIN_ALLOW_THREADS
;
4623 _result
= (wxTreeItemId
*)new_wxTreeItemId();
4625 wxPy_END_ALLOW_THREADS
;
4627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4628 _resultobj
= Py_BuildValue("s",_ptemp
);
4631 _resultobj
= Py_None
;
4636 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
4637 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4639 wxTreeItemId
* _arg0
;
4640 PyObject
* _argo0
= 0;
4641 char *_kwnames
[] = { "self", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
4647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
4654 wxPy_BEGIN_ALLOW_THREADS
;
4655 delete_wxTreeItemId(_arg0
);
4657 wxPy_END_ALLOW_THREADS
;
4658 } Py_INCREF(Py_None
);
4659 _resultobj
= Py_None
;
4663 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
4664 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4667 wxTreeItemId
* _arg0
;
4668 PyObject
* _argo0
= 0;
4669 char *_kwnames
[] = { "self", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
4682 wxPy_BEGIN_ALLOW_THREADS
;
4683 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
4685 wxPy_END_ALLOW_THREADS
;
4686 } _resultobj
= Py_BuildValue("i",_result
);
4690 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
4691 if (! other
) return -1;
4692 return *self
!= *other
;
4694 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4697 wxTreeItemId
* _arg0
;
4698 wxTreeItemId
* _arg1
;
4699 PyObject
* _argo0
= 0;
4700 PyObject
* _argo1
= 0;
4701 char *_kwnames
[] = { "self","other", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
4721 wxPy_BEGIN_ALLOW_THREADS
;
4722 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
4724 wxPy_END_ALLOW_THREADS
;
4725 } _resultobj
= Py_BuildValue("i",_result
);
4729 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
4730 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4732 wxPyTreeItemData
* _result
;
4733 PyObject
* _arg0
= (PyObject
*) NULL
;
4734 PyObject
* _obj0
= 0;
4735 char *_kwnames
[] = { "obj", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
4749 wxPy_END_ALLOW_THREADS
;
4751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
4752 _resultobj
= Py_BuildValue("s",_ptemp
);
4755 _resultobj
= Py_None
;
4760 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
4761 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
* _resultobj
;
4764 wxPyTreeItemData
* _arg0
;
4765 PyObject
* _argo0
= 0;
4766 char *_kwnames
[] = { "self", NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
4772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
4779 wxPy_BEGIN_ALLOW_THREADS
;
4780 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
4782 wxPy_END_ALLOW_THREADS
;
4784 _resultobj
= _result
;
4789 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
4790 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4792 wxPyTreeItemData
* _arg0
;
4794 PyObject
* _argo0
= 0;
4795 PyObject
* _obj1
= 0;
4796 char *_kwnames
[] = { "self","obj", NULL
};
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
4802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 wxTreeItemData_SetData(_arg0
,_arg1
);
4815 wxPy_END_ALLOW_THREADS
;
4816 } Py_INCREF(Py_None
);
4817 _resultobj
= Py_None
;
4821 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
4822 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4824 wxTreeItemId
* _result
;
4825 wxPyTreeItemData
* _arg0
;
4826 PyObject
* _argo0
= 0;
4827 char *_kwnames
[] = { "self", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
4834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
4843 _result
= (wxTreeItemId
*) &_result_ref
;
4845 wxPy_END_ALLOW_THREADS
;
4847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
4848 _resultobj
= Py_BuildValue("s",_ptemp
);
4851 _resultobj
= Py_None
;
4856 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4857 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4859 wxPyTreeItemData
* _arg0
;
4860 wxTreeItemId
* _arg1
;
4861 PyObject
* _argo0
= 0;
4862 PyObject
* _argo1
= 0;
4863 char *_kwnames
[] = { "self","id", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
4876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxTreeItemData_SetId(_arg0
,*_arg1
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4892 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
4894 wxNotifyEvent
*dest
;
4895 src
= (wxTreeEvent
*) ptr
;
4896 dest
= (wxNotifyEvent
*) src
;
4897 return (void *) dest
;
4900 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
4902 wxCommandEvent
*dest
;
4903 src
= (wxTreeEvent
*) ptr
;
4904 dest
= (wxCommandEvent
*) src
;
4905 return (void *) dest
;
4908 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
4911 src
= (wxTreeEvent
*) ptr
;
4912 dest
= (wxEvent
*) src
;
4913 return (void *) dest
;
4916 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
4917 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4919 wxTreeItemId
* _result
;
4920 wxTreeEvent
* _arg0
;
4921 PyObject
* _argo0
= 0;
4922 char *_kwnames
[] = { "self", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
4936 wxPy_BEGIN_ALLOW_THREADS
;
4937 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
4939 wxPy_END_ALLOW_THREADS
;
4940 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4941 _resultobj
= Py_BuildValue("s",_ptemp
);
4945 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
4946 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxTreeItemId
* _result
;
4949 wxTreeEvent
* _arg0
;
4950 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
4965 wxPy_BEGIN_ALLOW_THREADS
;
4966 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
4968 wxPy_END_ALLOW_THREADS
;
4969 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
4970 _resultobj
= Py_BuildValue("s",_ptemp
);
4974 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
4975 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
* _resultobj
;
4978 wxTreeEvent
* _arg0
;
4979 PyObject
* _argo0
= 0;
4980 char *_kwnames
[] = { "self", NULL
};
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
4994 wxPy_BEGIN_ALLOW_THREADS
;
4995 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
4997 wxPy_END_ALLOW_THREADS
;
4998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4999 _resultobj
= Py_BuildValue("s",_ptemp
);
5003 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
5004 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5007 wxTreeEvent
* _arg0
;
5008 PyObject
* _argo0
= 0;
5009 char *_kwnames
[] = { "self", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
5022 wxPy_BEGIN_ALLOW_THREADS
;
5023 _result
= (int )wxTreeEvent_GetCode(_arg0
);
5025 wxPy_END_ALLOW_THREADS
;
5026 } _resultobj
= Py_BuildValue("i",_result
);
5030 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
5031 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 wxTreeEvent
* _arg0
;
5035 PyObject
* _argo0
= 0;
5036 char *_kwnames
[] = { "self", NULL
};
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
5042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
5049 wxPy_BEGIN_ALLOW_THREADS
;
5050 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
5051 _result
= (wxString
*) &_result_ref
;
5053 wxPy_END_ALLOW_THREADS
;
5055 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5060 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
5063 src
= (wxPyTreeCtrl
*) ptr
;
5064 dest
= (wxControl
*) src
;
5065 return (void *) dest
;
5068 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
5071 src
= (wxPyTreeCtrl
*) ptr
;
5072 dest
= (wxWindow
*) src
;
5073 return (void *) dest
;
5076 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
5079 src
= (wxPyTreeCtrl
*) ptr
;
5080 dest
= (wxEvtHandler
*) src
;
5081 return (void *) dest
;
5084 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5085 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5087 wxPyTreeCtrl
* _result
;
5089 wxWindowID _arg1
= (wxWindowID
) -1;
5090 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5091 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5092 long _arg4
= (long ) wxTR_HAS_BUTTONS
|wxTR_LINES_AT_ROOT
;
5093 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
5094 char * _arg6
= (char *) "wxTreeCtrl";
5095 PyObject
* _argo0
= 0;
5097 PyObject
* _obj2
= 0;
5099 PyObject
* _obj3
= 0;
5100 PyObject
* _argo5
= 0;
5101 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
5117 if (! wxPoint_helper(_obj2
, &_arg2
))
5123 if (! wxSize_helper(_obj3
, &_arg3
))
5127 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
5134 wxPy_BEGIN_ALLOW_THREADS
;
5135 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5137 wxPy_END_ALLOW_THREADS
;
5139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
5140 _resultobj
= Py_BuildValue("s",_ptemp
);
5143 _resultobj
= Py_None
;
5148 #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5149 static PyObject
*_wrap_wxTreeCtrl__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
* _resultobj
;
5151 wxPyTreeCtrl
* _arg0
;
5154 PyObject
* _argo0
= 0;
5155 PyObject
* _obj1
= 0;
5156 PyObject
* _obj2
= 0;
5157 char *_kwnames
[] = { "self","self","_class", NULL
};
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p.");
5176 wxPy_BEGIN_ALLOW_THREADS
;
5177 wxTreeCtrl__setSelf(_arg0
,_arg1
,_arg2
);
5179 wxPy_END_ALLOW_THREADS
;
5180 } Py_INCREF(Py_None
);
5181 _resultobj
= Py_None
;
5185 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
5186 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5189 wxPyTreeCtrl
* _arg0
;
5190 PyObject
* _argo0
= 0;
5191 char *_kwnames
[] = { "self", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } _resultobj
= Py_BuildValue("i",_result
);
5212 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
5213 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 unsigned int _result
;
5216 wxPyTreeCtrl
* _arg0
;
5217 PyObject
* _argo0
= 0;
5218 char *_kwnames
[] = { "self", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
5231 wxPy_BEGIN_ALLOW_THREADS
;
5232 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
5234 wxPy_END_ALLOW_THREADS
;
5235 } _resultobj
= Py_BuildValue("i",_result
);
5239 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
5240 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5242 wxPyTreeCtrl
* _arg0
;
5244 PyObject
* _argo0
= 0;
5245 char *_kwnames
[] = { "self","indent", NULL
};
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
5251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
5258 wxPy_BEGIN_ALLOW_THREADS
;
5259 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
5261 wxPy_END_ALLOW_THREADS
;
5262 } Py_INCREF(Py_None
);
5263 _resultobj
= Py_None
;
5267 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
5268 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5270 wxImageList
* _result
;
5271 wxPyTreeCtrl
* _arg0
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self", NULL
};
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
5280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
5287 wxPy_BEGIN_ALLOW_THREADS
;
5288 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
5290 wxPy_END_ALLOW_THREADS
;
5292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5293 _resultobj
= Py_BuildValue("s",_ptemp
);
5296 _resultobj
= Py_None
;
5301 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
5302 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5304 wxImageList
* _result
;
5305 wxPyTreeCtrl
* _arg0
;
5306 PyObject
* _argo0
= 0;
5307 char *_kwnames
[] = { "self", NULL
};
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
5314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
5321 wxPy_BEGIN_ALLOW_THREADS
;
5322 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
5324 wxPy_END_ALLOW_THREADS
;
5326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5330 _resultobj
= Py_None
;
5335 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
5336 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxPyTreeCtrl
* _arg0
;
5339 wxImageList
* _arg1
;
5340 PyObject
* _argo0
= 0;
5341 PyObject
* _argo1
= 0;
5342 char *_kwnames
[] = { "self","imageList", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
5355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
5362 wxPy_BEGIN_ALLOW_THREADS
;
5363 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
5365 wxPy_END_ALLOW_THREADS
;
5366 } Py_INCREF(Py_None
);
5367 _resultobj
= Py_None
;
5371 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
5372 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5374 wxPyTreeCtrl
* _arg0
;
5375 wxImageList
* _arg1
;
5376 PyObject
* _argo0
= 0;
5377 PyObject
* _argo1
= 0;
5378 char *_kwnames
[] = { "self","imageList", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
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_SetStateImageList. Expected _wxPyTreeCtrl_p.");
5391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
5398 wxPy_BEGIN_ALLOW_THREADS
;
5399 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
5401 wxPy_END_ALLOW_THREADS
;
5402 } Py_INCREF(Py_None
);
5403 _resultobj
= Py_None
;
5407 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
5408 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5410 unsigned int _result
;
5411 wxPyTreeCtrl
* _arg0
;
5412 PyObject
* _argo0
= 0;
5413 char *_kwnames
[] = { "self", NULL
};
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
5419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
5426 wxPy_BEGIN_ALLOW_THREADS
;
5427 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
5429 wxPy_END_ALLOW_THREADS
;
5430 } _resultobj
= Py_BuildValue("i",_result
);
5434 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
5435 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5437 wxPyTreeCtrl
* _arg0
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "self","spacing", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
5456 wxPy_END_ALLOW_THREADS
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5462 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
5463 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5466 wxPyTreeCtrl
* _arg0
;
5467 wxTreeItemId
* _arg1
;
5468 PyObject
* _argo0
= 0;
5469 PyObject
* _argo1
= 0;
5470 char *_kwnames
[] = { "self","item", NULL
};
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
5476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
5483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
5490 wxPy_BEGIN_ALLOW_THREADS
;
5491 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
5493 wxPy_END_ALLOW_THREADS
;
5495 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5503 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
5504 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5507 wxPyTreeCtrl
* _arg0
;
5508 wxTreeItemId
* _arg1
;
5509 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5510 PyObject
* _argo0
= 0;
5511 PyObject
* _argo1
= 0;
5512 char *_kwnames
[] = { "self","item","which", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
5525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
5532 wxPy_BEGIN_ALLOW_THREADS
;
5533 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
5535 wxPy_END_ALLOW_THREADS
;
5536 } _resultobj
= Py_BuildValue("i",_result
);
5540 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
5541 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
* _resultobj
;
5544 wxPyTreeCtrl
* _arg0
;
5545 wxTreeItemId
* _arg1
;
5546 PyObject
* _argo0
= 0;
5547 PyObject
* _argo1
= 0;
5548 char *_kwnames
[] = { "self","item", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
5568 wxPy_BEGIN_ALLOW_THREADS
;
5569 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
5571 wxPy_END_ALLOW_THREADS
;
5572 } _resultobj
= Py_BuildValue("i",_result
);
5576 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
5577 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5579 wxPyTreeCtrl
* _arg0
;
5580 wxTreeItemId
* _arg1
;
5582 PyObject
* _argo0
= 0;
5583 PyObject
* _argo1
= 0;
5584 PyObject
* _obj2
= 0;
5585 char *_kwnames
[] = { "self","item","text", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
5598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
5605 if (!PyString_Check(_obj2
)) {
5606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5609 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5612 wxPy_BEGIN_ALLOW_THREADS
;
5613 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
5615 wxPy_END_ALLOW_THREADS
;
5616 } Py_INCREF(Py_None
);
5617 _resultobj
= Py_None
;
5625 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
5626 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5628 wxPyTreeCtrl
* _arg0
;
5629 wxTreeItemId
* _arg1
;
5631 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
5632 PyObject
* _argo0
= 0;
5633 PyObject
* _argo1
= 0;
5634 char *_kwnames
[] = { "self","item","image","which", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
5647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
5657 wxPy_END_ALLOW_THREADS
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
5664 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5666 wxPyTreeCtrl
* _arg0
;
5667 wxTreeItemId
* _arg1
;
5669 PyObject
* _argo0
= 0;
5670 PyObject
* _argo1
= 0;
5671 char *_kwnames
[] = { "self","item","image", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
5684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
5691 wxPy_BEGIN_ALLOW_THREADS
;
5692 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
5694 wxPy_END_ALLOW_THREADS
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5700 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
5701 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5703 wxPyTreeCtrl
* _arg0
;
5704 wxTreeItemId
* _arg1
;
5705 bool _arg2
= (bool ) TRUE
;
5706 PyObject
* _argo0
= 0;
5707 PyObject
* _argo1
= 0;
5708 int tempbool2
= (int) TRUE
;
5709 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
5722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
5728 _arg2
= (bool ) tempbool2
;
5730 wxPy_BEGIN_ALLOW_THREADS
;
5731 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
5733 wxPy_END_ALLOW_THREADS
;
5734 } Py_INCREF(Py_None
);
5735 _resultobj
= Py_None
;
5739 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5740 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5742 data
= new wxPyTreeItemData();
5743 data
->SetId(item
); // set the id
5744 self
->SetItemData(item
, data
);
5748 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxPyTreeItemData
* _result
;
5751 wxPyTreeCtrl
* _arg0
;
5752 wxTreeItemId
* _arg1
;
5753 PyObject
* _argo0
= 0;
5754 PyObject
* _argo1
= 0;
5755 char *_kwnames
[] = { "self","item", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
5769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
5779 wxPy_END_ALLOW_THREADS
;
5781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5782 _resultobj
= Py_BuildValue("s",_ptemp
);
5785 _resultobj
= Py_None
;
5790 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
5791 data
->SetId(item
); // set the id
5792 self
->SetItemData(item
, data
);
5794 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5796 wxPyTreeCtrl
* _arg0
;
5797 wxTreeItemId
* _arg1
;
5798 wxPyTreeItemData
* _arg2
;
5799 PyObject
* _argo0
= 0;
5800 PyObject
* _argo1
= 0;
5801 PyObject
* _argo2
= 0;
5802 char *_kwnames
[] = { "self","item","data", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
5815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
5822 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5823 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
5824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
5829 wxPy_BEGIN_ALLOW_THREADS
;
5830 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
5832 wxPy_END_ALLOW_THREADS
;
5833 } Py_INCREF(Py_None
);
5834 _resultobj
= Py_None
;
5838 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
5839 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5841 data
= new wxPyTreeItemData();
5842 data
->SetId(item
); // set the id
5843 self
->SetItemData(item
, data
);
5845 return data
->GetData();
5847 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5850 wxPyTreeCtrl
* _arg0
;
5851 wxTreeItemId
* _arg1
;
5852 PyObject
* _argo0
= 0;
5853 PyObject
* _argo1
= 0;
5854 char *_kwnames
[] = { "self","item", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
5867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
5874 wxPy_BEGIN_ALLOW_THREADS
;
5875 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
5877 wxPy_END_ALLOW_THREADS
;
5879 _resultobj
= _result
;
5884 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
5885 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
5887 data
= new wxPyTreeItemData(obj
);
5888 data
->SetId(item
); // set the id
5889 self
->SetItemData(item
, data
);
5893 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5895 wxPyTreeCtrl
* _arg0
;
5896 wxTreeItemId
* _arg1
;
5898 PyObject
* _argo0
= 0;
5899 PyObject
* _argo1
= 0;
5900 PyObject
* _obj2
= 0;
5901 char *_kwnames
[] = { "self","item","obj", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
5914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
5924 wxPy_BEGIN_ALLOW_THREADS
;
5925 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
5927 wxPy_END_ALLOW_THREADS
;
5928 } Py_INCREF(Py_None
);
5929 _resultobj
= Py_None
;
5933 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
5934 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5937 wxPyTreeCtrl
* _arg0
;
5938 wxTreeItemId
* _arg1
;
5939 PyObject
* _argo0
= 0;
5940 PyObject
* _argo1
= 0;
5941 char *_kwnames
[] = { "self","item", NULL
};
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
5947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
5954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
5961 wxPy_BEGIN_ALLOW_THREADS
;
5962 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
5964 wxPy_END_ALLOW_THREADS
;
5965 } _resultobj
= Py_BuildValue("i",_result
);
5969 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
5970 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
* _resultobj
;
5973 wxPyTreeCtrl
* _arg0
;
5974 wxTreeItemId
* _arg1
;
5975 PyObject
* _argo0
= 0;
5976 PyObject
* _argo1
= 0;
5977 char *_kwnames
[] = { "self","item", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
5990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
5997 wxPy_BEGIN_ALLOW_THREADS
;
5998 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
6000 wxPy_END_ALLOW_THREADS
;
6001 } _resultobj
= Py_BuildValue("i",_result
);
6005 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
6006 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6009 wxPyTreeCtrl
* _arg0
;
6010 wxTreeItemId
* _arg1
;
6011 PyObject
* _argo0
= 0;
6012 PyObject
* _argo1
= 0;
6013 char *_kwnames
[] = { "self","item", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
6026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
6033 wxPy_BEGIN_ALLOW_THREADS
;
6034 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
6036 wxPy_END_ALLOW_THREADS
;
6037 } _resultobj
= Py_BuildValue("i",_result
);
6041 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
6042 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
* _resultobj
;
6045 wxPyTreeCtrl
* _arg0
;
6046 wxTreeItemId
* _arg1
;
6047 PyObject
* _argo0
= 0;
6048 PyObject
* _argo1
= 0;
6049 char *_kwnames
[] = { "self","item", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
6062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
6069 wxPy_BEGIN_ALLOW_THREADS
;
6070 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
6072 wxPy_END_ALLOW_THREADS
;
6073 } _resultobj
= Py_BuildValue("i",_result
);
6077 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
6078 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxTreeItemId
* _result
;
6081 wxPyTreeCtrl
* _arg0
;
6082 PyObject
* _argo0
= 0;
6083 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
6100 wxPy_END_ALLOW_THREADS
;
6101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6102 _resultobj
= Py_BuildValue("s",_ptemp
);
6106 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
6107 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6109 wxTreeItemId
* _result
;
6110 wxPyTreeCtrl
* _arg0
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
6129 wxPy_END_ALLOW_THREADS
;
6130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6131 _resultobj
= Py_BuildValue("s",_ptemp
);
6135 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
6136 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6138 wxTreeItemId
* _result
;
6139 wxPyTreeCtrl
* _arg0
;
6140 wxTreeItemId
* _arg1
;
6141 PyObject
* _argo0
= 0;
6142 PyObject
* _argo1
= 0;
6143 char *_kwnames
[] = { "self","item", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
6157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
6164 wxPy_BEGIN_ALLOW_THREADS
;
6165 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
6167 wxPy_END_ALLOW_THREADS
;
6168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6169 _resultobj
= Py_BuildValue("s",_ptemp
);
6173 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
6174 bool doSave
= wxPyRestoreThread();
6175 PyObject
* rval
= PyList_New(0);
6176 wxArrayTreeItemIds array
;
6178 num
= self
->GetSelections(array
);
6179 for (x
=0; x
< num
; x
++) {
6180 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
6181 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
6182 PyList_Append(rval
, item
);
6184 wxPySaveThread(doSave
);
6187 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6190 wxPyTreeCtrl
* _arg0
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
6205 wxPy_BEGIN_ALLOW_THREADS
;
6206 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
6208 wxPy_END_ALLOW_THREADS
;
6210 _resultobj
= _result
;
6215 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
6216 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6219 wxPyTreeCtrl
* _arg0
;
6220 wxTreeItemId
* _arg1
;
6221 bool _arg2
= (bool ) TRUE
;
6222 PyObject
* _argo0
= 0;
6223 PyObject
* _argo1
= 0;
6224 int tempbool2
= (int) TRUE
;
6225 char *_kwnames
[] = { "self","item","recursively", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
6238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
6244 _arg2
= (bool ) tempbool2
;
6246 wxPy_BEGIN_ALLOW_THREADS
;
6247 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
6249 wxPy_END_ALLOW_THREADS
;
6250 } _resultobj
= Py_BuildValue("i",_result
);
6254 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
6255 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6257 wxTreeItemId
* _result
;
6258 wxPyTreeCtrl
* _arg0
;
6259 wxTreeItemId
* _arg1
;
6261 PyObject
* _argo0
= 0;
6262 PyObject
* _argo1
= 0;
6264 PyObject
* _obj2
= 0;
6265 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
6279 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6280 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
6286 temp
= (long) PyInt_AsLong(_obj2
);
6290 wxPy_BEGIN_ALLOW_THREADS
;
6291 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
6293 wxPy_END_ALLOW_THREADS
;
6294 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6295 _resultobj
= Py_BuildValue("s",_ptemp
);
6298 o
= PyInt_FromLong((long) (*_arg2
));
6299 _resultobj
= t_output_helper(_resultobj
, o
);
6304 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
6305 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6307 wxTreeItemId
* _result
;
6308 wxPyTreeCtrl
* _arg0
;
6309 wxTreeItemId
* _arg1
;
6311 PyObject
* _argo0
= 0;
6312 PyObject
* _argo1
= 0;
6314 PyObject
* _obj2
= 0;
6315 char *_kwnames
[] = { "self","item","INOUT", NULL
};
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
6322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
6329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
6336 temp
= (long) PyInt_AsLong(_obj2
);
6340 wxPy_BEGIN_ALLOW_THREADS
;
6341 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
6343 wxPy_END_ALLOW_THREADS
;
6344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6345 _resultobj
= Py_BuildValue("s",_ptemp
);
6348 o
= PyInt_FromLong((long) (*_arg2
));
6349 _resultobj
= t_output_helper(_resultobj
, o
);
6354 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
6355 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
* _resultobj
;
6357 wxTreeItemId
* _result
;
6358 wxPyTreeCtrl
* _arg0
;
6359 wxTreeItemId
* _arg1
;
6360 PyObject
* _argo0
= 0;
6361 PyObject
* _argo1
= 0;
6362 char *_kwnames
[] = { "self","item", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
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_GetNextSibling. Expected _wxPyTreeCtrl_p.");
6376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
6383 wxPy_BEGIN_ALLOW_THREADS
;
6384 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
6386 wxPy_END_ALLOW_THREADS
;
6387 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6388 _resultobj
= Py_BuildValue("s",_ptemp
);
6392 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
6393 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6395 wxTreeItemId
* _result
;
6396 wxPyTreeCtrl
* _arg0
;
6397 wxTreeItemId
* _arg1
;
6398 PyObject
* _argo0
= 0;
6399 PyObject
* _argo1
= 0;
6400 char *_kwnames
[] = { "self","item", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
6414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
6421 wxPy_BEGIN_ALLOW_THREADS
;
6422 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
6424 wxPy_END_ALLOW_THREADS
;
6425 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6426 _resultobj
= Py_BuildValue("s",_ptemp
);
6430 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
6431 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6433 wxTreeItemId
* _result
;
6434 wxPyTreeCtrl
* _arg0
;
6435 PyObject
* _argo0
= 0;
6436 char *_kwnames
[] = { "self", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
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_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
6450 wxPy_BEGIN_ALLOW_THREADS
;
6451 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
6453 wxPy_END_ALLOW_THREADS
;
6454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6455 _resultobj
= Py_BuildValue("s",_ptemp
);
6459 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
6460 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6462 wxTreeItemId
* _result
;
6463 wxPyTreeCtrl
* _arg0
;
6464 wxTreeItemId
* _arg1
;
6465 PyObject
* _argo0
= 0;
6466 PyObject
* _argo1
= 0;
6467 char *_kwnames
[] = { "self","item", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
6474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
6481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
6491 wxPy_END_ALLOW_THREADS
;
6492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6493 _resultobj
= Py_BuildValue("s",_ptemp
);
6497 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
6498 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6500 wxTreeItemId
* _result
;
6501 wxPyTreeCtrl
* _arg0
;
6502 wxTreeItemId
* _arg1
;
6503 PyObject
* _argo0
= 0;
6504 PyObject
* _argo1
= 0;
6505 char *_kwnames
[] = { "self","item", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
6519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
6526 wxPy_BEGIN_ALLOW_THREADS
;
6527 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
6529 wxPy_END_ALLOW_THREADS
;
6530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6531 _resultobj
= Py_BuildValue("s",_ptemp
);
6535 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
6536 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6538 wxTreeItemId
* _result
;
6539 wxPyTreeCtrl
* _arg0
;
6540 wxTreeItemId
* _arg1
;
6541 PyObject
* _argo0
= 0;
6542 PyObject
* _argo1
= 0;
6543 char *_kwnames
[] = { "self","item", NULL
};
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
6550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
6557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
6564 wxPy_BEGIN_ALLOW_THREADS
;
6565 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
6567 wxPy_END_ALLOW_THREADS
;
6568 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6569 _resultobj
= Py_BuildValue("s",_ptemp
);
6573 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6574 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6576 wxTreeItemId
* _result
;
6577 wxPyTreeCtrl
* _arg0
;
6579 int _arg2
= (int ) -1;
6580 int _arg3
= (int ) -1;
6581 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
6582 PyObject
* _argo0
= 0;
6583 PyObject
* _obj1
= 0;
6584 PyObject
* _argo4
= 0;
6585 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
6592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
6599 if (!PyString_Check(_obj1
)) {
6600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6603 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6606 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
6613 wxPy_BEGIN_ALLOW_THREADS
;
6614 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
6616 wxPy_END_ALLOW_THREADS
;
6617 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6618 _resultobj
= Py_BuildValue("s",_ptemp
);
6626 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6627 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6629 wxTreeItemId
* _result
;
6630 wxPyTreeCtrl
* _arg0
;
6631 wxTreeItemId
* _arg1
;
6633 int _arg3
= (int ) -1;
6634 int _arg4
= (int ) -1;
6635 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6636 PyObject
* _argo0
= 0;
6637 PyObject
* _argo1
= 0;
6638 PyObject
* _obj2
= 0;
6639 PyObject
* _argo5
= 0;
6640 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
6654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
6661 if (!PyString_Check(_obj2
)) {
6662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6665 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6668 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
6675 wxPy_BEGIN_ALLOW_THREADS
;
6676 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6678 wxPy_END_ALLOW_THREADS
;
6679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6680 _resultobj
= Py_BuildValue("s",_ptemp
);
6688 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6689 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6691 wxTreeItemId
* _result
;
6692 wxPyTreeCtrl
* _arg0
;
6693 wxTreeItemId
* _arg1
;
6694 wxTreeItemId
* _arg2
;
6696 int _arg4
= (int ) -1;
6697 int _arg5
= (int ) -1;
6698 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
6699 PyObject
* _argo0
= 0;
6700 PyObject
* _argo1
= 0;
6701 PyObject
* _argo2
= 0;
6702 PyObject
* _obj3
= 0;
6703 PyObject
* _argo6
= 0;
6704 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
6718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6725 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6726 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
6727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
6732 if (!PyString_Check(_obj3
)) {
6733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6736 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6739 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6749 wxPy_END_ALLOW_THREADS
;
6750 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6751 _resultobj
= Py_BuildValue("s",_ptemp
);
6759 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6760 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
* _resultobj
;
6762 wxTreeItemId
* _result
;
6763 wxPyTreeCtrl
* _arg0
;
6764 wxTreeItemId
* _arg1
;
6767 int _arg4
= (int ) -1;
6768 int _arg5
= (int ) -1;
6769 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
6770 PyObject
* _argo0
= 0;
6771 PyObject
* _argo1
= 0;
6772 PyObject
* _obj3
= 0;
6773 PyObject
* _argo6
= 0;
6774 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
6788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
6795 if (!PyString_Check(_obj3
)) {
6796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6799 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
6802 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6803 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
6804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
6809 wxPy_BEGIN_ALLOW_THREADS
;
6810 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
6812 wxPy_END_ALLOW_THREADS
;
6813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6814 _resultobj
= Py_BuildValue("s",_ptemp
);
6822 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6823 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6825 wxTreeItemId
* _result
;
6826 wxPyTreeCtrl
* _arg0
;
6827 wxTreeItemId
* _arg1
;
6829 int _arg3
= (int ) -1;
6830 int _arg4
= (int ) -1;
6831 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
6832 PyObject
* _argo0
= 0;
6833 PyObject
* _argo1
= 0;
6834 PyObject
* _obj2
= 0;
6835 PyObject
* _argo5
= 0;
6836 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
6843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
6850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
6857 if (!PyString_Check(_obj2
)) {
6858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6861 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6864 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
6871 wxPy_BEGIN_ALLOW_THREADS
;
6872 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
6874 wxPy_END_ALLOW_THREADS
;
6875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6876 _resultobj
= Py_BuildValue("s",_ptemp
);
6884 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
6885 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6887 wxPyTreeCtrl
* _arg0
;
6888 wxTreeItemId
* _arg1
;
6889 PyObject
* _argo0
= 0;
6890 PyObject
* _argo1
= 0;
6891 char *_kwnames
[] = { "self","item", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
6904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
6911 wxPy_BEGIN_ALLOW_THREADS
;
6912 wxTreeCtrl_Delete(_arg0
,*_arg1
);
6914 wxPy_END_ALLOW_THREADS
;
6915 } Py_INCREF(Py_None
);
6916 _resultobj
= Py_None
;
6920 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
6921 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6923 wxPyTreeCtrl
* _arg0
;
6924 wxTreeItemId
* _arg1
;
6925 PyObject
* _argo0
= 0;
6926 PyObject
* _argo1
= 0;
6927 char *_kwnames
[] = { "self","item", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
6940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
6950 wxPy_END_ALLOW_THREADS
;
6951 } Py_INCREF(Py_None
);
6952 _resultobj
= Py_None
;
6956 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
6957 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 wxPyTreeCtrl
* _arg0
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
6974 wxPy_BEGIN_ALLOW_THREADS
;
6975 wxTreeCtrl_DeleteAllItems(_arg0
);
6977 wxPy_END_ALLOW_THREADS
;
6978 } Py_INCREF(Py_None
);
6979 _resultobj
= Py_None
;
6983 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
6984 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6986 wxPyTreeCtrl
* _arg0
;
6987 wxTreeItemId
* _arg1
;
6988 PyObject
* _argo0
= 0;
6989 PyObject
* _argo1
= 0;
6990 char *_kwnames
[] = { "self","item", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
7003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
7010 wxPy_BEGIN_ALLOW_THREADS
;
7011 wxTreeCtrl_Expand(_arg0
,*_arg1
);
7013 wxPy_END_ALLOW_THREADS
;
7014 } Py_INCREF(Py_None
);
7015 _resultobj
= Py_None
;
7019 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
7020 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7022 wxPyTreeCtrl
* _arg0
;
7023 wxTreeItemId
* _arg1
;
7024 PyObject
* _argo0
= 0;
7025 PyObject
* _argo1
= 0;
7026 char *_kwnames
[] = { "self","item", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
7039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
7046 wxPy_BEGIN_ALLOW_THREADS
;
7047 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
7049 wxPy_END_ALLOW_THREADS
;
7050 } Py_INCREF(Py_None
);
7051 _resultobj
= Py_None
;
7055 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
7056 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
* _resultobj
;
7058 wxPyTreeCtrl
* _arg0
;
7059 wxTreeItemId
* _arg1
;
7060 PyObject
* _argo0
= 0;
7061 PyObject
* _argo1
= 0;
7062 char *_kwnames
[] = { "self","item", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
7068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
7075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
7082 wxPy_BEGIN_ALLOW_THREADS
;
7083 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
7085 wxPy_END_ALLOW_THREADS
;
7086 } Py_INCREF(Py_None
);
7087 _resultobj
= Py_None
;
7091 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
7092 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7094 wxPyTreeCtrl
* _arg0
;
7095 wxTreeItemId
* _arg1
;
7096 PyObject
* _argo0
= 0;
7097 PyObject
* _argo1
= 0;
7098 char *_kwnames
[] = { "self","item", NULL
};
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
7104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
7111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
7118 wxPy_BEGIN_ALLOW_THREADS
;
7119 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
7121 wxPy_END_ALLOW_THREADS
;
7122 } Py_INCREF(Py_None
);
7123 _resultobj
= Py_None
;
7127 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
7128 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7130 wxPyTreeCtrl
* _arg0
;
7131 PyObject
* _argo0
= 0;
7132 char *_kwnames
[] = { "self", NULL
};
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
7138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
7145 wxPy_BEGIN_ALLOW_THREADS
;
7146 wxTreeCtrl_Unselect(_arg0
);
7148 wxPy_END_ALLOW_THREADS
;
7149 } Py_INCREF(Py_None
);
7150 _resultobj
= Py_None
;
7154 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
7155 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7157 wxPyTreeCtrl
* _arg0
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
7172 wxPy_BEGIN_ALLOW_THREADS
;
7173 wxTreeCtrl_UnselectAll(_arg0
);
7175 wxPy_END_ALLOW_THREADS
;
7176 } Py_INCREF(Py_None
);
7177 _resultobj
= Py_None
;
7181 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
7182 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7184 wxPyTreeCtrl
* _arg0
;
7185 wxTreeItemId
* _arg1
;
7186 PyObject
* _argo0
= 0;
7187 PyObject
* _argo1
= 0;
7188 char *_kwnames
[] = { "self","item", NULL
};
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
7194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
7201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
7208 wxPy_BEGIN_ALLOW_THREADS
;
7209 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
7211 wxPy_END_ALLOW_THREADS
;
7212 } Py_INCREF(Py_None
);
7213 _resultobj
= Py_None
;
7217 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
7218 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
* _resultobj
;
7220 wxPyTreeCtrl
* _arg0
;
7221 wxTreeItemId
* _arg1
;
7222 PyObject
* _argo0
= 0;
7223 PyObject
* _argo1
= 0;
7224 char *_kwnames
[] = { "self","item", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
7237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
7244 wxPy_BEGIN_ALLOW_THREADS
;
7245 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
7247 wxPy_END_ALLOW_THREADS
;
7248 } Py_INCREF(Py_None
);
7249 _resultobj
= Py_None
;
7253 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
7254 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7256 wxPyTreeCtrl
* _arg0
;
7257 wxTreeItemId
* _arg1
;
7258 PyObject
* _argo0
= 0;
7259 PyObject
* _argo1
= 0;
7260 char *_kwnames
[] = { "self","item", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
7273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
7280 wxPy_BEGIN_ALLOW_THREADS
;
7281 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
7283 wxPy_END_ALLOW_THREADS
;
7284 } Py_INCREF(Py_None
);
7285 _resultobj
= Py_None
;
7289 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
7290 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
* _resultobj
;
7292 wxTextCtrl
* _result
;
7293 wxPyTreeCtrl
* _arg0
;
7294 wxTreeItemId
* _arg1
;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _argo1
= 0;
7297 char *_kwnames
[] = { "self","item", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
7311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
7318 wxPy_BEGIN_ALLOW_THREADS
;
7319 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
7321 wxPy_END_ALLOW_THREADS
;
7323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7324 _resultobj
= Py_BuildValue("s",_ptemp
);
7327 _resultobj
= Py_None
;
7332 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
7333 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7335 wxTextCtrl
* _result
;
7336 wxPyTreeCtrl
* _arg0
;
7337 PyObject
* _argo0
= 0;
7338 char *_kwnames
[] = { "self", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
7352 wxPy_BEGIN_ALLOW_THREADS
;
7353 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
7355 wxPy_END_ALLOW_THREADS
;
7357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7358 _resultobj
= Py_BuildValue("s",_ptemp
);
7361 _resultobj
= Py_None
;
7366 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
7367 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
* _resultobj
;
7369 wxPyTreeCtrl
* _arg0
;
7370 wxTreeItemId
* _arg1
;
7371 int _arg2
= (int ) FALSE
;
7372 PyObject
* _argo0
= 0;
7373 PyObject
* _argo1
= 0;
7374 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
7387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
7394 wxPy_BEGIN_ALLOW_THREADS
;
7395 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
7397 wxPy_END_ALLOW_THREADS
;
7398 } Py_INCREF(Py_None
);
7399 _resultobj
= Py_None
;
7403 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
7404 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7406 wxPyTreeCtrl
* _arg0
;
7407 wxTreeItemId
* _arg1
;
7408 PyObject
* _argo0
= 0;
7409 PyObject
* _argo1
= 0;
7410 char *_kwnames
[] = { "self","item", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
7423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
7430 wxPy_BEGIN_ALLOW_THREADS
;
7431 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
7433 wxPy_END_ALLOW_THREADS
;
7434 } Py_INCREF(Py_None
);
7435 _resultobj
= Py_None
;
7439 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
7440 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7442 wxPyTreeCtrl
* _arg0
;
7443 wxTreeItemId
* _arg1
;
7444 int _arg2
= (int ) TRUE
;
7445 PyObject
* _argo0
= 0;
7446 PyObject
* _argo1
= 0;
7447 char *_kwnames
[] = { "self","item","bold", NULL
};
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
7460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
7467 wxPy_BEGIN_ALLOW_THREADS
;
7468 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
7470 wxPy_END_ALLOW_THREADS
;
7471 } Py_INCREF(Py_None
);
7472 _resultobj
= Py_None
;
7476 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
7477 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7480 wxPyTreeCtrl
* _arg0
;
7481 wxTreeItemId
* _arg1
;
7482 PyObject
* _argo0
= 0;
7483 PyObject
* _argo1
= 0;
7484 char *_kwnames
[] = { "self","item", NULL
};
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
7490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
7497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
7504 wxPy_BEGIN_ALLOW_THREADS
;
7505 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
7507 wxPy_END_ALLOW_THREADS
;
7508 } _resultobj
= Py_BuildValue("i",_result
);
7512 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
7513 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7515 wxTreeItemId
* _result
;
7516 wxPyTreeCtrl
* _arg0
;
7520 PyObject
* _argo0
= 0;
7522 PyObject
* _obj1
= 0;
7523 char *_kwnames
[] = { "self","point", NULL
};
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
7533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
7541 if (! wxPoint_helper(_obj1
, &_arg1
))
7545 wxPy_BEGIN_ALLOW_THREADS
;
7546 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
7548 wxPy_END_ALLOW_THREADS
;
7549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7550 _resultobj
= Py_BuildValue("s",_ptemp
);
7553 o
= PyInt_FromLong((long) (*_arg2
));
7554 _resultobj
= t_output_helper(_resultobj
, o
);
7559 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
7560 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7562 wxPyTreeCtrl
* _arg0
;
7563 wxTreeItemId
* _arg1
;
7565 PyObject
* _argo0
= 0;
7566 PyObject
* _argo1
= 0;
7568 PyObject
* _obj2
= 0;
7569 char *_kwnames
[] = { "self","item","col", NULL
};
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
7582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
7590 if (! wxColour_helper(_obj2
, &_arg2
))
7594 wxPy_BEGIN_ALLOW_THREADS
;
7595 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
7597 wxPy_END_ALLOW_THREADS
;
7598 } Py_INCREF(Py_None
);
7599 _resultobj
= Py_None
;
7603 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
7604 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7606 wxPyTreeCtrl
* _arg0
;
7607 wxTreeItemId
* _arg1
;
7609 PyObject
* _argo0
= 0;
7610 PyObject
* _argo1
= 0;
7612 PyObject
* _obj2
= 0;
7613 char *_kwnames
[] = { "self","item","col", NULL
};
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
7626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
7634 if (! wxColour_helper(_obj2
, &_arg2
))
7638 wxPy_BEGIN_ALLOW_THREADS
;
7639 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
7641 wxPy_END_ALLOW_THREADS
;
7642 } Py_INCREF(Py_None
);
7643 _resultobj
= Py_None
;
7647 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
7648 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
* _resultobj
;
7650 wxPyTreeCtrl
* _arg0
;
7651 wxTreeItemId
* _arg1
;
7653 PyObject
* _argo0
= 0;
7654 PyObject
* _argo1
= 0;
7655 PyObject
* _argo2
= 0;
7656 char *_kwnames
[] = { "self","item","font", NULL
};
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
7669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
7676 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7677 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
7678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
7683 wxPy_BEGIN_ALLOW_THREADS
;
7684 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
7686 wxPy_END_ALLOW_THREADS
;
7687 } Py_INCREF(Py_None
);
7688 _resultobj
= Py_None
;
7692 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
7693 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
* _resultobj
;
7695 wxPyTreeCtrl
* _arg0
;
7696 wxTreeItemId
* _arg1
;
7697 int _arg2
= (int ) TRUE
;
7698 PyObject
* _argo0
= 0;
7699 PyObject
* _argo1
= 0;
7700 char *_kwnames
[] = { "self","item","highlight", NULL
};
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
7713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
7720 wxPy_BEGIN_ALLOW_THREADS
;
7721 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
7723 wxPy_END_ALLOW_THREADS
;
7724 } Py_INCREF(Py_None
);
7725 _resultobj
= Py_None
;
7729 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
7731 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
7732 bool doSave
= wxPyRestoreThread();
7733 wxRect
* r
= new wxRect(rect
);
7734 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
7735 wxPySaveThread(doSave
);
7743 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7746 wxPyTreeCtrl
* _arg0
;
7747 wxTreeItemId
* _arg1
;
7748 int _arg2
= (int ) FALSE
;
7749 PyObject
* _argo0
= 0;
7750 PyObject
* _argo1
= 0;
7751 char *_kwnames
[] = { "self","item","textOnly", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
7764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
7774 wxPy_END_ALLOW_THREADS
;
7776 _resultobj
= _result
;
7781 static PyMethodDef controls2cMethods
[] = {
7782 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
7783 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7784 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
7785 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7786 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7787 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7788 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
7789 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
7790 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
7791 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7792 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
7793 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7794 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
7795 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7796 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxTreeCtrl__setSelf", (PyCFunction
) _wrap_wxTreeCtrl__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxListEvent_Cancelled", (PyCFunction
) _wrap_wxListEvent_Cancelled
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxListEvent_GetOldItem", (PyCFunction
) _wrap_wxListEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxListEvent_GetOldIndex", (PyCFunction
) _wrap_wxListEvent_GetOldIndex
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxListEvent_m_cancelled_get", (PyCFunction
) _wrap_wxListEvent_m_cancelled_get
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxListEvent_m_cancelled_set", (PyCFunction
) _wrap_wxListEvent_m_cancelled_set
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
8011 * This table is used by the pointer type-checker
8013 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8014 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8015 { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8016 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8017 { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8018 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8019 { "_wxEvent","_class_wxEvent",0},
8020 { "_class_wxActivateEvent","_wxActivateEvent",0},
8021 { "_signed_long","_long",0},
8022 { "_wxMenuEvent","_class_wxMenuEvent",0},
8023 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8024 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8025 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8026 { "_wxPrintQuality","_wxCoord",0},
8027 { "_wxPrintQuality","_int",0},
8028 { "_wxPrintQuality","_signed_int",0},
8029 { "_wxPrintQuality","_unsigned_int",0},
8030 { "_wxPrintQuality","_wxWindowID",0},
8031 { "_wxPrintQuality","_uint",0},
8032 { "_wxPrintQuality","_EBool",0},
8033 { "_wxPrintQuality","_size_t",0},
8034 { "_wxPrintQuality","_time_t",0},
8035 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8036 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8037 { "_class_wxRegionIterator","_wxRegionIterator",0},
8038 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8039 { "_class_wxMenuBar","_wxMenuBar",0},
8040 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8041 { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8042 { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8043 { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8044 { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8045 { "_class_wxEvtHandler","_wxEvtHandler",0},
8046 { "_wxPaintEvent","_class_wxPaintEvent",0},
8047 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8048 { "_wxCursor","_class_wxCursor",0},
8049 { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8050 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8051 { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8052 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8053 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8054 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8055 { "_wxMask","_class_wxMask",0},
8056 { "_wxPen","_class_wxPen",0},
8057 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8058 { "_byte","_unsigned_char",0},
8059 { "_wxDataObject","_class_wxDataObject",0},
8060 { "_wxStaticBox","_class_wxStaticBox",0},
8061 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8062 { "_wxPyDropSource","_class_wxPyDropSource",0},
8063 { "_wxChoice","_class_wxChoice",0},
8064 { "_wxSlider","_class_wxSlider",0},
8065 { "_long","_unsigned_long",0},
8066 { "_long","_signed_long",0},
8067 { "_wxImageList","_class_wxImageList",0},
8068 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8069 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8070 { "_wxBitmapButton","_class_wxBitmapButton",0},
8071 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8072 { "_class_wxClipboard","_wxClipboard",0},
8073 { "_class_wxGauge","_wxGauge",0},
8074 { "_wxDC","_class_wxDC",0},
8075 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8076 { "_wxListEvent","_class_wxListEvent",0},
8077 { "_wxSpinEvent","_class_wxSpinEvent",0},
8078 { "_size_t","_wxCoord",0},
8079 { "_size_t","_wxPrintQuality",0},
8080 { "_size_t","_time_t",0},
8081 { "_size_t","_unsigned_int",0},
8082 { "_size_t","_int",0},
8083 { "_size_t","_wxWindowID",0},
8084 { "_size_t","_uint",0},
8085 { "_class_wxRealPoint","_wxRealPoint",0},
8086 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8087 { "_wxPrinterDC","_class_wxPrinterDC",0},
8088 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8089 { "_class_wxMenuItem","_wxMenuItem",0},
8090 { "_class_wxPaintEvent","_wxPaintEvent",0},
8091 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8092 { "_wxPanel","_class_wxPanel",0},
8093 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8094 { "_wxCheckBox","_class_wxCheckBox",0},
8095 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8096 { "_wxPyEvent","_class_wxPyEvent",0},
8097 { "_wxTextCtrl","_class_wxTextCtrl",0},
8098 { "_class_wxMask","_wxMask",0},
8099 { "_wxTextDataObject","_class_wxTextDataObject",0},
8100 { "_class_wxKeyEvent","_wxKeyEvent",0},
8101 { "_wxColour","_class_wxColour",0},
8102 { "_class_wxDialog","_wxDialog",0},
8103 { "_class_wxFileDataObject","_wxFileDataObject",0},
8104 { "_wxIdleEvent","_class_wxIdleEvent",0},
8105 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8106 { "_class_wxDataObject","_wxDataObject",0},
8107 { "_wxStaticLine","_class_wxStaticLine",0},
8108 { "_wxBrush","_class_wxBrush",0},
8109 { "_wxDataFormat","_class_wxDataFormat",0},
8110 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8111 { "_wxShowEvent","_class_wxShowEvent",0},
8112 { "_uint","_wxCoord",0},
8113 { "_uint","_wxPrintQuality",0},
8114 { "_uint","_time_t",0},
8115 { "_uint","_size_t",0},
8116 { "_uint","_unsigned_int",0},
8117 { "_uint","_int",0},
8118 { "_uint","_wxWindowID",0},
8119 { "_wxChar","_char",0},
8120 { "_wxPyValidator","_class_wxPyValidator",0},
8121 { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8122 { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
8123 { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent
},
8124 { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
8125 { "_class_wxEvent","_wxEvent",0},
8126 { "_wxCheckListBox","_class_wxCheckListBox",0},
8127 { "_wxRect","_class_wxRect",0},
8128 { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8129 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8130 { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8131 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8132 { "_wxCommandEvent","_class_wxCommandEvent",0},
8133 { "_wxSizeEvent","_class_wxSizeEvent",0},
8134 { "_wxPoint","_class_wxPoint",0},
8135 { "_class_wxButton","_wxButton",0},
8136 { "_wxRadioBox","_class_wxRadioBox",0},
8137 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8138 { "_char","_wxChar",0},
8139 { "_wxBitmap","_class_wxBitmap",0},
8140 { "_wxWindowDC","_class_wxWindowDC",0},
8141 { "_wxTimerEvent","_class_wxTimerEvent",0},
8142 { "_wxScrollBar","_class_wxScrollBar",0},
8143 { "_wxSpinButton","_class_wxSpinButton",0},
8144 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8145 { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8146 { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
8147 { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8148 { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
8149 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8150 { "_class_wxValidator","_wxValidator",0},
8151 { "_class_wxPyEvent","_wxPyEvent",0},
8152 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8153 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8154 { "_wxListItem","_class_wxListItem",0},
8155 { "_wxDropTarget","_class_wxDropTarget",0},
8156 { "_class_wxStaticLine","_wxStaticLine",0},
8157 { "_wxScrollEvent","_class_wxScrollEvent",0},
8158 { "_EBool","_wxCoord",0},
8159 { "_EBool","_wxPrintQuality",0},
8160 { "_EBool","_signed_int",0},
8161 { "_EBool","_int",0},
8162 { "_EBool","_wxWindowID",0},
8163 { "_class_wxRegion","_wxRegion",0},
8164 { "_class_wxDataFormat","_wxDataFormat",0},
8165 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8166 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8167 { "_wxStaticText","_class_wxStaticText",0},
8168 { "_wxFont","_class_wxFont",0},
8169 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8170 { "_wxCloseEvent","_class_wxCloseEvent",0},
8171 { "_unsigned_long","_long",0},
8172 { "_class_wxRect","_wxRect",0},
8173 { "_class_wxDC","_wxDC",0},
8174 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8175 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8176 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8177 { "_class_wxTreeEvent","_wxTreeEvent",0},
8178 { "_wxFocusEvent","_class_wxFocusEvent",0},
8179 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8180 { "_class_wxTimerEvent","_wxTimerEvent",0},
8181 { "_class_wxSpinButton","_wxSpinButton",0},
8182 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8183 { "_class_wxPanel","_wxPanel",0},
8184 { "_class_wxCheckBox","_wxCheckBox",0},
8185 { "_wxComboBox","_class_wxComboBox",0},
8186 { "_wxRadioButton","_class_wxRadioButton",0},
8187 { "_signed_int","_wxCoord",0},
8188 { "_signed_int","_wxPrintQuality",0},
8189 { "_signed_int","_EBool",0},
8190 { "_signed_int","_wxWindowID",0},
8191 { "_signed_int","_int",0},
8192 { "_class_wxTextCtrl","_wxTextCtrl",0},
8193 { "_class_wxListItemAttr","_wxListItemAttr",0},
8194 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8195 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8196 { "_class_wxTextDataObject","_wxTextDataObject",0},
8197 { "_wxMenu","_class_wxMenu",0},
8198 { "_class_wxMoveEvent","_wxMoveEvent",0},
8199 { "_wxListBox","_class_wxListBox",0},
8200 { "_wxScreenDC","_class_wxScreenDC",0},
8201 { "_WXTYPE","_short",0},
8202 { "_WXTYPE","_signed_short",0},
8203 { "_WXTYPE","_unsigned_short",0},
8204 { "_class_wxDropTarget","_wxDropTarget",0},
8205 { "_class_wxBrush","_wxBrush",0},
8206 { "_unsigned_short","_WXTYPE",0},
8207 { "_unsigned_short","_short",0},
8208 { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8209 { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8210 { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8211 { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8212 { "_class_wxWindow","_wxWindow",0},
8213 { "_class_wxStaticText","_wxStaticText",0},
8214 { "_class_wxFont","_wxFont",0},
8215 { "_wxClipboard","_class_wxClipboard",0},
8216 { "_class_wxPyValidator","_wxPyValidator",0},
8217 { "_class_wxCloseEvent","_wxCloseEvent",0},
8218 { "_wxBusyInfo","_class_wxBusyInfo",0},
8219 { "_class_wxMenuEvent","_wxMenuEvent",0},
8220 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8221 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8222 { "_wxClientDC","_class_wxClientDC",0},
8223 { "_wxMouseEvent","_class_wxMouseEvent",0},
8224 { "_wxListCtrl","_class_wxListCtrl",0},
8225 { "_class_wxPoint","_wxPoint",0},
8226 { "_wxRealPoint","_class_wxRealPoint",0},
8227 { "_class_wxRadioBox","_wxRadioBox",0},
8228 { "_signed_short","_WXTYPE",0},
8229 { "_signed_short","_short",0},
8230 { "_wxMemoryDC","_class_wxMemoryDC",0},
8231 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8232 { "_wxPaintDC","_class_wxPaintDC",0},
8233 { "_class_wxWindowDC","_wxWindowDC",0},
8234 { "_class_wxFocusEvent","_wxFocusEvent",0},
8235 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8236 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8237 { "_class_wxCursor","_wxCursor",0},
8238 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8239 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8240 { "_wxTreeItemId","_class_wxTreeItemId",0},
8241 { "_unsigned_char","_byte",0},
8242 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8243 { "_class_wxMenu","_wxMenu",0},
8244 { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8245 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8246 { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8247 { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8248 { "_wxControl","_class_wxControl",0},
8249 { "_class_wxListBox","_wxListBox",0},
8250 { "_unsigned_int","_wxCoord",0},
8251 { "_unsigned_int","_wxPrintQuality",0},
8252 { "_unsigned_int","_time_t",0},
8253 { "_unsigned_int","_size_t",0},
8254 { "_unsigned_int","_uint",0},
8255 { "_unsigned_int","_wxWindowID",0},
8256 { "_unsigned_int","_int",0},
8257 { "_wxIcon","_class_wxIcon",0},
8258 { "_wxDialog","_class_wxDialog",0},
8259 { "_class_wxListItem","_wxListItem",0},
8260 { "_class_wxPen","_wxPen",0},
8261 { "_short","_WXTYPE",0},
8262 { "_short","_unsigned_short",0},
8263 { "_short","_signed_short",0},
8264 { "_class_wxStaticBox","_wxStaticBox",0},
8265 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8266 { "_class_wxPyDropSource","_wxPyDropSource",0},
8267 { "_class_wxScrollEvent","_wxScrollEvent",0},
8268 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8269 { "_class_wxChoice","_wxChoice",0},
8270 { "_class_wxSlider","_wxSlider",0},
8271 { "_class_wxImageList","_wxImageList",0},
8272 { "_class_wxBitmapButton","_wxBitmapButton",0},
8273 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8274 { "_wxWindowID","_wxCoord",0},
8275 { "_wxWindowID","_wxPrintQuality",0},
8276 { "_wxWindowID","_time_t",0},
8277 { "_wxWindowID","_size_t",0},
8278 { "_wxWindowID","_EBool",0},
8279 { "_wxWindowID","_uint",0},
8280 { "_wxWindowID","_int",0},
8281 { "_wxWindowID","_signed_int",0},
8282 { "_wxWindowID","_unsigned_int",0},
8283 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8284 { "_int","_wxCoord",0},
8285 { "_int","_wxPrintQuality",0},
8286 { "_int","_time_t",0},
8287 { "_int","_size_t",0},
8288 { "_int","_EBool",0},
8289 { "_int","_uint",0},
8290 { "_int","_wxWindowID",0},
8291 { "_int","_unsigned_int",0},
8292 { "_int","_signed_int",0},
8293 { "_class_wxMouseEvent","_wxMouseEvent",0},
8294 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8295 { "_class_wxListEvent","_wxListEvent",0},
8296 { "_class_wxSpinEvent","_wxSpinEvent",0},
8297 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8298 { "_time_t","_wxCoord",0},
8299 { "_time_t","_wxPrintQuality",0},
8300 { "_time_t","_unsigned_int",0},
8301 { "_time_t","_int",0},
8302 { "_time_t","_wxWindowID",0},
8303 { "_time_t","_uint",0},
8304 { "_time_t","_size_t",0},
8305 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8306 { "_wxButton","_class_wxButton",0},
8307 { "_wxSize","_class_wxSize",0},
8308 { "_wxRegionIterator","_class_wxRegionIterator",0},
8309 { "_class_wxPrinterDC","_wxPrinterDC",0},
8310 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8311 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8312 { "_class_wxPaintDC","_wxPaintDC",0},
8313 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8314 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8315 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8316 { "_class_wxComboBox","_wxComboBox",0},
8317 { "_class_wxRadioButton","_wxRadioButton",0},
8318 { "_wxValidator","_class_wxValidator",0},
8319 { "_class_wxTreeItemId","_wxTreeItemId",0},
8320 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8321 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8322 { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8323 { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
8324 { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl
},
8325 { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl
},
8326 { "_class_wxControl","_wxControl",0},
8327 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8328 { "_class_wxIcon","_wxIcon",0},
8329 { "_class_wxColour","_wxColour",0},
8330 { "_class_wxScreenDC","_wxScreenDC",0},
8331 { "_wxPalette","_class_wxPalette",0},
8332 { "_class_wxIdleEvent","_wxIdleEvent",0},
8333 { "_wxCoord","_int",0},
8334 { "_wxCoord","_signed_int",0},
8335 { "_wxCoord","_unsigned_int",0},
8336 { "_wxCoord","_wxWindowID",0},
8337 { "_wxCoord","_uint",0},
8338 { "_wxCoord","_EBool",0},
8339 { "_wxCoord","_size_t",0},
8340 { "_wxCoord","_time_t",0},
8341 { "_wxCoord","_wxPrintQuality",0},
8342 { "_wxEraseEvent","_class_wxEraseEvent",0},
8343 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8344 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8345 { "_wxRegion","_class_wxRegion",0},
8346 { "_class_wxShowEvent","_wxShowEvent",0},
8347 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8348 { "_wxActivateEvent","_class_wxActivateEvent",0},
8349 { "_wxGauge","_class_wxGauge",0},
8350 { "_class_wxCheckListBox","_wxCheckListBox",0},
8351 { "_class_wxBusyInfo","_wxBusyInfo",0},
8352 { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8353 { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
8354 { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent
},
8355 { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
8356 { "_class_wxCommandEvent","_wxCommandEvent",0},
8357 { "_class_wxClientDC","_wxClientDC",0},
8358 { "_class_wxSizeEvent","_wxSizeEvent",0},
8359 { "_class_wxListCtrl","_wxListCtrl",0},
8360 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8361 { "_class_wxSize","_wxSize",0},
8362 { "_class_wxBitmap","_wxBitmap",0},
8363 { "_class_wxMemoryDC","_wxMemoryDC",0},
8364 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8365 { "_wxMenuBar","_class_wxMenuBar",0},
8366 { "_wxTreeEvent","_class_wxTreeEvent",0},
8367 { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8368 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
8369 { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8370 { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler
},
8371 { "_wxEvtHandler","_class_wxEvtHandler",0},
8372 { "_wxMenuItem","_class_wxMenuItem",0},
8373 { "_class_wxScrollBar","_wxScrollBar",0},
8374 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8375 { "_wxListItemAttr","_class_wxListItemAttr",0},
8376 { "_wxKeyEvent","_class_wxKeyEvent",0},
8377 { "_wxMoveEvent","_class_wxMoveEvent",0},
8378 { "_class_wxPalette","_wxPalette",0},
8379 { "_wxFileDataObject","_class_wxFileDataObject",0},
8380 { "_class_wxEraseEvent","_wxEraseEvent",0},
8381 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8382 { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8383 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
8384 { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow
},
8385 { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow
},
8386 { "_wxWindow","_class_wxWindow",0},
8387 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8390 static PyObject
*SWIG_globals
;
8394 SWIGEXPORT(void) initcontrols2c() {
8396 SWIG_globals
= SWIG_newvarlink();
8397 m
= Py_InitModule("controls2c", controls2cMethods
);
8398 d
= PyModule_GetDict(m
);
8399 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
8400 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
8401 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
8402 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
8403 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
8404 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
8405 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
8406 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
8407 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
8408 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
8409 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
8410 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
8411 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
8412 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
8413 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
8414 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
8415 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
8416 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
8417 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
8418 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
8419 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
8420 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
8421 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
8422 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
8423 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
8424 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
8425 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
8426 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
8427 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
8428 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
8429 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
8430 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
8431 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
8432 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
8433 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
8434 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
8435 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
8436 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
8437 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
8438 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
8439 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
8440 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
8441 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
8442 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
8443 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
8444 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
8445 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
8446 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
8447 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
8448 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
8449 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
8450 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
8451 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
8452 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
8453 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
8454 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
8455 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
8456 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
8457 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
8458 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
8459 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
8460 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
8463 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8464 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);