2 * FILE : src/mac/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 // Put some wx default wxChar* values into wxStrings.
95 const wxChar
* wxListCtrlNameStr
= _T("wxListCtrl");
96 DECLARE_DEF_STRING(ListCtrlNameStr
);
98 const wxChar
* wx_TreeCtrlNameStr
= _T("wxTreeCtrl");
99 DECLARE_DEF_STRING(_TreeCtrlNameStr
);
100 DECLARE_DEF_STRING(DirDialogDefaultFolderStr
);
102 static const wxString
wxPyEmptyString(wxT(""));
104 static const long longzero
= 0;
105 // C++ Version of a Python aware class
106 class wxPyListCtrl
: public wxListCtrl
{
107 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
109 wxPyListCtrl() : wxListCtrl() {}
110 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
114 const wxValidator
& validator
,
115 const wxString
& name
) :
116 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
118 bool Create(wxWindow
* parent
, wxWindowID id
,
122 const wxValidator
& validator
,
123 const wxString
& name
) {
124 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
127 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
128 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
129 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
134 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
136 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
137 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
138 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
139 // Python aware sorting function for wxPyListCtrl
140 int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
142 PyObject
* func
= (PyObject
*)funcPtr
;
143 wxPyBeginBlockThreads();
145 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
146 PyObject
* result
= PyEval_CallObject(func
, args
);
149 retval
= PyInt_AsLong(result
);
153 wxPyEndBlockThreads();
158 class wxPyTreeItemData
: public wxTreeItemData
{
160 wxPyTreeItemData(PyObject
* obj
= NULL
) {
167 ~wxPyTreeItemData() {
168 wxPyBeginBlockThreads();
170 wxPyEndBlockThreads();
173 PyObject
* GetData() {
178 void SetData(PyObject
* obj
) {
179 wxPyBeginBlockThreads();
181 wxPyEndBlockThreads();
188 // C++ version of Python aware wxTreeCtrl
189 class wxPyTreeCtrl
: public wxTreeCtrl
{
190 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
192 wxPyTreeCtrl() : wxTreeCtrl() {}
193 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
197 const wxValidator
& validator
,
198 const wxString
& name
) :
199 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
201 bool Create(wxWindow
*parent
, wxWindowID id
,
205 const wxValidator
& validator
,
206 const wxString
& name
) {
207 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
211 int OnCompareItems(const wxTreeItemId
& item1
,
212 const wxTreeItemId
& item2
) {
215 wxPyBeginBlockThreads();
216 if ((found
= m_myInst
.findCallback("OnCompareItems"))) {
217 PyObject
*o1
= wxPyConstructObject((void*)&item1
, "wxTreeItemId");
218 PyObject
*o2
= wxPyConstructObject((void*)&item2
, "wxTreeItemId");
219 rval
= m_myInst
.callCallback(Py_BuildValue("(OO)",o1
,o2
));
223 wxPyEndBlockThreads();
225 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
231 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
236 #define new_wxListItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxListItemAttr(_swigarg0,_swigarg1,_swigarg2))
237 static PyObject
*_wrap_new_wxListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
239 wxListItemAttr
* _result
;
240 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
241 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
242 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
244 PyObject
* _obj0
= 0;
246 PyObject
* _obj1
= 0;
247 PyObject
* _argo2
= 0;
248 char *_kwnames
[] = { "colText","colBack","font", NULL
};
252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxListItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
257 if (! wxColour_helper(_obj0
, &_arg0
))
263 if (! wxColour_helper(_obj1
, &_arg1
))
267 if (_argo2
== Py_None
) { _arg2
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListItemAttr. Expected _wxFont_p.");
274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
275 _result
= (wxListItemAttr
*)new_wxListItemAttr(*_arg0
,*_arg1
,*_arg2
);
277 wxPyEndAllowThreads(__tstate
);
278 if (PyErr_Occurred()) return NULL
;
280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
281 _resultobj
= Py_BuildValue("s",_ptemp
);
284 _resultobj
= Py_None
;
289 #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
290 static PyObject
*_wrap_wxListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
292 wxListItemAttr
* _arg0
;
294 PyObject
* _argo0
= 0;
296 PyObject
* _obj1
= 0;
297 char *_kwnames
[] = { "self","colText", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p.");
311 if (! wxColour_helper(_obj1
, &_arg1
))
315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
316 wxListItemAttr_SetTextColour(_arg0
,*_arg1
);
318 wxPyEndAllowThreads(__tstate
);
319 if (PyErr_Occurred()) return NULL
;
320 } Py_INCREF(Py_None
);
321 _resultobj
= Py_None
;
325 #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
326 static PyObject
*_wrap_wxListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 wxListItemAttr
* _arg0
;
330 PyObject
* _argo0
= 0;
332 PyObject
* _obj1
= 0;
333 char *_kwnames
[] = { "self","colBack", NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p.");
347 if (! wxColour_helper(_obj1
, &_arg1
))
351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
352 wxListItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
354 wxPyEndAllowThreads(__tstate
);
355 if (PyErr_Occurred()) return NULL
;
356 } Py_INCREF(Py_None
);
357 _resultobj
= Py_None
;
361 #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
362 static PyObject
*_wrap_wxListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
364 wxListItemAttr
* _arg0
;
366 PyObject
* _argo0
= 0;
367 PyObject
* _argo1
= 0;
368 char *_kwnames
[] = { "self","font", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p.");
381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p.");
388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
389 wxListItemAttr_SetFont(_arg0
,*_arg1
);
391 wxPyEndAllowThreads(__tstate
);
392 if (PyErr_Occurred()) return NULL
;
393 } Py_INCREF(Py_None
);
394 _resultobj
= Py_None
;
398 #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
399 static PyObject
*_wrap_wxListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxListItemAttr
* _arg0
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasTextColour",_kwnames
,&_argo0
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p.");
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= (bool )wxListItemAttr_HasTextColour(_arg0
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } _resultobj
= Py_BuildValue("i",_result
);
426 #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
427 static PyObject
*_wrap_wxListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
428 PyObject
* _resultobj
;
430 wxListItemAttr
* _arg0
;
431 PyObject
* _argo0
= 0;
432 char *_kwnames
[] = { "self", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p.");
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 _result
= (bool )wxListItemAttr_HasBackgroundColour(_arg0
);
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
450 } _resultobj
= Py_BuildValue("i",_result
);
454 #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
455 static PyObject
*_wrap_wxListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
458 wxListItemAttr
* _arg0
;
459 PyObject
* _argo0
= 0;
460 char *_kwnames
[] = { "self", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_HasFont",_kwnames
,&_argo0
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p.");
473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
474 _result
= (bool )wxListItemAttr_HasFont(_arg0
);
476 wxPyEndAllowThreads(__tstate
);
477 if (PyErr_Occurred()) return NULL
;
478 } _resultobj
= Py_BuildValue("i",_result
);
482 #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
483 static PyObject
*_wrap_wxListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
486 wxListItemAttr
* _arg0
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetTextColour",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p.");
502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 _result
= new wxColour (wxListItemAttr_GetTextColour(_arg0
));
505 wxPyEndAllowThreads(__tstate
);
506 if (PyErr_Occurred()) return NULL
;
507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
508 _resultobj
= Py_BuildValue("s",_ptemp
);
512 #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
513 static PyObject
*_wrap_wxListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
516 wxListItemAttr
* _arg0
;
517 PyObject
* _argo0
= 0;
518 char *_kwnames
[] = { "self", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p.");
532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
533 _result
= new wxColour (wxListItemAttr_GetBackgroundColour(_arg0
));
535 wxPyEndAllowThreads(__tstate
);
536 if (PyErr_Occurred()) return NULL
;
537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
538 _resultobj
= Py_BuildValue("s",_ptemp
);
542 #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
543 static PyObject
*_wrap_wxListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
546 wxListItemAttr
* _arg0
;
547 PyObject
* _argo0
= 0;
548 char *_kwnames
[] = { "self", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItemAttr_GetFont",_kwnames
,&_argo0
))
555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItemAttr_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p.");
562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
563 _result
= new wxFont (wxListItemAttr_GetFont(_arg0
));
565 wxPyEndAllowThreads(__tstate
);
566 if (PyErr_Occurred()) return NULL
;
567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
568 _resultobj
= Py_BuildValue("s",_ptemp
);
572 static void *SwigwxListItemTowxObject(void *ptr
) {
575 src
= (wxListItem
*) ptr
;
576 dest
= (wxObject
*) src
;
577 return (void *) dest
;
580 #define new_wxListItem() (new wxListItem())
581 static PyObject
*_wrap_new_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
583 wxListItem
* _result
;
584 char *_kwnames
[] = { NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxListItem",_kwnames
))
591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
592 _result
= (wxListItem
*)new_wxListItem();
594 wxPyEndAllowThreads(__tstate
);
595 if (PyErr_Occurred()) return NULL
;
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItem_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
601 _resultobj
= Py_None
;
606 #define delete_wxListItem(_swigobj) (delete _swigobj)
607 static PyObject
*_wrap_delete_wxListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
610 PyObject
* _argo0
= 0;
611 char *_kwnames
[] = { "self", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxListItem",_kwnames
,&_argo0
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p.");
624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
625 delete_wxListItem(_arg0
);
627 wxPyEndAllowThreads(__tstate
);
628 if (PyErr_Occurred()) return NULL
;
629 } Py_INCREF(Py_None
);
630 _resultobj
= Py_None
;
634 #define wxListItem_Clear(_swigobj) (_swigobj->Clear())
635 static PyObject
*_wrap_wxListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 PyObject
* _argo0
= 0;
639 char *_kwnames
[] = { "self", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_Clear",_kwnames
,&_argo0
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p.");
652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
653 wxListItem_Clear(_arg0
);
655 wxPyEndAllowThreads(__tstate
);
656 if (PyErr_Occurred()) return NULL
;
657 } Py_INCREF(Py_None
);
658 _resultobj
= Py_None
;
662 #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes())
663 static PyObject
*_wrap_wxListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
666 PyObject
* _argo0
= 0;
667 char *_kwnames
[] = { "self", NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_ClearAttributes",_kwnames
,&_argo0
))
673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p.");
680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
681 wxListItem_ClearAttributes(_arg0
);
683 wxPyEndAllowThreads(__tstate
);
684 if (PyErr_Occurred()) return NULL
;
685 } Py_INCREF(Py_None
);
686 _resultobj
= Py_None
;
690 #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
691 static PyObject
*_wrap_wxListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
695 PyObject
* _argo0
= 0;
696 char *_kwnames
[] = { "self","mask", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetMask",_kwnames
,&_argo0
,&_arg1
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p.");
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 wxListItem_SetMask(_arg0
,_arg1
);
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
714 } Py_INCREF(Py_None
);
715 _resultobj
= Py_None
;
719 #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
720 static PyObject
*_wrap_wxListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
724 PyObject
* _argo0
= 0;
725 char *_kwnames
[] = { "self","id", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetId",_kwnames
,&_argo0
,&_arg1
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p.");
738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
739 wxListItem_SetId(_arg0
,_arg1
);
741 wxPyEndAllowThreads(__tstate
);
742 if (PyErr_Occurred()) return NULL
;
743 } Py_INCREF(Py_None
);
744 _resultobj
= Py_None
;
748 #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0))
749 static PyObject
*_wrap_wxListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self","col", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetColumn",_kwnames
,&_argo0
,&_arg1
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p.");
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 wxListItem_SetColumn(_arg0
,_arg1
);
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) return NULL
;
772 } Py_INCREF(Py_None
);
773 _resultobj
= Py_None
;
777 #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0))
778 static PyObject
*_wrap_wxListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
782 PyObject
* _argo0
= 0;
783 char *_kwnames
[] = { "self","state", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetState",_kwnames
,&_argo0
,&_arg1
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p.");
796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
797 wxListItem_SetState(_arg0
,_arg1
);
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
801 } Py_INCREF(Py_None
);
802 _resultobj
= Py_None
;
806 #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0))
807 static PyObject
*_wrap_wxListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self","stateMask", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetStateMask",_kwnames
,&_argo0
,&_arg1
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p.");
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 wxListItem_SetStateMask(_arg0
,_arg1
);
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
830 } Py_INCREF(Py_None
);
831 _resultobj
= Py_None
;
835 #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
836 static PyObject
*_wrap_wxListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
840 PyObject
* _argo0
= 0;
841 PyObject
* _obj1
= 0;
842 char *_kwnames
[] = { "self","text", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetText",_kwnames
,&_argo0
,&_obj1
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p.");
855 _arg1
= wxString_in_helper(_obj1
);
860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
861 wxListItem_SetText(_arg0
,*_arg1
);
863 wxPyEndAllowThreads(__tstate
);
864 if (PyErr_Occurred()) return NULL
;
865 } Py_INCREF(Py_None
);
866 _resultobj
= Py_None
;
874 #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
875 static PyObject
*_wrap_wxListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 PyObject
* _resultobj
;
879 PyObject
* _argo0
= 0;
880 char *_kwnames
[] = { "self","image", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetImage",_kwnames
,&_argo0
,&_arg1
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p.");
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 wxListItem_SetImage(_arg0
,_arg1
);
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) return NULL
;
898 } Py_INCREF(Py_None
);
899 _resultobj
= Py_None
;
903 #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
904 static PyObject
*_wrap_wxListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self","data", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_SetData",_kwnames
,&_argo0
,&_arg1
))
915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p.");
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 wxListItem_SetData(_arg0
,_arg1
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
932 #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
933 static PyObject
*_wrap_wxListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self","width", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetWidth",_kwnames
,&_argo0
,&_arg1
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 wxListItem_SetWidth(_arg0
,_arg1
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
962 static PyObject
*_wrap_wxListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
965 wxListColumnFormat _arg1
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self","align", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_SetAlign",_kwnames
,&_argo0
,&_arg1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p.");
980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 wxListItem_SetAlign(_arg0
,_arg1
);
983 wxPyEndAllowThreads(__tstate
);
984 if (PyErr_Occurred()) return NULL
;
985 } Py_INCREF(Py_None
);
986 _resultobj
= Py_None
;
990 #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
991 static PyObject
*_wrap_wxListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
995 PyObject
* _argo0
= 0;
997 PyObject
* _obj1
= 0;
998 char *_kwnames
[] = { "self","colText", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p.");
1012 if (! wxColour_helper(_obj1
, &_arg1
))
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxListItem_SetTextColour(_arg0
,*_arg1
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1027 static PyObject
*_wrap_wxListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1031 PyObject
* _argo0
= 0;
1033 PyObject
* _obj1
= 0;
1034 char *_kwnames
[] = { "self","colBack", NULL
};
1037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p.");
1048 if (! wxColour_helper(_obj1
, &_arg1
))
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 wxListItem_SetBackgroundColour(_arg0
,*_arg1
);
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) return NULL
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1063 static PyObject
*_wrap_wxListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1068 PyObject
* _argo1
= 0;
1069 char *_kwnames
[] = { "self","font", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p.");
1082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p.");
1089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1090 wxListItem_SetFont(_arg0
,*_arg1
);
1092 wxPyEndAllowThreads(__tstate
);
1093 if (PyErr_Occurred()) return NULL
;
1094 } Py_INCREF(Py_None
);
1095 _resultobj
= Py_None
;
1099 #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask())
1100 static PyObject
*_wrap_wxListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetMask",_kwnames
,&_argo0
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p.");
1118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 _result
= (long )wxListItem_GetMask(_arg0
);
1121 wxPyEndAllowThreads(__tstate
);
1122 if (PyErr_Occurred()) return NULL
;
1123 } _resultobj
= Py_BuildValue("l",_result
);
1127 #define wxListItem_GetId(_swigobj) (_swigobj->GetId())
1128 static PyObject
*_wrap_wxListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetId",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p.");
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 _result
= (long )wxListItem_GetId(_arg0
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 } _resultobj
= Py_BuildValue("l",_result
);
1155 #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn())
1156 static PyObject
*_wrap_wxListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetColumn",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p.");
1174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 _result
= (int )wxListItem_GetColumn(_arg0
);
1177 wxPyEndAllowThreads(__tstate
);
1178 if (PyErr_Occurred()) return NULL
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxListItem_GetState(_swigobj) (_swigobj->GetState())
1184 static PyObject
*_wrap_wxListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetState",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p.");
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 _result
= (long )wxListItem_GetState(_arg0
);
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) return NULL
;
1207 } _resultobj
= Py_BuildValue("l",_result
);
1211 #define wxListItem_GetText(_swigobj) (_swigobj->GetText())
1212 static PyObject
*_wrap_wxListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetText",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p.");
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 const wxString
& _result_ref
= wxListItem_GetText(_arg0
);
1232 _result
= (wxString
*) &_result_ref
;
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) return NULL
;
1238 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1240 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1246 #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage())
1247 static PyObject
*_wrap_wxListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1251 PyObject
* _argo0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetImage",_kwnames
,&_argo0
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p.");
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 _result
= (int )wxListItem_GetImage(_arg0
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) return NULL
;
1270 } _resultobj
= Py_BuildValue("i",_result
);
1274 #define wxListItem_GetData(_swigobj) (_swigobj->GetData())
1275 static PyObject
*_wrap_wxListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1279 PyObject
* _argo0
= 0;
1280 char *_kwnames
[] = { "self", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetData",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p.");
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 _result
= (long )wxListItem_GetData(_arg0
);
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) return NULL
;
1298 } _resultobj
= Py_BuildValue("l",_result
);
1302 #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth())
1303 static PyObject
*_wrap_wxListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1307 PyObject
* _argo0
= 0;
1308 char *_kwnames
[] = { "self", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetWidth",_kwnames
,&_argo0
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p.");
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 _result
= (int )wxListItem_GetWidth(_arg0
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) return NULL
;
1326 } _resultobj
= Py_BuildValue("i",_result
);
1330 #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign())
1331 static PyObject
*_wrap_wxListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1333 wxListColumnFormat _result
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAlign",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p.");
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 _result
= (wxListColumnFormat
)wxListItem_GetAlign(_arg0
);
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) return NULL
;
1354 } _resultobj
= Py_BuildValue("i",_result
);
1358 #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes())
1359 static PyObject
*_wrap_wxListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1361 wxListItemAttr
* _result
;
1363 PyObject
* _argo0
= 0;
1364 char *_kwnames
[] = { "self", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetAttributes",_kwnames
,&_argo0
))
1371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p.");
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 _result
= (wxListItemAttr
*)wxListItem_GetAttributes(_arg0
);
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) return NULL
;
1384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListItemAttr_p");
1385 _resultobj
= Py_BuildValue("s",_ptemp
);
1388 _resultobj
= Py_None
;
1393 #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes())
1394 static PyObject
*_wrap_wxListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "self", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_HasAttributes",_kwnames
,&_argo0
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p.");
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 _result
= (bool )wxListItem_HasAttributes(_arg0
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1422 static PyObject
*_wrap_wxListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetTextColour",_kwnames
,&_argo0
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p.");
1441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1442 _result
= new wxColour (wxListItem_GetTextColour(_arg0
));
1444 wxPyEndAllowThreads(__tstate
);
1445 if (PyErr_Occurred()) return NULL
;
1446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1447 _resultobj
= Py_BuildValue("s",_ptemp
);
1451 #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1452 static PyObject
*_wrap_wxListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1456 PyObject
* _argo0
= 0;
1457 char *_kwnames
[] = { "self", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetBackgroundColour",_kwnames
,&_argo0
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p.");
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= new wxColour (wxListItem_GetBackgroundColour(_arg0
));
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1477 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont())
1482 static PyObject
*_wrap_wxListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_GetFont",_kwnames
,&_argo0
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p.");
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 _result
= new wxFont (wxListItem_GetFont(_arg0
));
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) return NULL
;
1506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1507 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval)
1512 static PyObject
*_wrap_wxListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self","m_mask", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_mask_set",_kwnames
,&_argo0
,&_arg1
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p.");
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 _result
= (long )wxListItem_m_mask_set(_arg0
,_arg1
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) return NULL
;
1536 } _resultobj
= Py_BuildValue("l",_result
);
1540 #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask)
1541 static PyObject
*_wrap_wxListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_mask_get",_kwnames
,&_argo0
))
1552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p.");
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 _result
= (long )wxListItem_m_mask_get(_arg0
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) return NULL
;
1564 } _resultobj
= Py_BuildValue("l",_result
);
1568 #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval)
1569 static PyObject
*_wrap_wxListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self","m_itemId", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_itemId_set",_kwnames
,&_argo0
,&_arg1
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p.");
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 _result
= (long )wxListItem_m_itemId_set(_arg0
,_arg1
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) return NULL
;
1593 } _resultobj
= Py_BuildValue("l",_result
);
1597 #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId)
1598 static PyObject
*_wrap_wxListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1602 PyObject
* _argo0
= 0;
1603 char *_kwnames
[] = { "self", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_itemId_get",_kwnames
,&_argo0
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p.");
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 _result
= (long )wxListItem_m_itemId_get(_arg0
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) return NULL
;
1621 } _resultobj
= Py_BuildValue("l",_result
);
1625 #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval)
1626 static PyObject
*_wrap_wxListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1631 PyObject
* _argo0
= 0;
1632 char *_kwnames
[] = { "self","m_col", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_col_set",_kwnames
,&_argo0
,&_arg1
))
1638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p.");
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 _result
= (int )wxListItem_m_col_set(_arg0
,_arg1
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) return NULL
;
1650 } _resultobj
= Py_BuildValue("i",_result
);
1654 #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col)
1655 static PyObject
*_wrap_wxListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1659 PyObject
* _argo0
= 0;
1660 char *_kwnames
[] = { "self", NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_col_get",_kwnames
,&_argo0
))
1666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p.");
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= (int )wxListItem_m_col_get(_arg0
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1682 #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval)
1683 static PyObject
*_wrap_wxListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self","m_state", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_state_set",_kwnames
,&_argo0
,&_arg1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p.");
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 _result
= (long )wxListItem_m_state_set(_arg0
,_arg1
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) return NULL
;
1707 } _resultobj
= Py_BuildValue("l",_result
);
1711 #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state)
1712 static PyObject
*_wrap_wxListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_state_get",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p.");
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 _result
= (long )wxListItem_m_state_get(_arg0
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) return NULL
;
1735 } _resultobj
= Py_BuildValue("l",_result
);
1739 #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval)
1740 static PyObject
*_wrap_wxListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self","m_stateMask", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_stateMask_set",_kwnames
,&_argo0
,&_arg1
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p.");
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 _result
= (long )wxListItem_m_stateMask_set(_arg0
,_arg1
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) return NULL
;
1764 } _resultobj
= Py_BuildValue("l",_result
);
1768 #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask)
1769 static PyObject
*_wrap_wxListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_stateMask_get",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p.");
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (long )wxListItem_m_stateMask_get(_arg0
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } _resultobj
= Py_BuildValue("l",_result
);
1796 #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval)
1797 static PyObject
*_wrap_wxListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 PyObject
* _obj1
= 0;
1804 char *_kwnames
[] = { "self","m_text", NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListItem_m_text_set",_kwnames
,&_argo0
,&_obj1
))
1810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p.");
1817 _arg1
= wxString_in_helper(_obj1
);
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 _result
= (wxString
*)wxListItem_m_text_set(_arg0
,_arg1
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) return NULL
;
1829 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1841 #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text)
1842 static PyObject
*_wrap_wxListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_text_get",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= (wxString
*)wxListItem_m_text_get(_arg0
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1867 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1875 #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval)
1876 static PyObject
*_wrap_wxListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self","m_image", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_image_set",_kwnames
,&_argo0
,&_arg1
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p.");
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (int )wxListItem_m_image_set(_arg0
,_arg1
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } _resultobj
= Py_BuildValue("i",_result
);
1904 #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image)
1905 static PyObject
*_wrap_wxListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1909 PyObject
* _argo0
= 0;
1910 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_image_get",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p.");
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 _result
= (int )wxListItem_m_image_get(_arg0
);
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) return NULL
;
1928 } _resultobj
= Py_BuildValue("i",_result
);
1932 #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval)
1933 static PyObject
*_wrap_wxListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self","m_data", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListItem_m_data_set",_kwnames
,&_argo0
,&_arg1
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p.");
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 _result
= (long )wxListItem_m_data_set(_arg0
,_arg1
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) return NULL
;
1957 } _resultobj
= Py_BuildValue("l",_result
);
1961 #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data)
1962 static PyObject
*_wrap_wxListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1966 PyObject
* _argo0
= 0;
1967 char *_kwnames
[] = { "self", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_data_get",_kwnames
,&_argo0
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p.");
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 _result
= (long )wxListItem_m_data_get(_arg0
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) return NULL
;
1985 } _resultobj
= Py_BuildValue("l",_result
);
1989 #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval)
1990 static PyObject
*_wrap_wxListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self","m_format", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_format_set",_kwnames
,&_argo0
,&_arg1
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p.");
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 _result
= (int )wxListItem_m_format_set(_arg0
,_arg1
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) return NULL
;
2014 } _resultobj
= Py_BuildValue("i",_result
);
2018 #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format)
2019 static PyObject
*_wrap_wxListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2023 PyObject
* _argo0
= 0;
2024 char *_kwnames
[] = { "self", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_format_get",_kwnames
,&_argo0
))
2030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p.");
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 _result
= (int )wxListItem_m_format_get(_arg0
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) return NULL
;
2042 } _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
2047 static PyObject
*_wrap_wxListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self","m_width", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListItem_m_width_set",_kwnames
,&_argo0
,&_arg1
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p.");
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 _result
= (int )wxListItem_m_width_set(_arg0
,_arg1
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } _resultobj
= Py_BuildValue("i",_result
);
2075 #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width)
2076 static PyObject
*_wrap_wxListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2080 PyObject
* _argo0
= 0;
2081 char *_kwnames
[] = { "self", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListItem_m_width_get",_kwnames
,&_argo0
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListItem_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p.");
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 _result
= (int )wxListItem_m_width_get(_arg0
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) return NULL
;
2099 } _resultobj
= Py_BuildValue("i",_result
);
2103 static void *SwigwxListEventTowxNotifyEvent(void *ptr
) {
2105 wxNotifyEvent
*dest
;
2106 src
= (wxListEvent
*) ptr
;
2107 dest
= (wxNotifyEvent
*) src
;
2108 return (void *) dest
;
2111 static void *SwigwxListEventTowxCommandEvent(void *ptr
) {
2113 wxCommandEvent
*dest
;
2114 src
= (wxListEvent
*) ptr
;
2115 dest
= (wxCommandEvent
*) src
;
2116 return (void *) dest
;
2119 static void *SwigwxListEventTowxEvent(void *ptr
) {
2122 src
= (wxListEvent
*) ptr
;
2123 dest
= (wxEvent
*) src
;
2124 return (void *) dest
;
2127 static void *SwigwxListEventTowxObject(void *ptr
) {
2130 src
= (wxListEvent
*) ptr
;
2131 dest
= (wxObject
*) src
;
2132 return (void *) dest
;
2135 #define new_wxListEvent(_swigarg0,_swigarg1) (new wxListEvent(_swigarg0,_swigarg1))
2136 static PyObject
*_wrap_new_wxListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2138 wxListEvent
* _result
;
2139 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
2140 int _arg1
= (int ) 0;
2141 char *_kwnames
[] = { "commandType","id", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxListEvent",_kwnames
,&_arg0
,&_arg1
))
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 _result
= (wxListEvent
*)new_wxListEvent(_arg0
,_arg1
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListEvent_p");
2155 _resultobj
= Py_BuildValue("s",_ptemp
);
2158 _resultobj
= Py_None
;
2163 #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code)
2164 static PyObject
*_wrap_wxListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2167 wxListEvent
* _arg0
;
2168 PyObject
* _argo0
= 0;
2169 char *_kwnames
[] = { "self", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_code_get",_kwnames
,&_argo0
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p.");
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 _result
= (int )wxListEvent_m_code_get(_arg0
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex)
2192 static PyObject
*_wrap_wxListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxListEvent
* _arg0
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_oldItemIndex_get",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p.");
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 _result
= (long )wxListEvent_m_oldItemIndex_get(_arg0
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } _resultobj
= Py_BuildValue("l",_result
);
2219 #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex)
2220 static PyObject
*_wrap_wxListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxListEvent
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_itemIndex_get",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 _result
= (long )wxListEvent_m_itemIndex_get(_arg0
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 } _resultobj
= Py_BuildValue("l",_result
);
2247 #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
2248 static PyObject
*_wrap_wxListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2251 wxListEvent
* _arg0
;
2252 PyObject
* _argo0
= 0;
2253 char *_kwnames
[] = { "self", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_col_get",_kwnames
,&_argo0
))
2259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p.");
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 _result
= (int )wxListEvent_m_col_get(_arg0
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag)
2276 static PyObject
*_wrap_wxListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2279 wxListEvent
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_pointDrag_get",_kwnames
,&_argo0
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= (wxPoint
*)wxListEvent_m_pointDrag_get(_arg0
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2302 _resultobj
= Py_BuildValue("s",_ptemp
);
2305 _resultobj
= Py_None
;
2310 #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item)
2311 static PyObject
*_wrap_wxListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2313 wxListItem
* _result
;
2314 wxListEvent
* _arg0
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_m_item_get",_kwnames
,&_argo0
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p.");
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 _result
= (wxListItem
*)wxListEvent_m_item_get(_arg0
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2338 #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode())
2339 static PyObject
*_wrap_wxListEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2342 wxListEvent
* _arg0
;
2343 PyObject
* _argo0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCode",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (int )wxListEvent_GetCode(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex())
2367 static PyObject
*_wrap_wxListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2370 wxListEvent
* _arg0
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetIndex",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 _result
= (long )wxListEvent_GetIndex(_arg0
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } _resultobj
= Py_BuildValue("l",_result
);
2394 #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn())
2395 static PyObject
*_wrap_wxListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2398 wxListEvent
* _arg0
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetColumn",_kwnames
,&_argo0
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p.");
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 _result
= (int )wxListEvent_GetColumn(_arg0
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } _resultobj
= Py_BuildValue("i",_result
);
2422 #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2423 static PyObject
*_wrap_wxListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 wxListEvent
* _arg0
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetPoint",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p.");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= new wxPoint (wxListEvent_GetPoint(_arg0
));
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2448 _resultobj
= Py_BuildValue("s",_ptemp
);
2452 #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
2453 static PyObject
*_wrap_wxListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2456 wxListEvent
* _arg0
;
2457 PyObject
* _argo0
= 0;
2458 char *_kwnames
[] = { "self", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetLabel",_kwnames
,&_argo0
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p.");
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 const wxString
& _result_ref
= wxListEvent_GetLabel(_arg0
);
2473 _result
= (wxString
*) &_result_ref
;
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) return NULL
;
2479 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2481 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2487 #define wxListEvent_GetText(_swigobj) (_swigobj->GetText())
2488 static PyObject
*_wrap_wxListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2491 wxListEvent
* _arg0
;
2492 PyObject
* _argo0
= 0;
2493 char *_kwnames
[] = { "self", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetText",_kwnames
,&_argo0
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p.");
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 const wxString
& _result_ref
= wxListEvent_GetText(_arg0
);
2508 _result
= (wxString
*) &_result_ref
;
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2514 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2516 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2522 #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage())
2523 static PyObject
*_wrap_wxListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2526 wxListEvent
* _arg0
;
2527 PyObject
* _argo0
= 0;
2528 char *_kwnames
[] = { "self", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetImage",_kwnames
,&_argo0
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p.");
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 _result
= (int )wxListEvent_GetImage(_arg0
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) return NULL
;
2546 } _resultobj
= Py_BuildValue("i",_result
);
2550 #define wxListEvent_GetData(_swigobj) (_swigobj->GetData())
2551 static PyObject
*_wrap_wxListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2554 wxListEvent
* _arg0
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetData",_kwnames
,&_argo0
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p.");
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 _result
= (long )wxListEvent_GetData(_arg0
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } _resultobj
= Py_BuildValue("l",_result
);
2578 #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask())
2579 static PyObject
*_wrap_wxListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2582 wxListEvent
* _arg0
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetMask",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p.");
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 _result
= (long )wxListEvent_GetMask(_arg0
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) return NULL
;
2602 } _resultobj
= Py_BuildValue("l",_result
);
2606 #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem())
2607 static PyObject
*_wrap_wxListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxListItem
* _result
;
2610 wxListEvent
* _arg0
;
2611 PyObject
* _argo0
= 0;
2612 char *_kwnames
[] = { "self", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetItem",_kwnames
,&_argo0
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p.");
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 const wxListItem
& _result_ref
= wxListEvent_GetItem(_arg0
);
2627 _result
= (wxListItem
*) &_result_ref
;
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) return NULL
;
2631 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2635 #define wxListEvent_GetCacheFrom(_swigobj) (_swigobj->GetCacheFrom())
2636 static PyObject
*_wrap_wxListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2639 wxListEvent
* _arg0
;
2640 PyObject
* _argo0
= 0;
2641 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheFrom",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheFrom. Expected _wxListEvent_p.");
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 _result
= (long )wxListEvent_GetCacheFrom(_arg0
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2659 } _resultobj
= Py_BuildValue("l",_result
);
2663 #define wxListEvent_GetCacheTo(_swigobj) (_swigobj->GetCacheTo())
2664 static PyObject
*_wrap_wxListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2667 wxListEvent
* _arg0
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListEvent_GetCacheTo",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListEvent_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListEvent_GetCacheTo. Expected _wxListEvent_p.");
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 _result
= (long )wxListEvent_GetCacheTo(_arg0
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) return NULL
;
2687 } _resultobj
= Py_BuildValue("l",_result
);
2691 static void *SwigwxPyListCtrlTowxControl(void *ptr
) {
2694 src
= (wxPyListCtrl
*) ptr
;
2695 dest
= (wxControl
*) src
;
2696 return (void *) dest
;
2699 static void *SwigwxPyListCtrlTowxWindow(void *ptr
) {
2702 src
= (wxPyListCtrl
*) ptr
;
2703 dest
= (wxWindow
*) src
;
2704 return (void *) dest
;
2707 static void *SwigwxPyListCtrlTowxEvtHandler(void *ptr
) {
2710 src
= (wxPyListCtrl
*) ptr
;
2711 dest
= (wxEvtHandler
*) src
;
2712 return (void *) dest
;
2715 static void *SwigwxPyListCtrlTowxObject(void *ptr
) {
2718 src
= (wxPyListCtrl
*) ptr
;
2719 dest
= (wxObject
*) src
;
2720 return (void *) dest
;
2723 #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2724 static PyObject
*_wrap_new_wxListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2726 wxPyListCtrl
* _result
;
2728 wxWindowID _arg1
= (wxWindowID
) -1;
2729 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2730 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2731 long _arg4
= (long ) (wxLC_ICON
);
2732 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
2733 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
2734 PyObject
* _argo0
= 0;
2736 PyObject
* _obj2
= 0;
2738 PyObject
* _obj3
= 0;
2739 PyObject
* _argo5
= 0;
2740 PyObject
* _obj6
= 0;
2741 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p.");
2757 if (! wxPoint_helper(_obj2
, &_arg2
))
2763 if (! wxSize_helper(_obj3
, &_arg3
))
2767 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p.");
2775 _arg6
= wxString_in_helper(_obj6
);
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 _result
= (wxPyListCtrl
*)new_wxListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2787 _resultobj
= Py_BuildValue("s",_ptemp
);
2790 _resultobj
= Py_None
;
2799 #define new_wxPreListCtrl() (new wxPyListCtrl())
2800 static PyObject
*_wrap_new_wxPreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2802 wxPyListCtrl
* _result
;
2803 char *_kwnames
[] = { NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListCtrl",_kwnames
))
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 _result
= (wxPyListCtrl
*)new_wxPreListCtrl();
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyListCtrl_p");
2817 _resultobj
= Py_BuildValue("s",_ptemp
);
2820 _resultobj
= Py_None
;
2825 #define wxListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2826 static PyObject
*_wrap_wxListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2829 wxPyListCtrl
* _arg0
;
2831 wxWindowID _arg2
= (wxWindowID
) -1;
2832 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2833 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2834 long _arg5
= (long ) (wxLC_ICON
);
2835 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2836 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
2837 PyObject
* _argo0
= 0;
2838 PyObject
* _argo1
= 0;
2840 PyObject
* _obj3
= 0;
2842 PyObject
* _obj4
= 0;
2843 PyObject
* _argo6
= 0;
2844 PyObject
* _obj7
= 0;
2845 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Create. Expected _wxPyListCtrl_p.");
2858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_Create. Expected _wxWindow_p.");
2867 if (! wxPoint_helper(_obj3
, &_arg3
))
2873 if (! wxSize_helper(_obj4
, &_arg4
))
2877 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListCtrl_Create. Expected _wxValidator_p.");
2885 _arg7
= wxString_in_helper(_obj7
);
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 _result
= (bool )wxListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) return NULL
;
2895 } _resultobj
= Py_BuildValue("i",_result
);
2903 #define wxListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2904 static PyObject
*_wrap_wxListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2906 wxPyListCtrl
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 PyObject
* _obj1
= 0;
2911 PyObject
* _obj2
= 0;
2912 char *_kwnames
[] = { "self","self","_class", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxListCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl__setCallbackInfo. Expected _wxPyListCtrl_p.");
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 wxListCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) return NULL
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2941 #define wxListCtrl_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
2942 static PyObject
*_wrap_wxListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2945 wxPyListCtrl
* _arg0
;
2947 PyObject
* _argo0
= 0;
2949 PyObject
* _obj1
= 0;
2950 char *_kwnames
[] = { "self","col", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetForegroundColour. Expected _wxPyListCtrl_p.");
2964 if (! wxColour_helper(_obj1
, &_arg1
))
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 _result
= (bool )wxListCtrl_SetForegroundColour(_arg0
,*_arg1
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) return NULL
;
2973 } _resultobj
= Py_BuildValue("i",_result
);
2977 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2978 static PyObject
*_wrap_wxListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2981 wxPyListCtrl
* _arg0
;
2983 PyObject
* _argo0
= 0;
2985 PyObject
* _obj1
= 0;
2986 char *_kwnames
[] = { "self","col", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxPyListCtrl_p.");
3000 if (! wxColour_helper(_obj1
, &_arg1
))
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 _result
= (bool )wxListCtrl_SetBackgroundColour(_arg0
,*_arg1
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) return NULL
;
3009 } _resultobj
= Py_BuildValue("i",_result
);
3013 static wxListItem
* wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
) {
3015 if (self
->GetColumn(col
, item
))
3016 return new wxListItem(item
);
3020 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3022 wxListItem
* _result
;
3023 wxPyListCtrl
* _arg0
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self","col", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) return NULL
;
3044 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3048 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3049 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3052 wxPyListCtrl
* _arg0
;
3055 PyObject
* _argo0
= 0;
3056 PyObject
* _argo2
= 0;
3057 char *_kwnames
[] = { "self","col","item", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3070 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) return NULL
;
3082 } _resultobj
= Py_BuildValue("i",_result
);
3086 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3087 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 wxPyListCtrl
* _arg0
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self","col", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) return NULL
;
3111 } _resultobj
= Py_BuildValue("i",_result
);
3115 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3116 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3119 wxPyListCtrl
* _arg0
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self","col","width", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3141 } _resultobj
= Py_BuildValue("i",_result
);
3145 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3146 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3149 wxPyListCtrl
* _arg0
;
3150 PyObject
* _argo0
= 0;
3151 char *_kwnames
[] = { "self", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3169 } _resultobj
= Py_BuildValue("i",_result
);
3173 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3174 wxListItem
* info
= new wxListItem
;
3175 info
->m_itemId
= itemId
;
3177 info
->m_mask
= 0xFFFF;
3178 self
->GetItem(*info
);
3181 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3183 wxListItem
* _result
;
3184 wxPyListCtrl
* _arg0
;
3186 int _arg2
= (int ) 0;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self","itemId","col", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) return NULL
;
3206 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3210 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3211 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3214 wxPyListCtrl
* _arg0
;
3216 PyObject
* _argo0
= 0;
3217 PyObject
* _argo1
= 0;
3218 char *_kwnames
[] = { "self","info", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) return NULL
;
3243 } _resultobj
= Py_BuildValue("i",_result
);
3247 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3248 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3251 wxPyListCtrl
* _arg0
;
3255 int _arg4
= (int ) -1;
3256 PyObject
* _argo0
= 0;
3257 PyObject
* _obj3
= 0;
3258 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3271 _arg3
= wxString_in_helper(_obj3
);
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } _resultobj
= Py_BuildValue("l",_result
);
3289 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3290 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3293 wxPyListCtrl
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3320 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3323 wxPyListCtrl
* _arg0
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) return NULL
;
3346 } _resultobj
= Py_BuildValue("i",_result
);
3350 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3351 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3354 wxPyListCtrl
* _arg0
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxPyListCtrl_p.");
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) return NULL
;
3377 } _resultobj
= Py_BuildValue("i",_result
);
3381 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3382 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3385 wxPyListCtrl
* _arg0
;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self","item", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
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_GetItemText. Expected _wxPyListCtrl_p.");
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) return NULL
;
3408 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3410 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3419 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3420 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3422 wxPyListCtrl
* _arg0
;
3425 PyObject
* _argo0
= 0;
3426 PyObject
* _obj2
= 0;
3427 char *_kwnames
[] = { "self","item","str", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3440 _arg2
= wxString_in_helper(_obj2
);
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) return NULL
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3459 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3460 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3463 wxPyListCtrl
* _arg0
;
3465 PyObject
* _argo0
= 0;
3466 char *_kwnames
[] = { "self","item", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) return NULL
;
3484 } _resultobj
= Py_BuildValue("l",_result
);
3488 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3489 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3492 wxPyListCtrl
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self","item","data", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) return NULL
;
3514 } _resultobj
= Py_BuildValue("i",_result
);
3518 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3519 wxPoint
* pos
= new wxPoint
;
3520 self
->GetItemPosition(item
, *pos
);
3523 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3526 wxPyListCtrl
* _arg0
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","item", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) return NULL
;
3549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3550 _resultobj
= Py_BuildValue("s",_ptemp
);
3553 _resultobj
= Py_None
;
3558 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3559 wxRect
* rect
= new wxRect
;
3560 self
->GetItemRect(item
, *rect
, code
);
3563 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3566 wxPyListCtrl
* _arg0
;
3568 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self","item","code", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) return NULL
;
3590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3591 _resultobj
= Py_BuildValue("s",_ptemp
);
3594 _resultobj
= Py_None
;
3599 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3600 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3603 wxPyListCtrl
* _arg0
;
3606 PyObject
* _argo0
= 0;
3608 PyObject
* _obj2
= 0;
3609 char *_kwnames
[] = { "self","item","pos", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3623 if (! wxPoint_helper(_obj2
, &_arg2
))
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3637 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 wxPyListCtrl
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3665 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3668 wxPyListCtrl
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3688 } _resultobj
= Py_BuildValue("i",_result
);
3692 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3693 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxPyListCtrl
* _arg0
;
3698 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self","isSmall", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxPyListCtrl_p.");
3712 _arg1
= (bool ) tempbool1
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) return NULL
;
3719 } _resultobj
= Py_BuildValue("i",_result
);
3723 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3724 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3727 wxPyListCtrl
* _arg0
;
3728 PyObject
* _argo0
= 0;
3729 char *_kwnames
[] = { "self", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_kwnames
,&_argo0
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3747 } _resultobj
= Py_BuildValue("i",_result
);
3751 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3752 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3755 wxPyListCtrl
* _arg0
;
3756 PyObject
* _argo0
= 0;
3757 char *_kwnames
[] = { "self", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) return NULL
;
3776 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3777 _resultobj
= Py_BuildValue("s",_ptemp
);
3781 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3782 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3784 wxPyListCtrl
* _arg0
;
3786 PyObject
* _argo0
= 0;
3788 PyObject
* _obj1
= 0;
3789 char *_kwnames
[] = { "self","col", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3803 if (! wxColour_helper(_obj1
, &_arg1
))
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) return NULL
;
3812 } Py_INCREF(Py_None
);
3813 _resultobj
= Py_None
;
3817 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3818 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3821 wxPyListCtrl
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) return NULL
;
3841 } _resultobj
= Py_BuildValue("l",_result
);
3845 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3846 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3848 wxPyListCtrl
* _arg0
;
3850 bool _arg2
= (bool ) TRUE
;
3851 PyObject
* _argo0
= 0;
3852 int tempbool2
= (int) TRUE
;
3853 char *_kwnames
[] = { "self","style","add", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3865 _arg2
= (bool ) tempbool2
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) return NULL
;
3872 } Py_INCREF(Py_None
);
3873 _resultobj
= Py_None
;
3877 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3878 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
* _resultobj
;
3880 wxPyListCtrl
* _arg0
;
3882 PyObject
* _argo0
= 0;
3883 char *_kwnames
[] = { "self","style", NULL
};
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) return NULL
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3907 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3910 wxPyListCtrl
* _arg0
;
3912 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3913 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxPyListCtrl_p.");
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) return NULL
;
3933 } _resultobj
= Py_BuildValue("l",_result
);
3937 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3938 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3940 wxImageList
* _result
;
3941 wxPyListCtrl
* _arg0
;
3943 PyObject
* _argo0
= 0;
3944 char *_kwnames
[] = { "self","which", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) return NULL
;
3962 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3966 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3967 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3969 wxPyListCtrl
* _arg0
;
3970 wxImageList
* _arg1
;
3972 PyObject
* _argo0
= 0;
3973 PyObject
* _argo1
= 0;
3974 char *_kwnames
[] = { "self","imageList","which", NULL
};
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
3987 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) return NULL
;
3999 } Py_INCREF(Py_None
);
4000 _resultobj
= Py_None
;
4004 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4005 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4007 wxPyListCtrl
* _arg0
;
4008 wxImageList
* _arg1
;
4010 PyObject
* _argo0
= 0;
4011 PyObject
* _argo1
= 0;
4012 char *_kwnames
[] = { "self","imageList","which", NULL
};
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) return NULL
;
4037 } Py_INCREF(Py_None
);
4038 _resultobj
= Py_None
;
4042 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4043 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4046 wxPyListCtrl
* _arg0
;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "self", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4066 } _resultobj
= Py_BuildValue("i",_result
);
4070 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4071 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4073 wxPyListCtrl
* _arg0
;
4075 PyObject
* _argo0
= 0;
4076 char *_kwnames
[] = { "self","item", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) return NULL
;
4094 } Py_INCREF(Py_None
);
4095 _resultobj
= Py_None
;
4099 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4100 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxPyListCtrl
* _arg0
;
4105 PyObject
* _argo0
= 0;
4106 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) return NULL
;
4124 } Py_INCREF(Py_None
);
4125 _resultobj
= Py_None
;
4129 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4130 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4133 wxPyListCtrl
* _arg0
;
4134 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self","flag", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_kwnames
,&_argo0
,&_arg1
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxPyListCtrl_p.");
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } _resultobj
= Py_BuildValue("i",_result
);
4158 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4159 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4162 wxPyListCtrl
* _arg0
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self","item", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } _resultobj
= Py_BuildValue("i",_result
);
4187 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4188 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4191 wxPyListCtrl
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxPyListCtrl_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } _resultobj
= Py_BuildValue("i",_result
);
4215 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4216 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4219 wxPyListCtrl
* _arg0
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self","col", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4245 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4248 wxPyListCtrl
* _arg0
;
4249 PyObject
* _argo0
= 0;
4250 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } _resultobj
= Py_BuildValue("i",_result
);
4272 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4273 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4275 wxPyListCtrl
* _arg0
;
4276 PyObject
* _argo0
= 0;
4277 char *_kwnames
[] = { "self", NULL
};
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxListCtrl_ClearAll(_arg0
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) return NULL
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4301 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4304 wxPyListCtrl
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self","item", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) return NULL
;
4325 } _resultobj
= Py_BuildValue("i",_result
);
4329 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4330 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4333 wxPyListCtrl
* _arg0
;
4336 bool _arg3
= (bool ) FALSE
;
4337 PyObject
* _argo0
= 0;
4338 PyObject
* _obj2
= 0;
4339 int tempbool3
= (int) FALSE
;
4340 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4353 _arg2
= wxString_in_helper(_obj2
);
4357 _arg3
= (bool ) tempbool3
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4364 } _resultobj
= Py_BuildValue("l",_result
);
4372 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4373 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4376 wxPyListCtrl
* _arg0
;
4379 PyObject
* _argo0
= 0;
4380 char *_kwnames
[] = { "self","start","data", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) return NULL
;
4398 } _resultobj
= Py_BuildValue("l",_result
);
4402 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4403 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4406 wxPyListCtrl
* _arg0
;
4410 PyObject
* _argo0
= 0;
4412 PyObject
* _obj2
= 0;
4413 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4427 if (! wxPoint_helper(_obj2
, &_arg2
))
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } _resultobj
= Py_BuildValue("l",_result
);
4440 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4441 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4444 wxPyListCtrl
* _arg0
;
4448 PyObject
* _argo0
= 0;
4450 PyObject
* _obj1
= 0;
4451 char *_kwnames
[] = { "self","point", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4468 if (! wxPoint_helper(_obj1
, &_arg1
))
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4477 } _resultobj
= Py_BuildValue("l",_result
);
4480 o
= PyInt_FromLong((long) (*_arg2
));
4481 _resultobj
= t_output_helper(_resultobj
, o
);
4486 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4487 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxPyListCtrl
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 PyObject
* _argo1
= 0;
4494 char *_kwnames
[] = { "self","info", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4507 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) return NULL
;
4519 } _resultobj
= Py_BuildValue("l",_result
);
4523 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4524 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4527 wxPyListCtrl
* _arg0
;
4530 PyObject
* _argo0
= 0;
4531 PyObject
* _obj2
= 0;
4532 char *_kwnames
[] = { "self","index","label", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4545 _arg2
= wxString_in_helper(_obj2
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) return NULL
;
4555 } _resultobj
= Py_BuildValue("l",_result
);
4563 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4564 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4567 wxPyListCtrl
* _arg0
;
4570 PyObject
* _argo0
= 0;
4571 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) return NULL
;
4589 } _resultobj
= Py_BuildValue("l",_result
);
4593 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4594 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
* _resultobj
;
4597 wxPyListCtrl
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 PyObject
* _obj2
= 0;
4603 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4616 _arg2
= wxString_in_helper(_obj2
);
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } _resultobj
= Py_BuildValue("l",_result
);
4634 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4635 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 wxPyListCtrl
* _arg0
;
4641 PyObject
* _argo0
= 0;
4642 PyObject
* _argo2
= 0;
4643 char *_kwnames
[] = { "self","col","info", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4656 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 } _resultobj
= Py_BuildValue("l",_result
);
4672 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4673 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
* _resultobj
;
4676 wxPyListCtrl
* _arg0
;
4679 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4680 int _arg4
= (int ) -1;
4681 PyObject
* _argo0
= 0;
4682 PyObject
* _obj2
= 0;
4683 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4696 _arg2
= wxString_in_helper(_obj2
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) return NULL
;
4706 } _resultobj
= Py_BuildValue("l",_result
);
4714 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4715 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4717 wxPyListCtrl
* _arg0
;
4719 PyObject
* _argo0
= 0;
4720 char *_kwnames
[] = { "self","count", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) return NULL
;
4738 } Py_INCREF(Py_None
);
4739 _resultobj
= Py_None
;
4743 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4744 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4747 wxPyListCtrl
* _arg0
;
4750 PyObject
* _argo0
= 0;
4751 char *_kwnames
[] = { "self","dx","dy", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) return NULL
;
4769 } _resultobj
= Py_BuildValue("i",_result
);
4773 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4774 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4776 wxPyListCtrl
* _arg0
;
4779 PyObject
* _argo0
= 0;
4781 PyObject
* _obj2
= 0;
4782 char *_kwnames
[] = { "self","item","col", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4796 if (! wxColour_helper(_obj2
, &_arg2
))
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) return NULL
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4810 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4811 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4814 wxPyListCtrl
* _arg0
;
4816 PyObject
* _argo0
= 0;
4817 char *_kwnames
[] = { "self","item", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) return NULL
;
4836 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4837 _resultobj
= Py_BuildValue("s",_ptemp
);
4841 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4842 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4844 wxPyListCtrl
* _arg0
;
4847 PyObject
* _argo0
= 0;
4849 PyObject
* _obj2
= 0;
4850 char *_kwnames
[] = { "self","item","col", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4864 if (! wxColour_helper(_obj2
, &_arg2
))
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) return NULL
;
4873 } Py_INCREF(Py_None
);
4874 _resultobj
= Py_None
;
4878 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4879 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
* _resultobj
;
4882 wxPyListCtrl
* _arg0
;
4884 PyObject
* _argo0
= 0;
4885 char *_kwnames
[] = { "self","item", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) return NULL
;
4904 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4905 _resultobj
= Py_BuildValue("s",_ptemp
);
4909 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4910 if (!PyCallable_Check(func
))
4912 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
4914 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4917 wxPyListCtrl
* _arg0
;
4919 PyObject
* _argo0
= 0;
4920 PyObject
* _obj1
= 0;
4921 char *_kwnames
[] = { "self","func", NULL
};
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) return NULL
;
4942 } _resultobj
= Py_BuildValue("i",_result
);
4946 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
4949 src
= (wxListView
*) ptr
;
4950 dest
= (wxPyListCtrl
*) src
;
4951 return (void *) dest
;
4954 static void *SwigwxListViewTowxControl(void *ptr
) {
4957 src
= (wxListView
*) ptr
;
4958 dest
= (wxControl
*) src
;
4959 return (void *) dest
;
4962 static void *SwigwxListViewTowxWindow(void *ptr
) {
4965 src
= (wxListView
*) ptr
;
4966 dest
= (wxWindow
*) src
;
4967 return (void *) dest
;
4970 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
4973 src
= (wxListView
*) ptr
;
4974 dest
= (wxEvtHandler
*) src
;
4975 return (void *) dest
;
4978 static void *SwigwxListViewTowxObject(void *ptr
) {
4981 src
= (wxListView
*) ptr
;
4982 dest
= (wxObject
*) src
;
4983 return (void *) dest
;
4986 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4987 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4989 wxListView
* _result
;
4991 wxWindowID _arg1
= (wxWindowID
) -1;
4992 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4993 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4994 long _arg4
= (long ) (wxLC_REPORT
);
4995 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
4996 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
4997 PyObject
* _argo0
= 0;
4999 PyObject
* _obj2
= 0;
5001 PyObject
* _obj3
= 0;
5002 PyObject
* _argo5
= 0;
5003 PyObject
* _obj6
= 0;
5004 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5020 if (! wxPoint_helper(_obj2
, &_arg2
))
5026 if (! wxSize_helper(_obj3
, &_arg3
))
5030 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5038 _arg6
= wxString_in_helper(_obj6
);
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) return NULL
;
5049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5050 _resultobj
= Py_BuildValue("s",_ptemp
);
5053 _resultobj
= Py_None
;
5062 #define new_wxPreListView() (new wxListView())
5063 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5065 wxListView
* _result
;
5066 char *_kwnames
[] = { NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 _result
= (wxListView
*)new_wxPreListView();
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) return NULL
;
5079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5080 _resultobj
= Py_BuildValue("s",_ptemp
);
5083 _resultobj
= Py_None
;
5088 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5089 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5094 wxWindowID _arg2
= (wxWindowID
) -1;
5095 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5096 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5097 long _arg5
= (long ) (wxLC_REPORT
);
5098 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5099 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5100 PyObject
* _argo0
= 0;
5101 PyObject
* _argo1
= 0;
5103 PyObject
* _obj3
= 0;
5105 PyObject
* _obj4
= 0;
5106 PyObject
* _argo6
= 0;
5107 PyObject
* _obj7
= 0;
5108 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5130 if (! wxPoint_helper(_obj3
, &_arg3
))
5136 if (! wxSize_helper(_obj4
, &_arg4
))
5140 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5148 _arg7
= wxString_in_helper(_obj7
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) return NULL
;
5158 } _resultobj
= Py_BuildValue("i",_result
);
5166 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5167 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5171 bool _arg2
= (bool ) TRUE
;
5172 PyObject
* _argo0
= 0;
5173 int tempbool2
= (int) TRUE
;
5174 char *_kwnames
[] = { "self","n","on", NULL
};
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5186 _arg2
= (bool ) tempbool2
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 wxListView_Select(_arg0
,_arg1
,_arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) return NULL
;
5193 } Py_INCREF(Py_None
);
5194 _resultobj
= Py_None
;
5198 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5199 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
* _resultobj
;
5203 PyObject
* _argo0
= 0;
5204 char *_kwnames
[] = { "self","index", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxListView_Focus(_arg0
,_arg1
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5227 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5228 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5232 PyObject
* _argo0
= 0;
5233 char *_kwnames
[] = { "self", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) return NULL
;
5251 } _resultobj
= Py_BuildValue("l",_result
);
5255 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5256 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5261 PyObject
* _argo0
= 0;
5262 char *_kwnames
[] = { "self","item", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) return NULL
;
5280 } _resultobj
= Py_BuildValue("l",_result
);
5284 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5285 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) return NULL
;
5308 } _resultobj
= Py_BuildValue("l",_result
);
5312 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5313 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self","index", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
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_IsSelected. Expected _wxListView_p.");
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) return NULL
;
5337 } _resultobj
= Py_BuildValue("i",_result
);
5341 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5342 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5347 PyObject
* _argo0
= 0;
5348 char *_kwnames
[] = { "self","col","image", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5366 } Py_INCREF(Py_None
);
5367 _resultobj
= Py_None
;
5371 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5372 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5376 PyObject
* _argo0
= 0;
5377 char *_kwnames
[] = { "self","col", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 wxListView_ClearColumnImage(_arg0
,_arg1
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) return NULL
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5401 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5403 wxTreeItemAttr
* _result
;
5404 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5405 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5406 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5408 PyObject
* _obj0
= 0;
5410 PyObject
* _obj1
= 0;
5411 PyObject
* _argo2
= 0;
5412 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5421 if (! wxColour_helper(_obj0
, &_arg0
))
5427 if (! wxColour_helper(_obj1
, &_arg1
))
5431 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5445 _resultobj
= Py_BuildValue("s",_ptemp
);
5448 _resultobj
= Py_None
;
5453 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5454 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5456 wxTreeItemAttr
* _arg0
;
5458 PyObject
* _argo0
= 0;
5460 PyObject
* _obj1
= 0;
5461 char *_kwnames
[] = { "self","colText", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5475 if (! wxColour_helper(_obj1
, &_arg1
))
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5490 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5492 wxTreeItemAttr
* _arg0
;
5494 PyObject
* _argo0
= 0;
5496 PyObject
* _obj1
= 0;
5497 char *_kwnames
[] = { "self","colBack", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5511 if (! wxColour_helper(_obj1
, &_arg1
))
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) return NULL
;
5520 } Py_INCREF(Py_None
);
5521 _resultobj
= Py_None
;
5525 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5526 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5528 wxTreeItemAttr
* _arg0
;
5530 PyObject
* _argo0
= 0;
5531 PyObject
* _argo1
= 0;
5532 char *_kwnames
[] = { "self","font", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) return NULL
;
5557 } Py_INCREF(Py_None
);
5558 _resultobj
= Py_None
;
5562 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5563 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5566 wxTreeItemAttr
* _arg0
;
5567 PyObject
* _argo0
= 0;
5568 char *_kwnames
[] = { "self", NULL
};
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) return NULL
;
5586 } _resultobj
= Py_BuildValue("i",_result
);
5590 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5591 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5594 wxTreeItemAttr
* _arg0
;
5595 PyObject
* _argo0
= 0;
5596 char *_kwnames
[] = { "self", NULL
};
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) return NULL
;
5614 } _resultobj
= Py_BuildValue("i",_result
);
5618 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5619 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5622 wxTreeItemAttr
* _arg0
;
5623 PyObject
* _argo0
= 0;
5624 char *_kwnames
[] = { "self", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_kwnames
,&_argo0
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasFont. Expected _wxTreeItemAttr_p.");
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) return NULL
;
5642 } _resultobj
= Py_BuildValue("i",_result
);
5646 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5647 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
* _resultobj
;
5650 wxTreeItemAttr
* _arg0
;
5651 PyObject
* _argo0
= 0;
5652 char *_kwnames
[] = { "self", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) return NULL
;
5671 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5672 _resultobj
= Py_BuildValue("s",_ptemp
);
5676 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5677 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
* _resultobj
;
5680 wxTreeItemAttr
* _arg0
;
5681 PyObject
* _argo0
= 0;
5682 char *_kwnames
[] = { "self", NULL
};
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) return NULL
;
5701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5702 _resultobj
= Py_BuildValue("s",_ptemp
);
5706 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5707 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5710 wxTreeItemAttr
* _arg0
;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5732 _resultobj
= Py_BuildValue("s",_ptemp
);
5736 #define new_wxTreeItemId() (new wxTreeItemId())
5737 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5739 wxTreeItemId
* _result
;
5740 char *_kwnames
[] = { NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) return NULL
;
5753 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5754 _resultobj
= Py_BuildValue("s",_ptemp
);
5757 _resultobj
= Py_None
;
5762 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5763 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5765 wxTreeItemId
* _arg0
;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 delete_wxTreeItemId(_arg0
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) return NULL
;
5785 } Py_INCREF(Py_None
);
5786 _resultobj
= Py_None
;
5790 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5791 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5794 wxTreeItemId
* _arg0
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) return NULL
;
5814 } _resultobj
= Py_BuildValue("i",_result
);
5818 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5819 if (! other
) return -1;
5820 return *self
!= *other
;
5822 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
* _resultobj
;
5825 wxTreeItemId
* _arg0
;
5826 wxTreeItemId
* _arg1
;
5827 PyObject
* _argo0
= 0;
5828 PyObject
* _argo1
= 0;
5829 char *_kwnames
[] = { "self","other", NULL
};
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5854 } _resultobj
= Py_BuildValue("i",_result
);
5858 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5859 wxPyTreeItemData
*src
;
5861 src
= (wxPyTreeItemData
*) ptr
;
5862 dest
= (wxObject
*) src
;
5863 return (void *) dest
;
5866 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5867 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
* _resultobj
;
5869 wxPyTreeItemData
* _result
;
5870 PyObject
* _arg0
= (PyObject
*) NULL
;
5871 PyObject
* _obj0
= 0;
5872 char *_kwnames
[] = { "obj", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5890 _resultobj
= Py_BuildValue("s",_ptemp
);
5893 _resultobj
= Py_None
;
5898 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5899 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5902 wxPyTreeItemData
* _arg0
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) return NULL
;
5923 _resultobj
= _result
;
5928 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
5929 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
* _resultobj
;
5931 wxPyTreeItemData
* _arg0
;
5933 PyObject
* _argo0
= 0;
5934 PyObject
* _obj1
= 0;
5935 char *_kwnames
[] = { "self","obj", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 wxTreeItemData_SetData(_arg0
,_arg1
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) return NULL
;
5956 } Py_INCREF(Py_None
);
5957 _resultobj
= Py_None
;
5961 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
5962 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5964 wxTreeItemId
* _result
;
5965 wxPyTreeItemData
* _arg0
;
5966 PyObject
* _argo0
= 0;
5967 char *_kwnames
[] = { "self", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
5983 _result
= (wxTreeItemId
*) &_result_ref
;
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) return NULL
;
5988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5989 _resultobj
= Py_BuildValue("s",_ptemp
);
5992 _resultobj
= Py_None
;
5997 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
5998 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
* _resultobj
;
6000 wxPyTreeItemData
* _arg0
;
6001 wxTreeItemId
* _arg1
;
6002 PyObject
* _argo0
= 0;
6003 PyObject
* _argo1
= 0;
6004 char *_kwnames
[] = { "self","id", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxTreeItemData_SetId(_arg0
,*_arg1
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) return NULL
;
6029 } Py_INCREF(Py_None
);
6030 _resultobj
= Py_None
;
6034 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6036 wxNotifyEvent
*dest
;
6037 src
= (wxTreeEvent
*) ptr
;
6038 dest
= (wxNotifyEvent
*) src
;
6039 return (void *) dest
;
6042 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6044 wxCommandEvent
*dest
;
6045 src
= (wxTreeEvent
*) ptr
;
6046 dest
= (wxCommandEvent
*) src
;
6047 return (void *) dest
;
6050 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6053 src
= (wxTreeEvent
*) ptr
;
6054 dest
= (wxEvent
*) src
;
6055 return (void *) dest
;
6058 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6061 src
= (wxTreeEvent
*) ptr
;
6062 dest
= (wxObject
*) src
;
6063 return (void *) dest
;
6066 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6067 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6069 wxTreeEvent
* _result
;
6070 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6071 int _arg1
= (int ) 0;
6072 char *_kwnames
[] = { "commandType","id", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6086 _resultobj
= Py_BuildValue("s",_ptemp
);
6089 _resultobj
= Py_None
;
6094 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6095 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6097 wxTreeItemId
* _result
;
6098 wxTreeEvent
* _arg0
;
6099 PyObject
* _argo0
= 0;
6100 char *_kwnames
[] = { "self", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6119 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6120 _resultobj
= Py_BuildValue("s",_ptemp
);
6124 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6125 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxTreeItemId
* _result
;
6128 wxTreeEvent
* _arg0
;
6129 PyObject
* _argo0
= 0;
6130 char *_kwnames
[] = { "self", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6150 _resultobj
= Py_BuildValue("s",_ptemp
);
6154 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6155 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6158 wxTreeEvent
* _arg0
;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) return NULL
;
6179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6180 _resultobj
= Py_BuildValue("s",_ptemp
);
6184 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6185 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6187 wxKeyEvent
* _result
;
6188 wxTreeEvent
* _arg0
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6206 _result
= (wxKeyEvent
*) &_result_ref
;
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6212 _resultobj
= Py_BuildValue("s",_ptemp
);
6215 _resultobj
= Py_None
;
6220 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6221 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6224 wxTreeEvent
* _arg0
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) return NULL
;
6244 } _resultobj
= Py_BuildValue("i",_result
);
6248 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6249 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6252 wxTreeEvent
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6269 _result
= (wxString
*) &_result_ref
;
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) return NULL
;
6275 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6277 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6283 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6286 src
= (wxPyTreeCtrl
*) ptr
;
6287 dest
= (wxControl
*) src
;
6288 return (void *) dest
;
6291 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6294 src
= (wxPyTreeCtrl
*) ptr
;
6295 dest
= (wxWindow
*) src
;
6296 return (void *) dest
;
6299 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6302 src
= (wxPyTreeCtrl
*) ptr
;
6303 dest
= (wxEvtHandler
*) src
;
6304 return (void *) dest
;
6307 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6310 src
= (wxPyTreeCtrl
*) ptr
;
6311 dest
= (wxObject
*) src
;
6312 return (void *) dest
;
6315 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6316 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
* _resultobj
;
6318 wxPyTreeCtrl
* _result
;
6320 wxWindowID _arg1
= (wxWindowID
) -1;
6321 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6322 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6323 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6324 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6325 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6326 PyObject
* _argo0
= 0;
6328 PyObject
* _obj2
= 0;
6330 PyObject
* _obj3
= 0;
6331 PyObject
* _argo5
= 0;
6332 PyObject
* _obj6
= 0;
6333 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6349 if (! wxPoint_helper(_obj2
, &_arg2
))
6355 if (! wxSize_helper(_obj3
, &_arg3
))
6359 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6367 _arg6
= wxString_in_helper(_obj6
);
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) return NULL
;
6378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6379 _resultobj
= Py_BuildValue("s",_ptemp
);
6382 _resultobj
= Py_None
;
6391 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6392 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
* _resultobj
;
6394 wxPyTreeCtrl
* _result
;
6395 char *_kwnames
[] = { NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6409 _resultobj
= Py_BuildValue("s",_ptemp
);
6412 _resultobj
= Py_None
;
6417 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6418 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6421 wxPyTreeCtrl
* _arg0
;
6423 wxWindowID _arg2
= (wxWindowID
) -1;
6424 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6425 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6426 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6427 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6428 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6429 PyObject
* _argo0
= 0;
6430 PyObject
* _argo1
= 0;
6432 PyObject
* _obj3
= 0;
6434 PyObject
* _obj4
= 0;
6435 PyObject
* _argo6
= 0;
6436 PyObject
* _obj7
= 0;
6437 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6459 if (! wxPoint_helper(_obj3
, &_arg3
))
6465 if (! wxSize_helper(_obj4
, &_arg4
))
6469 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6477 _arg7
= wxString_in_helper(_obj7
);
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) return NULL
;
6487 } _resultobj
= Py_BuildValue("i",_result
);
6495 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6496 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6498 wxPyTreeCtrl
* _arg0
;
6501 PyObject
* _argo0
= 0;
6502 PyObject
* _obj1
= 0;
6503 PyObject
* _obj2
= 0;
6504 char *_kwnames
[] = { "self","self","_class", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) return NULL
;
6528 } Py_INCREF(Py_None
);
6529 _resultobj
= Py_None
;
6533 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6534 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6537 wxPyTreeCtrl
* _arg0
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) return NULL
;
6557 } _resultobj
= Py_BuildValue("i",_result
);
6561 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6562 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
* _resultobj
;
6564 unsigned int _result
;
6565 wxPyTreeCtrl
* _arg0
;
6566 PyObject
* _argo0
= 0;
6567 char *_kwnames
[] = { "self", NULL
};
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) return NULL
;
6585 } _resultobj
= Py_BuildValue("i",_result
);
6589 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6590 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
* _resultobj
;
6592 wxPyTreeCtrl
* _arg0
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self","indent", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } Py_INCREF(Py_None
);
6614 _resultobj
= Py_None
;
6618 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6619 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
* _resultobj
;
6621 wxImageList
* _result
;
6622 wxPyTreeCtrl
* _arg0
;
6623 PyObject
* _argo0
= 0;
6624 char *_kwnames
[] = { "self", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) return NULL
;
6642 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6646 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6647 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
* _resultobj
;
6649 wxImageList
* _result
;
6650 wxPyTreeCtrl
* _arg0
;
6651 PyObject
* _argo0
= 0;
6652 char *_kwnames
[] = { "self", NULL
};
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) return NULL
;
6670 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6674 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6675 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
* _resultobj
;
6677 wxPyTreeCtrl
* _arg0
;
6678 wxImageList
* _arg1
;
6679 PyObject
* _argo0
= 0;
6680 PyObject
* _argo1
= 0;
6681 char *_kwnames
[] = { "self","imageList", NULL
};
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) return NULL
;
6706 } Py_INCREF(Py_None
);
6707 _resultobj
= Py_None
;
6711 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6712 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6714 wxPyTreeCtrl
* _arg0
;
6715 wxImageList
* _arg1
;
6716 PyObject
* _argo0
= 0;
6717 PyObject
* _argo1
= 0;
6718 char *_kwnames
[] = { "self","imageList", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) return NULL
;
6743 } Py_INCREF(Py_None
);
6744 _resultobj
= Py_None
;
6748 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6749 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6751 wxPyTreeCtrl
* _arg0
;
6752 wxImageList
* _arg1
;
6753 PyObject
* _argo0
= 0;
6754 PyObject
* _argo1
= 0;
6755 char *_kwnames
[] = { "self","imageList", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) return NULL
;
6780 } Py_INCREF(Py_None
);
6781 _resultobj
= Py_None
;
6785 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6786 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
* _resultobj
;
6788 wxPyTreeCtrl
* _arg0
;
6789 wxImageList
* _arg1
;
6790 PyObject
* _argo0
= 0;
6791 PyObject
* _argo1
= 0;
6792 char *_kwnames
[] = { "self","imageList", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) return NULL
;
6817 } Py_INCREF(Py_None
);
6818 _resultobj
= Py_None
;
6822 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6823 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6825 unsigned int _result
;
6826 wxPyTreeCtrl
* _arg0
;
6827 PyObject
* _argo0
= 0;
6828 char *_kwnames
[] = { "self", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) return NULL
;
6846 } _resultobj
= Py_BuildValue("i",_result
);
6850 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6851 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
* _resultobj
;
6853 wxPyTreeCtrl
* _arg0
;
6855 PyObject
* _argo0
= 0;
6856 char *_kwnames
[] = { "self","spacing", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) return NULL
;
6874 } Py_INCREF(Py_None
);
6875 _resultobj
= Py_None
;
6879 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6880 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
* _resultobj
;
6883 wxPyTreeCtrl
* _arg0
;
6884 wxTreeItemId
* _arg1
;
6885 PyObject
* _argo0
= 0;
6886 PyObject
* _argo1
= 0;
6887 char *_kwnames
[] = { "self","item", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
6900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) return NULL
;
6914 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6916 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6925 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
6926 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6929 wxPyTreeCtrl
* _arg0
;
6930 wxTreeItemId
* _arg1
;
6931 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
6932 PyObject
* _argo0
= 0;
6933 PyObject
* _argo1
= 0;
6934 char *_kwnames
[] = { "self","item","which", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
6947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("i",_result
);
6963 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
6964 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6967 wxPyTreeCtrl
* _arg0
;
6968 wxTreeItemId
* _arg1
;
6969 PyObject
* _argo0
= 0;
6970 PyObject
* _argo1
= 0;
6971 char *_kwnames
[] = { "self","item", NULL
};
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
6977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
6984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) return NULL
;
6996 } _resultobj
= Py_BuildValue("i",_result
);
7000 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7001 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7003 wxPyTreeCtrl
* _arg0
;
7004 wxTreeItemId
* _arg1
;
7006 PyObject
* _argo0
= 0;
7007 PyObject
* _argo1
= 0;
7008 PyObject
* _obj2
= 0;
7009 char *_kwnames
[] = { "self","item","text", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7029 _arg2
= wxString_in_helper(_obj2
);
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) return NULL
;
7039 } Py_INCREF(Py_None
);
7040 _resultobj
= Py_None
;
7048 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7049 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7051 wxPyTreeCtrl
* _arg0
;
7052 wxTreeItemId
* _arg1
;
7054 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7055 PyObject
* _argo0
= 0;
7056 PyObject
* _argo1
= 0;
7057 char *_kwnames
[] = { "self","item","image","which", NULL
};
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) return NULL
;
7082 } Py_INCREF(Py_None
);
7083 _resultobj
= Py_None
;
7087 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7088 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
* _resultobj
;
7090 wxPyTreeCtrl
* _arg0
;
7091 wxTreeItemId
* _arg1
;
7093 PyObject
* _argo0
= 0;
7094 PyObject
* _argo1
= 0;
7095 char *_kwnames
[] = { "self","item","image", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) return NULL
;
7120 } Py_INCREF(Py_None
);
7121 _resultobj
= Py_None
;
7125 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7126 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7128 wxPyTreeCtrl
* _arg0
;
7129 wxTreeItemId
* _arg1
;
7130 bool _arg2
= (bool ) TRUE
;
7131 PyObject
* _argo0
= 0;
7132 PyObject
* _argo1
= 0;
7133 int tempbool2
= (int) TRUE
;
7134 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7153 _arg2
= (bool ) tempbool2
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) return NULL
;
7160 } Py_INCREF(Py_None
);
7161 _resultobj
= Py_None
;
7165 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7166 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7168 data
= new wxPyTreeItemData();
7169 data
->SetId(item
); // set the id
7170 self
->SetItemData(item
, data
);
7174 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7176 wxPyTreeItemData
* _result
;
7177 wxPyTreeCtrl
* _arg0
;
7178 wxTreeItemId
* _arg1
;
7179 PyObject
* _argo0
= 0;
7180 PyObject
* _argo1
= 0;
7181 char *_kwnames
[] = { "self","item", NULL
};
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) return NULL
;
7208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7209 _resultobj
= Py_BuildValue("s",_ptemp
);
7212 _resultobj
= Py_None
;
7217 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7218 data
->SetId(item
); // set the id
7219 self
->SetItemData(item
, data
);
7221 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
* _resultobj
;
7223 wxPyTreeCtrl
* _arg0
;
7224 wxTreeItemId
* _arg1
;
7225 wxPyTreeItemData
* _arg2
;
7226 PyObject
* _argo0
= 0;
7227 PyObject
* _argo1
= 0;
7228 PyObject
* _argo2
= 0;
7229 char *_kwnames
[] = { "self","item","data", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7249 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) return NULL
;
7261 } Py_INCREF(Py_None
);
7262 _resultobj
= Py_None
;
7266 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7267 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7269 data
= new wxPyTreeItemData();
7270 data
->SetId(item
); // set the id
7271 self
->SetItemData(item
, data
);
7273 return data
->GetData();
7275 static PyObject
*_wrap_wxTreeCtrl_GetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
* _resultobj
;
7278 wxPyTreeCtrl
* _arg0
;
7279 wxTreeItemId
* _arg1
;
7280 PyObject
* _argo0
= 0;
7281 PyObject
* _argo1
= 0;
7282 char *_kwnames
[] = { "self","item", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPyData",_kwnames
,&_argo0
,&_argo1
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p.");
7295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p.");
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) return NULL
;
7308 _resultobj
= _result
;
7313 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7314 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7316 data
= new wxPyTreeItemData(obj
);
7317 data
->SetId(item
); // set the id
7318 self
->SetItemData(item
, data
);
7322 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7324 wxPyTreeCtrl
* _arg0
;
7325 wxTreeItemId
* _arg1
;
7327 PyObject
* _argo0
= 0;
7328 PyObject
* _argo1
= 0;
7329 PyObject
* _obj2
= 0;
7330 char *_kwnames
[] = { "self","item","obj", NULL
};
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7343 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) return NULL
;
7358 } Py_INCREF(Py_None
);
7359 _resultobj
= Py_None
;
7363 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7364 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
* _resultobj
;
7367 wxPyTreeCtrl
* _arg0
;
7368 wxTreeItemId
* _arg1
;
7369 PyObject
* _argo0
= 0;
7370 PyObject
* _argo1
= 0;
7371 char *_kwnames
[] = { "self","item", NULL
};
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) return NULL
;
7396 } _resultobj
= Py_BuildValue("i",_result
);
7400 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7401 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7404 wxPyTreeCtrl
* _arg0
;
7405 wxTreeItemId
* _arg1
;
7406 PyObject
* _argo0
= 0;
7407 PyObject
* _argo1
= 0;
7408 char *_kwnames
[] = { "self","item", NULL
};
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) return NULL
;
7433 } _resultobj
= Py_BuildValue("i",_result
);
7437 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7438 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7441 wxPyTreeCtrl
* _arg0
;
7442 wxTreeItemId
* _arg1
;
7443 PyObject
* _argo0
= 0;
7444 PyObject
* _argo1
= 0;
7445 char *_kwnames
[] = { "self","item", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) return NULL
;
7470 } _resultobj
= Py_BuildValue("i",_result
);
7474 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7475 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
* _resultobj
;
7478 wxPyTreeCtrl
* _arg0
;
7479 wxTreeItemId
* _arg1
;
7480 PyObject
* _argo0
= 0;
7481 PyObject
* _argo1
= 0;
7482 char *_kwnames
[] = { "self","item", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7495 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) return NULL
;
7507 } _resultobj
= Py_BuildValue("i",_result
);
7511 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7512 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7514 wxTreeItemId
* _result
;
7515 wxPyTreeCtrl
* _arg0
;
7516 PyObject
* _argo0
= 0;
7517 char *_kwnames
[] = { "self", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) return NULL
;
7536 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7537 _resultobj
= Py_BuildValue("s",_ptemp
);
7541 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7542 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
* _resultobj
;
7544 wxTreeItemId
* _result
;
7545 wxPyTreeCtrl
* _arg0
;
7546 PyObject
* _argo0
= 0;
7547 char *_kwnames
[] = { "self", NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) return NULL
;
7566 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7567 _resultobj
= Py_BuildValue("s",_ptemp
);
7571 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7572 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7574 wxTreeItemId
* _result
;
7575 wxPyTreeCtrl
* _arg0
;
7576 wxTreeItemId
* _arg1
;
7577 PyObject
* _argo0
= 0;
7578 PyObject
* _argo1
= 0;
7579 char *_kwnames
[] = { "self","item", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) return NULL
;
7605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7606 _resultobj
= Py_BuildValue("s",_ptemp
);
7610 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7611 wxPyBeginBlockThreads();
7612 PyObject
* rval
= PyList_New(0);
7613 wxArrayTreeItemIds array
;
7615 num
= self
->GetSelections(array
);
7616 for (x
=0; x
< num
; x
++) {
7617 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7618 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7619 PyList_Append(rval
, item
);
7621 wxPyEndBlockThreads();
7624 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7627 wxPyTreeCtrl
* _arg0
;
7628 PyObject
* _argo0
= 0;
7629 char *_kwnames
[] = { "self", NULL
};
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) return NULL
;
7648 _resultobj
= _result
;
7653 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7654 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7657 wxPyTreeCtrl
* _arg0
;
7658 wxTreeItemId
* _arg1
;
7659 bool _arg2
= (bool ) TRUE
;
7660 PyObject
* _argo0
= 0;
7661 PyObject
* _argo1
= 0;
7662 int tempbool2
= (int) TRUE
;
7663 char *_kwnames
[] = { "self","item","recursively", NULL
};
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7682 _arg2
= (bool ) tempbool2
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) return NULL
;
7689 } _resultobj
= Py_BuildValue("i",_result
);
7693 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7694 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
* _resultobj
;
7696 wxTreeItemId
* _result
;
7697 wxPyTreeCtrl
* _arg0
;
7698 wxTreeItemId
* _arg1
;
7699 long * _arg2
= (long *) &longzero
;
7700 PyObject
* _argo0
= 0;
7701 PyObject
* _argo1
= 0;
7703 PyObject
* _obj2
= 0;
7704 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7718 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7719 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7726 temp
= (long) PyInt_AsLong(_obj2
);
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) return NULL
;
7735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7736 _resultobj
= Py_BuildValue("s",_ptemp
);
7739 o
= PyInt_FromLong((long) (*_arg2
));
7740 _resultobj
= t_output_helper(_resultobj
, o
);
7745 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7746 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7748 wxTreeItemId
* _result
;
7749 wxPyTreeCtrl
* _arg0
;
7750 wxTreeItemId
* _arg1
;
7752 PyObject
* _argo0
= 0;
7753 PyObject
* _argo1
= 0;
7755 PyObject
* _obj2
= 0;
7756 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7777 temp
= (long) PyInt_AsLong(_obj2
);
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) return NULL
;
7786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7787 _resultobj
= Py_BuildValue("s",_ptemp
);
7790 o
= PyInt_FromLong((long) (*_arg2
));
7791 _resultobj
= t_output_helper(_resultobj
, o
);
7796 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7797 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
* _resultobj
;
7799 wxTreeItemId
* _result
;
7800 wxPyTreeCtrl
* _arg0
;
7801 wxTreeItemId
* _arg1
;
7802 PyObject
* _argo0
= 0;
7803 PyObject
* _argo1
= 0;
7804 char *_kwnames
[] = { "self","item", NULL
};
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) return NULL
;
7830 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7831 _resultobj
= Py_BuildValue("s",_ptemp
);
7835 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7836 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7838 wxTreeItemId
* _result
;
7839 wxPyTreeCtrl
* _arg0
;
7840 wxTreeItemId
* _arg1
;
7841 PyObject
* _argo0
= 0;
7842 PyObject
* _argo1
= 0;
7843 char *_kwnames
[] = { "self","item", NULL
};
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) return NULL
;
7869 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7870 _resultobj
= Py_BuildValue("s",_ptemp
);
7874 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7875 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
* _resultobj
;
7877 wxTreeItemId
* _result
;
7878 wxPyTreeCtrl
* _arg0
;
7879 PyObject
* _argo0
= 0;
7880 char *_kwnames
[] = { "self", NULL
};
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
7887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) return NULL
;
7899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7900 _resultobj
= Py_BuildValue("s",_ptemp
);
7904 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
7905 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7907 wxTreeItemId
* _result
;
7908 wxPyTreeCtrl
* _arg0
;
7909 wxTreeItemId
* _arg1
;
7910 PyObject
* _argo0
= 0;
7911 PyObject
* _argo1
= 0;
7912 char *_kwnames
[] = { "self","item", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
7926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) return NULL
;
7938 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7939 _resultobj
= Py_BuildValue("s",_ptemp
);
7943 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
7944 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
* _resultobj
;
7946 wxTreeItemId
* _result
;
7947 wxPyTreeCtrl
* _arg0
;
7948 wxTreeItemId
* _arg1
;
7949 PyObject
* _argo0
= 0;
7950 PyObject
* _argo1
= 0;
7951 char *_kwnames
[] = { "self","item", NULL
};
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
7958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
7965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) return NULL
;
7977 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7978 _resultobj
= Py_BuildValue("s",_ptemp
);
7982 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
7983 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
* _resultobj
;
7985 wxTreeItemId
* _result
;
7986 wxPyTreeCtrl
* _arg0
;
7987 wxTreeItemId
* _arg1
;
7988 PyObject
* _argo0
= 0;
7989 PyObject
* _argo1
= 0;
7990 char *_kwnames
[] = { "self","item", NULL
};
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
7997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) return NULL
;
8016 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8017 _resultobj
= Py_BuildValue("s",_ptemp
);
8021 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8022 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
* _resultobj
;
8024 wxTreeItemId
* _result
;
8025 wxPyTreeCtrl
* _arg0
;
8027 int _arg2
= (int ) -1;
8028 int _arg3
= (int ) -1;
8029 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8030 PyObject
* _argo0
= 0;
8031 PyObject
* _obj1
= 0;
8032 PyObject
* _argo4
= 0;
8033 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8047 _arg1
= wxString_in_helper(_obj1
);
8052 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8065 _resultobj
= Py_BuildValue("s",_ptemp
);
8073 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8074 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
* _resultobj
;
8076 wxTreeItemId
* _result
;
8077 wxPyTreeCtrl
* _arg0
;
8078 wxTreeItemId
* _arg1
;
8080 int _arg3
= (int ) -1;
8081 int _arg4
= (int ) -1;
8082 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8083 PyObject
* _argo0
= 0;
8084 PyObject
* _argo1
= 0;
8085 PyObject
* _obj2
= 0;
8086 PyObject
* _argo5
= 0;
8087 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8108 _arg2
= wxString_in_helper(_obj2
);
8113 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8114 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) return NULL
;
8125 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8126 _resultobj
= Py_BuildValue("s",_ptemp
);
8134 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8135 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
* _resultobj
;
8137 wxTreeItemId
* _result
;
8138 wxPyTreeCtrl
* _arg0
;
8139 wxTreeItemId
* _arg1
;
8140 wxTreeItemId
* _arg2
;
8142 int _arg4
= (int ) -1;
8143 int _arg5
= (int ) -1;
8144 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8145 PyObject
* _argo0
= 0;
8146 PyObject
* _argo1
= 0;
8147 PyObject
* _argo2
= 0;
8148 PyObject
* _obj3
= 0;
8149 PyObject
* _argo6
= 0;
8150 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8171 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8172 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8178 _arg3
= wxString_in_helper(_obj3
);
8183 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) return NULL
;
8195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8196 _resultobj
= Py_BuildValue("s",_ptemp
);
8204 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8205 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
* _resultobj
;
8207 wxTreeItemId
* _result
;
8208 wxPyTreeCtrl
* _arg0
;
8209 wxTreeItemId
* _arg1
;
8212 int _arg4
= (int ) -1;
8213 int _arg5
= (int ) -1;
8214 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8215 PyObject
* _argo0
= 0;
8216 PyObject
* _argo1
= 0;
8217 PyObject
* _obj3
= 0;
8218 PyObject
* _argo6
= 0;
8219 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8240 _arg3
= wxString_in_helper(_obj3
);
8245 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8246 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) return NULL
;
8257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8258 _resultobj
= Py_BuildValue("s",_ptemp
);
8266 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8267 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8269 wxTreeItemId
* _result
;
8270 wxPyTreeCtrl
* _arg0
;
8271 wxTreeItemId
* _arg1
;
8273 int _arg3
= (int ) -1;
8274 int _arg4
= (int ) -1;
8275 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8276 PyObject
* _argo0
= 0;
8277 PyObject
* _argo1
= 0;
8278 PyObject
* _obj2
= 0;
8279 PyObject
* _argo5
= 0;
8280 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8301 _arg2
= wxString_in_helper(_obj2
);
8306 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8307 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) return NULL
;
8318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8319 _resultobj
= Py_BuildValue("s",_ptemp
);
8327 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8328 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
* _resultobj
;
8330 wxPyTreeCtrl
* _arg0
;
8331 wxTreeItemId
* _arg1
;
8332 PyObject
* _argo0
= 0;
8333 PyObject
* _argo1
= 0;
8334 char *_kwnames
[] = { "self","item", NULL
};
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) return NULL
;
8359 } Py_INCREF(Py_None
);
8360 _resultobj
= Py_None
;
8364 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8365 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
* _resultobj
;
8367 wxPyTreeCtrl
* _arg0
;
8368 wxTreeItemId
* _arg1
;
8369 PyObject
* _argo0
= 0;
8370 PyObject
* _argo1
= 0;
8371 char *_kwnames
[] = { "self","item", NULL
};
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) return NULL
;
8396 } Py_INCREF(Py_None
);
8397 _resultobj
= Py_None
;
8401 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8402 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8404 wxPyTreeCtrl
* _arg0
;
8405 PyObject
* _argo0
= 0;
8406 char *_kwnames
[] = { "self", NULL
};
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 wxTreeCtrl_DeleteAllItems(_arg0
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) return NULL
;
8424 } Py_INCREF(Py_None
);
8425 _resultobj
= Py_None
;
8429 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8430 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
* _resultobj
;
8432 wxPyTreeCtrl
* _arg0
;
8433 wxTreeItemId
* _arg1
;
8434 PyObject
* _argo0
= 0;
8435 PyObject
* _argo1
= 0;
8436 char *_kwnames
[] = { "self","item", NULL
};
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) return NULL
;
8461 } Py_INCREF(Py_None
);
8462 _resultobj
= Py_None
;
8466 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8467 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8469 wxPyTreeCtrl
* _arg0
;
8470 wxTreeItemId
* _arg1
;
8471 PyObject
* _argo0
= 0;
8472 PyObject
* _argo1
= 0;
8473 char *_kwnames
[] = { "self","item", NULL
};
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) return NULL
;
8498 } Py_INCREF(Py_None
);
8499 _resultobj
= Py_None
;
8503 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8504 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
* _resultobj
;
8506 wxPyTreeCtrl
* _arg0
;
8507 wxTreeItemId
* _arg1
;
8508 PyObject
* _argo0
= 0;
8509 PyObject
* _argo1
= 0;
8510 char *_kwnames
[] = { "self","item", NULL
};
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) return NULL
;
8535 } Py_INCREF(Py_None
);
8536 _resultobj
= Py_None
;
8540 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8541 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
* _resultobj
;
8543 wxPyTreeCtrl
* _arg0
;
8544 wxTreeItemId
* _arg1
;
8545 PyObject
* _argo0
= 0;
8546 PyObject
* _argo1
= 0;
8547 char *_kwnames
[] = { "self","item", NULL
};
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8560 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8561 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) return NULL
;
8572 } Py_INCREF(Py_None
);
8573 _resultobj
= Py_None
;
8577 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8578 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
* _resultobj
;
8580 wxPyTreeCtrl
* _arg0
;
8581 PyObject
* _argo0
= 0;
8582 char *_kwnames
[] = { "self", NULL
};
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxTreeCtrl_Unselect(_arg0
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) return NULL
;
8600 } Py_INCREF(Py_None
);
8601 _resultobj
= Py_None
;
8605 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8606 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
* _resultobj
;
8608 wxPyTreeCtrl
* _arg0
;
8609 PyObject
* _argo0
= 0;
8610 char *_kwnames
[] = { "self", NULL
};
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxTreeCtrl_UnselectAll(_arg0
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) return NULL
;
8628 } Py_INCREF(Py_None
);
8629 _resultobj
= Py_None
;
8633 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8634 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
* _resultobj
;
8636 wxPyTreeCtrl
* _arg0
;
8637 wxTreeItemId
* _arg1
;
8638 PyObject
* _argo0
= 0;
8639 PyObject
* _argo1
= 0;
8640 char *_kwnames
[] = { "self","item", NULL
};
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) return NULL
;
8665 } Py_INCREF(Py_None
);
8666 _resultobj
= Py_None
;
8670 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8671 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
* _resultobj
;
8673 wxPyTreeCtrl
* _arg0
;
8674 wxTreeItemId
* _arg1
;
8675 PyObject
* _argo0
= 0;
8676 PyObject
* _argo1
= 0;
8677 char *_kwnames
[] = { "self","item", NULL
};
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
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_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) return NULL
;
8702 } Py_INCREF(Py_None
);
8703 _resultobj
= Py_None
;
8707 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8708 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
* _resultobj
;
8710 wxPyTreeCtrl
* _arg0
;
8711 wxTreeItemId
* _arg1
;
8712 PyObject
* _argo0
= 0;
8713 PyObject
* _argo1
= 0;
8714 char *_kwnames
[] = { "self","item", NULL
};
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) return NULL
;
8739 } Py_INCREF(Py_None
);
8740 _resultobj
= Py_None
;
8744 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8745 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8747 wxPyTreeCtrl
* _arg0
;
8748 wxTreeItemId
* _arg1
;
8749 PyObject
* _argo0
= 0;
8750 PyObject
* _argo1
= 0;
8751 char *_kwnames
[] = { "self","item", NULL
};
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) return NULL
;
8776 } Py_INCREF(Py_None
);
8777 _resultobj
= Py_None
;
8781 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8782 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8784 wxPyTreeCtrl
* _arg0
;
8785 wxTreeItemId
* _arg1
;
8786 PyObject
* _argo0
= 0;
8787 PyObject
* _argo1
= 0;
8788 char *_kwnames
[] = { "self","item", NULL
};
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) return NULL
;
8813 } Py_INCREF(Py_None
);
8814 _resultobj
= Py_None
;
8818 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
8819 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8821 wxPyTreeCtrl
* _arg0
;
8822 wxTreeItemId
* _arg1
;
8823 int _arg2
= (int ) TRUE
;
8824 PyObject
* _argo0
= 0;
8825 PyObject
* _argo1
= 0;
8826 char *_kwnames
[] = { "self","item","bold", NULL
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
8839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) return NULL
;
8851 } Py_INCREF(Py_None
);
8852 _resultobj
= Py_None
;
8856 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
8857 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8860 wxPyTreeCtrl
* _arg0
;
8861 wxTreeItemId
* _arg1
;
8862 PyObject
* _argo0
= 0;
8863 PyObject
* _argo1
= 0;
8864 char *_kwnames
[] = { "self","item", NULL
};
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
8870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
8877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) return NULL
;
8889 } _resultobj
= Py_BuildValue("i",_result
);
8893 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
8894 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8896 wxTreeItemId
* _result
;
8897 wxPyTreeCtrl
* _arg0
;
8901 PyObject
* _argo0
= 0;
8903 PyObject
* _obj1
= 0;
8904 char *_kwnames
[] = { "self","point", NULL
};
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
8914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
8922 if (! wxPoint_helper(_obj1
, &_arg1
))
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) return NULL
;
8931 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8932 _resultobj
= Py_BuildValue("s",_ptemp
);
8935 o
= PyInt_FromLong((long) (*_arg2
));
8936 _resultobj
= t_output_helper(_resultobj
, o
);
8941 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
8942 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
* _resultobj
;
8944 wxPyTreeCtrl
* _arg0
;
8945 wxTreeItemId
* _arg1
;
8947 PyObject
* _argo0
= 0;
8948 PyObject
* _argo1
= 0;
8950 PyObject
* _obj2
= 0;
8951 char *_kwnames
[] = { "self","item","col", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
8964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
8972 if (! wxColour_helper(_obj2
, &_arg2
))
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) return NULL
;
8981 } Py_INCREF(Py_None
);
8982 _resultobj
= Py_None
;
8986 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
8987 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
* _resultobj
;
8989 wxPyTreeCtrl
* _arg0
;
8990 wxTreeItemId
* _arg1
;
8992 PyObject
* _argo0
= 0;
8993 PyObject
* _argo1
= 0;
8995 PyObject
* _obj2
= 0;
8996 char *_kwnames
[] = { "self","item","col", NULL
};
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9009 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9010 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9017 if (! wxColour_helper(_obj2
, &_arg2
))
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) return NULL
;
9026 } Py_INCREF(Py_None
);
9027 _resultobj
= Py_None
;
9031 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9032 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
* _resultobj
;
9034 wxPyTreeCtrl
* _arg0
;
9035 wxTreeItemId
* _arg1
;
9037 PyObject
* _argo0
= 0;
9038 PyObject
* _argo1
= 0;
9039 PyObject
* _argo2
= 0;
9040 char *_kwnames
[] = { "self","item","font", NULL
};
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9060 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9061 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) return NULL
;
9072 } Py_INCREF(Py_None
);
9073 _resultobj
= Py_None
;
9077 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9079 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9080 wxPyBeginBlockThreads();
9081 wxRect
* r
= new wxRect(rect
);
9082 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9083 wxPyEndBlockThreads();
9091 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
* _resultobj
;
9094 wxPyTreeCtrl
* _arg0
;
9095 wxTreeItemId
* _arg1
;
9096 int _arg2
= (int ) FALSE
;
9097 PyObject
* _argo0
= 0;
9098 PyObject
* _argo1
= 0;
9099 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) return NULL
;
9125 _resultobj
= _result
;
9130 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9133 src
= (wxDirItemData
*) ptr
;
9134 dest
= (wxObject
*) src
;
9135 return (void *) dest
;
9138 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9139 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
* _resultobj
;
9141 wxDirItemData
* _result
;
9145 PyObject
* _obj0
= 0;
9146 PyObject
* _obj1
= 0;
9148 char *_kwnames
[] = { "path","name","isDir", NULL
};
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9155 _arg0
= wxString_in_helper(_obj0
);
9160 _arg1
= wxString_in_helper(_obj1
);
9164 _arg2
= (bool ) tempbool2
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) return NULL
;
9172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9173 _resultobj
= Py_BuildValue("s",_ptemp
);
9176 _resultobj
= Py_None
;
9189 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9190 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
* _resultobj
;
9192 wxDirItemData
* _arg0
;
9194 PyObject
* _argo0
= 0;
9195 PyObject
* _obj1
= 0;
9196 char *_kwnames
[] = { "self","path", NULL
};
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9209 _arg1
= wxString_in_helper(_obj1
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) return NULL
;
9219 } Py_INCREF(Py_None
);
9220 _resultobj
= Py_None
;
9228 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9229 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
* _resultobj
;
9232 wxDirItemData
* _arg0
;
9234 PyObject
* _argo0
= 0;
9235 PyObject
* _obj1
= 0;
9236 char *_kwnames
[] = { "self","m_path", NULL
};
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9249 _arg1
= wxString_in_helper(_obj1
);
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) return NULL
;
9261 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9263 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9273 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9274 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9277 wxDirItemData
* _arg0
;
9278 PyObject
* _argo0
= 0;
9279 char *_kwnames
[] = { "self", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) return NULL
;
9299 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9301 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9307 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9308 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
* _resultobj
;
9311 wxDirItemData
* _arg0
;
9313 PyObject
* _argo0
= 0;
9314 PyObject
* _obj1
= 0;
9315 char *_kwnames
[] = { "self","m_name", NULL
};
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9328 _arg1
= wxString_in_helper(_obj1
);
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9340 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9352 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9353 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
* _resultobj
;
9356 wxDirItemData
* _arg0
;
9357 PyObject
* _argo0
= 0;
9358 char *_kwnames
[] = { "self", NULL
};
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) return NULL
;
9378 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9380 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9386 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9387 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
* _resultobj
;
9390 wxDirItemData
* _arg0
;
9392 PyObject
* _argo0
= 0;
9394 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9406 _arg1
= (bool ) tempbool1
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) return NULL
;
9413 } _resultobj
= Py_BuildValue("i",_result
);
9417 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9418 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
* _resultobj
;
9421 wxDirItemData
* _arg0
;
9422 PyObject
* _argo0
= 0;
9423 char *_kwnames
[] = { "self", NULL
};
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) return NULL
;
9441 } _resultobj
= Py_BuildValue("i",_result
);
9445 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9446 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
* _resultobj
;
9449 wxDirItemData
* _arg0
;
9451 PyObject
* _argo0
= 0;
9453 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9465 _arg1
= (bool ) tempbool1
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) return NULL
;
9472 } _resultobj
= Py_BuildValue("i",_result
);
9476 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9477 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
* _resultobj
;
9480 wxDirItemData
* _arg0
;
9481 PyObject
* _argo0
= 0;
9482 char *_kwnames
[] = { "self", NULL
};
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) return NULL
;
9500 } _resultobj
= Py_BuildValue("i",_result
);
9504 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9505 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9508 wxDirItemData
* _arg0
;
9510 PyObject
* _argo0
= 0;
9512 char *_kwnames
[] = { "self","m_isDir", NULL
};
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9524 _arg1
= (bool ) tempbool1
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9531 } _resultobj
= Py_BuildValue("i",_result
);
9535 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9536 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9539 wxDirItemData
* _arg0
;
9540 PyObject
* _argo0
= 0;
9541 char *_kwnames
[] = { "self", NULL
};
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) return NULL
;
9559 } _resultobj
= Py_BuildValue("i",_result
);
9563 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9564 wxGenericDirCtrl
*src
;
9566 src
= (wxGenericDirCtrl
*) ptr
;
9567 dest
= (wxControl
*) src
;
9568 return (void *) dest
;
9571 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9572 wxGenericDirCtrl
*src
;
9574 src
= (wxGenericDirCtrl
*) ptr
;
9575 dest
= (wxWindow
*) src
;
9576 return (void *) dest
;
9579 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9580 wxGenericDirCtrl
*src
;
9582 src
= (wxGenericDirCtrl
*) ptr
;
9583 dest
= (wxEvtHandler
*) src
;
9584 return (void *) dest
;
9587 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9588 wxGenericDirCtrl
*src
;
9590 src
= (wxGenericDirCtrl
*) ptr
;
9591 dest
= (wxObject
*) src
;
9592 return (void *) dest
;
9595 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9596 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9598 wxGenericDirCtrl
* _result
;
9600 wxWindowID _arg1
= (wxWindowID
) -1;
9601 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9602 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9603 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9604 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9605 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9606 int _arg7
= (int ) 0;
9607 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9608 PyObject
* _argo0
= 0;
9609 PyObject
* _obj2
= 0;
9611 PyObject
* _obj3
= 0;
9613 PyObject
* _obj4
= 0;
9614 PyObject
* _obj6
= 0;
9615 PyObject
* _obj8
= 0;
9616 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9631 _arg2
= wxString_in_helper(_obj2
);
9638 if (! wxPoint_helper(_obj3
, &_arg3
))
9644 if (! wxSize_helper(_obj4
, &_arg4
))
9649 _arg6
= wxString_in_helper(_obj6
);
9655 _arg8
= wxString_in_helper(_obj8
);
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) return NULL
;
9666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9667 _resultobj
= Py_BuildValue("s",_ptemp
);
9670 _resultobj
= Py_None
;
9687 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9688 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
* _resultobj
;
9690 wxGenericDirCtrl
* _result
;
9691 char *_kwnames
[] = { NULL
};
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) return NULL
;
9704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9705 _resultobj
= Py_BuildValue("s",_ptemp
);
9708 _resultobj
= Py_None
;
9713 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9714 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
* _resultobj
;
9717 wxGenericDirCtrl
* _arg0
;
9719 wxWindowID _arg2
= (wxWindowID
) -1;
9720 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9721 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9722 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9723 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9724 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
9725 int _arg8
= (int ) 0;
9726 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9727 PyObject
* _argo0
= 0;
9728 PyObject
* _argo1
= 0;
9729 PyObject
* _obj3
= 0;
9731 PyObject
* _obj4
= 0;
9733 PyObject
* _obj5
= 0;
9734 PyObject
* _obj7
= 0;
9735 PyObject
* _obj9
= 0;
9736 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
9742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9757 _arg3
= wxString_in_helper(_obj3
);
9764 if (! wxPoint_helper(_obj4
, &_arg4
))
9770 if (! wxSize_helper(_obj5
, &_arg5
))
9775 _arg7
= wxString_in_helper(_obj7
);
9781 _arg9
= wxString_in_helper(_obj9
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) return NULL
;
9791 } _resultobj
= Py_BuildValue("i",_result
);
9807 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
9808 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
* _resultobj
;
9811 wxGenericDirCtrl
* _arg0
;
9813 PyObject
* _argo0
= 0;
9814 PyObject
* _obj1
= 0;
9815 char *_kwnames
[] = { "self","path", NULL
};
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
9821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
9828 _arg1
= wxString_in_helper(_obj1
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } _resultobj
= Py_BuildValue("i",_result
);
9846 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
9847 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
* _resultobj
;
9850 wxGenericDirCtrl
* _arg0
;
9851 PyObject
* _argo0
= 0;
9852 char *_kwnames
[] = { "self", NULL
};
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
9858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) return NULL
;
9872 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9874 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9883 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
9884 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
* _resultobj
;
9886 wxGenericDirCtrl
* _arg0
;
9888 PyObject
* _argo0
= 0;
9889 PyObject
* _obj1
= 0;
9890 char *_kwnames
[] = { "self","path", NULL
};
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
9896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
9903 _arg1
= wxString_in_helper(_obj1
);
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) return NULL
;
9913 } Py_INCREF(Py_None
);
9914 _resultobj
= Py_None
;
9922 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
9923 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
* _resultobj
;
9926 wxGenericDirCtrl
* _arg0
;
9927 PyObject
* _argo0
= 0;
9928 char *_kwnames
[] = { "self", NULL
};
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
9934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) return NULL
;
9948 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9950 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9959 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
9960 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
* _resultobj
;
9963 wxGenericDirCtrl
* _arg0
;
9964 PyObject
* _argo0
= 0;
9965 char *_kwnames
[] = { "self", NULL
};
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
9971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) return NULL
;
9985 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9987 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9996 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
9997 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
* _resultobj
;
9999 wxGenericDirCtrl
* _arg0
;
10001 PyObject
* _argo0
= 0;
10002 PyObject
* _obj1
= 0;
10003 char *_kwnames
[] = { "self","path", NULL
};
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10016 _arg1
= wxString_in_helper(_obj1
);
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) return NULL
;
10026 } Py_INCREF(Py_None
);
10027 _resultobj
= Py_None
;
10035 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10036 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
* _resultobj
;
10038 wxGenericDirCtrl
* _arg0
;
10040 PyObject
* _argo0
= 0;
10042 char *_kwnames
[] = { "self","show", NULL
};
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10054 _arg1
= (bool ) tempbool1
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) return NULL
;
10061 } Py_INCREF(Py_None
);
10062 _resultobj
= Py_None
;
10066 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10067 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
* _resultobj
;
10070 wxGenericDirCtrl
* _arg0
;
10071 PyObject
* _argo0
= 0;
10072 char *_kwnames
[] = { "self", NULL
};
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) return NULL
;
10090 } _resultobj
= Py_BuildValue("i",_result
);
10094 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10095 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
* _resultobj
;
10097 wxString
* _result
;
10098 wxGenericDirCtrl
* _arg0
;
10099 PyObject
* _argo0
= 0;
10100 char *_kwnames
[] = { "self", NULL
};
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) return NULL
;
10120 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10122 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10131 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10132 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
* _resultobj
;
10134 wxGenericDirCtrl
* _arg0
;
10136 PyObject
* _argo0
= 0;
10137 PyObject
* _obj1
= 0;
10138 char *_kwnames
[] = { "self","filter", NULL
};
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10151 _arg1
= wxString_in_helper(_obj1
);
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) return NULL
;
10161 } Py_INCREF(Py_None
);
10162 _resultobj
= Py_None
;
10170 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10171 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
* _resultobj
;
10174 wxGenericDirCtrl
* _arg0
;
10175 PyObject
* _argo0
= 0;
10176 char *_kwnames
[] = { "self", NULL
};
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) return NULL
;
10194 } _resultobj
= Py_BuildValue("i",_result
);
10198 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10199 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
* _resultobj
;
10201 wxGenericDirCtrl
* _arg0
;
10203 PyObject
* _argo0
= 0;
10204 char *_kwnames
[] = { "self","n", NULL
};
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) return NULL
;
10222 } Py_INCREF(Py_None
);
10223 _resultobj
= Py_None
;
10227 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10228 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
* _resultobj
;
10230 wxTreeItemId
* _result
;
10231 wxGenericDirCtrl
* _arg0
;
10232 PyObject
* _argo0
= 0;
10233 char *_kwnames
[] = { "self", NULL
};
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) return NULL
;
10252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10253 _resultobj
= Py_BuildValue("s",_ptemp
);
10257 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10258 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
* _resultobj
;
10260 wxTreeCtrl
* _result
;
10261 wxGenericDirCtrl
* _arg0
;
10262 PyObject
* _argo0
= 0;
10263 char *_kwnames
[] = { "self", NULL
};
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) return NULL
;
10281 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10285 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10286 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10288 wxDirFilterListCtrl
* _result
;
10289 wxGenericDirCtrl
* _arg0
;
10290 PyObject
* _argo0
= 0;
10291 char *_kwnames
[] = { "self", NULL
};
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) return NULL
;
10311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10312 _resultobj
= Py_BuildValue("s",_ptemp
);
10314 Py_INCREF(Py_None
);
10315 _resultobj
= Py_None
;
10320 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10321 wxDirFilterListCtrl
*src
;
10323 src
= (wxDirFilterListCtrl
*) ptr
;
10324 dest
= (wxChoice
*) src
;
10325 return (void *) dest
;
10328 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10329 wxDirFilterListCtrl
*src
;
10330 wxControlWithItems
*dest
;
10331 src
= (wxDirFilterListCtrl
*) ptr
;
10332 dest
= (wxControlWithItems
*) src
;
10333 return (void *) dest
;
10336 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10337 wxDirFilterListCtrl
*src
;
10339 src
= (wxDirFilterListCtrl
*) ptr
;
10340 dest
= (wxControl
*) src
;
10341 return (void *) dest
;
10344 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10345 wxDirFilterListCtrl
*src
;
10347 src
= (wxDirFilterListCtrl
*) ptr
;
10348 dest
= (wxWindow
*) src
;
10349 return (void *) dest
;
10352 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10353 wxDirFilterListCtrl
*src
;
10354 wxEvtHandler
*dest
;
10355 src
= (wxDirFilterListCtrl
*) ptr
;
10356 dest
= (wxEvtHandler
*) src
;
10357 return (void *) dest
;
10360 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10361 wxDirFilterListCtrl
*src
;
10363 src
= (wxDirFilterListCtrl
*) ptr
;
10364 dest
= (wxObject
*) src
;
10365 return (void *) dest
;
10368 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10369 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
* _resultobj
;
10371 wxDirFilterListCtrl
* _result
;
10372 wxGenericDirCtrl
* _arg0
;
10373 wxWindowID _arg1
= (wxWindowID
) -1;
10374 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10375 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10376 long _arg4
= (long ) 0;
10377 PyObject
* _argo0
= 0;
10379 PyObject
* _obj2
= 0;
10381 PyObject
* _obj3
= 0;
10382 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10398 if (! wxPoint_helper(_obj2
, &_arg2
))
10404 if (! wxSize_helper(_obj3
, &_arg3
))
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) return NULL
;
10414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10415 _resultobj
= Py_BuildValue("s",_ptemp
);
10417 Py_INCREF(Py_None
);
10418 _resultobj
= Py_None
;
10423 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10424 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
* _resultobj
;
10426 wxDirFilterListCtrl
* _result
;
10427 char *_kwnames
[] = { NULL
};
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) return NULL
;
10440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10441 _resultobj
= Py_BuildValue("s",_ptemp
);
10443 Py_INCREF(Py_None
);
10444 _resultobj
= Py_None
;
10449 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10450 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
* _resultobj
;
10453 wxDirFilterListCtrl
* _arg0
;
10454 wxGenericDirCtrl
* _arg1
;
10455 wxWindowID _arg2
= (wxWindowID
) -1;
10456 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10457 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10458 long _arg5
= (long ) 0;
10459 PyObject
* _argo0
= 0;
10460 PyObject
* _argo1
= 0;
10462 PyObject
* _obj3
= 0;
10464 PyObject
* _obj4
= 0;
10465 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10487 if (! wxPoint_helper(_obj3
, &_arg3
))
10493 if (! wxSize_helper(_obj4
, &_arg4
))
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) return NULL
;
10502 } _resultobj
= Py_BuildValue("i",_result
);
10506 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10507 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
* _resultobj
;
10509 wxDirFilterListCtrl
* _arg0
;
10512 PyObject
* _argo0
= 0;
10513 PyObject
* _obj1
= 0;
10514 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10527 _arg1
= wxString_in_helper(_obj1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) return NULL
;
10537 } Py_INCREF(Py_None
);
10538 _resultobj
= Py_None
;
10546 static PyMethodDef controls2cMethods
[] = {
10547 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10641 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10642 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10643 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10644 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10645 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10646 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10647 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10648 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10649 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10650 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10651 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10652 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10653 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10654 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10655 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10656 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10657 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10658 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10659 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10660 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10661 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10662 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10663 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10664 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10665 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10666 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10667 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10668 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10669 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10670 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10671 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10672 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10673 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10674 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10675 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10676 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10677 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10678 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10679 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10680 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10681 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10682 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10683 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10684 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10685 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10686 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10687 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10688 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10689 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10690 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10691 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10692 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10693 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10694 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10695 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10696 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10697 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10698 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10837 * This table is used by the pointer type-checker
10839 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10840 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
10841 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
10842 { "_signed_long","_long",0},
10843 { "_wxPrintQuality","_wxCoord",0},
10844 { "_wxPrintQuality","_int",0},
10845 { "_wxPrintQuality","_signed_int",0},
10846 { "_wxPrintQuality","_unsigned_int",0},
10847 { "_wxPrintQuality","_wxWindowID",0},
10848 { "_wxPrintQuality","_uint",0},
10849 { "_wxPrintQuality","_EBool",0},
10850 { "_wxPrintQuality","_size_t",0},
10851 { "_wxPrintQuality","_time_t",0},
10852 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
10853 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
10854 { "_byte","_unsigned_char",0},
10855 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
10856 { "_long","_unsigned_long",0},
10857 { "_long","_signed_long",0},
10858 { "_size_t","_wxCoord",0},
10859 { "_size_t","_wxPrintQuality",0},
10860 { "_size_t","_time_t",0},
10861 { "_size_t","_unsigned_int",0},
10862 { "_size_t","_int",0},
10863 { "_size_t","_wxWindowID",0},
10864 { "_size_t","_uint",0},
10865 { "_uint","_wxCoord",0},
10866 { "_uint","_wxPrintQuality",0},
10867 { "_uint","_time_t",0},
10868 { "_uint","_size_t",0},
10869 { "_uint","_unsigned_int",0},
10870 { "_uint","_int",0},
10871 { "_uint","_wxWindowID",0},
10872 { "_wxChar","_char",0},
10873 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
10874 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
10875 { "_char","_wxChar",0},
10876 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10877 { "_EBool","_wxCoord",0},
10878 { "_EBool","_wxPrintQuality",0},
10879 { "_EBool","_signed_int",0},
10880 { "_EBool","_int",0},
10881 { "_EBool","_wxWindowID",0},
10882 { "_unsigned_long","_long",0},
10883 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10884 { "_signed_int","_wxCoord",0},
10885 { "_signed_int","_wxPrintQuality",0},
10886 { "_signed_int","_EBool",0},
10887 { "_signed_int","_wxWindowID",0},
10888 { "_signed_int","_int",0},
10889 { "_WXTYPE","_short",0},
10890 { "_WXTYPE","_signed_short",0},
10891 { "_WXTYPE","_unsigned_short",0},
10892 { "_unsigned_short","_WXTYPE",0},
10893 { "_unsigned_short","_short",0},
10894 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
10895 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
10896 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
10897 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
10898 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
10899 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
10900 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
10901 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
10902 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
10903 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
10904 { "_signed_short","_WXTYPE",0},
10905 { "_signed_short","_short",0},
10906 { "_unsigned_char","_byte",0},
10907 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
10908 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
10909 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
10910 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
10911 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
10912 { "_unsigned_int","_wxCoord",0},
10913 { "_unsigned_int","_wxPrintQuality",0},
10914 { "_unsigned_int","_time_t",0},
10915 { "_unsigned_int","_size_t",0},
10916 { "_unsigned_int","_uint",0},
10917 { "_unsigned_int","_wxWindowID",0},
10918 { "_unsigned_int","_int",0},
10919 { "_short","_WXTYPE",0},
10920 { "_short","_unsigned_short",0},
10921 { "_short","_signed_short",0},
10922 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
10923 { "_wxWindowID","_wxCoord",0},
10924 { "_wxWindowID","_wxPrintQuality",0},
10925 { "_wxWindowID","_time_t",0},
10926 { "_wxWindowID","_size_t",0},
10927 { "_wxWindowID","_EBool",0},
10928 { "_wxWindowID","_uint",0},
10929 { "_wxWindowID","_int",0},
10930 { "_wxWindowID","_signed_int",0},
10931 { "_wxWindowID","_unsigned_int",0},
10932 { "_int","_wxCoord",0},
10933 { "_int","_wxPrintQuality",0},
10934 { "_int","_time_t",0},
10935 { "_int","_size_t",0},
10936 { "_int","_EBool",0},
10937 { "_int","_uint",0},
10938 { "_int","_wxWindowID",0},
10939 { "_int","_unsigned_int",0},
10940 { "_int","_signed_int",0},
10941 { "_time_t","_wxCoord",0},
10942 { "_time_t","_wxPrintQuality",0},
10943 { "_time_t","_unsigned_int",0},
10944 { "_time_t","_int",0},
10945 { "_time_t","_wxWindowID",0},
10946 { "_time_t","_uint",0},
10947 { "_time_t","_size_t",0},
10948 { "_wxCoord","_int",0},
10949 { "_wxCoord","_signed_int",0},
10950 { "_wxCoord","_unsigned_int",0},
10951 { "_wxCoord","_wxWindowID",0},
10952 { "_wxCoord","_uint",0},
10953 { "_wxCoord","_EBool",0},
10954 { "_wxCoord","_size_t",0},
10955 { "_wxCoord","_time_t",0},
10956 { "_wxCoord","_wxPrintQuality",0},
10957 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
10958 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
10959 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
10960 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
10961 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
10962 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
10963 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
10964 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
10965 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
10966 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
10967 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
10970 static PyObject
*SWIG_globals
;
10974 SWIGEXPORT(void) initcontrols2c() {
10976 SWIG_globals
= SWIG_newvarlink();
10977 m
= Py_InitModule("controls2c", controls2cMethods
);
10978 d
= PyModule_GetDict(m
);
10979 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
10980 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
10981 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
10982 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
10983 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
10984 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
10985 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
10986 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
10987 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
10988 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
10989 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
10990 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
10991 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
10992 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
10993 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
10994 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
10995 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
10996 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
10997 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
10998 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
10999 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11000 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11001 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11002 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11003 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11004 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11005 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11006 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11007 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11008 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11009 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11010 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11011 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11012 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11013 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11014 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11015 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11016 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11017 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11018 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11019 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11020 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11021 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11022 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11023 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11024 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11025 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11026 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11027 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11028 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11029 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11030 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11031 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11032 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11033 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11034 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11035 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11036 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11037 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11038 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11039 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11040 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11041 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11042 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11043 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11044 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11045 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11046 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11047 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11048 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11049 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11050 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11051 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11052 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11053 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11054 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11055 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11056 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11057 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11058 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11059 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11060 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11061 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11062 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11063 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11064 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11065 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11066 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11067 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11068 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11069 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11070 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11071 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11072 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11073 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11074 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11075 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11076 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11077 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11078 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11079 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11080 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11081 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11082 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11083 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11084 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11085 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11086 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11087 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11088 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11089 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11090 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11091 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11092 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11093 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11094 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11095 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11096 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11097 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11098 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11099 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11100 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11101 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11102 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11103 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11104 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11105 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11106 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11107 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11108 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11109 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11110 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11111 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11112 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11113 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11114 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11115 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11116 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11117 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11118 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11119 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11120 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11121 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11122 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11123 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11124 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11126 // Map renamed classes back to their common name for OOR
11127 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11128 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11129 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11132 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11133 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);