2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
65 #include <wx/dirctrl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 #if PYTHON_API_VERSION >= 1009
95 static char* wxStringErrorMsg
= "String or Unicode type required";
97 static char* wxStringErrorMsg
= "String type required";
99 // C++ Version of a Python aware class
100 class wxPyListCtrl
: public wxListCtrl
{
101 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
103 wxPyListCtrl() : wxListCtrl() {}
104 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
108 const wxValidator
& validator
,
110 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
112 bool Create(wxWindow
* parent
, wxWindowID id
,
116 const wxValidator
& validator
,
118 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
121 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
122 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
123 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
128 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
130 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
131 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
132 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
133 // Python aware sorting function for wxPyListCtrl
134 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
136 PyObject
* func
= (PyObject
*)funcPtr
;
137 wxPyBeginBlockThreads();
139 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
140 PyObject
* result
= PyEval_CallObject(func
, args
);
143 retval
= PyInt_AsLong(result
);
147 wxPyEndBlockThreads();
152 class wxPyTreeItemData
: public wxTreeItemData
{
154 wxPyTreeItemData(PyObject
* obj
= NULL
) {
161 ~wxPyTreeItemData() {
162 wxPyBeginBlockThreads();
164 wxPyEndBlockThreads();
167 PyObject
* GetData() {
172 void SetData(PyObject
* obj
) {
173 wxPyBeginBlockThreads();
175 wxPyEndBlockThreads();
182 // C++ version of Python aware wxTreeCtrl
183 class wxPyTreeCtrl
: public wxTreeCtrl
{
184 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
186 wxPyTreeCtrl() : wxTreeCtrl() {}
187 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
191 const wxValidator
& validator
,
193 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
195 bool Create(wxWindow
*parent
, wxWindowID id
,
199 const wxValidator
& validator
,
201 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
205 int OnCompareItems(const wxTreeItemId
& item1
,
206 const wxTreeItemId
& item2
) {
209 wxPyBeginBlockThreads();
210 if ((found
= m_myInst
.findCallback("OnCompareItems")))
211 rval
= m_myInst
.callCallback(Py_BuildValue(
213 wxPyConstructObject((void*)&item1
, "wxTreeItemId"),
214 wxPyConstructObject((void*)&item2
, "wxTreeItemId")));
215 wxPyEndBlockThreads();
217 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
223 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
228 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
229 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
231 wxListItemAttr
* _result
;
232 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
233 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
234 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
236 PyObject
* _obj0
= 0;
238 PyObject
* _obj1
= 0;
239 PyObject
* _argo2
= 0;
240 char *_kwnames
[] = { "colText","colBack","font", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
249 if (! wxColour_helper(_obj0
, &_arg0
))
255 if (! wxColour_helper(_obj1
, &_arg1
))
259 if (_argo2
== Py_None
) { _arg2
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
269 wxPyEndAllowThreads(__tstate
);
270 if (PyErr_Occurred()) return NULL
;
272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
273 _resultobj
= Py_BuildValue("s",_ptemp
);
276 _resultobj
= Py_None
;
281 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
282 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
284 wxListItemAttr
* _arg0
;
286 PyObject
* _argo0
= 0;
288 PyObject
* _obj1
= 0;
289 char *_kwnames
[] = { "self","colText", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
303 if (! wxColour_helper(_obj1
, &_arg1
))
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } Py_INCREF(Py_None
);
313 _resultobj
= Py_None
;
317 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
318 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
320 wxListItemAttr
* _arg0
;
322 PyObject
* _argo0
= 0;
324 PyObject
* _obj1
= 0;
325 char *_kwnames
[] = { "self","colBack", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
339 if (! wxColour_helper(_obj1
, &_arg1
))
343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
344 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
346 wxPyEndAllowThreads(__tstate
);
347 if (PyErr_Occurred()) return NULL
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
354 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
356 wxListItemAttr
* _arg0
;
358 PyObject
* _argo0
= 0;
359 PyObject
* _argo1
= 0;
360 char *_kwnames
[] = { "self","font", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
381 wxListItemAttr_SetFont(_arg0
,*_arg1
);
383 wxPyEndAllowThreads(__tstate
);
384 if (PyErr_Occurred()) return NULL
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
390 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
391 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
392 PyObject
* _resultobj
;
394 wxListItemAttr
* _arg0
;
395 PyObject
* _argo0
= 0;
396 char *_kwnames
[] = { "self", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
410 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
412 wxPyEndAllowThreads(__tstate
);
413 if (PyErr_Occurred()) return NULL
;
414 } _resultobj
= Py_BuildValue("i",_result
);
418 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
419 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
422 wxListItemAttr
* _arg0
;
423 PyObject
* _argo0
= 0;
424 char *_kwnames
[] = { "self", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
438 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
440 wxPyEndAllowThreads(__tstate
);
441 if (PyErr_Occurred()) return NULL
;
442 } _resultobj
= Py_BuildValue("i",_result
);
446 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
447 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
450 wxListItemAttr
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
466 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
468 wxPyEndAllowThreads(__tstate
);
469 if (PyErr_Occurred()) return NULL
;
470 } _resultobj
= Py_BuildValue("i",_result
);
474 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
475 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
478 wxListItemAttr
* _arg0
;
479 PyObject
* _argo0
= 0;
480 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
504 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
505 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 wxListItemAttr
* _arg0
;
509 PyObject
* _argo0
= 0;
510 char *_kwnames
[] = { "self", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
530 _resultobj
= Py_BuildValue("s",_ptemp
);
534 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
535 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
538 wxListItemAttr
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
555 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
557 wxPyEndAllowThreads(__tstate
);
558 if (PyErr_Occurred()) return NULL
;
559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
560 _resultobj
= Py_BuildValue("s",_ptemp
);
564 static void *SwigwxListItemTowxObject(void *ptr
) {
567 src
= (wxListItem
*) ptr
;
568 dest
= (wxObject
*) src
;
569 return (void *) dest
;
572 #define new_wxListItem() (new wxListItem())
573 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
575 wxListItem
* _result
;
576 char *_kwnames
[] = { NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
584 _result
= (wxListItem
*)new_wxListItem();
586 wxPyEndAllowThreads(__tstate
);
587 if (PyErr_Occurred()) return NULL
;
589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
590 _resultobj
= Py_BuildValue("s",_ptemp
);
593 _resultobj
= Py_None
;
598 #define delete_wxListItem(_swigobj) (delete _swigobj)
599 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 delete_wxListItem(_arg0
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
627 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 wxListItem_Clear(_arg0
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
649 } Py_INCREF(Py_None
);
650 _resultobj
= Py_None
;
654 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
655 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 wxListItem_ClearAttributes(_arg0
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) return NULL
;
677 } Py_INCREF(Py_None
);
678 _resultobj
= Py_None
;
682 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
683 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self","mask", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 wxListItem_SetMask(_arg0
,_arg1
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
712 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self","id", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 wxListItem_SetId(_arg0
,_arg1
);
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
735 } Py_INCREF(Py_None
);
736 _resultobj
= Py_None
;
740 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
741 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
745 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self","col", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
760 wxListItem_SetColumn(_arg0
,_arg1
);
762 wxPyEndAllowThreads(__tstate
);
763 if (PyErr_Occurred()) return NULL
;
764 } Py_INCREF(Py_None
);
765 _resultobj
= Py_None
;
769 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
770 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self","state", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 wxListItem_SetState(_arg0
,_arg1
);
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
793 } Py_INCREF(Py_None
);
794 _resultobj
= Py_None
;
798 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
799 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self","stateMask", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 wxListItem_SetStateMask(_arg0
,_arg1
);
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
822 } Py_INCREF(Py_None
);
823 _resultobj
= Py_None
;
827 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
828 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
832 PyObject
* _argo0
= 0;
833 PyObject
* _obj1
= 0;
834 char *_kwnames
[] = { "self","text", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
847 #if PYTHON_API_VERSION >= 1009
848 char* tmpPtr
; int tmpSize
;
849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
855 _arg1
= new wxString(tmpPtr
, tmpSize
);
857 if (!PyString_Check(_obj1
)) {
858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 wxListItem_SetText(_arg0
,*_arg1
);
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
870 } Py_INCREF(Py_None
);
871 _resultobj
= Py_None
;
879 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
880 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self","image", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 wxListItem_SetImage(_arg0
,_arg1
);
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) return NULL
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
908 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
909 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self","data", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
928 wxListItem_SetData(_arg0
,_arg1
);
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) return NULL
;
932 } Py_INCREF(Py_None
);
933 _resultobj
= Py_None
;
937 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
938 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
942 PyObject
* _argo0
= 0;
943 char *_kwnames
[] = { "self","width", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
957 wxListItem_SetWidth(_arg0
,_arg1
);
959 wxPyEndAllowThreads(__tstate
);
960 if (PyErr_Occurred()) return NULL
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
967 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxListColumnFormat _arg1
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self","align", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 wxListItem_SetAlign(_arg0
,_arg1
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
996 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1000 PyObject
* _argo0
= 0;
1002 PyObject
* _obj1
= 0;
1003 char *_kwnames
[] = { "self","colText", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1017 if (! wxColour_helper(_obj1
, &_arg1
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxListItem_SetTextColour(_arg0
,*_arg1
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1032 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1036 PyObject
* _argo0
= 0;
1038 PyObject
* _obj1
= 0;
1039 char *_kwnames
[] = { "self","colBack", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1053 if (! wxColour_helper(_obj1
, &_arg1
))
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) return NULL
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1067 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1068 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1072 PyObject
* _argo0
= 0;
1073 PyObject
* _argo1
= 0;
1074 char *_kwnames
[] = { "self","font", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 wxListItem_SetFont(_arg0
,*_arg1
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } Py_INCREF(Py_None
);
1100 _resultobj
= Py_None
;
1104 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1105 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 _result
= (long )wxListItem_GetMask(_arg0
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } _resultobj
= Py_BuildValue("l",_result
);
1132 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1133 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1137 PyObject
* _argo0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 _result
= (long )wxListItem_GetId(_arg0
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) return NULL
;
1156 } _resultobj
= Py_BuildValue("l",_result
);
1160 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1161 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
* _resultobj
;
1165 PyObject
* _argo0
= 0;
1166 char *_kwnames
[] = { "self", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 _result
= (int )wxListItem_GetColumn(_arg0
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1189 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= (long )wxListItem_GetState(_arg0
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } _resultobj
= Py_BuildValue("l",_result
);
1216 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1217 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1237 _result
= (wxString
*) &_result_ref
;
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) return NULL
;
1242 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1247 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1248 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 _result
= (int )wxListItem_GetImage(_arg0
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } _resultobj
= Py_BuildValue("i",_result
);
1275 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1276 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 _result
= (long )wxListItem_GetData(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } _resultobj
= Py_BuildValue("l",_result
);
1303 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1304 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1308 PyObject
* _argo0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 _result
= (int )wxListItem_GetWidth(_arg0
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) return NULL
;
1327 } _resultobj
= Py_BuildValue("i",_result
);
1331 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1332 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxListColumnFormat _result
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) return NULL
;
1355 } _resultobj
= Py_BuildValue("i",_result
);
1359 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1360 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxListItemAttr
* _result
;
1364 PyObject
* _argo0
= 0;
1365 char *_kwnames
[] = { "self", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1386 _resultobj
= Py_BuildValue("s",_ptemp
);
1389 _resultobj
= Py_None
;
1394 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1395 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) return NULL
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1423 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1448 _resultobj
= Py_BuildValue("s",_ptemp
);
1452 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1453 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1478 _resultobj
= Py_BuildValue("s",_ptemp
);
1482 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1483 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1487 PyObject
* _argo0
= 0;
1488 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1513 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self","m_mask", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } _resultobj
= Py_BuildValue("l",_result
);
1541 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1542 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (long )wxListItem_m_mask_get(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } _resultobj
= Py_BuildValue("l",_result
);
1569 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1570 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","m_itemId", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1594 } _resultobj
= Py_BuildValue("l",_result
);
1598 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1599 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1603 PyObject
* _argo0
= 0;
1604 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } _resultobj
= Py_BuildValue("l",_result
);
1626 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1627 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self","m_col", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1656 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxListItem_m_col_get(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1684 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "self","m_state", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } _resultobj
= Py_BuildValue("l",_result
);
1712 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1713 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (long )wxListItem_m_state_get(_arg0
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } _resultobj
= Py_BuildValue("l",_result
);
1740 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1741 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } _resultobj
= Py_BuildValue("l",_result
);
1769 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1770 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("l",_result
);
1797 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1798 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1803 PyObject
* _argo0
= 0;
1804 PyObject
* _obj1
= 0;
1805 char *_kwnames
[] = { "self","m_text", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1818 #if PYTHON_API_VERSION >= 1009
1819 char* tmpPtr
; int tmpSize
;
1820 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1824 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1826 _arg1
= new wxString(tmpPtr
, tmpSize
);
1828 if (!PyString_Check(_obj1
)) {
1829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1832 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1851 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1852 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1876 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1881 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1882 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","m_image", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) return NULL
;
1906 } _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1911 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 _result
= (int )wxListItem_m_image_get(_arg0
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } _resultobj
= Py_BuildValue("i",_result
);
1938 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1939 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1944 PyObject
* _argo0
= 0;
1945 char *_kwnames
[] = { "self","m_data", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) return NULL
;
1963 } _resultobj
= Py_BuildValue("l",_result
);
1967 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1968 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (long )wxListItem_m_data_get(_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } _resultobj
= Py_BuildValue("l",_result
);
1995 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1996 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self","m_format", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("i",_result
);
2024 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2025 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (int )wxListItem_m_format_get(_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2053 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self","m_width", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } _resultobj
= Py_BuildValue("i",_result
);
2081 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2082 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (int )wxListItem_m_width_get(_arg0
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2111 wxNotifyEvent
*dest
;
2112 src
= (wxListEvent
*) ptr
;
2113 dest
= (wxNotifyEvent
*) src
;
2114 return (void *) dest
;
2117 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2119 wxCommandEvent
*dest
;
2120 src
= (wxListEvent
*) ptr
;
2121 dest
= (wxCommandEvent
*) src
;
2122 return (void *) dest
;
2125 static void *SwigwxListEventTowxEvent(void *ptr
) {
2128 src
= (wxListEvent
*) ptr
;
2129 dest
= (wxEvent
*) src
;
2130 return (void *) dest
;
2133 static void *SwigwxListEventTowxObject(void *ptr
) {
2136 src
= (wxListEvent
*) ptr
;
2137 dest
= (wxObject
*) src
;
2138 return (void *) dest
;
2141 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2142 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 wxListEvent
* _result
;
2145 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2146 int _arg1
= (int ) 0;
2147 char *_kwnames
[] = { "commandType","id", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2164 _resultobj
= Py_None
;
2169 #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval)
2170 static PyObject
*_wrap_wxListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 wxListEvent
* _arg0
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self","m_code", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_code_set",_kwnames
,&_argo0
,&_arg1
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p.");
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 _result
= (int )wxListEvent_m_code_set(_arg0
,_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2199 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2202 wxListEvent
* _arg0
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (int )wxListEvent_m_code_get(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval)
2227 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2230 wxListEvent
* _arg0
;
2232 PyObject
* _argo0
= 0;
2233 char *_kwnames
[] = { "self","m_oldItemIndex", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p.");
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 _result
= (long )wxListEvent_m_oldItemIndex_set(_arg0
,_arg1
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) return NULL
;
2251 } _resultobj
= Py_BuildValue("l",_result
);
2255 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2256 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2259 wxListEvent
* _arg0
;
2260 PyObject
* _argo0
= 0;
2261 char *_kwnames
[] = { "self", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } _resultobj
= Py_BuildValue("l",_result
);
2283 #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval)
2284 static PyObject
*_wrap_wxListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 wxListEvent
* _arg0
;
2289 PyObject
* _argo0
= 0;
2290 char *_kwnames
[] = { "self","m_itemIndex", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListEvent_m_itemIndex_set",_kwnames
,&_argo0
,&_arg1
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 _result
= (long )wxListEvent_m_itemIndex_set(_arg0
,_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } _resultobj
= Py_BuildValue("l",_result
);
2312 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2313 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2316 wxListEvent
* _arg0
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } _resultobj
= Py_BuildValue("l",_result
);
2340 #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
2341 static PyObject
*_wrap_wxListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2344 wxListEvent
* _arg0
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self","m_col", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListEvent_m_col_set",_kwnames
,&_argo0
,&_arg1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p.");
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 _result
= (int )wxListEvent_m_col_set(_arg0
,_arg1
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) return NULL
;
2365 } _resultobj
= Py_BuildValue("i",_result
);
2369 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2370 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2373 wxListEvent
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 _result
= (int )wxListEvent_m_col_get(_arg0
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } _resultobj
= Py_BuildValue("i",_result
);
2397 #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval)
2398 static PyObject
*_wrap_wxListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2401 wxListEvent
* _arg0
;
2403 PyObject
* _argo0
= 0;
2405 PyObject
* _obj1
= 0;
2406 char *_kwnames
[] = { "self","m_pointDrag", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_pointDrag_set",_kwnames
,&_argo0
,&_obj1
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p.");
2421 if (! wxPoint_helper(_obj1
, &_arg1
))
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 _result
= (wxPoint
*)wxListEvent_m_pointDrag_set(_arg0
,_arg1
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) return NULL
;
2431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2435 _resultobj
= Py_None
;
2440 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2441 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2444 wxListEvent
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 _resultobj
= Py_None
;
2475 #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval)
2476 static PyObject
*_wrap_wxListEvent_m_item_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2478 wxListItem
* _result
;
2479 wxListEvent
* _arg0
;
2481 PyObject
* _argo0
= 0;
2482 PyObject
* _argo1
= 0;
2483 char *_kwnames
[] = { "self","m_item", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListEvent_m_item_set",_kwnames
,&_argo0
,&_argo1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p.");
2496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p.");
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 _result
= (wxListItem
*)wxListEvent_m_item_set(_arg0
,_arg1
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2508 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2512 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2513 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2515 wxListItem
* _result
;
2516 wxListEvent
* _arg0
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2540 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2541 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2544 wxListEvent
* _arg0
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 _result
= (int )wxListEvent_GetCode(_arg0
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } _resultobj
= Py_BuildValue("i",_result
);
2568 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2569 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 wxListEvent
* _arg0
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 _result
= (long )wxListEvent_GetIndex(_arg0
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } _resultobj
= Py_BuildValue("l",_result
);
2596 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2597 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2600 wxListEvent
* _arg0
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 _result
= (int )wxListEvent_GetColumn(_arg0
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) return NULL
;
2620 } _resultobj
= Py_BuildValue("i",_result
);
2624 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2625 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2628 wxListEvent
* _arg0
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2655 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2658 wxListEvent
* _arg0
;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2675 _result
= (wxString
*) &_result_ref
;
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) return NULL
;
2680 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2685 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2686 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2689 wxListEvent
* _arg0
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2706 _result
= (wxString
*) &_result_ref
;
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) return NULL
;
2711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2716 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2717 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2720 wxListEvent
* _arg0
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 _result
= (int )wxListEvent_GetImage(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2745 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2748 wxListEvent
* _arg0
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= (long )wxListEvent_GetData(_arg0
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } _resultobj
= Py_BuildValue("l",_result
);
2772 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2773 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2776 wxListEvent
* _arg0
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (long )wxListEvent_GetMask(_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2796 } _resultobj
= Py_BuildValue("l",_result
);
2800 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2801 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2803 wxListItem
* _result
;
2804 wxListEvent
* _arg0
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2821 _result
= (wxListItem
*) &_result_ref
;
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2829 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2830 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxListEvent
* _arg0
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } _resultobj
= Py_BuildValue("l",_result
);
2857 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2858 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2861 wxListEvent
* _arg0
;
2862 PyObject
* _argo0
= 0;
2863 char *_kwnames
[] = { "self", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 } _resultobj
= Py_BuildValue("l",_result
);
2885 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2888 src
= (wxPyListCtrl
*) ptr
;
2889 dest
= (wxControl
*) src
;
2890 return (void *) dest
;
2893 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2896 src
= (wxPyListCtrl
*) ptr
;
2897 dest
= (wxWindow
*) src
;
2898 return (void *) dest
;
2901 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2904 src
= (wxPyListCtrl
*) ptr
;
2905 dest
= (wxEvtHandler
*) src
;
2906 return (void *) dest
;
2909 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2912 src
= (wxPyListCtrl
*) ptr
;
2913 dest
= (wxObject
*) src
;
2914 return (void *) dest
;
2917 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2918 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPyListCtrl
* _result
;
2922 wxWindowID _arg1
= (wxWindowID
) -1;
2923 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2924 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2925 long _arg4
= (long ) (wxLC_ICON
);
2926 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2927 char * _arg6
= (char *) "listCtrl";
2928 PyObject
* _argo0
= 0;
2930 PyObject
* _obj2
= 0;
2932 PyObject
* _obj3
= 0;
2933 PyObject
* _argo5
= 0;
2934 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2950 if (! wxPoint_helper(_obj2
, &_arg2
))
2956 if (! wxSize_helper(_obj3
, &_arg3
))
2960 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2974 _resultobj
= Py_BuildValue("s",_ptemp
);
2977 _resultobj
= Py_None
;
2982 #define new_wxPreListCtrl() (new wxPyListCtrl())
2983 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2985 wxPyListCtrl
* _result
;
2986 char *_kwnames
[] = { NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
3000 _resultobj
= Py_BuildValue("s",_ptemp
);
3003 _resultobj
= Py_None
;
3008 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3009 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3012 wxPyListCtrl
* _arg0
;
3014 wxWindowID _arg2
= (wxWindowID
) -1;
3015 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3016 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3017 long _arg5
= (long ) (wxLC_ICON
);
3018 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3019 char * _arg7
= (char *) "listCtrl";
3020 PyObject
* _argo0
= 0;
3021 PyObject
* _argo1
= 0;
3023 PyObject
* _obj3
= 0;
3025 PyObject
* _obj4
= 0;
3026 PyObject
* _argo6
= 0;
3027 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
3040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
3049 if (! wxPoint_helper(_obj3
, &_arg3
))
3055 if (! wxSize_helper(_obj4
, &_arg4
))
3059 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3076 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3078 wxPyListCtrl
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 PyObject
* _obj1
= 0;
3083 PyObject
* _obj2
= 0;
3084 char *_kwnames
[] = { "self","self","_class", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
3114 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3117 wxPyListCtrl
* _arg0
;
3119 PyObject
* _argo0
= 0;
3121 PyObject
* _obj1
= 0;
3122 char *_kwnames
[] = { "self","col", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
3136 if (! wxColour_helper(_obj1
, &_arg1
))
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) return NULL
;
3145 } _resultobj
= Py_BuildValue("i",_result
);
3149 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3150 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 wxPyListCtrl
* _arg0
;
3155 PyObject
* _argo0
= 0;
3157 PyObject
* _obj1
= 0;
3158 char *_kwnames
[] = { "self","col", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3172 if (! wxColour_helper(_obj1
, &_arg1
))
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } _resultobj
= Py_BuildValue("i",_result
);
3185 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3187 if (self
->GetColumn(col
, item
))
3188 return new wxListItem(item
);
3192 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3194 wxListItem
* _result
;
3195 wxPyListCtrl
* _arg0
;
3197 PyObject
* _argo0
= 0;
3198 char *_kwnames
[] = { "self","col", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3220 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3221 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3224 wxPyListCtrl
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 PyObject
* _argo2
= 0;
3229 char *_kwnames
[] = { "self","col","item", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3242 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) return NULL
;
3254 } _resultobj
= Py_BuildValue("i",_result
);
3258 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3259 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
* _resultobj
;
3262 wxPyListCtrl
* _arg0
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self","col", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3283 } _resultobj
= Py_BuildValue("i",_result
);
3287 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3288 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3291 wxPyListCtrl
* _arg0
;
3294 PyObject
* _argo0
= 0;
3295 char *_kwnames
[] = { "self","col","width", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) return NULL
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3318 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3321 wxPyListCtrl
* _arg0
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3346 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxTextCtrl
* _result
;
3349 wxPyListCtrl
* _arg0
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) return NULL
;
3369 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3373 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3374 wxListItem
* info
= new wxListItem
;
3375 info
->m_itemId
= itemId
;
3377 info
->m_mask
= 0xFFFF;
3378 self
->GetItem(*info
);
3381 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3383 wxListItem
* _result
;
3384 wxPyListCtrl
* _arg0
;
3386 int _arg2
= (int ) 0;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self","itemId","col", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) return NULL
;
3406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3410 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3411 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3414 wxPyListCtrl
* _arg0
;
3416 PyObject
* _argo0
= 0;
3417 PyObject
* _argo1
= 0;
3418 char *_kwnames
[] = { "self","info", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) return NULL
;
3443 } _resultobj
= Py_BuildValue("i",_result
);
3447 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3448 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3451 wxPyListCtrl
* _arg0
;
3455 int _arg4
= (int ) -1;
3456 PyObject
* _argo0
= 0;
3457 PyObject
* _obj3
= 0;
3458 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3471 #if PYTHON_API_VERSION >= 1009
3472 char* tmpPtr
; int tmpSize
;
3473 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3477 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3479 _arg3
= new wxString(tmpPtr
, tmpSize
);
3481 if (!PyString_Check(_obj3
)) {
3482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3485 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) return NULL
;
3494 } _resultobj
= Py_BuildValue("l",_result
);
3502 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3503 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3506 wxPyListCtrl
* _arg0
;
3509 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3528 } _resultobj
= Py_BuildValue("i",_result
);
3532 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3533 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3536 wxPyListCtrl
* _arg0
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3564 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 wxPyListCtrl
* _arg0
;
3571 PyObject
* _argo0
= 0;
3572 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3590 } _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3595 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3598 wxPyListCtrl
* _arg0
;
3600 PyObject
* _argo0
= 0;
3601 char *_kwnames
[] = { "self","item", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) return NULL
;
3620 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3628 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3629 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3631 wxPyListCtrl
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 PyObject
* _obj2
= 0;
3636 char *_kwnames
[] = { "self","item","str", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3649 #if PYTHON_API_VERSION >= 1009
3650 char* tmpPtr
; int tmpSize
;
3651 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3655 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3657 _arg2
= new wxString(tmpPtr
, tmpSize
);
3659 if (!PyString_Check(_obj2
)) {
3660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3663 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) return NULL
;
3672 } Py_INCREF(Py_None
);
3673 _resultobj
= Py_None
;
3681 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3682 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3685 wxPyListCtrl
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self","item", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) return NULL
;
3706 } _resultobj
= Py_BuildValue("l",_result
);
3710 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3711 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3714 wxPyListCtrl
* _arg0
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self","item","data", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) return NULL
;
3736 } _resultobj
= Py_BuildValue("i",_result
);
3740 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3741 wxPoint
* pos
= new wxPoint
;
3742 self
->GetItemPosition(item
, *pos
);
3745 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3748 wxPyListCtrl
* _arg0
;
3750 PyObject
* _argo0
= 0;
3751 char *_kwnames
[] = { "self","item", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) return NULL
;
3771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3772 _resultobj
= Py_BuildValue("s",_ptemp
);
3775 _resultobj
= Py_None
;
3780 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3781 wxRect
* rect
= new wxRect
;
3782 self
->GetItemRect(item
, *rect
, code
);
3785 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3788 wxPyListCtrl
* _arg0
;
3790 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self","item","code", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3813 _resultobj
= Py_BuildValue("s",_ptemp
);
3816 _resultobj
= Py_None
;
3821 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3822 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3825 wxPyListCtrl
* _arg0
;
3828 PyObject
* _argo0
= 0;
3830 PyObject
* _obj2
= 0;
3831 char *_kwnames
[] = { "self","item","pos", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3845 if (! wxPoint_helper(_obj2
, &_arg2
))
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3859 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxPyListCtrl
* _arg0
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } _resultobj
= Py_BuildValue("i",_result
);
3886 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3887 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3890 wxPyListCtrl
* _arg0
;
3891 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3915 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3918 wxPyListCtrl
* _arg0
;
3920 PyObject
* _argo0
= 0;
3922 char *_kwnames
[] = { "self","isSmall", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3934 _arg1
= (bool ) tempbool1
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3941 } _resultobj
= Py_BuildValue("i",_result
);
3945 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3946 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3949 wxPyListCtrl
* _arg0
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3969 } _resultobj
= Py_BuildValue("i",_result
);
3973 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3974 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3977 wxPyListCtrl
* _arg0
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self", NULL
};
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) return NULL
;
3998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3999 _resultobj
= Py_BuildValue("s",_ptemp
);
4003 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4004 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4006 wxPyListCtrl
* _arg0
;
4008 PyObject
* _argo0
= 0;
4010 PyObject
* _obj1
= 0;
4011 char *_kwnames
[] = { "self","col", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
4025 if (! wxColour_helper(_obj1
, &_arg1
))
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } Py_INCREF(Py_None
);
4035 _resultobj
= Py_None
;
4039 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
4040 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 wxPyListCtrl
* _arg0
;
4044 PyObject
* _argo0
= 0;
4045 char *_kwnames
[] = { "self", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) return NULL
;
4063 } _resultobj
= Py_BuildValue("l",_result
);
4067 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
4068 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4070 wxPyListCtrl
* _arg0
;
4072 bool _arg2
= (bool ) TRUE
;
4073 PyObject
* _argo0
= 0;
4074 int tempbool2
= (int) TRUE
;
4075 char *_kwnames
[] = { "self","style","add", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
4087 _arg2
= (bool ) tempbool2
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) return NULL
;
4094 } Py_INCREF(Py_None
);
4095 _resultobj
= Py_None
;
4099 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
4100 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxPyListCtrl
* _arg0
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "self","style", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
4129 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4132 wxPyListCtrl
* _arg0
;
4134 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
4135 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } _resultobj
= Py_BuildValue("l",_result
);
4159 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
4160 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4162 wxImageList
* _result
;
4163 wxPyListCtrl
* _arg0
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self","which", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) return NULL
;
4184 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4188 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
4189 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4191 wxPyListCtrl
* _arg0
;
4192 wxImageList
* _arg1
;
4194 PyObject
* _argo0
= 0;
4195 PyObject
* _argo1
= 0;
4196 char *_kwnames
[] = { "self","imageList","which", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) return NULL
;
4221 } Py_INCREF(Py_None
);
4222 _resultobj
= Py_None
;
4226 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4227 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
* _resultobj
;
4229 wxPyListCtrl
* _arg0
;
4230 wxImageList
* _arg1
;
4232 PyObject
* _argo0
= 0;
4233 PyObject
* _argo1
= 0;
4234 char *_kwnames
[] = { "self","imageList","which", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) return NULL
;
4259 } Py_INCREF(Py_None
);
4260 _resultobj
= Py_None
;
4264 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4265 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
* _resultobj
;
4268 wxPyListCtrl
* _arg0
;
4269 PyObject
* _argo0
= 0;
4270 char *_kwnames
[] = { "self", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) return NULL
;
4288 } _resultobj
= Py_BuildValue("i",_result
);
4292 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4293 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4295 wxPyListCtrl
* _arg0
;
4297 PyObject
* _argo0
= 0;
4298 char *_kwnames
[] = { "self","item", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } Py_INCREF(Py_None
);
4317 _resultobj
= Py_None
;
4321 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4322 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4324 wxPyListCtrl
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 } Py_INCREF(Py_None
);
4347 _resultobj
= Py_None
;
4351 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4352 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4355 wxPyListCtrl
* _arg0
;
4356 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4357 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self","flag", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) return NULL
;
4376 } _resultobj
= Py_BuildValue("i",_result
);
4380 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4381 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4384 wxPyListCtrl
* _arg0
;
4386 PyObject
* _argo0
= 0;
4387 char *_kwnames
[] = { "self","item", NULL
};
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4405 } _resultobj
= Py_BuildValue("i",_result
);
4409 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4410 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxPyListCtrl
* _arg0
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } _resultobj
= Py_BuildValue("i",_result
);
4437 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4438 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4441 wxPyListCtrl
* _arg0
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self","col", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } _resultobj
= Py_BuildValue("i",_result
);
4466 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4467 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4470 wxPyListCtrl
* _arg0
;
4471 PyObject
* _argo0
= 0;
4472 char *_kwnames
[] = { "self", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } _resultobj
= Py_BuildValue("i",_result
);
4494 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4495 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4497 wxPyListCtrl
* _arg0
;
4498 PyObject
* _argo0
= 0;
4499 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 wxListCtrl_ClearAll(_arg0
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4517 } Py_INCREF(Py_None
);
4518 _resultobj
= Py_None
;
4522 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4523 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxTextCtrl
* _result
;
4526 wxPyListCtrl
* _arg0
;
4528 PyObject
* _argo0
= 0;
4529 char *_kwnames
[] = { "self","item", NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) return NULL
;
4547 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4551 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4552 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4555 wxPyListCtrl
* _arg0
;
4557 PyObject
* _argo0
= 0;
4559 char *_kwnames
[] = { "self","cancel", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4571 _arg1
= (bool ) tempbool1
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) return NULL
;
4578 } _resultobj
= Py_BuildValue("i",_result
);
4582 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4583 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4586 wxPyListCtrl
* _arg0
;
4588 PyObject
* _argo0
= 0;
4589 char *_kwnames
[] = { "self","item", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) return NULL
;
4607 } _resultobj
= Py_BuildValue("i",_result
);
4611 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4612 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4615 wxPyListCtrl
* _arg0
;
4618 bool _arg3
= (bool ) FALSE
;
4619 PyObject
* _argo0
= 0;
4620 PyObject
* _obj2
= 0;
4621 int tempbool3
= (int) FALSE
;
4622 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4635 #if PYTHON_API_VERSION >= 1009
4636 char* tmpPtr
; int tmpSize
;
4637 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4641 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4643 _arg2
= new wxString(tmpPtr
, tmpSize
);
4645 if (!PyString_Check(_obj2
)) {
4646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4649 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4652 _arg3
= (bool ) tempbool3
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) return NULL
;
4659 } _resultobj
= Py_BuildValue("l",_result
);
4667 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4668 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4671 wxPyListCtrl
* _arg0
;
4674 PyObject
* _argo0
= 0;
4675 char *_kwnames
[] = { "self","start","data", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) return NULL
;
4693 } _resultobj
= Py_BuildValue("l",_result
);
4697 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4698 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4701 wxPyListCtrl
* _arg0
;
4705 PyObject
* _argo0
= 0;
4707 PyObject
* _obj2
= 0;
4708 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4722 if (! wxPoint_helper(_obj2
, &_arg2
))
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) return NULL
;
4731 } _resultobj
= Py_BuildValue("l",_result
);
4735 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4736 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4739 wxPyListCtrl
* _arg0
;
4743 PyObject
* _argo0
= 0;
4745 PyObject
* _obj1
= 0;
4746 char *_kwnames
[] = { "self","point", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4763 if (! wxPoint_helper(_obj1
, &_arg1
))
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } _resultobj
= Py_BuildValue("l",_result
);
4775 o
= PyInt_FromLong((long) (*_arg2
));
4776 _resultobj
= t_output_helper(_resultobj
, o
);
4781 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4782 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4785 wxPyListCtrl
* _arg0
;
4787 PyObject
* _argo0
= 0;
4788 PyObject
* _argo1
= 0;
4789 char *_kwnames
[] = { "self","info", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) return NULL
;
4814 } _resultobj
= Py_BuildValue("l",_result
);
4818 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4819 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4822 wxPyListCtrl
* _arg0
;
4825 PyObject
* _argo0
= 0;
4826 PyObject
* _obj2
= 0;
4827 char *_kwnames
[] = { "self","index","label", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4840 #if PYTHON_API_VERSION >= 1009
4841 char* tmpPtr
; int tmpSize
;
4842 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4843 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4846 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4848 _arg2
= new wxString(tmpPtr
, tmpSize
);
4850 if (!PyString_Check(_obj2
)) {
4851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4854 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) return NULL
;
4863 } _resultobj
= Py_BuildValue("l",_result
);
4871 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4872 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4875 wxPyListCtrl
* _arg0
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 } _resultobj
= Py_BuildValue("l",_result
);
4901 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4902 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4905 wxPyListCtrl
* _arg0
;
4909 PyObject
* _argo0
= 0;
4910 PyObject
* _obj2
= 0;
4911 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4924 #if PYTHON_API_VERSION >= 1009
4925 char* tmpPtr
; int tmpSize
;
4926 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4930 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4932 _arg2
= new wxString(tmpPtr
, tmpSize
);
4934 if (!PyString_Check(_obj2
)) {
4935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4938 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) return NULL
;
4947 } _resultobj
= Py_BuildValue("l",_result
);
4955 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4956 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4959 wxPyListCtrl
* _arg0
;
4962 PyObject
* _argo0
= 0;
4963 PyObject
* _argo2
= 0;
4964 char *_kwnames
[] = { "self","col","info", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4977 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 } _resultobj
= Py_BuildValue("l",_result
);
4993 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4994 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 wxPyListCtrl
* _arg0
;
5000 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
5001 int _arg4
= (int ) -1;
5002 PyObject
* _argo0
= 0;
5003 PyObject
* _obj2
= 0;
5004 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
5010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
5017 #if PYTHON_API_VERSION >= 1009
5018 char* tmpPtr
; int tmpSize
;
5019 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5023 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5025 _arg2
= new wxString(tmpPtr
, tmpSize
);
5027 if (!PyString_Check(_obj2
)) {
5028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5031 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) return NULL
;
5040 } _resultobj
= Py_BuildValue("l",_result
);
5048 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
5049 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5051 wxPyListCtrl
* _arg0
;
5053 PyObject
* _argo0
= 0;
5054 char *_kwnames
[] = { "self","count", NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
5060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxListCtrl_SetItemCount(_arg0
,_arg1
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) return NULL
;
5072 } Py_INCREF(Py_None
);
5073 _resultobj
= Py_None
;
5077 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
5078 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5081 wxPyListCtrl
* _arg0
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self","dx","dy", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } _resultobj
= Py_BuildValue("i",_result
);
5107 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
5108 if (!PyCallable_Check(func
))
5110 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5112 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5115 wxPyListCtrl
* _arg0
;
5117 PyObject
* _argo0
= 0;
5118 PyObject
* _obj1
= 0;
5119 char *_kwnames
[] = { "self","func", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) return NULL
;
5140 } _resultobj
= Py_BuildValue("i",_result
);
5144 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5147 src
= (wxListView
*) ptr
;
5148 dest
= (wxPyListCtrl
*) src
;
5149 return (void *) dest
;
5152 static void *SwigwxListViewTowxControl(void *ptr
) {
5155 src
= (wxListView
*) ptr
;
5156 dest
= (wxControl
*) src
;
5157 return (void *) dest
;
5160 static void *SwigwxListViewTowxWindow(void *ptr
) {
5163 src
= (wxListView
*) ptr
;
5164 dest
= (wxWindow
*) src
;
5165 return (void *) dest
;
5168 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5171 src
= (wxListView
*) ptr
;
5172 dest
= (wxEvtHandler
*) src
;
5173 return (void *) dest
;
5176 static void *SwigwxListViewTowxObject(void *ptr
) {
5179 src
= (wxListView
*) ptr
;
5180 dest
= (wxObject
*) src
;
5181 return (void *) dest
;
5184 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5185 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5187 wxListView
* _result
;
5189 wxWindowID _arg1
= (wxWindowID
) -1;
5190 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5191 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5192 long _arg4
= (long ) (wxLC_REPORT
);
5193 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5194 wxString
* _arg6
= (wxString
*) &"listctrl";
5195 PyObject
* _argo0
= 0;
5197 PyObject
* _obj2
= 0;
5199 PyObject
* _obj3
= 0;
5200 PyObject
* _argo5
= 0;
5201 PyObject
* _obj6
= 0;
5202 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5218 if (! wxPoint_helper(_obj2
, &_arg2
))
5224 if (! wxSize_helper(_obj3
, &_arg3
))
5228 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5229 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5236 #if PYTHON_API_VERSION >= 1009
5237 char* tmpPtr
; int tmpSize
;
5238 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
5239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5242 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
5244 _arg6
= new wxString(tmpPtr
, tmpSize
);
5246 if (!PyString_Check(_obj6
)) {
5247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5250 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5261 _resultobj
= Py_BuildValue("s",_ptemp
);
5264 _resultobj
= Py_None
;
5273 #define new_wxPreListView() (new wxListView())
5274 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5276 wxListView
* _result
;
5277 char *_kwnames
[] = { NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 _result
= (wxListView
*)new_wxPreListView();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) return NULL
;
5290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5291 _resultobj
= Py_BuildValue("s",_ptemp
);
5294 _resultobj
= Py_None
;
5299 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5300 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
* _resultobj
;
5305 wxWindowID _arg2
= (wxWindowID
) -1;
5306 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5307 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5308 long _arg5
= (long ) (wxLC_REPORT
);
5309 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5310 wxString
* _arg7
= (wxString
*) &"listctrl";
5311 PyObject
* _argo0
= 0;
5312 PyObject
* _argo1
= 0;
5314 PyObject
* _obj3
= 0;
5316 PyObject
* _obj4
= 0;
5317 PyObject
* _argo6
= 0;
5318 PyObject
* _obj7
= 0;
5319 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5341 if (! wxPoint_helper(_obj3
, &_arg3
))
5347 if (! wxSize_helper(_obj4
, &_arg4
))
5351 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5359 #if PYTHON_API_VERSION >= 1009
5360 char* tmpPtr
; int tmpSize
;
5361 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
5362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5365 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
5367 _arg7
= new wxString(tmpPtr
, tmpSize
);
5369 if (!PyString_Check(_obj7
)) {
5370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5373 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) return NULL
;
5382 } _resultobj
= Py_BuildValue("i",_result
);
5390 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5391 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5395 bool _arg2
= (bool ) TRUE
;
5396 PyObject
* _argo0
= 0;
5397 int tempbool2
= (int) TRUE
;
5398 char *_kwnames
[] = { "self","n","on", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5410 _arg2
= (bool ) tempbool2
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 wxListView_Select(_arg0
,_arg1
,_arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) return NULL
;
5417 } Py_INCREF(Py_None
);
5418 _resultobj
= Py_None
;
5422 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5423 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self","index", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 wxListView_Focus(_arg0
,_arg1
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) return NULL
;
5446 } Py_INCREF(Py_None
);
5447 _resultobj
= Py_None
;
5451 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5452 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5456 PyObject
* _argo0
= 0;
5457 char *_kwnames
[] = { "self", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) return NULL
;
5475 } _resultobj
= Py_BuildValue("l",_result
);
5479 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5480 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
* _resultobj
;
5485 PyObject
* _argo0
= 0;
5486 char *_kwnames
[] = { "self","item", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) return NULL
;
5504 } _resultobj
= Py_BuildValue("l",_result
);
5508 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5509 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
* _resultobj
;
5513 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5532 } _resultobj
= Py_BuildValue("l",_result
);
5536 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5537 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5542 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self","index", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) return NULL
;
5561 } _resultobj
= Py_BuildValue("i",_result
);
5565 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5566 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5571 PyObject
* _argo0
= 0;
5572 char *_kwnames
[] = { "self","col","image", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) return NULL
;
5590 } Py_INCREF(Py_None
);
5591 _resultobj
= Py_None
;
5595 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5596 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
* _resultobj
;
5600 PyObject
* _argo0
= 0;
5601 char *_kwnames
[] = { "self","col", NULL
};
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 wxListView_ClearColumnImage(_arg0
,_arg1
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) return NULL
;
5619 } Py_INCREF(Py_None
);
5620 _resultobj
= Py_None
;
5624 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5625 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5627 wxTreeItemAttr
* _result
;
5628 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5629 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5630 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5632 PyObject
* _obj0
= 0;
5634 PyObject
* _obj1
= 0;
5635 PyObject
* _argo2
= 0;
5636 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5645 if (! wxColour_helper(_obj0
, &_arg0
))
5651 if (! wxColour_helper(_obj1
, &_arg1
))
5655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) return NULL
;
5668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5669 _resultobj
= Py_BuildValue("s",_ptemp
);
5672 _resultobj
= Py_None
;
5677 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5678 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
* _resultobj
;
5680 wxTreeItemAttr
* _arg0
;
5682 PyObject
* _argo0
= 0;
5684 PyObject
* _obj1
= 0;
5685 char *_kwnames
[] = { "self","colText", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5699 if (! wxColour_helper(_obj1
, &_arg1
))
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) return NULL
;
5708 } Py_INCREF(Py_None
);
5709 _resultobj
= Py_None
;
5713 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5714 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5716 wxTreeItemAttr
* _arg0
;
5718 PyObject
* _argo0
= 0;
5720 PyObject
* _obj1
= 0;
5721 char *_kwnames
[] = { "self","colBack", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5735 if (! wxColour_helper(_obj1
, &_arg1
))
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) return NULL
;
5744 } Py_INCREF(Py_None
);
5745 _resultobj
= Py_None
;
5749 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5750 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxTreeItemAttr
* _arg0
;
5754 PyObject
* _argo0
= 0;
5755 PyObject
* _argo1
= 0;
5756 char *_kwnames
[] = { "self","font", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) return NULL
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5786 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5787 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5790 wxTreeItemAttr
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } _resultobj
= Py_BuildValue("i",_result
);
5814 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5815 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 wxTreeItemAttr
* _arg0
;
5819 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "self", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) return NULL
;
5838 } _resultobj
= Py_BuildValue("i",_result
);
5842 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5843 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5846 wxTreeItemAttr
* _arg0
;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) return NULL
;
5866 } _resultobj
= Py_BuildValue("i",_result
);
5870 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5871 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 wxTreeItemAttr
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5895 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5896 _resultobj
= Py_BuildValue("s",_ptemp
);
5900 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5901 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5904 wxTreeItemAttr
* _arg0
;
5905 PyObject
* _argo0
= 0;
5906 char *_kwnames
[] = { "self", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5926 _resultobj
= Py_BuildValue("s",_ptemp
);
5930 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5931 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5934 wxTreeItemAttr
* _arg0
;
5935 PyObject
* _argo0
= 0;
5936 char *_kwnames
[] = { "self", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) return NULL
;
5955 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5956 _resultobj
= Py_BuildValue("s",_ptemp
);
5960 #define new_wxTreeItemId() (new wxTreeItemId())
5961 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
* _resultobj
;
5963 wxTreeItemId
* _result
;
5964 char *_kwnames
[] = { NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) return NULL
;
5977 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5978 _resultobj
= Py_BuildValue("s",_ptemp
);
5981 _resultobj
= Py_None
;
5986 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5987 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5989 wxTreeItemId
* _arg0
;
5990 PyObject
* _argo0
= 0;
5991 char *_kwnames
[] = { "self", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 delete_wxTreeItemId(_arg0
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) return NULL
;
6009 } Py_INCREF(Py_None
);
6010 _resultobj
= Py_None
;
6014 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
6015 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
* _resultobj
;
6018 wxTreeItemId
* _arg0
;
6019 PyObject
* _argo0
= 0;
6020 char *_kwnames
[] = { "self", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
6026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) return NULL
;
6038 } _resultobj
= Py_BuildValue("i",_result
);
6042 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
6043 if (! other
) return -1;
6044 return *self
!= *other
;
6046 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6049 wxTreeItemId
* _arg0
;
6050 wxTreeItemId
* _arg1
;
6051 PyObject
* _argo0
= 0;
6052 PyObject
* _argo1
= 0;
6053 char *_kwnames
[] = { "self","other", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
6059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) return NULL
;
6078 } _resultobj
= Py_BuildValue("i",_result
);
6082 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
6083 wxPyTreeItemData
*src
;
6085 src
= (wxPyTreeItemData
*) ptr
;
6086 dest
= (wxObject
*) src
;
6087 return (void *) dest
;
6090 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
6091 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxPyTreeItemData
* _result
;
6094 PyObject
* _arg0
= (PyObject
*) NULL
;
6095 PyObject
* _obj0
= 0;
6096 char *_kwnames
[] = { "obj", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
6114 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 _resultobj
= Py_None
;
6122 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
6123 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6126 wxPyTreeItemData
* _arg0
;
6127 PyObject
* _argo0
= 0;
6128 char *_kwnames
[] = { "self", NULL
};
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
6134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) return NULL
;
6147 _resultobj
= _result
;
6152 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6153 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6155 wxPyTreeItemData
* _arg0
;
6157 PyObject
* _argo0
= 0;
6158 PyObject
* _obj1
= 0;
6159 char *_kwnames
[] = { "self","obj", NULL
};
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 wxTreeItemData_SetData(_arg0
,_arg1
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) return NULL
;
6180 } Py_INCREF(Py_None
);
6181 _resultobj
= Py_None
;
6185 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6186 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6188 wxTreeItemId
* _result
;
6189 wxPyTreeItemData
* _arg0
;
6190 PyObject
* _argo0
= 0;
6191 char *_kwnames
[] = { "self", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6207 _result
= (wxTreeItemId
*) &_result_ref
;
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6213 _resultobj
= Py_BuildValue("s",_ptemp
);
6216 _resultobj
= Py_None
;
6221 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6222 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6224 wxPyTreeItemData
* _arg0
;
6225 wxTreeItemId
* _arg1
;
6226 PyObject
* _argo0
= 0;
6227 PyObject
* _argo1
= 0;
6228 char *_kwnames
[] = { "self","id", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 wxTreeItemData_SetId(_arg0
,*_arg1
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) return NULL
;
6253 } Py_INCREF(Py_None
);
6254 _resultobj
= Py_None
;
6258 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6260 wxNotifyEvent
*dest
;
6261 src
= (wxTreeEvent
*) ptr
;
6262 dest
= (wxNotifyEvent
*) src
;
6263 return (void *) dest
;
6266 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6268 wxCommandEvent
*dest
;
6269 src
= (wxTreeEvent
*) ptr
;
6270 dest
= (wxCommandEvent
*) src
;
6271 return (void *) dest
;
6274 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6277 src
= (wxTreeEvent
*) ptr
;
6278 dest
= (wxEvent
*) src
;
6279 return (void *) dest
;
6282 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6285 src
= (wxTreeEvent
*) ptr
;
6286 dest
= (wxObject
*) src
;
6287 return (void *) dest
;
6290 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6291 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6293 wxTreeEvent
* _result
;
6294 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6295 int _arg1
= (int ) 0;
6296 char *_kwnames
[] = { "commandType","id", NULL
};
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) return NULL
;
6309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6310 _resultobj
= Py_BuildValue("s",_ptemp
);
6313 _resultobj
= Py_None
;
6318 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6319 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6321 wxTreeItemId
* _result
;
6322 wxTreeEvent
* _arg0
;
6323 PyObject
* _argo0
= 0;
6324 char *_kwnames
[] = { "self", NULL
};
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) return NULL
;
6343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6344 _resultobj
= Py_BuildValue("s",_ptemp
);
6348 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6349 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxTreeItemId
* _result
;
6352 wxTreeEvent
* _arg0
;
6353 PyObject
* _argo0
= 0;
6354 char *_kwnames
[] = { "self", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) return NULL
;
6373 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6374 _resultobj
= Py_BuildValue("s",_ptemp
);
6378 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6379 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6382 wxTreeEvent
* _arg0
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) return NULL
;
6403 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6404 _resultobj
= Py_BuildValue("s",_ptemp
);
6408 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6409 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
* _resultobj
;
6411 wxKeyEvent
* _result
;
6412 wxTreeEvent
* _arg0
;
6413 PyObject
* _argo0
= 0;
6414 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6430 _result
= (wxKeyEvent
*) &_result_ref
;
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6436 _resultobj
= Py_BuildValue("s",_ptemp
);
6439 _resultobj
= Py_None
;
6444 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6445 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6448 wxTreeEvent
* _arg0
;
6449 PyObject
* _argo0
= 0;
6450 char *_kwnames
[] = { "self", NULL
};
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) return NULL
;
6468 } _resultobj
= Py_BuildValue("i",_result
);
6472 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6473 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6476 wxTreeEvent
* _arg0
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6493 _result
= (wxString
*) &_result_ref
;
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) return NULL
;
6498 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6503 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6506 src
= (wxPyTreeCtrl
*) ptr
;
6507 dest
= (wxControl
*) src
;
6508 return (void *) dest
;
6511 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6514 src
= (wxPyTreeCtrl
*) ptr
;
6515 dest
= (wxWindow
*) src
;
6516 return (void *) dest
;
6519 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6522 src
= (wxPyTreeCtrl
*) ptr
;
6523 dest
= (wxEvtHandler
*) src
;
6524 return (void *) dest
;
6527 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6530 src
= (wxPyTreeCtrl
*) ptr
;
6531 dest
= (wxObject
*) src
;
6532 return (void *) dest
;
6535 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6536 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6538 wxPyTreeCtrl
* _result
;
6540 wxWindowID _arg1
= (wxWindowID
) -1;
6541 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6542 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6543 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6544 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6545 char * _arg6
= (char *) "wxTreeCtrl";
6546 PyObject
* _argo0
= 0;
6548 PyObject
* _obj2
= 0;
6550 PyObject
* _obj3
= 0;
6551 PyObject
* _argo5
= 0;
6552 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6568 if (! wxPoint_helper(_obj2
, &_arg2
))
6574 if (! wxSize_helper(_obj3
, &_arg3
))
6578 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) return NULL
;
6591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6592 _resultobj
= Py_BuildValue("s",_ptemp
);
6595 _resultobj
= Py_None
;
6600 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6601 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6603 wxPyTreeCtrl
* _result
;
6604 char *_kwnames
[] = { NULL
};
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) return NULL
;
6617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6618 _resultobj
= Py_BuildValue("s",_ptemp
);
6621 _resultobj
= Py_None
;
6626 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6627 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6630 wxPyTreeCtrl
* _arg0
;
6632 wxWindowID _arg2
= (wxWindowID
) -1;
6633 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6634 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6635 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6636 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6637 char * _arg7
= (char *) "wxTreeCtrl";
6638 PyObject
* _argo0
= 0;
6639 PyObject
* _argo1
= 0;
6641 PyObject
* _obj3
= 0;
6643 PyObject
* _obj4
= 0;
6644 PyObject
* _argo6
= 0;
6645 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6667 if (! wxPoint_helper(_obj3
, &_arg3
))
6673 if (! wxSize_helper(_obj4
, &_arg4
))
6677 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) return NULL
;
6689 } _resultobj
= Py_BuildValue("i",_result
);
6693 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6694 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6696 wxPyTreeCtrl
* _arg0
;
6699 PyObject
* _argo0
= 0;
6700 PyObject
* _obj1
= 0;
6701 PyObject
* _obj2
= 0;
6702 char *_kwnames
[] = { "self","self","_class", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6732 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6735 wxPyTreeCtrl
* _arg0
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) return NULL
;
6755 } _resultobj
= Py_BuildValue("i",_result
);
6759 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6760 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
* _resultobj
;
6762 unsigned int _result
;
6763 wxPyTreeCtrl
* _arg0
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) return NULL
;
6783 } _resultobj
= Py_BuildValue("i",_result
);
6787 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6788 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6790 wxPyTreeCtrl
* _arg0
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self","indent", NULL
};
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) return NULL
;
6811 } Py_INCREF(Py_None
);
6812 _resultobj
= Py_None
;
6816 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6817 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6819 wxImageList
* _result
;
6820 wxPyTreeCtrl
* _arg0
;
6821 PyObject
* _argo0
= 0;
6822 char *_kwnames
[] = { "self", NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) return NULL
;
6840 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6844 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6845 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6847 wxImageList
* _result
;
6848 wxPyTreeCtrl
* _arg0
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6868 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6872 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6873 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6875 wxPyTreeCtrl
* _arg0
;
6876 wxImageList
* _arg1
;
6877 PyObject
* _argo0
= 0;
6878 PyObject
* _argo1
= 0;
6879 char *_kwnames
[] = { "self","imageList", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) return NULL
;
6904 } Py_INCREF(Py_None
);
6905 _resultobj
= Py_None
;
6909 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6910 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6912 wxPyTreeCtrl
* _arg0
;
6913 wxImageList
* _arg1
;
6914 PyObject
* _argo0
= 0;
6915 PyObject
* _argo1
= 0;
6916 char *_kwnames
[] = { "self","imageList", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) return NULL
;
6941 } Py_INCREF(Py_None
);
6942 _resultobj
= Py_None
;
6946 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6947 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6949 wxPyTreeCtrl
* _arg0
;
6950 wxImageList
* _arg1
;
6951 PyObject
* _argo0
= 0;
6952 PyObject
* _argo1
= 0;
6953 char *_kwnames
[] = { "self","imageList", NULL
};
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6966 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6978 } Py_INCREF(Py_None
);
6979 _resultobj
= Py_None
;
6983 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6984 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6986 wxPyTreeCtrl
* _arg0
;
6987 wxImageList
* _arg1
;
6988 PyObject
* _argo0
= 0;
6989 PyObject
* _argo1
= 0;
6990 char *_kwnames
[] = { "self","imageList", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_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_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
7003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) return NULL
;
7015 } Py_INCREF(Py_None
);
7016 _resultobj
= Py_None
;
7020 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
7021 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7023 unsigned int _result
;
7024 wxPyTreeCtrl
* _arg0
;
7025 PyObject
* _argo0
= 0;
7026 char *_kwnames
[] = { "self", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
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_GetSpacing. Expected _wxPyTreeCtrl_p.");
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7044 } _resultobj
= Py_BuildValue("i",_result
);
7048 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
7049 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7051 wxPyTreeCtrl
* _arg0
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self","spacing", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) return NULL
;
7072 } Py_INCREF(Py_None
);
7073 _resultobj
= Py_None
;
7077 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
7078 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7081 wxPyTreeCtrl
* _arg0
;
7082 wxTreeItemId
* _arg1
;
7083 PyObject
* _argo0
= 0;
7084 PyObject
* _argo1
= 0;
7085 char *_kwnames
[] = { "self","item", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
7098 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7099 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) return NULL
;
7111 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7119 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7120 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7123 wxPyTreeCtrl
* _arg0
;
7124 wxTreeItemId
* _arg1
;
7125 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7126 PyObject
* _argo0
= 0;
7127 PyObject
* _argo1
= 0;
7128 char *_kwnames
[] = { "self","item","which", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } _resultobj
= Py_BuildValue("i",_result
);
7157 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7158 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7161 wxPyTreeCtrl
* _arg0
;
7162 wxTreeItemId
* _arg1
;
7163 PyObject
* _argo0
= 0;
7164 PyObject
* _argo1
= 0;
7165 char *_kwnames
[] = { "self","item", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7190 } _resultobj
= Py_BuildValue("i",_result
);
7194 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7195 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
* _resultobj
;
7197 wxPyTreeCtrl
* _arg0
;
7198 wxTreeItemId
* _arg1
;
7200 PyObject
* _argo0
= 0;
7201 PyObject
* _argo1
= 0;
7202 PyObject
* _obj2
= 0;
7203 char *_kwnames
[] = { "self","item","text", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7223 #if PYTHON_API_VERSION >= 1009
7224 char* tmpPtr
; int tmpSize
;
7225 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7229 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7231 _arg2
= new wxString(tmpPtr
, tmpSize
);
7233 if (!PyString_Check(_obj2
)) {
7234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7237 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) return NULL
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7255 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7256 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7258 wxPyTreeCtrl
* _arg0
;
7259 wxTreeItemId
* _arg1
;
7261 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7262 PyObject
* _argo0
= 0;
7263 PyObject
* _argo1
= 0;
7264 char *_kwnames
[] = { "self","item","image","which", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) return NULL
;
7289 } Py_INCREF(Py_None
);
7290 _resultobj
= Py_None
;
7294 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7295 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
* _resultobj
;
7297 wxPyTreeCtrl
* _arg0
;
7298 wxTreeItemId
* _arg1
;
7300 PyObject
* _argo0
= 0;
7301 PyObject
* _argo1
= 0;
7302 char *_kwnames
[] = { "self","item","image", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) return NULL
;
7327 } Py_INCREF(Py_None
);
7328 _resultobj
= Py_None
;
7332 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7333 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7335 wxPyTreeCtrl
* _arg0
;
7336 wxTreeItemId
* _arg1
;
7337 bool _arg2
= (bool ) TRUE
;
7338 PyObject
* _argo0
= 0;
7339 PyObject
* _argo1
= 0;
7340 int tempbool2
= (int) TRUE
;
7341 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7360 _arg2
= (bool ) tempbool2
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) return NULL
;
7367 } Py_INCREF(Py_None
);
7368 _resultobj
= Py_None
;
7372 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7373 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7375 data
= new wxPyTreeItemData();
7376 data
->SetId(item
); // set the id
7377 self
->SetItemData(item
, data
);
7381 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
* _resultobj
;
7383 wxPyTreeItemData
* _result
;
7384 wxPyTreeCtrl
* _arg0
;
7385 wxTreeItemId
* _arg1
;
7386 PyObject
* _argo0
= 0;
7387 PyObject
* _argo1
= 0;
7388 char *_kwnames
[] = { "self","item", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) return NULL
;
7415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7416 _resultobj
= Py_BuildValue("s",_ptemp
);
7419 _resultobj
= Py_None
;
7424 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7425 data
->SetId(item
); // set the id
7426 self
->SetItemData(item
, data
);
7428 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
* _resultobj
;
7430 wxPyTreeCtrl
* _arg0
;
7431 wxTreeItemId
* _arg1
;
7432 wxPyTreeItemData
* _arg2
;
7433 PyObject
* _argo0
= 0;
7434 PyObject
* _argo1
= 0;
7435 PyObject
* _argo2
= 0;
7436 char *_kwnames
[] = { "self","item","data", NULL
};
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7456 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) return NULL
;
7468 } Py_INCREF(Py_None
);
7469 _resultobj
= Py_None
;
7473 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7474 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7476 data
= new wxPyTreeItemData();
7477 data
->SetId(item
); // set the id
7478 self
->SetItemData(item
, data
);
7480 return data
->GetData();
7482 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
* _resultobj
;
7485 wxPyTreeCtrl
* _arg0
;
7486 wxTreeItemId
* _arg1
;
7487 PyObject
* _argo0
= 0;
7488 PyObject
* _argo1
= 0;
7489 char *_kwnames
[] = { "self","item", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) return NULL
;
7515 _resultobj
= _result
;
7520 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7521 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7523 data
= new wxPyTreeItemData(obj
);
7524 data
->SetId(item
); // set the id
7525 self
->SetItemData(item
, data
);
7529 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
* _resultobj
;
7531 wxPyTreeCtrl
* _arg0
;
7532 wxTreeItemId
* _arg1
;
7534 PyObject
* _argo0
= 0;
7535 PyObject
* _argo1
= 0;
7536 PyObject
* _obj2
= 0;
7537 char *_kwnames
[] = { "self","item","obj", NULL
};
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) return NULL
;
7565 } Py_INCREF(Py_None
);
7566 _resultobj
= Py_None
;
7570 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7571 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
* _resultobj
;
7574 wxPyTreeCtrl
* _arg0
;
7575 wxTreeItemId
* _arg1
;
7576 PyObject
* _argo0
= 0;
7577 PyObject
* _argo1
= 0;
7578 char *_kwnames
[] = { "self","item", NULL
};
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) return NULL
;
7603 } _resultobj
= Py_BuildValue("i",_result
);
7607 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7608 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
* _resultobj
;
7611 wxPyTreeCtrl
* _arg0
;
7612 wxTreeItemId
* _arg1
;
7613 PyObject
* _argo0
= 0;
7614 PyObject
* _argo1
= 0;
7615 char *_kwnames
[] = { "self","item", NULL
};
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) return NULL
;
7640 } _resultobj
= Py_BuildValue("i",_result
);
7644 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7645 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7648 wxPyTreeCtrl
* _arg0
;
7649 wxTreeItemId
* _arg1
;
7650 PyObject
* _argo0
= 0;
7651 PyObject
* _argo1
= 0;
7652 char *_kwnames
[] = { "self","item", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) return NULL
;
7677 } _resultobj
= Py_BuildValue("i",_result
);
7681 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7682 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
* _resultobj
;
7685 wxPyTreeCtrl
* _arg0
;
7686 wxTreeItemId
* _arg1
;
7687 PyObject
* _argo0
= 0;
7688 PyObject
* _argo1
= 0;
7689 char *_kwnames
[] = { "self","item", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) return NULL
;
7714 } _resultobj
= Py_BuildValue("i",_result
);
7718 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7719 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
* _resultobj
;
7721 wxTreeItemId
* _result
;
7722 wxPyTreeCtrl
* _arg0
;
7723 PyObject
* _argo0
= 0;
7724 char *_kwnames
[] = { "self", NULL
};
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) return NULL
;
7743 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7744 _resultobj
= Py_BuildValue("s",_ptemp
);
7748 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7749 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7751 wxTreeItemId
* _result
;
7752 wxPyTreeCtrl
* _arg0
;
7753 PyObject
* _argo0
= 0;
7754 char *_kwnames
[] = { "self", NULL
};
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) return NULL
;
7773 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7774 _resultobj
= Py_BuildValue("s",_ptemp
);
7778 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7779 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7781 wxTreeItemId
* _result
;
7782 wxPyTreeCtrl
* _arg0
;
7783 wxTreeItemId
* _arg1
;
7784 PyObject
* _argo0
= 0;
7785 PyObject
* _argo1
= 0;
7786 char *_kwnames
[] = { "self","item", NULL
};
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7800 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7813 _resultobj
= Py_BuildValue("s",_ptemp
);
7817 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7818 wxPyBeginBlockThreads();
7819 PyObject
* rval
= PyList_New(0);
7820 wxArrayTreeItemIds array
;
7822 num
= self
->GetSelections(array
);
7823 for (x
=0; x
< num
; x
++) {
7824 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7825 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7826 PyList_Append(rval
, item
);
7828 wxPyEndBlockThreads();
7831 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7834 wxPyTreeCtrl
* _arg0
;
7835 PyObject
* _argo0
= 0;
7836 char *_kwnames
[] = { "self", NULL
};
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) return NULL
;
7855 _resultobj
= _result
;
7860 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7861 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
* _resultobj
;
7864 wxPyTreeCtrl
* _arg0
;
7865 wxTreeItemId
* _arg1
;
7866 bool _arg2
= (bool ) TRUE
;
7867 PyObject
* _argo0
= 0;
7868 PyObject
* _argo1
= 0;
7869 int tempbool2
= (int) TRUE
;
7870 char *_kwnames
[] = { "self","item","recursively", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7889 _arg2
= (bool ) tempbool2
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) return NULL
;
7896 } _resultobj
= Py_BuildValue("i",_result
);
7900 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7901 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
* _resultobj
;
7903 wxTreeItemId
* _result
;
7904 wxPyTreeCtrl
* _arg0
;
7905 wxTreeItemId
* _arg1
;
7907 PyObject
* _argo0
= 0;
7908 PyObject
* _argo1
= 0;
7910 PyObject
* _obj2
= 0;
7911 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7925 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7926 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7932 temp
= (long) PyInt_AsLong(_obj2
);
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) return NULL
;
7941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7942 _resultobj
= Py_BuildValue("s",_ptemp
);
7945 o
= PyInt_FromLong((long) (*_arg2
));
7946 _resultobj
= t_output_helper(_resultobj
, o
);
7951 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7952 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
* _resultobj
;
7954 wxTreeItemId
* _result
;
7955 wxPyTreeCtrl
* _arg0
;
7956 wxTreeItemId
* _arg1
;
7958 PyObject
* _argo0
= 0;
7959 PyObject
* _argo1
= 0;
7961 PyObject
* _obj2
= 0;
7962 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7983 temp
= (long) PyInt_AsLong(_obj2
);
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) return NULL
;
7992 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7993 _resultobj
= Py_BuildValue("s",_ptemp
);
7996 o
= PyInt_FromLong((long) (*_arg2
));
7997 _resultobj
= t_output_helper(_resultobj
, o
);
8002 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
8003 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
* _resultobj
;
8005 wxTreeItemId
* _result
;
8006 wxPyTreeCtrl
* _arg0
;
8007 wxTreeItemId
* _arg1
;
8008 PyObject
* _argo0
= 0;
8009 PyObject
* _argo1
= 0;
8010 char *_kwnames
[] = { "self","item", NULL
};
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
8017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
8024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) return NULL
;
8036 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8037 _resultobj
= Py_BuildValue("s",_ptemp
);
8041 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
8042 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
* _resultobj
;
8044 wxTreeItemId
* _result
;
8045 wxPyTreeCtrl
* _arg0
;
8046 wxTreeItemId
* _arg1
;
8047 PyObject
* _argo0
= 0;
8048 PyObject
* _argo1
= 0;
8049 char *_kwnames
[] = { "self","item", NULL
};
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
8056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
8063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) return NULL
;
8075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8076 _resultobj
= Py_BuildValue("s",_ptemp
);
8080 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
8081 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8083 wxTreeItemId
* _result
;
8084 wxPyTreeCtrl
* _arg0
;
8085 PyObject
* _argo0
= 0;
8086 char *_kwnames
[] = { "self", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) return NULL
;
8105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8106 _resultobj
= Py_BuildValue("s",_ptemp
);
8110 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
8111 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8113 wxTreeItemId
* _result
;
8114 wxPyTreeCtrl
* _arg0
;
8115 wxTreeItemId
* _arg1
;
8116 PyObject
* _argo0
= 0;
8117 PyObject
* _argo1
= 0;
8118 char *_kwnames
[] = { "self","item", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) return NULL
;
8144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8145 _resultobj
= Py_BuildValue("s",_ptemp
);
8149 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8150 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
* _resultobj
;
8152 wxTreeItemId
* _result
;
8153 wxPyTreeCtrl
* _arg0
;
8154 wxTreeItemId
* _arg1
;
8155 PyObject
* _argo0
= 0;
8156 PyObject
* _argo1
= 0;
8157 char *_kwnames
[] = { "self","item", NULL
};
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) return NULL
;
8183 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8184 _resultobj
= Py_BuildValue("s",_ptemp
);
8188 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8189 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
* _resultobj
;
8191 wxTreeItemId
* _result
;
8192 wxPyTreeCtrl
* _arg0
;
8193 wxTreeItemId
* _arg1
;
8194 PyObject
* _argo0
= 0;
8195 PyObject
* _argo1
= 0;
8196 char *_kwnames
[] = { "self","item", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) return NULL
;
8222 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8223 _resultobj
= Py_BuildValue("s",_ptemp
);
8227 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8228 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
* _resultobj
;
8230 wxTreeItemId
* _result
;
8231 wxPyTreeCtrl
* _arg0
;
8233 int _arg2
= (int ) -1;
8234 int _arg3
= (int ) -1;
8235 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8236 PyObject
* _argo0
= 0;
8237 PyObject
* _obj1
= 0;
8238 PyObject
* _argo4
= 0;
8239 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8253 #if PYTHON_API_VERSION >= 1009
8254 char* tmpPtr
; int tmpSize
;
8255 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8259 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8261 _arg1
= new wxString(tmpPtr
, tmpSize
);
8263 if (!PyString_Check(_obj1
)) {
8264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8267 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8271 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8272 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) return NULL
;
8283 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8284 _resultobj
= Py_BuildValue("s",_ptemp
);
8292 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8293 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
* _resultobj
;
8295 wxTreeItemId
* _result
;
8296 wxPyTreeCtrl
* _arg0
;
8297 wxTreeItemId
* _arg1
;
8299 int _arg3
= (int ) -1;
8300 int _arg4
= (int ) -1;
8301 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8302 PyObject
* _argo0
= 0;
8303 PyObject
* _argo1
= 0;
8304 PyObject
* _obj2
= 0;
8305 PyObject
* _argo5
= 0;
8306 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8327 #if PYTHON_API_VERSION >= 1009
8328 char* tmpPtr
; int tmpSize
;
8329 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8333 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8335 _arg2
= new wxString(tmpPtr
, tmpSize
);
8337 if (!PyString_Check(_obj2
)) {
8338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8341 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8345 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8346 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) return NULL
;
8357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8358 _resultobj
= Py_BuildValue("s",_ptemp
);
8366 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8367 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
* _resultobj
;
8369 wxTreeItemId
* _result
;
8370 wxPyTreeCtrl
* _arg0
;
8371 wxTreeItemId
* _arg1
;
8372 wxTreeItemId
* _arg2
;
8374 int _arg4
= (int ) -1;
8375 int _arg5
= (int ) -1;
8376 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8377 PyObject
* _argo0
= 0;
8378 PyObject
* _argo1
= 0;
8379 PyObject
* _argo2
= 0;
8380 PyObject
* _obj3
= 0;
8381 PyObject
* _argo6
= 0;
8382 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8403 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8404 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8410 #if PYTHON_API_VERSION >= 1009
8411 char* tmpPtr
; int tmpSize
;
8412 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8416 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8418 _arg3
= new wxString(tmpPtr
, tmpSize
);
8420 if (!PyString_Check(_obj3
)) {
8421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8424 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8428 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8429 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) return NULL
;
8440 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8441 _resultobj
= Py_BuildValue("s",_ptemp
);
8449 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8450 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
* _resultobj
;
8452 wxTreeItemId
* _result
;
8453 wxPyTreeCtrl
* _arg0
;
8454 wxTreeItemId
* _arg1
;
8457 int _arg4
= (int ) -1;
8458 int _arg5
= (int ) -1;
8459 wxTreeItemData
* _arg6
= (wxTreeItemData
*) NULL
;
8460 PyObject
* _argo0
= 0;
8461 PyObject
* _argo1
= 0;
8462 PyObject
* _obj3
= 0;
8463 PyObject
* _argo6
= 0;
8464 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8485 #if PYTHON_API_VERSION >= 1009
8486 char* tmpPtr
; int tmpSize
;
8487 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8491 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8493 _arg3
= new wxString(tmpPtr
, tmpSize
);
8495 if (!PyString_Check(_obj3
)) {
8496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8499 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8503 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxTreeItemData_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p.");
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) return NULL
;
8515 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8516 _resultobj
= Py_BuildValue("s",_ptemp
);
8524 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8525 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8527 wxTreeItemId
* _result
;
8528 wxPyTreeCtrl
* _arg0
;
8529 wxTreeItemId
* _arg1
;
8531 int _arg3
= (int ) -1;
8532 int _arg4
= (int ) -1;
8533 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8534 PyObject
* _argo0
= 0;
8535 PyObject
* _argo1
= 0;
8536 PyObject
* _obj2
= 0;
8537 PyObject
* _argo5
= 0;
8538 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8559 #if PYTHON_API_VERSION >= 1009
8560 char* tmpPtr
; int tmpSize
;
8561 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8562 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8565 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8567 _arg2
= new wxString(tmpPtr
, tmpSize
);
8569 if (!PyString_Check(_obj2
)) {
8570 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8573 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8577 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) return NULL
;
8589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8590 _resultobj
= Py_BuildValue("s",_ptemp
);
8598 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8599 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
* _resultobj
;
8601 wxPyTreeCtrl
* _arg0
;
8602 wxTreeItemId
* _arg1
;
8603 PyObject
* _argo0
= 0;
8604 PyObject
* _argo1
= 0;
8605 char *_kwnames
[] = { "self","item", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) return NULL
;
8630 } Py_INCREF(Py_None
);
8631 _resultobj
= Py_None
;
8635 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8636 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
* _resultobj
;
8638 wxPyTreeCtrl
* _arg0
;
8639 wxTreeItemId
* _arg1
;
8640 PyObject
* _argo0
= 0;
8641 PyObject
* _argo1
= 0;
8642 char *_kwnames
[] = { "self","item", NULL
};
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) return NULL
;
8667 } Py_INCREF(Py_None
);
8668 _resultobj
= Py_None
;
8672 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8673 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
* _resultobj
;
8675 wxPyTreeCtrl
* _arg0
;
8676 PyObject
* _argo0
= 0;
8677 char *_kwnames
[] = { "self", NULL
};
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxTreeCtrl_DeleteAllItems(_arg0
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) return NULL
;
8695 } Py_INCREF(Py_None
);
8696 _resultobj
= Py_None
;
8700 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8701 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
* _resultobj
;
8703 wxPyTreeCtrl
* _arg0
;
8704 wxTreeItemId
* _arg1
;
8705 PyObject
* _argo0
= 0;
8706 PyObject
* _argo1
= 0;
8707 char *_kwnames
[] = { "self","item", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) return NULL
;
8732 } Py_INCREF(Py_None
);
8733 _resultobj
= Py_None
;
8737 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8738 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
* _resultobj
;
8740 wxPyTreeCtrl
* _arg0
;
8741 wxTreeItemId
* _arg1
;
8742 PyObject
* _argo0
= 0;
8743 PyObject
* _argo1
= 0;
8744 char *_kwnames
[] = { "self","item", NULL
};
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) return NULL
;
8769 } Py_INCREF(Py_None
);
8770 _resultobj
= Py_None
;
8774 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8775 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
* _resultobj
;
8777 wxPyTreeCtrl
* _arg0
;
8778 wxTreeItemId
* _arg1
;
8779 PyObject
* _argo0
= 0;
8780 PyObject
* _argo1
= 0;
8781 char *_kwnames
[] = { "self","item", NULL
};
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8794 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8795 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) return NULL
;
8806 } Py_INCREF(Py_None
);
8807 _resultobj
= Py_None
;
8811 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8812 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
* _resultobj
;
8814 wxPyTreeCtrl
* _arg0
;
8815 wxTreeItemId
* _arg1
;
8816 PyObject
* _argo0
= 0;
8817 PyObject
* _argo1
= 0;
8818 char *_kwnames
[] = { "self","item", NULL
};
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) return NULL
;
8843 } Py_INCREF(Py_None
);
8844 _resultobj
= Py_None
;
8848 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8849 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
* _resultobj
;
8851 wxPyTreeCtrl
* _arg0
;
8852 PyObject
* _argo0
= 0;
8853 char *_kwnames
[] = { "self", NULL
};
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 wxTreeCtrl_Unselect(_arg0
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) return NULL
;
8871 } Py_INCREF(Py_None
);
8872 _resultobj
= Py_None
;
8876 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8877 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
* _resultobj
;
8879 wxPyTreeCtrl
* _arg0
;
8880 PyObject
* _argo0
= 0;
8881 char *_kwnames
[] = { "self", NULL
};
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 wxTreeCtrl_UnselectAll(_arg0
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) return NULL
;
8899 } Py_INCREF(Py_None
);
8900 _resultobj
= Py_None
;
8904 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8905 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
* _resultobj
;
8907 wxPyTreeCtrl
* _arg0
;
8908 wxTreeItemId
* _arg1
;
8909 PyObject
* _argo0
= 0;
8910 PyObject
* _argo1
= 0;
8911 char *_kwnames
[] = { "self","item", NULL
};
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) return NULL
;
8936 } Py_INCREF(Py_None
);
8937 _resultobj
= Py_None
;
8941 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8942 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
* _resultobj
;
8944 wxPyTreeCtrl
* _arg0
;
8945 wxTreeItemId
* _arg1
;
8946 PyObject
* _argo0
= 0;
8947 PyObject
* _argo1
= 0;
8948 char *_kwnames
[] = { "self","item", NULL
};
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) return NULL
;
8973 } Py_INCREF(Py_None
);
8974 _resultobj
= Py_None
;
8978 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8979 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
* _resultobj
;
8981 wxPyTreeCtrl
* _arg0
;
8982 wxTreeItemId
* _arg1
;
8983 PyObject
* _argo0
= 0;
8984 PyObject
* _argo1
= 0;
8985 char *_kwnames
[] = { "self","item", NULL
};
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) return NULL
;
9010 } Py_INCREF(Py_None
);
9011 _resultobj
= Py_None
;
9015 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
9016 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
* _resultobj
;
9018 wxTextCtrl
* _result
;
9019 wxPyTreeCtrl
* _arg0
;
9020 wxTreeItemId
* _arg1
;
9021 PyObject
* _argo0
= 0;
9022 PyObject
* _argo1
= 0;
9023 char *_kwnames
[] = { "self","item", NULL
};
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
9029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
9036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) return NULL
;
9048 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9052 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
9053 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
* _resultobj
;
9055 wxTextCtrl
* _result
;
9056 wxPyTreeCtrl
* _arg0
;
9057 PyObject
* _argo0
= 0;
9058 char *_kwnames
[] = { "self", NULL
};
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
9064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) return NULL
;
9076 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9080 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
9081 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9083 wxPyTreeCtrl
* _arg0
;
9084 wxTreeItemId
* _arg1
;
9085 int _arg2
= (int ) FALSE
;
9086 PyObject
* _argo0
= 0;
9087 PyObject
* _argo1
= 0;
9088 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
9101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) return NULL
;
9113 } Py_INCREF(Py_None
);
9114 _resultobj
= Py_None
;
9118 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
9119 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
* _resultobj
;
9121 wxPyTreeCtrl
* _arg0
;
9122 wxTreeItemId
* _arg1
;
9123 PyObject
* _argo0
= 0;
9124 PyObject
* _argo1
= 0;
9125 char *_kwnames
[] = { "self","item", NULL
};
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
9131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
9138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) return NULL
;
9150 } Py_INCREF(Py_None
);
9151 _resultobj
= Py_None
;
9155 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
9156 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9158 wxPyTreeCtrl
* _arg0
;
9159 wxTreeItemId
* _arg1
;
9160 int _arg2
= (int ) TRUE
;
9161 PyObject
* _argo0
= 0;
9162 PyObject
* _argo1
= 0;
9163 char *_kwnames
[] = { "self","item","bold", NULL
};
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
9176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) return NULL
;
9188 } Py_INCREF(Py_None
);
9189 _resultobj
= Py_None
;
9193 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9194 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
* _resultobj
;
9197 wxPyTreeCtrl
* _arg0
;
9198 wxTreeItemId
* _arg1
;
9199 PyObject
* _argo0
= 0;
9200 PyObject
* _argo1
= 0;
9201 char *_kwnames
[] = { "self","item", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) return NULL
;
9226 } _resultobj
= Py_BuildValue("i",_result
);
9230 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9231 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
* _resultobj
;
9233 wxTreeItemId
* _result
;
9234 wxPyTreeCtrl
* _arg0
;
9238 PyObject
* _argo0
= 0;
9240 PyObject
* _obj1
= 0;
9241 char *_kwnames
[] = { "self","point", NULL
};
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9259 if (! wxPoint_helper(_obj1
, &_arg1
))
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9269 _resultobj
= Py_BuildValue("s",_ptemp
);
9272 o
= PyInt_FromLong((long) (*_arg2
));
9273 _resultobj
= t_output_helper(_resultobj
, o
);
9278 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9279 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
* _resultobj
;
9281 wxPyTreeCtrl
* _arg0
;
9282 wxTreeItemId
* _arg1
;
9284 PyObject
* _argo0
= 0;
9285 PyObject
* _argo1
= 0;
9287 PyObject
* _obj2
= 0;
9288 char *_kwnames
[] = { "self","item","col", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9309 if (! wxColour_helper(_obj2
, &_arg2
))
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) return NULL
;
9318 } Py_INCREF(Py_None
);
9319 _resultobj
= Py_None
;
9323 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9324 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
* _resultobj
;
9326 wxPyTreeCtrl
* _arg0
;
9327 wxTreeItemId
* _arg1
;
9329 PyObject
* _argo0
= 0;
9330 PyObject
* _argo1
= 0;
9332 PyObject
* _obj2
= 0;
9333 char *_kwnames
[] = { "self","item","col", NULL
};
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9354 if (! wxColour_helper(_obj2
, &_arg2
))
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) return NULL
;
9363 } Py_INCREF(Py_None
);
9364 _resultobj
= Py_None
;
9368 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9369 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
* _resultobj
;
9371 wxPyTreeCtrl
* _arg0
;
9372 wxTreeItemId
* _arg1
;
9374 PyObject
* _argo0
= 0;
9375 PyObject
* _argo1
= 0;
9376 PyObject
* _argo2
= 0;
9377 char *_kwnames
[] = { "self","item","font", NULL
};
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9397 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9398 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) return NULL
;
9409 } Py_INCREF(Py_None
);
9410 _resultobj
= Py_None
;
9414 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9415 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
* _resultobj
;
9417 wxPyTreeCtrl
* _arg0
;
9418 wxTreeItemId
* _arg1
;
9419 int _arg2
= (int ) TRUE
;
9420 PyObject
* _argo0
= 0;
9421 PyObject
* _argo1
= 0;
9422 char *_kwnames
[] = { "self","item","highlight", NULL
};
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) return NULL
;
9447 } Py_INCREF(Py_None
);
9448 _resultobj
= Py_None
;
9452 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9454 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9455 wxPyBeginBlockThreads();
9456 wxRect
* r
= new wxRect(rect
);
9457 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9458 wxPyEndBlockThreads();
9466 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
* _resultobj
;
9469 wxPyTreeCtrl
* _arg0
;
9470 wxTreeItemId
* _arg1
;
9471 int _arg2
= (int ) FALSE
;
9472 PyObject
* _argo0
= 0;
9473 PyObject
* _argo1
= 0;
9474 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) return NULL
;
9500 _resultobj
= _result
;
9505 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9508 src
= (wxDirItemData
*) ptr
;
9509 dest
= (wxObject
*) src
;
9510 return (void *) dest
;
9513 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9514 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
* _resultobj
;
9516 wxDirItemData
* _result
;
9520 PyObject
* _obj0
= 0;
9521 PyObject
* _obj1
= 0;
9523 char *_kwnames
[] = { "path","name","isDir", NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9530 #if PYTHON_API_VERSION >= 1009
9531 char* tmpPtr
; int tmpSize
;
9532 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9533 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9536 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9538 _arg0
= new wxString(tmpPtr
, tmpSize
);
9540 if (!PyString_Check(_obj0
)) {
9541 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9544 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9548 #if PYTHON_API_VERSION >= 1009
9549 char* tmpPtr
; int tmpSize
;
9550 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9554 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9556 _arg1
= new wxString(tmpPtr
, tmpSize
);
9558 if (!PyString_Check(_obj1
)) {
9559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9562 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9565 _arg2
= (bool ) tempbool2
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) return NULL
;
9573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9574 _resultobj
= Py_BuildValue("s",_ptemp
);
9577 _resultobj
= Py_None
;
9590 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9591 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
* _resultobj
;
9593 wxDirItemData
* _arg0
;
9595 PyObject
* _argo0
= 0;
9596 PyObject
* _obj1
= 0;
9597 char *_kwnames
[] = { "self","path", NULL
};
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9610 #if PYTHON_API_VERSION >= 1009
9611 char* tmpPtr
; int tmpSize
;
9612 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9616 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9618 _arg1
= new wxString(tmpPtr
, tmpSize
);
9620 if (!PyString_Check(_obj1
)) {
9621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9624 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) return NULL
;
9633 } Py_INCREF(Py_None
);
9634 _resultobj
= Py_None
;
9642 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9643 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
* _resultobj
;
9646 wxDirItemData
* _arg0
;
9648 PyObject
* _argo0
= 0;
9649 PyObject
* _obj1
= 0;
9650 char *_kwnames
[] = { "self","m_path", NULL
};
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9663 #if PYTHON_API_VERSION >= 1009
9664 char* tmpPtr
; int tmpSize
;
9665 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9669 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9671 _arg1
= new wxString(tmpPtr
, tmpSize
);
9673 if (!PyString_Check(_obj1
)) {
9674 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9677 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) return NULL
;
9687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9696 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9697 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
* _resultobj
;
9700 wxDirItemData
* _arg0
;
9701 PyObject
* _argo0
= 0;
9702 char *_kwnames
[] = { "self", NULL
};
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) return NULL
;
9721 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9726 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9727 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
* _resultobj
;
9730 wxDirItemData
* _arg0
;
9732 PyObject
* _argo0
= 0;
9733 PyObject
* _obj1
= 0;
9734 char *_kwnames
[] = { "self","m_name", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9747 #if PYTHON_API_VERSION >= 1009
9748 char* tmpPtr
; int tmpSize
;
9749 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9750 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9753 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9755 _arg1
= new wxString(tmpPtr
, tmpSize
);
9757 if (!PyString_Check(_obj1
)) {
9758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9761 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) return NULL
;
9771 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9780 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9781 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
* _resultobj
;
9784 wxDirItemData
* _arg0
;
9785 PyObject
* _argo0
= 0;
9786 char *_kwnames
[] = { "self", NULL
};
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) return NULL
;
9805 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9810 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9811 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
* _resultobj
;
9814 wxDirItemData
* _arg0
;
9816 PyObject
* _argo0
= 0;
9818 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9830 _arg1
= (bool ) tempbool1
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) return NULL
;
9837 } _resultobj
= Py_BuildValue("i",_result
);
9841 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9842 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
* _resultobj
;
9845 wxDirItemData
* _arg0
;
9846 PyObject
* _argo0
= 0;
9847 char *_kwnames
[] = { "self", NULL
};
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) return NULL
;
9865 } _resultobj
= Py_BuildValue("i",_result
);
9869 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9870 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
* _resultobj
;
9873 wxDirItemData
* _arg0
;
9875 PyObject
* _argo0
= 0;
9877 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9889 _arg1
= (bool ) tempbool1
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) return NULL
;
9896 } _resultobj
= Py_BuildValue("i",_result
);
9900 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9901 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
* _resultobj
;
9904 wxDirItemData
* _arg0
;
9905 PyObject
* _argo0
= 0;
9906 char *_kwnames
[] = { "self", NULL
};
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) return NULL
;
9924 } _resultobj
= Py_BuildValue("i",_result
);
9928 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9929 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
* _resultobj
;
9932 wxDirItemData
* _arg0
;
9934 PyObject
* _argo0
= 0;
9936 char *_kwnames
[] = { "self","m_isDir", NULL
};
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9948 _arg1
= (bool ) tempbool1
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) return NULL
;
9955 } _resultobj
= Py_BuildValue("i",_result
);
9959 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9960 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
* _resultobj
;
9963 wxDirItemData
* _arg0
;
9964 PyObject
* _argo0
= 0;
9965 char *_kwnames
[] = { "self", NULL
};
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) return NULL
;
9983 } _resultobj
= Py_BuildValue("i",_result
);
9987 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9988 wxGenericDirCtrl
*src
;
9990 src
= (wxGenericDirCtrl
*) ptr
;
9991 dest
= (wxControl
*) src
;
9992 return (void *) dest
;
9995 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9996 wxGenericDirCtrl
*src
;
9998 src
= (wxGenericDirCtrl
*) ptr
;
9999 dest
= (wxWindow
*) src
;
10000 return (void *) dest
;
10003 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
10004 wxGenericDirCtrl
*src
;
10005 wxEvtHandler
*dest
;
10006 src
= (wxGenericDirCtrl
*) ptr
;
10007 dest
= (wxEvtHandler
*) src
;
10008 return (void *) dest
;
10011 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
10012 wxGenericDirCtrl
*src
;
10014 src
= (wxGenericDirCtrl
*) ptr
;
10015 dest
= (wxObject
*) src
;
10016 return (void *) dest
;
10019 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10020 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
* _resultobj
;
10022 wxGenericDirCtrl
* _result
;
10024 wxWindowID _arg1
= (wxWindowID
) -1;
10025 char * _arg2
= (char *) wxDirDialogDefaultFolderStr
;
10026 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10027 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10028 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10029 char * _arg6
= (char *) wxEmptyString
;
10030 int _arg7
= (int ) 0;
10031 char * _arg8
= (char *) "dirCtrl";
10032 PyObject
* _argo0
= 0;
10034 PyObject
* _obj3
= 0;
10036 PyObject
* _obj4
= 0;
10037 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOlsis:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
))
10044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
10053 if (! wxPoint_helper(_obj3
, &_arg3
))
10059 if (! wxSize_helper(_obj4
, &_arg4
))
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) return NULL
;
10069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10070 _resultobj
= Py_BuildValue("s",_ptemp
);
10072 Py_INCREF(Py_None
);
10073 _resultobj
= Py_None
;
10078 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
10079 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
* _resultobj
;
10081 wxGenericDirCtrl
* _result
;
10082 char *_kwnames
[] = { NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) return NULL
;
10095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
10096 _resultobj
= Py_BuildValue("s",_ptemp
);
10098 Py_INCREF(Py_None
);
10099 _resultobj
= Py_None
;
10104 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
10105 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
* _resultobj
;
10108 wxGenericDirCtrl
* _arg0
;
10110 wxWindowID _arg2
= (wxWindowID
) -1;
10111 char * _arg3
= (char *) wxDirDialogDefaultFolderStr
;
10112 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10113 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10114 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
10115 char * _arg7
= (char *) wxEmptyString
;
10116 int _arg8
= (int ) 0;
10117 char * _arg9
= (char *) "dirCtrl";
10118 PyObject
* _argo0
= 0;
10119 PyObject
* _argo1
= 0;
10121 PyObject
* _obj4
= 0;
10123 PyObject
* _obj5
= 0;
10124 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOlsis:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
10137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
10146 if (! wxPoint_helper(_obj4
, &_arg4
))
10152 if (! wxSize_helper(_obj5
, &_arg5
))
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) return NULL
;
10161 } _resultobj
= Py_BuildValue("i",_result
);
10165 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10166 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
* _resultobj
;
10169 wxGenericDirCtrl
* _arg0
;
10171 PyObject
* _argo0
= 0;
10172 PyObject
* _obj1
= 0;
10173 char *_kwnames
[] = { "self","path", NULL
};
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10186 #if PYTHON_API_VERSION >= 1009
10187 char* tmpPtr
; int tmpSize
;
10188 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10192 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10194 _arg1
= new wxString(tmpPtr
, tmpSize
);
10196 if (!PyString_Check(_obj1
)) {
10197 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10200 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) return NULL
;
10209 } _resultobj
= Py_BuildValue("i",_result
);
10217 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10218 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
* _resultobj
;
10220 wxString
* _result
;
10221 wxGenericDirCtrl
* _arg0
;
10222 PyObject
* _argo0
= 0;
10223 char *_kwnames
[] = { "self", NULL
};
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) return NULL
;
10242 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10250 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10251 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
* _resultobj
;
10253 wxGenericDirCtrl
* _arg0
;
10255 PyObject
* _argo0
= 0;
10256 PyObject
* _obj1
= 0;
10257 char *_kwnames
[] = { "self","path", NULL
};
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10270 #if PYTHON_API_VERSION >= 1009
10271 char* tmpPtr
; int tmpSize
;
10272 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10276 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10278 _arg1
= new wxString(tmpPtr
, tmpSize
);
10280 if (!PyString_Check(_obj1
)) {
10281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10284 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) return NULL
;
10293 } Py_INCREF(Py_None
);
10294 _resultobj
= Py_None
;
10302 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10303 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10305 wxString
* _result
;
10306 wxGenericDirCtrl
* _arg0
;
10307 PyObject
* _argo0
= 0;
10308 char *_kwnames
[] = { "self", NULL
};
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) return NULL
;
10327 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10335 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10336 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
* _resultobj
;
10338 wxString
* _result
;
10339 wxGenericDirCtrl
* _arg0
;
10340 PyObject
* _argo0
= 0;
10341 char *_kwnames
[] = { "self", NULL
};
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) return NULL
;
10360 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10368 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10369 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
* _resultobj
;
10371 wxGenericDirCtrl
* _arg0
;
10373 PyObject
* _argo0
= 0;
10374 PyObject
* _obj1
= 0;
10375 char *_kwnames
[] = { "self","path", NULL
};
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10388 #if PYTHON_API_VERSION >= 1009
10389 char* tmpPtr
; int tmpSize
;
10390 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10394 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10396 _arg1
= new wxString(tmpPtr
, tmpSize
);
10398 if (!PyString_Check(_obj1
)) {
10399 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10402 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) return NULL
;
10411 } Py_INCREF(Py_None
);
10412 _resultobj
= Py_None
;
10420 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10421 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
* _resultobj
;
10423 wxGenericDirCtrl
* _arg0
;
10425 PyObject
* _argo0
= 0;
10427 char *_kwnames
[] = { "self","show", NULL
};
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10439 _arg1
= (bool ) tempbool1
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) return NULL
;
10446 } Py_INCREF(Py_None
);
10447 _resultobj
= Py_None
;
10451 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10452 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
* _resultobj
;
10455 wxGenericDirCtrl
* _arg0
;
10456 PyObject
* _argo0
= 0;
10457 char *_kwnames
[] = { "self", NULL
};
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) return NULL
;
10475 } _resultobj
= Py_BuildValue("i",_result
);
10479 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10480 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
* _resultobj
;
10482 wxString
* _result
;
10483 wxGenericDirCtrl
* _arg0
;
10484 PyObject
* _argo0
= 0;
10485 char *_kwnames
[] = { "self", NULL
};
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) return NULL
;
10504 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10512 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10513 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10515 wxGenericDirCtrl
* _arg0
;
10517 PyObject
* _argo0
= 0;
10518 PyObject
* _obj1
= 0;
10519 char *_kwnames
[] = { "self","filter", NULL
};
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10532 #if PYTHON_API_VERSION >= 1009
10533 char* tmpPtr
; int tmpSize
;
10534 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10535 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10538 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10540 _arg1
= new wxString(tmpPtr
, tmpSize
);
10542 if (!PyString_Check(_obj1
)) {
10543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10546 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) return NULL
;
10555 } Py_INCREF(Py_None
);
10556 _resultobj
= Py_None
;
10564 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10565 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
* _resultobj
;
10568 wxGenericDirCtrl
* _arg0
;
10569 PyObject
* _argo0
= 0;
10570 char *_kwnames
[] = { "self", NULL
};
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) return NULL
;
10588 } _resultobj
= Py_BuildValue("i",_result
);
10592 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10593 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
* _resultobj
;
10595 wxGenericDirCtrl
* _arg0
;
10597 PyObject
* _argo0
= 0;
10598 char *_kwnames
[] = { "self","n", NULL
};
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) return NULL
;
10616 } Py_INCREF(Py_None
);
10617 _resultobj
= Py_None
;
10621 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10622 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10624 wxTreeItemId
* _result
;
10625 wxGenericDirCtrl
* _arg0
;
10626 PyObject
* _argo0
= 0;
10627 char *_kwnames
[] = { "self", NULL
};
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) return NULL
;
10646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10647 _resultobj
= Py_BuildValue("s",_ptemp
);
10651 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10652 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10654 wxTreeCtrl
* _result
;
10655 wxGenericDirCtrl
* _arg0
;
10656 PyObject
* _argo0
= 0;
10657 char *_kwnames
[] = { "self", NULL
};
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) return NULL
;
10677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeCtrl_p");
10678 _resultobj
= Py_BuildValue("s",_ptemp
);
10680 Py_INCREF(Py_None
);
10681 _resultobj
= Py_None
;
10686 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10687 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
* _resultobj
;
10689 wxDirFilterListCtrl
* _result
;
10690 wxGenericDirCtrl
* _arg0
;
10691 PyObject
* _argo0
= 0;
10692 char *_kwnames
[] = { "self", NULL
};
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) return NULL
;
10712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10713 _resultobj
= Py_BuildValue("s",_ptemp
);
10715 Py_INCREF(Py_None
);
10716 _resultobj
= Py_None
;
10721 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10722 wxDirFilterListCtrl
*src
;
10724 src
= (wxDirFilterListCtrl
*) ptr
;
10725 dest
= (wxChoice
*) src
;
10726 return (void *) dest
;
10729 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10730 wxDirFilterListCtrl
*src
;
10731 wxControlWithItems
*dest
;
10732 src
= (wxDirFilterListCtrl
*) ptr
;
10733 dest
= (wxControlWithItems
*) src
;
10734 return (void *) dest
;
10737 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10738 wxDirFilterListCtrl
*src
;
10740 src
= (wxDirFilterListCtrl
*) ptr
;
10741 dest
= (wxControl
*) src
;
10742 return (void *) dest
;
10745 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10746 wxDirFilterListCtrl
*src
;
10748 src
= (wxDirFilterListCtrl
*) ptr
;
10749 dest
= (wxWindow
*) src
;
10750 return (void *) dest
;
10753 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10754 wxDirFilterListCtrl
*src
;
10755 wxEvtHandler
*dest
;
10756 src
= (wxDirFilterListCtrl
*) ptr
;
10757 dest
= (wxEvtHandler
*) src
;
10758 return (void *) dest
;
10761 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10762 wxDirFilterListCtrl
*src
;
10764 src
= (wxDirFilterListCtrl
*) ptr
;
10765 dest
= (wxObject
*) src
;
10766 return (void *) dest
;
10769 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10770 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
* _resultobj
;
10772 wxDirFilterListCtrl
* _result
;
10773 wxGenericDirCtrl
* _arg0
;
10774 wxWindowID _arg1
= (wxWindowID
) -1;
10775 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10776 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10777 long _arg4
= (long ) 0;
10778 PyObject
* _argo0
= 0;
10780 PyObject
* _obj2
= 0;
10782 PyObject
* _obj3
= 0;
10783 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10799 if (! wxPoint_helper(_obj2
, &_arg2
))
10805 if (! wxSize_helper(_obj3
, &_arg3
))
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) return NULL
;
10815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10816 _resultobj
= Py_BuildValue("s",_ptemp
);
10818 Py_INCREF(Py_None
);
10819 _resultobj
= Py_None
;
10824 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10825 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
* _resultobj
;
10827 wxDirFilterListCtrl
* _result
;
10828 char *_kwnames
[] = { NULL
};
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) return NULL
;
10841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10842 _resultobj
= Py_BuildValue("s",_ptemp
);
10844 Py_INCREF(Py_None
);
10845 _resultobj
= Py_None
;
10850 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10851 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
* _resultobj
;
10854 wxDirFilterListCtrl
* _arg0
;
10855 wxGenericDirCtrl
* _arg1
;
10856 wxWindowID _arg2
= (wxWindowID
) -1;
10857 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10858 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10859 long _arg5
= (long ) 0;
10860 PyObject
* _argo0
= 0;
10861 PyObject
* _argo1
= 0;
10863 PyObject
* _obj3
= 0;
10865 PyObject
* _obj4
= 0;
10866 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10888 if (! wxPoint_helper(_obj3
, &_arg3
))
10894 if (! wxSize_helper(_obj4
, &_arg4
))
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) return NULL
;
10903 } _resultobj
= Py_BuildValue("i",_result
);
10907 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10908 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
* _resultobj
;
10910 wxDirFilterListCtrl
* _arg0
;
10913 PyObject
* _argo0
= 0;
10914 PyObject
* _obj1
= 0;
10915 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10928 #if PYTHON_API_VERSION >= 1009
10929 char* tmpPtr
; int tmpSize
;
10930 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
10931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10934 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
10936 _arg1
= new wxString(tmpPtr
, tmpSize
);
10938 if (!PyString_Check(_obj1
)) {
10939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10942 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) return NULL
;
10951 } Py_INCREF(Py_None
);
10952 _resultobj
= Py_None
;
10960 static PyMethodDef controls2cMethods
[] = {
10961 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxListEvent_m_item_set", (PyCFunction
) _wrap_wxListEvent_m_item_set
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxListEvent_m_pointDrag_set", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxListEvent_m_col_set", (PyCFunction
) _wrap_wxListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxListEvent_m_itemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxListEvent_m_code_set", (PyCFunction
) _wrap_wxListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11259 * This table is used by the pointer type-checker
11261 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11262 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11263 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11264 { "_signed_long","_long",0},
11265 { "_wxPrintQuality","_wxCoord",0},
11266 { "_wxPrintQuality","_int",0},
11267 { "_wxPrintQuality","_signed_int",0},
11268 { "_wxPrintQuality","_unsigned_int",0},
11269 { "_wxPrintQuality","_wxWindowID",0},
11270 { "_wxPrintQuality","_uint",0},
11271 { "_wxPrintQuality","_EBool",0},
11272 { "_wxPrintQuality","_size_t",0},
11273 { "_wxPrintQuality","_time_t",0},
11274 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11275 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11276 { "_byte","_unsigned_char",0},
11277 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11278 { "_long","_unsigned_long",0},
11279 { "_long","_signed_long",0},
11280 { "_size_t","_wxCoord",0},
11281 { "_size_t","_wxPrintQuality",0},
11282 { "_size_t","_time_t",0},
11283 { "_size_t","_unsigned_int",0},
11284 { "_size_t","_int",0},
11285 { "_size_t","_wxWindowID",0},
11286 { "_size_t","_uint",0},
11287 { "_uint","_wxCoord",0},
11288 { "_uint","_wxPrintQuality",0},
11289 { "_uint","_time_t",0},
11290 { "_uint","_size_t",0},
11291 { "_uint","_unsigned_int",0},
11292 { "_uint","_int",0},
11293 { "_uint","_wxWindowID",0},
11294 { "_wxChar","_char",0},
11295 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11296 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11297 { "_char","_wxChar",0},
11298 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11299 { "_EBool","_wxCoord",0},
11300 { "_EBool","_wxPrintQuality",0},
11301 { "_EBool","_signed_int",0},
11302 { "_EBool","_int",0},
11303 { "_EBool","_wxWindowID",0},
11304 { "_unsigned_long","_long",0},
11305 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11306 { "_signed_int","_wxCoord",0},
11307 { "_signed_int","_wxPrintQuality",0},
11308 { "_signed_int","_EBool",0},
11309 { "_signed_int","_wxWindowID",0},
11310 { "_signed_int","_int",0},
11311 { "_WXTYPE","_short",0},
11312 { "_WXTYPE","_signed_short",0},
11313 { "_WXTYPE","_unsigned_short",0},
11314 { "_unsigned_short","_WXTYPE",0},
11315 { "_unsigned_short","_short",0},
11316 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11317 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11318 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11319 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11320 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11321 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11322 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11323 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11324 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11325 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11326 { "_signed_short","_WXTYPE",0},
11327 { "_signed_short","_short",0},
11328 { "_unsigned_char","_byte",0},
11329 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11330 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11331 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11332 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11333 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11334 { "_unsigned_int","_wxCoord",0},
11335 { "_unsigned_int","_wxPrintQuality",0},
11336 { "_unsigned_int","_time_t",0},
11337 { "_unsigned_int","_size_t",0},
11338 { "_unsigned_int","_uint",0},
11339 { "_unsigned_int","_wxWindowID",0},
11340 { "_unsigned_int","_int",0},
11341 { "_short","_WXTYPE",0},
11342 { "_short","_unsigned_short",0},
11343 { "_short","_signed_short",0},
11344 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11345 { "_wxWindowID","_wxCoord",0},
11346 { "_wxWindowID","_wxPrintQuality",0},
11347 { "_wxWindowID","_time_t",0},
11348 { "_wxWindowID","_size_t",0},
11349 { "_wxWindowID","_EBool",0},
11350 { "_wxWindowID","_uint",0},
11351 { "_wxWindowID","_int",0},
11352 { "_wxWindowID","_signed_int",0},
11353 { "_wxWindowID","_unsigned_int",0},
11354 { "_int","_wxCoord",0},
11355 { "_int","_wxPrintQuality",0},
11356 { "_int","_time_t",0},
11357 { "_int","_size_t",0},
11358 { "_int","_EBool",0},
11359 { "_int","_uint",0},
11360 { "_int","_wxWindowID",0},
11361 { "_int","_unsigned_int",0},
11362 { "_int","_signed_int",0},
11363 { "_time_t","_wxCoord",0},
11364 { "_time_t","_wxPrintQuality",0},
11365 { "_time_t","_unsigned_int",0},
11366 { "_time_t","_int",0},
11367 { "_time_t","_wxWindowID",0},
11368 { "_time_t","_uint",0},
11369 { "_time_t","_size_t",0},
11370 { "_wxCoord","_int",0},
11371 { "_wxCoord","_signed_int",0},
11372 { "_wxCoord","_unsigned_int",0},
11373 { "_wxCoord","_wxWindowID",0},
11374 { "_wxCoord","_uint",0},
11375 { "_wxCoord","_EBool",0},
11376 { "_wxCoord","_size_t",0},
11377 { "_wxCoord","_time_t",0},
11378 { "_wxCoord","_wxPrintQuality",0},
11379 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11380 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11381 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11382 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11383 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11384 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11385 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11386 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11387 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11388 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11389 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11392 static PyObject
*SWIG_globals
;
11396 SWIGEXPORT(void) initcontrols2c() {
11398 SWIG_globals
= SWIG_newvarlink();
11399 m
= Py_InitModule("controls2c", controls2cMethods
);
11400 d
= PyModule_GetDict(m
);
11401 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11402 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11403 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11404 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11405 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11406 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11407 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11408 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11409 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11410 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11411 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11412 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11413 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11414 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11415 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11416 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11417 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11418 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11419 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11420 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11421 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11422 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11423 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11424 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11425 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11426 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11427 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11428 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11429 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11430 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11431 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11432 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11433 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11434 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11435 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11436 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11437 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11438 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11439 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11440 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11441 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11442 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11443 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11444 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11445 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11446 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11447 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11448 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11449 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11450 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11451 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11452 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11453 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11454 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11455 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11456 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11457 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11458 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11459 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11460 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11461 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11462 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11463 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11464 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11465 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11466 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11467 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11468 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11469 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11470 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11471 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11472 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11473 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11474 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11475 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11476 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11477 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11478 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11479 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11480 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11481 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11482 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11483 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11484 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11485 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11486 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11487 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11488 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11489 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11490 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11491 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11492 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11493 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11494 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11495 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11496 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11497 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11498 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11499 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11500 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11501 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11502 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11503 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11504 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11505 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11506 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11507 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11508 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11509 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11510 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11511 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11512 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11513 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11514 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11515 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11516 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11517 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11518 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11519 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11520 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11521 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11522 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11523 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11524 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11525 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11526 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11527 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11528 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11529 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11530 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11531 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11532 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11533 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11534 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11535 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11536 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11537 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11538 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11539 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11540 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11541 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11542 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11543 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11545 // Map renamed classes back to their common name for OOR
11546 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11547 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11548 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11551 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11552 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);