2 * FILE : src/msw/controls2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrols2c
56 #define SWIG_name "controls2c"
62 #include <wx/listctrl.h>
63 #include <wx/treectrl.h>
64 #include <wx/imaglist.h>
65 #include <wx/dirctrl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // 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 item
.SetMask(0xFFFF);
3016 if (self
->GetColumn(col
, item
))
3017 return new wxListItem(item
);
3021 static PyObject
*_wrap_wxListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3023 wxListItem
* _result
;
3024 wxPyListCtrl
* _arg0
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self","col", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumn",_kwnames
,&_argo0
,&_arg1
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxPyListCtrl_p.");
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 _result
= (wxListItem
*)wxPyListCtrl_GetColumn(_arg0
,_arg1
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) return NULL
;
3045 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3049 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
3050 static PyObject
*_wrap_wxListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3053 wxPyListCtrl
* _arg0
;
3056 PyObject
* _argo0
= 0;
3057 PyObject
* _argo2
= 0;
3058 char *_kwnames
[] = { "self","col","item", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListCtrl_SetColumn",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxPyListCtrl_p.");
3071 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 _result
= (bool )wxListCtrl_SetColumn(_arg0
,_arg1
,*_arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) return NULL
;
3083 } _resultobj
= Py_BuildValue("i",_result
);
3087 #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
3088 static PyObject
*_wrap_wxListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3091 wxPyListCtrl
* _arg0
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self","col", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetColumnWidth",_kwnames
,&_argo0
,&_arg1
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxPyListCtrl_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 _result
= (int )wxListCtrl_GetColumnWidth(_arg0
,_arg1
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } _resultobj
= Py_BuildValue("i",_result
);
3116 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
3117 static PyObject
*_wrap_wxListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
* _resultobj
;
3120 wxPyListCtrl
* _arg0
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self","col","width", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_SetColumnWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxPyListCtrl_p.");
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 _result
= (bool )wxListCtrl_SetColumnWidth(_arg0
,_arg1
,_arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) return NULL
;
3142 } _resultobj
= Py_BuildValue("i",_result
);
3146 #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage())
3147 static PyObject
*_wrap_wxListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3150 wxPyListCtrl
* _arg0
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetCountPerPage",_kwnames
,&_argo0
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxPyListCtrl_p.");
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 _result
= (int )wxListCtrl_GetCountPerPage(_arg0
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) return NULL
;
3170 } _resultobj
= Py_BuildValue("i",_result
);
3174 #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
3175 static PyObject
*_wrap_wxListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxTextCtrl
* _result
;
3178 wxPyListCtrl
* _arg0
;
3179 PyObject
* _argo0
= 0;
3180 char *_kwnames
[] = { "self", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetEditControl",_kwnames
,&_argo0
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxPyListCtrl_p.");
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 _result
= (wxTextCtrl
*)wxListCtrl_GetEditControl(_arg0
);
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) return NULL
;
3198 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3202 static wxListItem
* wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
) {
3203 wxListItem
* info
= new wxListItem
;
3204 info
->m_itemId
= itemId
;
3206 info
->m_mask
= 0xFFFF;
3207 self
->GetItem(*info
);
3210 static PyObject
*_wrap_wxListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3212 wxListItem
* _result
;
3213 wxPyListCtrl
* _arg0
;
3215 int _arg2
= (int ) 0;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self","itemId","col", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxPyListCtrl_p.");
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 _result
= (wxListItem
*)wxPyListCtrl_GetItem(_arg0
,_arg1
,_arg2
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) return NULL
;
3235 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3239 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
3240 static PyObject
*_wrap_wxListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3243 wxPyListCtrl
* _arg0
;
3245 PyObject
* _argo0
= 0;
3246 PyObject
* _argo1
= 0;
3247 char *_kwnames
[] = { "self","info", NULL
};
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetItem",_kwnames
,&_argo0
,&_argo1
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxPyListCtrl_p.");
3260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 _result
= (bool )wxListCtrl_SetItem(_arg0
,*_arg1
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) return NULL
;
3272 } _resultobj
= Py_BuildValue("i",_result
);
3276 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3277 static PyObject
*_wrap_wxListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3280 wxPyListCtrl
* _arg0
;
3284 int _arg4
= (int ) -1;
3285 PyObject
* _argo0
= 0;
3286 PyObject
* _obj3
= 0;
3287 char *_kwnames
[] = { "self","index","col","label","imageId", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OliO|i:wxListCtrl_SetStringItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxPyListCtrl_p.");
3300 _arg3
= wxString_in_helper(_obj3
);
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 _result
= (long )wxListCtrl_SetStringItem(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } _resultobj
= Py_BuildValue("l",_result
);
3318 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
3319 static PyObject
*_wrap_wxListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3322 wxPyListCtrl
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","item","stateMask", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_GetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxPyListCtrl_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= (int )wxListCtrl_GetItemState(_arg0
,_arg1
,_arg2
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } _resultobj
= Py_BuildValue("i",_result
);
3348 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
3349 static PyObject
*_wrap_wxListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3352 wxPyListCtrl
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self","item","state","stateMask", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxListCtrl_SetItemState",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxPyListCtrl_p.");
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 _result
= (bool )wxListCtrl_SetItemState(_arg0
,_arg1
,_arg2
,_arg3
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) return NULL
;
3375 } _resultobj
= Py_BuildValue("i",_result
);
3379 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
3380 static PyObject
*_wrap_wxListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3383 wxPyListCtrl
* _arg0
;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self","item","image","selImage", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii:wxListCtrl_SetItemImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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_SetItemImage. Expected _wxPyListCtrl_p.");
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 _result
= (bool )wxListCtrl_SetItemImage(_arg0
,_arg1
,_arg2
,_arg3
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) return NULL
;
3406 } _resultobj
= Py_BuildValue("i",_result
);
3410 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
3411 static PyObject
*_wrap_wxListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3414 wxPyListCtrl
* _arg0
;
3416 PyObject
* _argo0
= 0;
3417 char *_kwnames
[] = { "self","item", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemText",_kwnames
,&_argo0
,&_arg1
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxPyListCtrl_p.");
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 _result
= new wxString (wxListCtrl_GetItemText(_arg0
,_arg1
));
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3437 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3439 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3448 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3449 static PyObject
*_wrap_wxListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxPyListCtrl
* _arg0
;
3454 PyObject
* _argo0
= 0;
3455 PyObject
* _obj2
= 0;
3456 char *_kwnames
[] = { "self","item","str", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemText",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxPyListCtrl_p.");
3469 _arg2
= wxString_in_helper(_obj2
);
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 wxListCtrl_SetItemText(_arg0
,_arg1
,*_arg2
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) return NULL
;
3479 } Py_INCREF(Py_None
);
3480 _resultobj
= Py_None
;
3488 #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
3489 static PyObject
*_wrap_wxListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3492 wxPyListCtrl
* _arg0
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self","item", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemData",_kwnames
,&_argo0
,&_arg1
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxPyListCtrl_p.");
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 _result
= (long )wxListCtrl_GetItemData(_arg0
,_arg1
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) return NULL
;
3513 } _resultobj
= Py_BuildValue("l",_result
);
3517 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3518 static PyObject
*_wrap_wxListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3521 wxPyListCtrl
* _arg0
;
3524 PyObject
* _argo0
= 0;
3525 char *_kwnames
[] = { "self","item","data", NULL
};
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_SetItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxPyListCtrl_p.");
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 _result
= (bool )wxListCtrl_SetItemData(_arg0
,_arg1
,_arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) return NULL
;
3543 } _resultobj
= Py_BuildValue("i",_result
);
3547 static wxPoint
* wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
) {
3548 wxPoint
* pos
= new wxPoint
;
3549 self
->GetItemPosition(item
, *pos
);
3552 static PyObject
*_wrap_wxListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3555 wxPyListCtrl
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self","item", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemPosition",_kwnames
,&_argo0
,&_arg1
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxPyListCtrl_p.");
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 _result
= (wxPoint
*)wxPyListCtrl_GetItemPosition(_arg0
,_arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3579 _resultobj
= Py_BuildValue("s",_ptemp
);
3582 _resultobj
= Py_None
;
3587 static wxRect
* wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
) {
3588 wxRect
* rect
= new wxRect
;
3589 self
->GetItemRect(item
, *rect
, code
);
3592 static PyObject
*_wrap_wxListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3595 wxPyListCtrl
* _arg0
;
3597 int _arg2
= (int ) (wxLIST_RECT_BOUNDS
);
3598 PyObject
* _argo0
= 0;
3599 char *_kwnames
[] = { "self","item","code", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_GetItemRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxPyListCtrl_p.");
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 _result
= (wxRect
*)wxPyListCtrl_GetItemRect(_arg0
,_arg1
,_arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) return NULL
;
3619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
3620 _resultobj
= Py_BuildValue("s",_ptemp
);
3623 _resultobj
= Py_None
;
3628 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
3629 static PyObject
*_wrap_wxListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3632 wxPyListCtrl
* _arg0
;
3635 PyObject
* _argo0
= 0;
3637 PyObject
* _obj2
= 0;
3638 char *_kwnames
[] = { "self","item","pos", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemPosition",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxPyListCtrl_p.");
3652 if (! wxPoint_helper(_obj2
, &_arg2
))
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 _result
= (bool )wxListCtrl_SetItemPosition(_arg0
,_arg1
,*_arg2
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) return NULL
;
3661 } _resultobj
= Py_BuildValue("i",_result
);
3665 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
3666 static PyObject
*_wrap_wxListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3669 wxPyListCtrl
* _arg0
;
3670 PyObject
* _argo0
= 0;
3671 char *_kwnames
[] = { "self", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetItemCount",_kwnames
,&_argo0
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxPyListCtrl_p.");
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 _result
= (int )wxListCtrl_GetItemCount(_arg0
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) return NULL
;
3689 } _resultobj
= Py_BuildValue("i",_result
);
3693 #define wxListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
3694 static PyObject
*_wrap_wxListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3697 wxPyListCtrl
* _arg0
;
3698 PyObject
* _argo0
= 0;
3699 char *_kwnames
[] = { "self", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetColumnCount",_kwnames
,&_argo0
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetColumnCount. Expected _wxPyListCtrl_p.");
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 _result
= (int )wxListCtrl_GetColumnCount(_arg0
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) return NULL
;
3717 } _resultobj
= Py_BuildValue("i",_result
);
3721 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
3722 static PyObject
*_wrap_wxListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3725 wxPyListCtrl
* _arg0
;
3727 PyObject
* _argo0
= 0;
3729 char *_kwnames
[] = { "self","isSmall", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetItemSpacing",_kwnames
,&_argo0
,&tempbool1
))
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_GetItemSpacing. Expected _wxPyListCtrl_p.");
3741 _arg1
= (bool ) tempbool1
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 _result
= (int )wxListCtrl_GetItemSpacing(_arg0
,_arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) return NULL
;
3748 } _resultobj
= Py_BuildValue("i",_result
);
3752 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
3753 static PyObject
*_wrap_wxListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3756 wxPyListCtrl
* _arg0
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetSelectedItemCount",_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_GetSelectedItemCount. Expected _wxPyListCtrl_p.");
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 _result
= (int )wxListCtrl_GetSelectedItemCount(_arg0
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) return NULL
;
3776 } _resultobj
= Py_BuildValue("i",_result
);
3780 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3781 static PyObject
*_wrap_wxListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3784 wxPyListCtrl
* _arg0
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTextColour",_kwnames
,&_argo0
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxPyListCtrl_p.");
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 _result
= new wxColour (wxListCtrl_GetTextColour(_arg0
));
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) return NULL
;
3805 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3806 _resultobj
= Py_BuildValue("s",_ptemp
);
3810 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3811 static PyObject
*_wrap_wxListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3813 wxPyListCtrl
* _arg0
;
3815 PyObject
* _argo0
= 0;
3817 PyObject
* _obj1
= 0;
3818 char *_kwnames
[] = { "self","col", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxPyListCtrl_p.");
3832 if (! wxColour_helper(_obj1
, &_arg1
))
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 wxListCtrl_SetTextColour(_arg0
,*_arg1
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) return NULL
;
3841 } Py_INCREF(Py_None
);
3842 _resultobj
= Py_None
;
3846 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
3847 static PyObject
*_wrap_wxListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3850 wxPyListCtrl
* _arg0
;
3851 PyObject
* _argo0
= 0;
3852 char *_kwnames
[] = { "self", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_GetTopItem",_kwnames
,&_argo0
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxPyListCtrl_p.");
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 _result
= (long )wxListCtrl_GetTopItem(_arg0
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) return NULL
;
3870 } _resultobj
= Py_BuildValue("l",_result
);
3874 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
3875 static PyObject
*_wrap_wxListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3877 wxPyListCtrl
* _arg0
;
3879 bool _arg2
= (bool ) TRUE
;
3880 PyObject
* _argo0
= 0;
3881 int tempbool2
= (int) TRUE
;
3882 char *_kwnames
[] = { "self","style","add", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxPyListCtrl_p.");
3894 _arg2
= (bool ) tempbool2
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 wxListCtrl_SetSingleStyle(_arg0
,_arg1
,_arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) return NULL
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
3907 static PyObject
*_wrap_wxListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3909 wxPyListCtrl
* _arg0
;
3911 PyObject
* _argo0
= 0;
3912 char *_kwnames
[] = { "self","style", NULL
};
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
3918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxPyListCtrl_p.");
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxListCtrl_SetWindowStyleFlag(_arg0
,_arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) return NULL
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
3936 static PyObject
*_wrap_wxListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3939 wxPyListCtrl
* _arg0
;
3941 int _arg2
= (int ) (wxLIST_NEXT_ALL
);
3942 int _arg3
= (int ) (wxLIST_STATE_DONTCARE
);
3943 PyObject
* _argo0
= 0;
3944 char *_kwnames
[] = { "self","item","geometry","state", NULL
};
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:wxListCtrl_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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_GetNextItem. Expected _wxPyListCtrl_p.");
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 _result
= (long )wxListCtrl_GetNextItem(_arg0
,_arg1
,_arg2
,_arg3
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) return NULL
;
3962 } _resultobj
= Py_BuildValue("l",_result
);
3966 #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0))
3967 static PyObject
*_wrap_wxListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3969 wxImageList
* _result
;
3970 wxPyListCtrl
* _arg0
;
3972 PyObject
* _argo0
= 0;
3973 char *_kwnames
[] = { "self","which", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_GetImageList",_kwnames
,&_argo0
,&_arg1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxPyListCtrl_p.");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 _result
= (wxImageList
*)wxListCtrl_GetImageList(_arg0
,_arg1
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) return NULL
;
3991 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3995 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
3996 static PyObject
*_wrap_wxListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3998 wxPyListCtrl
* _arg0
;
3999 wxImageList
* _arg1
;
4001 PyObject
* _argo0
= 0;
4002 PyObject
* _argo1
= 0;
4003 char *_kwnames
[] = { "self","imageList","which", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxPyListCtrl_p.");
4016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 wxListCtrl_SetImageList(_arg0
,_arg1
,_arg2
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) return NULL
;
4028 } Py_INCREF(Py_None
);
4029 _resultobj
= Py_None
;
4033 #define wxListCtrl_AssignImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->AssignImageList(_swigarg0,_swigarg1))
4034 static PyObject
*_wrap_wxListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4036 wxPyListCtrl
* _arg0
;
4037 wxImageList
* _arg1
;
4039 PyObject
* _argo0
= 0;
4040 PyObject
* _argo1
= 0;
4041 char *_kwnames
[] = { "self","imageList","which", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_AssignImageList. Expected _wxPyListCtrl_p.");
4054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_AssignImageList. Expected _wxImageList_p.");
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 wxListCtrl_AssignImageList(_arg0
,_arg1
,_arg2
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4066 } Py_INCREF(Py_None
);
4067 _resultobj
= Py_None
;
4071 #define wxListCtrl_IsVirtual(_swigobj) (_swigobj->IsVirtual())
4072 static PyObject
*_wrap_wxListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4075 wxPyListCtrl
* _arg0
;
4076 PyObject
* _argo0
= 0;
4077 char *_kwnames
[] = { "self", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_IsVirtual",_kwnames
,&_argo0
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_IsVirtual. Expected _wxPyListCtrl_p.");
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 _result
= (bool )wxListCtrl_IsVirtual(_arg0
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) return NULL
;
4095 } _resultobj
= Py_BuildValue("i",_result
);
4099 #define wxListCtrl_RefreshItem(_swigobj,_swigarg0) (_swigobj->RefreshItem(_swigarg0))
4100 static PyObject
*_wrap_wxListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxPyListCtrl
* _arg0
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "self","item", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_RefreshItem",_kwnames
,&_argo0
,&_arg1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItem. Expected _wxPyListCtrl_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 wxListCtrl_RefreshItem(_arg0
,_arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 #define wxListCtrl_RefreshItems(_swigobj,_swigarg0,_swigarg1) (_swigobj->RefreshItems(_swigarg0,_swigarg1))
4129 static PyObject
*_wrap_wxListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4131 wxPyListCtrl
* _arg0
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self","itemFrom","itemTo", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_RefreshItems",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_RefreshItems. Expected _wxPyListCtrl_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxListCtrl_RefreshItems(_arg0
,_arg1
,_arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4158 #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0))
4159 static PyObject
*_wrap_wxListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4162 wxPyListCtrl
* _arg0
;
4163 int _arg1
= (int ) (wxLIST_ALIGN_DEFAULT
);
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self","flag", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxListCtrl_Arrange",_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_Arrange. Expected _wxPyListCtrl_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 _result
= (bool )wxListCtrl_Arrange(_arg0
,_arg1
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } _resultobj
= Py_BuildValue("i",_result
);
4187 #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0))
4188 static PyObject
*_wrap_wxListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4191 wxPyListCtrl
* _arg0
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self","item", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_DeleteItem",_kwnames
,&_argo0
,&_arg1
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxPyListCtrl_p.");
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 _result
= (bool )wxListCtrl_DeleteItem(_arg0
,_arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) return NULL
;
4212 } _resultobj
= Py_BuildValue("i",_result
);
4216 #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
4217 static PyObject
*_wrap_wxListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4220 wxPyListCtrl
* _arg0
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllItems",_kwnames
,&_argo0
))
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_DeleteAllItems. Expected _wxPyListCtrl_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (bool )wxListCtrl_DeleteAllItems(_arg0
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0))
4245 static PyObject
*_wrap_wxListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4248 wxPyListCtrl
* _arg0
;
4250 PyObject
* _argo0
= 0;
4251 char *_kwnames
[] = { "self","col", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_DeleteColumn",_kwnames
,&_argo0
,&_arg1
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxPyListCtrl_p.");
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 _result
= (bool )wxListCtrl_DeleteColumn(_arg0
,_arg1
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) return NULL
;
4269 } _resultobj
= Py_BuildValue("i",_result
);
4273 #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns())
4274 static PyObject
*_wrap_wxListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4277 wxPyListCtrl
* _arg0
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_DeleteAllColumns",_kwnames
,&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxPyListCtrl_p.");
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 _result
= (bool )wxListCtrl_DeleteAllColumns(_arg0
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } _resultobj
= Py_BuildValue("i",_result
);
4301 #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
4302 static PyObject
*_wrap_wxListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4304 wxPyListCtrl
* _arg0
;
4305 PyObject
* _argo0
= 0;
4306 char *_kwnames
[] = { "self", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListCtrl_ClearAll",_kwnames
,&_argo0
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxPyListCtrl_p.");
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 wxListCtrl_ClearAll(_arg0
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) return NULL
;
4324 } Py_INCREF(Py_None
);
4325 _resultobj
= Py_None
;
4329 #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4330 static PyObject
*_wrap_wxListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4332 wxTextCtrl
* _result
;
4333 wxPyListCtrl
* _arg0
;
4335 PyObject
* _argo0
= 0;
4336 char *_kwnames
[] = { "self","item", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EditLabel",_kwnames
,&_argo0
,&_arg1
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxPyListCtrl_p.");
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 _result
= (wxTextCtrl
*)wxListCtrl_EditLabel(_arg0
,_arg1
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) return NULL
;
4354 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4358 #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0))
4359 static PyObject
*_wrap_wxListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4362 wxPyListCtrl
* _arg0
;
4364 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self","cancel", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListCtrl_EndEditLabel",_kwnames
,&_argo0
,&tempbool1
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxPyListCtrl_p.");
4378 _arg1
= (bool ) tempbool1
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 _result
= (bool )wxListCtrl_EndEditLabel(_arg0
,_arg1
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) return NULL
;
4385 } _resultobj
= Py_BuildValue("i",_result
);
4389 #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4390 static PyObject
*_wrap_wxListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 wxPyListCtrl
* _arg0
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self","item", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_EnsureVisible",_kwnames
,&_argo0
,&_arg1
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxPyListCtrl_p.");
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 _result
= (bool )wxListCtrl_EnsureVisible(_arg0
,_arg1
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) return NULL
;
4414 } _resultobj
= Py_BuildValue("i",_result
);
4418 #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4419 static PyObject
*_wrap_wxListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4422 wxPyListCtrl
* _arg0
;
4425 bool _arg3
= (bool ) FALSE
;
4426 PyObject
* _argo0
= 0;
4427 PyObject
* _obj2
= 0;
4428 int tempbool3
= (int) FALSE
;
4429 char *_kwnames
[] = { "self","start","str","partial", NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|i:wxListCtrl_FindItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
4435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxPyListCtrl_p.");
4442 _arg2
= wxString_in_helper(_obj2
);
4446 _arg3
= (bool ) tempbool3
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 _result
= (long )wxListCtrl_FindItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } _resultobj
= Py_BuildValue("l",_result
);
4461 #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1))
4462 static PyObject
*_wrap_wxListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4465 wxPyListCtrl
* _arg0
;
4468 PyObject
* _argo0
= 0;
4469 char *_kwnames
[] = { "self","start","data", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxListCtrl_FindItemData",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxPyListCtrl_p.");
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 _result
= (long )wxListCtrl_FindItemData(_arg0
,_arg1
,_arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) return NULL
;
4487 } _resultobj
= Py_BuildValue("l",_result
);
4491 #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2))
4492 static PyObject
*_wrap_wxListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4495 wxPyListCtrl
* _arg0
;
4499 PyObject
* _argo0
= 0;
4501 PyObject
* _obj2
= 0;
4502 char *_kwnames
[] = { "self","start","pt","direction", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_FindItemAtPos",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxPyListCtrl_p.");
4516 if (! wxPoint_helper(_obj2
, &_arg2
))
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 _result
= (long )wxListCtrl_FindItemAtPos(_arg0
,_arg1
,*_arg2
,_arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) return NULL
;
4525 } _resultobj
= Py_BuildValue("l",_result
);
4529 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
4530 static PyObject
*_wrap_wxListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4533 wxPyListCtrl
* _arg0
;
4537 PyObject
* _argo0
= 0;
4539 PyObject
* _obj1
= 0;
4540 char *_kwnames
[] = { "self","point", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxPyListCtrl_p.");
4557 if (! wxPoint_helper(_obj1
, &_arg1
))
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 _result
= (long )wxListCtrl_HitTest(_arg0
,*_arg1
,*_arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) return NULL
;
4566 } _resultobj
= Py_BuildValue("l",_result
);
4569 o
= PyInt_FromLong((long) (*_arg2
));
4570 _resultobj
= t_output_helper(_resultobj
, o
);
4575 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
4576 static PyObject
*_wrap_wxListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4579 wxPyListCtrl
* _arg0
;
4581 PyObject
* _argo0
= 0;
4582 PyObject
* _argo1
= 0;
4583 char *_kwnames
[] = { "self","info", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxPyListCtrl_p.");
4596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxListItem_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 _result
= (long )wxListCtrl_InsertItem(_arg0
,*_arg1
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) return NULL
;
4608 } _resultobj
= Py_BuildValue("l",_result
);
4612 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4613 static PyObject
*_wrap_wxListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
* _resultobj
;
4616 wxPyListCtrl
* _arg0
;
4619 PyObject
* _argo0
= 0;
4620 PyObject
* _obj2
= 0;
4621 char *_kwnames
[] = { "self","index","label", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxPyListCtrl_p.");
4634 _arg2
= wxString_in_helper(_obj2
);
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 _result
= (long )wxListCtrl_InsertStringItem(_arg0
,_arg1
,*_arg2
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4644 } _resultobj
= Py_BuildValue("l",_result
);
4652 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
4653 static PyObject
*_wrap_wxListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 wxPyListCtrl
* _arg0
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "self","index","imageIndex", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oli:wxListCtrl_InsertImageItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxPyListCtrl_p.");
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 _result
= (long )wxListCtrl_InsertImageItem(_arg0
,_arg1
,_arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) return NULL
;
4678 } _resultobj
= Py_BuildValue("l",_result
);
4682 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
4683 static PyObject
*_wrap_wxListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4686 wxPyListCtrl
* _arg0
;
4690 PyObject
* _argo0
= 0;
4691 PyObject
* _obj2
= 0;
4692 char *_kwnames
[] = { "self","index","label","imageIndex", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxPyListCtrl_p.");
4705 _arg2
= wxString_in_helper(_obj2
);
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 _result
= (long )wxListCtrl_InsertImageStringItem(_arg0
,_arg1
,*_arg2
,_arg3
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) return NULL
;
4715 } _resultobj
= Py_BuildValue("l",_result
);
4723 #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
4724 static PyObject
*_wrap_wxListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4727 wxPyListCtrl
* _arg0
;
4730 PyObject
* _argo0
= 0;
4731 PyObject
* _argo2
= 0;
4732 char *_kwnames
[] = { "self","col","info", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_InsertColumnInfo",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxPyListCtrl_p.");
4745 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxListItem_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p.");
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 _result
= (long )wxListCtrl_InsertColumnInfo(_arg0
,_arg1
,*_arg2
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 } _resultobj
= Py_BuildValue("l",_result
);
4761 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4762 static PyObject
*_wrap_wxListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4765 wxPyListCtrl
* _arg0
;
4768 int _arg3
= (int ) (wxLIST_FORMAT_LEFT
);
4769 int _arg4
= (int ) -1;
4770 PyObject
* _argo0
= 0;
4771 PyObject
* _obj2
= 0;
4772 char *_kwnames
[] = { "self","col","heading","format","width", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO|ii:wxListCtrl_InsertColumn",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_arg3
,&_arg4
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxPyListCtrl_p.");
4785 _arg2
= wxString_in_helper(_obj2
);
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 _result
= (long )wxListCtrl_InsertColumn(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } _resultobj
= Py_BuildValue("l",_result
);
4803 #define wxListCtrl_SetItemCount(_swigobj,_swigarg0) (_swigobj->SetItemCount(_swigarg0))
4804 static PyObject
*_wrap_wxListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4806 wxPyListCtrl
* _arg0
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self","count", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_SetItemCount",_kwnames
,&_argo0
,&_arg1
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemCount. Expected _wxPyListCtrl_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxListCtrl_SetItemCount(_arg0
,_arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
4833 static PyObject
*_wrap_wxListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 wxPyListCtrl
* _arg0
;
4839 PyObject
* _argo0
= 0;
4840 char *_kwnames
[] = { "self","dx","dy", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListCtrl_ScrollList",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxPyListCtrl_p.");
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 _result
= (bool )wxListCtrl_ScrollList(_arg0
,_arg1
,_arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } _resultobj
= Py_BuildValue("i",_result
);
4862 #define wxListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
4863 static PyObject
*_wrap_wxListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4865 wxPyListCtrl
* _arg0
;
4868 PyObject
* _argo0
= 0;
4870 PyObject
* _obj2
= 0;
4871 char *_kwnames
[] = { "self","item","col", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemTextColour. Expected _wxPyListCtrl_p.");
4885 if (! wxColour_helper(_obj2
, &_arg2
))
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 wxListCtrl_SetItemTextColour(_arg0
,_arg1
,*_arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } Py_INCREF(Py_None
);
4895 _resultobj
= Py_None
;
4899 #define wxListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
4900 static PyObject
*_wrap_wxListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4903 wxPyListCtrl
* _arg0
;
4905 PyObject
* _argo0
= 0;
4906 char *_kwnames
[] = { "self","item", NULL
};
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemTextColour",_kwnames
,&_argo0
,&_arg1
))
4913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemTextColour. Expected _wxPyListCtrl_p.");
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 _result
= new wxColour (wxListCtrl_GetItemTextColour(_arg0
,_arg1
));
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4926 _resultobj
= Py_BuildValue("s",_ptemp
);
4930 #define wxListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
4931 static PyObject
*_wrap_wxListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4933 wxPyListCtrl
* _arg0
;
4936 PyObject
* _argo0
= 0;
4938 PyObject
* _obj2
= 0;
4939 char *_kwnames
[] = { "self","item","col", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxListCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4953 if (! wxColour_helper(_obj2
, &_arg2
))
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 wxListCtrl_SetItemBackgroundColour(_arg0
,_arg1
,*_arg2
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) return NULL
;
4962 } Py_INCREF(Py_None
);
4963 _resultobj
= Py_None
;
4967 #define wxListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
4968 static PyObject
*_wrap_wxListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4971 wxPyListCtrl
* _arg0
;
4973 PyObject
* _argo0
= 0;
4974 char *_kwnames
[] = { "self","item", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListCtrl_GetItemBackgroundColour",_kwnames
,&_argo0
,&_arg1
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_GetItemBackgroundColour. Expected _wxPyListCtrl_p.");
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 _result
= new wxColour (wxListCtrl_GetItemBackgroundColour(_arg0
,_arg1
));
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) return NULL
;
4993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4994 _resultobj
= Py_BuildValue("s",_ptemp
);
4998 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
* func
) {
4999 if (!PyCallable_Check(func
))
5001 return self
->SortItems(wxPyListCtrl_SortItems
, (long)func
);
5003 static PyObject
*_wrap_wxListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5006 wxPyListCtrl
* _arg0
;
5008 PyObject
* _argo0
= 0;
5009 PyObject
* _obj1
= 0;
5010 char *_kwnames
[] = { "self","func", NULL
};
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListCtrl_SortItems",_kwnames
,&_argo0
,&_obj1
))
5016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyListCtrl_p")) {
5018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxPyListCtrl_p.");
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 _result
= (bool )wxPyListCtrl_SortItems(_arg0
,_arg1
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5031 } _resultobj
= Py_BuildValue("i",_result
);
5035 static void *SwigwxListViewTowxPyListCtrl(void *ptr
) {
5038 src
= (wxListView
*) ptr
;
5039 dest
= (wxPyListCtrl
*) src
;
5040 return (void *) dest
;
5043 static void *SwigwxListViewTowxControl(void *ptr
) {
5046 src
= (wxListView
*) ptr
;
5047 dest
= (wxControl
*) src
;
5048 return (void *) dest
;
5051 static void *SwigwxListViewTowxWindow(void *ptr
) {
5054 src
= (wxListView
*) ptr
;
5055 dest
= (wxWindow
*) src
;
5056 return (void *) dest
;
5059 static void *SwigwxListViewTowxEvtHandler(void *ptr
) {
5062 src
= (wxListView
*) ptr
;
5063 dest
= (wxEvtHandler
*) src
;
5064 return (void *) dest
;
5067 static void *SwigwxListViewTowxObject(void *ptr
) {
5070 src
= (wxListView
*) ptr
;
5071 dest
= (wxObject
*) src
;
5072 return (void *) dest
;
5075 #define new_wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListView(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5076 static PyObject
*_wrap_new_wxListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5078 wxListView
* _result
;
5080 wxWindowID _arg1
= (wxWindowID
) -1;
5081 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5082 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5083 long _arg4
= (long ) (wxLC_REPORT
);
5084 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5085 wxString
* _arg6
= (wxString
*) &wxPyListCtrlNameStr
;
5086 PyObject
* _argo0
= 0;
5088 PyObject
* _obj2
= 0;
5090 PyObject
* _obj3
= 0;
5091 PyObject
* _argo5
= 0;
5092 PyObject
* _obj6
= 0;
5093 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxListView",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListView. Expected _wxWindow_p.");
5109 if (! wxPoint_helper(_obj2
, &_arg2
))
5115 if (! wxSize_helper(_obj3
, &_arg3
))
5119 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxListView. Expected _wxValidator_p.");
5127 _arg6
= wxString_in_helper(_obj6
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 _result
= (wxListView
*)new_wxListView(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) return NULL
;
5138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5139 _resultobj
= Py_BuildValue("s",_ptemp
);
5142 _resultobj
= Py_None
;
5151 #define new_wxPreListView() (new wxListView())
5152 static PyObject
*_wrap_new_wxPreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
* _resultobj
;
5154 wxListView
* _result
;
5155 char *_kwnames
[] = { NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListView",_kwnames
))
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 _result
= (wxListView
*)new_wxPreListView();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) return NULL
;
5168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListView_p");
5169 _resultobj
= Py_BuildValue("s",_ptemp
);
5172 _resultobj
= Py_None
;
5177 #define wxListView_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5178 static PyObject
*_wrap_wxListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5183 wxWindowID _arg2
= (wxWindowID
) -1;
5184 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5185 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5186 long _arg5
= (long ) (wxLC_REPORT
);
5187 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5188 wxString
* _arg7
= (wxString
*) &wxPyListCtrlNameStr
;
5189 PyObject
* _argo0
= 0;
5190 PyObject
* _argo1
= 0;
5192 PyObject
* _obj3
= 0;
5194 PyObject
* _obj4
= 0;
5195 PyObject
* _argo6
= 0;
5196 PyObject
* _obj7
= 0;
5197 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxListView_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Create. Expected _wxListView_p.");
5210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListView_Create. Expected _wxWindow_p.");
5219 if (! wxPoint_helper(_obj3
, &_arg3
))
5225 if (! wxSize_helper(_obj4
, &_arg4
))
5229 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5230 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxListView_Create. Expected _wxValidator_p.");
5237 _arg7
= wxString_in_helper(_obj7
);
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 _result
= (bool )wxListView_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } _resultobj
= Py_BuildValue("i",_result
);
5255 #define wxListView_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1))
5256 static PyObject
*_wrap_wxListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5260 bool _arg2
= (bool ) TRUE
;
5261 PyObject
* _argo0
= 0;
5262 int tempbool2
= (int) TRUE
;
5263 char *_kwnames
[] = { "self","n","on", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|i:wxListView_Select",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Select. Expected _wxListView_p.");
5275 _arg2
= (bool ) tempbool2
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 wxListView_Select(_arg0
,_arg1
,_arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) return NULL
;
5282 } Py_INCREF(Py_None
);
5283 _resultobj
= Py_None
;
5287 #define wxListView_Focus(_swigobj,_swigarg0) (_swigobj->Focus(_swigarg0))
5288 static PyObject
*_wrap_wxListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
* _resultobj
;
5292 PyObject
* _argo0
= 0;
5293 char *_kwnames
[] = { "self","index", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_Focus",_kwnames
,&_argo0
,&_arg1
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_Focus. Expected _wxListView_p.");
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 wxListView_Focus(_arg0
,_arg1
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) return NULL
;
5311 } Py_INCREF(Py_None
);
5312 _resultobj
= Py_None
;
5316 #define wxListView_GetFocusedItem(_swigobj) (_swigobj->GetFocusedItem())
5317 static PyObject
*_wrap_wxListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
* _resultobj
;
5321 PyObject
* _argo0
= 0;
5322 char *_kwnames
[] = { "self", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFocusedItem",_kwnames
,&_argo0
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFocusedItem. Expected _wxListView_p.");
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 _result
= (long )wxListView_GetFocusedItem(_arg0
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5340 } _resultobj
= Py_BuildValue("l",_result
);
5344 #define wxListView_GetNextSelected(_swigobj,_swigarg0) (_swigobj->GetNextSelected(_swigarg0))
5345 static PyObject
*_wrap_wxListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "self","item", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_GetNextSelected",_kwnames
,&_argo0
,&_arg1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetNextSelected. Expected _wxListView_p.");
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 _result
= (long )wxListView_GetNextSelected(_arg0
,_arg1
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) return NULL
;
5369 } _resultobj
= Py_BuildValue("l",_result
);
5373 #define wxListView_GetFirstSelected(_swigobj) (_swigobj->GetFirstSelected())
5374 static PyObject
*_wrap_wxListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5378 PyObject
* _argo0
= 0;
5379 char *_kwnames
[] = { "self", NULL
};
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListView_GetFirstSelected",_kwnames
,&_argo0
))
5385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_GetFirstSelected. Expected _wxListView_p.");
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 _result
= (long )wxListView_GetFirstSelected(_arg0
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) return NULL
;
5397 } _resultobj
= Py_BuildValue("l",_result
);
5401 #define wxListView_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5402 static PyObject
*_wrap_wxListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","index", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxListView_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_IsSelected. Expected _wxListView_p.");
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 _result
= (bool )wxListView_IsSelected(_arg0
,_arg1
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5426 } _resultobj
= Py_BuildValue("i",_result
);
5430 #define wxListView_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
5431 static PyObject
*_wrap_wxListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5436 PyObject
* _argo0
= 0;
5437 char *_kwnames
[] = { "self","col","image", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxListView_SetColumnImage",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_SetColumnImage. Expected _wxListView_p.");
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 wxListView_SetColumnImage(_arg0
,_arg1
,_arg2
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) return NULL
;
5455 } Py_INCREF(Py_None
);
5456 _resultobj
= Py_None
;
5460 #define wxListView_ClearColumnImage(_swigobj,_swigarg0) (_swigobj->ClearColumnImage(_swigarg0))
5461 static PyObject
*_wrap_wxListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self","col", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListView_ClearColumnImage",_kwnames
,&_argo0
,&_arg1
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListView_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListView_ClearColumnImage. Expected _wxListView_p.");
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 wxListView_ClearColumnImage(_arg0
,_arg1
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define new_wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTreeItemAttr(_swigarg0,_swigarg1,_swigarg2))
5490 static PyObject
*_wrap_new_wxTreeItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5492 wxTreeItemAttr
* _result
;
5493 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5494 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5495 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5497 PyObject
* _obj0
= 0;
5499 PyObject
* _obj1
= 0;
5500 PyObject
* _argo2
= 0;
5501 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTreeItemAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5510 if (! wxColour_helper(_obj0
, &_arg0
))
5516 if (! wxColour_helper(_obj1
, &_arg1
))
5520 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTreeItemAttr. Expected _wxFont_p.");
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 _result
= (wxTreeItemAttr
*)new_wxTreeItemAttr(*_arg0
,*_arg1
,*_arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemAttr_p");
5534 _resultobj
= Py_BuildValue("s",_ptemp
);
5537 _resultobj
= Py_None
;
5542 #define wxTreeItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5543 static PyObject
*_wrap_wxTreeItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5545 wxTreeItemAttr
* _arg0
;
5547 PyObject
* _argo0
= 0;
5549 PyObject
* _obj1
= 0;
5550 char *_kwnames
[] = { "self","colText", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetTextColour. Expected _wxTreeItemAttr_p.");
5564 if (! wxColour_helper(_obj1
, &_arg1
))
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxTreeItemAttr_SetTextColour(_arg0
,*_arg1
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) return NULL
;
5573 } Py_INCREF(Py_None
);
5574 _resultobj
= Py_None
;
5578 #define wxTreeItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5579 static PyObject
*_wrap_wxTreeItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
* _resultobj
;
5581 wxTreeItemAttr
* _arg0
;
5583 PyObject
* _argo0
= 0;
5585 PyObject
* _obj1
= 0;
5586 char *_kwnames
[] = { "self","colBack", NULL
};
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetBackgroundColour. Expected _wxTreeItemAttr_p.");
5600 if (! wxColour_helper(_obj1
, &_arg1
))
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 wxTreeItemAttr_SetBackgroundColour(_arg0
,*_arg1
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) return NULL
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5614 #define wxTreeItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5615 static PyObject
*_wrap_wxTreeItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5617 wxTreeItemAttr
* _arg0
;
5619 PyObject
* _argo0
= 0;
5620 PyObject
* _argo1
= 0;
5621 char *_kwnames
[] = { "self","font", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_SetFont. Expected _wxTreeItemAttr_p.");
5634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemAttr_SetFont. Expected _wxFont_p.");
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 wxTreeItemAttr_SetFont(_arg0
,*_arg1
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) return NULL
;
5646 } Py_INCREF(Py_None
);
5647 _resultobj
= Py_None
;
5651 #define wxTreeItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5652 static PyObject
*_wrap_wxTreeItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5655 wxTreeItemAttr
* _arg0
;
5656 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasTextColour",_kwnames
,&_argo0
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasTextColour. Expected _wxTreeItemAttr_p.");
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 _result
= (bool )wxTreeItemAttr_HasTextColour(_arg0
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5675 } _resultobj
= Py_BuildValue("i",_result
);
5679 #define wxTreeItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5680 static PyObject
*_wrap_wxTreeItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5683 wxTreeItemAttr
* _arg0
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_HasBackgroundColour. Expected _wxTreeItemAttr_p.");
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 _result
= (bool )wxTreeItemAttr_HasBackgroundColour(_arg0
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) return NULL
;
5703 } _resultobj
= Py_BuildValue("i",_result
);
5707 #define wxTreeItemAttr_HasFont(_swigobj) (_swigobj->HasFont())
5708 static PyObject
*_wrap_wxTreeItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5711 wxTreeItemAttr
* _arg0
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_HasFont",_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_HasFont. Expected _wxTreeItemAttr_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 _result
= (bool )wxTreeItemAttr_HasFont(_arg0
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } _resultobj
= Py_BuildValue("i",_result
);
5735 #define wxTreeItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5736 static PyObject
*_wrap_wxTreeItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5739 wxTreeItemAttr
* _arg0
;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetTextColour",_kwnames
,&_argo0
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetTextColour. Expected _wxTreeItemAttr_p.");
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 _result
= new wxColour (wxTreeItemAttr_GetTextColour(_arg0
));
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) return NULL
;
5760 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5761 _resultobj
= Py_BuildValue("s",_ptemp
);
5765 #define wxTreeItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5766 static PyObject
*_wrap_wxTreeItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
* _resultobj
;
5769 wxTreeItemAttr
* _arg0
;
5770 PyObject
* _argo0
= 0;
5771 char *_kwnames
[] = { "self", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetBackgroundColour. Expected _wxTreeItemAttr_p.");
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 _result
= new wxColour (wxTreeItemAttr_GetBackgroundColour(_arg0
));
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) return NULL
;
5790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5791 _resultobj
= Py_BuildValue("s",_ptemp
);
5795 #define wxTreeItemAttr_GetFont(_swigobj) (_swigobj->GetFont())
5796 static PyObject
*_wrap_wxTreeItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
* _resultobj
;
5799 wxTreeItemAttr
* _arg0
;
5800 PyObject
* _argo0
= 0;
5801 char *_kwnames
[] = { "self", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemAttr_GetFont",_kwnames
,&_argo0
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemAttr_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemAttr_GetFont. Expected _wxTreeItemAttr_p.");
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 _result
= new wxFont (wxTreeItemAttr_GetFont(_arg0
));
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) return NULL
;
5820 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5821 _resultobj
= Py_BuildValue("s",_ptemp
);
5825 #define new_wxTreeItemId() (new wxTreeItemId())
5826 static PyObject
*_wrap_new_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
* _resultobj
;
5828 wxTreeItemId
* _result
;
5829 char *_kwnames
[] = { NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxTreeItemId",_kwnames
))
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 _result
= (wxTreeItemId
*)new_wxTreeItemId();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
5843 _resultobj
= Py_BuildValue("s",_ptemp
);
5846 _resultobj
= Py_None
;
5851 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
5852 static PyObject
*_wrap_delete_wxTreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
* _resultobj
;
5854 wxTreeItemId
* _arg0
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTreeItemId",_kwnames
,&_argo0
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 delete_wxTreeItemId(_arg0
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) return NULL
;
5874 } Py_INCREF(Py_None
);
5875 _resultobj
= Py_None
;
5879 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
5880 static PyObject
*_wrap_wxTreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
* _resultobj
;
5883 wxTreeItemId
* _arg0
;
5884 PyObject
* _argo0
= 0;
5885 char *_kwnames
[] = { "self", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemId_IsOk",_kwnames
,&_argo0
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 _result
= (bool )wxTreeItemId_IsOk(_arg0
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) return NULL
;
5903 } _resultobj
= Py_BuildValue("i",_result
);
5907 static int wxTreeItemId___cmp__(wxTreeItemId
*self
,wxTreeItemId
* other
) {
5908 if (! other
) return -1;
5909 return *self
!= *other
;
5911 static PyObject
*_wrap_wxTreeItemId___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5914 wxTreeItemId
* _arg0
;
5915 wxTreeItemId
* _arg1
;
5916 PyObject
* _argo0
= 0;
5917 PyObject
* _argo1
= 0;
5918 char *_kwnames
[] = { "self","other", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemId___cmp__",_kwnames
,&_argo0
,&_argo1
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeItemId_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p.");
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 _result
= (int )wxTreeItemId___cmp__(_arg0
,_arg1
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) return NULL
;
5943 } _resultobj
= Py_BuildValue("i",_result
);
5947 static void *SwigwxPyTreeItemDataTowxObject(void *ptr
) {
5948 wxPyTreeItemData
*src
;
5950 src
= (wxPyTreeItemData
*) ptr
;
5951 dest
= (wxObject
*) src
;
5952 return (void *) dest
;
5955 #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0))
5956 static PyObject
*_wrap_new_wxTreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxPyTreeItemData
* _result
;
5959 PyObject
* _arg0
= (PyObject
*) NULL
;
5960 PyObject
* _obj0
= 0;
5961 char *_kwnames
[] = { "obj", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxTreeItemData",_kwnames
,&_obj0
))
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 _result
= (wxPyTreeItemData
*)new_wxTreeItemData(_arg0
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
5979 _resultobj
= Py_BuildValue("s",_ptemp
);
5982 _resultobj
= Py_None
;
5987 #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData())
5988 static PyObject
*_wrap_wxTreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5991 wxPyTreeItemData
* _arg0
;
5992 PyObject
* _argo0
= 0;
5993 char *_kwnames
[] = { "self", NULL
};
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetData",_kwnames
,&_argo0
))
5999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p.");
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 _result
= (PyObject
*)wxTreeItemData_GetData(_arg0
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6012 _resultobj
= _result
;
6017 #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
6018 static PyObject
*_wrap_wxTreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6020 wxPyTreeItemData
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 PyObject
* _obj1
= 0;
6024 char *_kwnames
[] = { "self","obj", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetData",_kwnames
,&_argo0
,&_obj1
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p.");
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 wxTreeItemData_SetData(_arg0
,_arg1
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) return NULL
;
6045 } Py_INCREF(Py_None
);
6046 _resultobj
= Py_None
;
6050 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
6051 static PyObject
*_wrap_wxTreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
* _resultobj
;
6053 wxTreeItemId
* _result
;
6054 wxPyTreeItemData
* _arg0
;
6055 PyObject
* _argo0
= 0;
6056 char *_kwnames
[] = { "self", NULL
};
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeItemData_GetId",_kwnames
,&_argo0
))
6063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p.");
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 const wxTreeItemId
& _result_ref
= wxTreeItemData_GetId(_arg0
);
6072 _result
= (wxTreeItemId
*) &_result_ref
;
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) return NULL
;
6077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeItemId_p");
6078 _resultobj
= Py_BuildValue("s",_ptemp
);
6081 _resultobj
= Py_None
;
6086 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6087 static PyObject
*_wrap_wxTreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
* _resultobj
;
6089 wxPyTreeItemData
* _arg0
;
6090 wxTreeItemId
* _arg1
;
6091 PyObject
* _argo0
= 0;
6092 PyObject
* _argo1
= 0;
6093 char *_kwnames
[] = { "self","id", NULL
};
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeItemData_SetId",_kwnames
,&_argo0
,&_argo1
))
6099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeItemData_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p.");
6106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 wxTreeItemData_SetId(_arg0
,*_arg1
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) return NULL
;
6118 } Py_INCREF(Py_None
);
6119 _resultobj
= Py_None
;
6123 static void *SwigwxTreeEventTowxNotifyEvent(void *ptr
) {
6125 wxNotifyEvent
*dest
;
6126 src
= (wxTreeEvent
*) ptr
;
6127 dest
= (wxNotifyEvent
*) src
;
6128 return (void *) dest
;
6131 static void *SwigwxTreeEventTowxCommandEvent(void *ptr
) {
6133 wxCommandEvent
*dest
;
6134 src
= (wxTreeEvent
*) ptr
;
6135 dest
= (wxCommandEvent
*) src
;
6136 return (void *) dest
;
6139 static void *SwigwxTreeEventTowxEvent(void *ptr
) {
6142 src
= (wxTreeEvent
*) ptr
;
6143 dest
= (wxEvent
*) src
;
6144 return (void *) dest
;
6147 static void *SwigwxTreeEventTowxObject(void *ptr
) {
6150 src
= (wxTreeEvent
*) ptr
;
6151 dest
= (wxObject
*) src
;
6152 return (void *) dest
;
6155 #define new_wxTreeEvent(_swigarg0,_swigarg1) (new wxTreeEvent(_swigarg0,_swigarg1))
6156 static PyObject
*_wrap_new_wxTreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
* _resultobj
;
6158 wxTreeEvent
* _result
;
6159 wxEventType _arg0
= (wxEventType
) wxEVT_NULL
;
6160 int _arg1
= (int ) 0;
6161 char *_kwnames
[] = { "commandType","id", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxTreeEvent",_kwnames
,&_arg0
,&_arg1
))
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 _result
= (wxTreeEvent
*)new_wxTreeEvent(_arg0
,_arg1
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) return NULL
;
6174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTreeEvent_p");
6175 _resultobj
= Py_BuildValue("s",_ptemp
);
6178 _resultobj
= Py_None
;
6183 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
6184 static PyObject
*_wrap_wxTreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6186 wxTreeItemId
* _result
;
6187 wxTreeEvent
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetItem",_kwnames
,&_argo0
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 _result
= new wxTreeItemId (wxTreeEvent_GetItem(_arg0
));
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) return NULL
;
6208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6209 _resultobj
= Py_BuildValue("s",_ptemp
);
6213 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
6214 static PyObject
*_wrap_wxTreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6216 wxTreeItemId
* _result
;
6217 wxTreeEvent
* _arg0
;
6218 PyObject
* _argo0
= 0;
6219 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetOldItem",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 _result
= new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0
));
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) return NULL
;
6238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
6239 _resultobj
= Py_BuildValue("s",_ptemp
);
6243 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
6244 static PyObject
*_wrap_wxTreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6247 wxTreeEvent
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetPoint",_kwnames
,&_argo0
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 _result
= new wxPoint (wxTreeEvent_GetPoint(_arg0
));
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) return NULL
;
6268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6269 _resultobj
= Py_BuildValue("s",_ptemp
);
6273 #define wxTreeEvent_GetKeyEvent(_swigobj) (_swigobj->GetKeyEvent())
6274 static PyObject
*_wrap_wxTreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
* _resultobj
;
6276 wxKeyEvent
* _result
;
6277 wxTreeEvent
* _arg0
;
6278 PyObject
* _argo0
= 0;
6279 char *_kwnames
[] = { "self", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetKeyEvent",_kwnames
,&_argo0
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetKeyEvent. Expected _wxTreeEvent_p.");
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 const wxKeyEvent
& _result_ref
= wxTreeEvent_GetKeyEvent(_arg0
);
6295 _result
= (wxKeyEvent
*) &_result_ref
;
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) return NULL
;
6300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxKeyEvent_p");
6301 _resultobj
= Py_BuildValue("s",_ptemp
);
6304 _resultobj
= Py_None
;
6309 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
6310 static PyObject
*_wrap_wxTreeEvent_GetCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
* _resultobj
;
6313 wxTreeEvent
* _arg0
;
6314 PyObject
* _argo0
= 0;
6315 char *_kwnames
[] = { "self", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetCode",_kwnames
,&_argo0
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 _result
= (int )wxTreeEvent_GetCode(_arg0
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) return NULL
;
6333 } _resultobj
= Py_BuildValue("i",_result
);
6337 #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel())
6338 static PyObject
*_wrap_wxTreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6341 wxTreeEvent
* _arg0
;
6342 PyObject
* _argo0
= 0;
6343 char *_kwnames
[] = { "self", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeEvent_GetLabel",_kwnames
,&_argo0
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeEvent_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p.");
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 const wxString
& _result_ref
= wxTreeEvent_GetLabel(_arg0
);
6358 _result
= (wxString
*) &_result_ref
;
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6364 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6366 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6372 static void *SwigwxPyTreeCtrlTowxControl(void *ptr
) {
6375 src
= (wxPyTreeCtrl
*) ptr
;
6376 dest
= (wxControl
*) src
;
6377 return (void *) dest
;
6380 static void *SwigwxPyTreeCtrlTowxWindow(void *ptr
) {
6383 src
= (wxPyTreeCtrl
*) ptr
;
6384 dest
= (wxWindow
*) src
;
6385 return (void *) dest
;
6388 static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr
) {
6391 src
= (wxPyTreeCtrl
*) ptr
;
6392 dest
= (wxEvtHandler
*) src
;
6393 return (void *) dest
;
6396 static void *SwigwxPyTreeCtrlTowxObject(void *ptr
) {
6399 src
= (wxPyTreeCtrl
*) ptr
;
6400 dest
= (wxObject
*) src
;
6401 return (void *) dest
;
6404 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6405 static PyObject
*_wrap_new_wxTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6407 wxPyTreeCtrl
* _result
;
6409 wxWindowID _arg1
= (wxWindowID
) -1;
6410 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6411 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6412 long _arg4
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6413 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6414 wxString
* _arg6
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6415 PyObject
* _argo0
= 0;
6417 PyObject
* _obj2
= 0;
6419 PyObject
* _obj3
= 0;
6420 PyObject
* _argo5
= 0;
6421 PyObject
* _obj6
= 0;
6422 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
6438 if (! wxPoint_helper(_obj2
, &_arg2
))
6444 if (! wxSize_helper(_obj3
, &_arg3
))
6448 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
6456 _arg6
= wxString_in_helper(_obj6
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 _result
= (wxPyTreeCtrl
*)new_wxTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) return NULL
;
6467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6468 _resultobj
= Py_BuildValue("s",_ptemp
);
6471 _resultobj
= Py_None
;
6480 #define new_wxPreTreeCtrl() (new wxPyTreeCtrl())
6481 static PyObject
*_wrap_new_wxPreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6483 wxPyTreeCtrl
* _result
;
6484 char *_kwnames
[] = { NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTreeCtrl",_kwnames
))
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 _result
= (wxPyTreeCtrl
*)new_wxPreTreeCtrl();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) return NULL
;
6497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCtrl_p");
6498 _resultobj
= Py_BuildValue("s",_ptemp
);
6501 _resultobj
= Py_None
;
6506 #define wxTreeCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6507 static PyObject
*_wrap_wxTreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6510 wxPyTreeCtrl
* _arg0
;
6512 wxWindowID _arg2
= (wxWindowID
) -1;
6513 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6514 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6515 long _arg5
= (long ) (wxTR_HAS_BUTTONS
)|(wxTR_LINES_AT_ROOT
);
6516 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6517 wxString
* _arg7
= (wxString
*) &wxPy_TreeCtrlNameStr
;
6518 PyObject
* _argo0
= 0;
6519 PyObject
* _argo1
= 0;
6521 PyObject
* _obj3
= 0;
6523 PyObject
* _obj4
= 0;
6524 PyObject
* _argo6
= 0;
6525 PyObject
* _obj7
= 0;
6526 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxTreeCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Create. Expected _wxPyTreeCtrl_p.");
6539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Create. Expected _wxWindow_p.");
6548 if (! wxPoint_helper(_obj3
, &_arg3
))
6554 if (! wxSize_helper(_obj4
, &_arg4
))
6558 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_Create. Expected _wxValidator_p.");
6566 _arg7
= wxString_in_helper(_obj7
);
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 _result
= (bool )wxTreeCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) return NULL
;
6576 } _resultobj
= Py_BuildValue("i",_result
);
6584 #define wxTreeCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6585 static PyObject
*_wrap_wxTreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6587 wxPyTreeCtrl
* _arg0
;
6590 PyObject
* _argo0
= 0;
6591 PyObject
* _obj1
= 0;
6592 PyObject
* _obj2
= 0;
6593 char *_kwnames
[] = { "self","self","_class", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl__setCallbackInfo. Expected _wxPyTreeCtrl_p.");
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 wxTreeCtrl__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) return NULL
;
6617 } Py_INCREF(Py_None
);
6618 _resultobj
= Py_None
;
6622 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
6623 static PyObject
*_wrap_wxTreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
* _resultobj
;
6626 wxPyTreeCtrl
* _arg0
;
6627 PyObject
* _argo0
= 0;
6628 char *_kwnames
[] = { "self", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetCount",_kwnames
,&_argo0
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p.");
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 _result
= (size_t )wxTreeCtrl_GetCount(_arg0
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) return NULL
;
6646 } _resultobj
= Py_BuildValue("i",_result
);
6650 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
6651 static PyObject
*_wrap_wxTreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
* _resultobj
;
6653 unsigned int _result
;
6654 wxPyTreeCtrl
* _arg0
;
6655 PyObject
* _argo0
= 0;
6656 char *_kwnames
[] = { "self", NULL
};
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetIndent",_kwnames
,&_argo0
))
6662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p.");
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 _result
= (unsigned int )wxTreeCtrl_GetIndent(_arg0
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) return NULL
;
6674 } _resultobj
= Py_BuildValue("i",_result
);
6678 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
6679 static PyObject
*_wrap_wxTreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6681 wxPyTreeCtrl
* _arg0
;
6683 PyObject
* _argo0
= 0;
6684 char *_kwnames
[] = { "self","indent", NULL
};
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetIndent",_kwnames
,&_argo0
,&_arg1
))
6690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p.");
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 wxTreeCtrl_SetIndent(_arg0
,_arg1
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) return NULL
;
6702 } Py_INCREF(Py_None
);
6703 _resultobj
= Py_None
;
6707 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
6708 static PyObject
*_wrap_wxTreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
* _resultobj
;
6710 wxImageList
* _result
;
6711 wxPyTreeCtrl
* _arg0
;
6712 PyObject
* _argo0
= 0;
6713 char *_kwnames
[] = { "self", NULL
};
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetImageList",_kwnames
,&_argo0
))
6719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p.");
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 _result
= (wxImageList
*)wxTreeCtrl_GetImageList(_arg0
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) return NULL
;
6731 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6735 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
6736 static PyObject
*_wrap_wxTreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
* _resultobj
;
6738 wxImageList
* _result
;
6739 wxPyTreeCtrl
* _arg0
;
6740 PyObject
* _argo0
= 0;
6741 char *_kwnames
[] = { "self", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetStateImageList",_kwnames
,&_argo0
))
6747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p.");
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 _result
= (wxImageList
*)wxTreeCtrl_GetStateImageList(_arg0
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) return NULL
;
6759 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6763 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
6764 static PyObject
*_wrap_wxTreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6766 wxPyTreeCtrl
* _arg0
;
6767 wxImageList
* _arg1
;
6768 PyObject
* _argo0
= 0;
6769 PyObject
* _argo1
= 0;
6770 char *_kwnames
[] = { "self","imageList", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetImageList",_kwnames
,&_argo0
,&_argo1
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p.");
6783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 wxTreeCtrl_SetImageList(_arg0
,_arg1
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) return NULL
;
6795 } Py_INCREF(Py_None
);
6796 _resultobj
= Py_None
;
6800 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
6801 static PyObject
*_wrap_wxTreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
* _resultobj
;
6803 wxPyTreeCtrl
* _arg0
;
6804 wxImageList
* _arg1
;
6805 PyObject
* _argo0
= 0;
6806 PyObject
* _argo1
= 0;
6807 char *_kwnames
[] = { "self","imageList", NULL
};
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SetStateImageList",_kwnames
,&_argo0
,&_argo1
))
6813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p.");
6820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 wxTreeCtrl_SetStateImageList(_arg0
,_arg1
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) return NULL
;
6832 } Py_INCREF(Py_None
);
6833 _resultobj
= Py_None
;
6837 #define wxTreeCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
6838 static PyObject
*_wrap_wxTreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6840 wxPyTreeCtrl
* _arg0
;
6841 wxImageList
* _arg1
;
6842 PyObject
* _argo0
= 0;
6843 PyObject
* _argo1
= 0;
6844 char *_kwnames
[] = { "self","imageList", NULL
};
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignImageList",_kwnames
,&_argo0
,&_argo1
))
6850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignImageList. Expected _wxPyTreeCtrl_p.");
6857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignImageList. Expected _wxImageList_p.");
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 wxTreeCtrl_AssignImageList(_arg0
,_arg1
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) return NULL
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6874 #define wxTreeCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
6875 static PyObject
*_wrap_wxTreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6877 wxPyTreeCtrl
* _arg0
;
6878 wxImageList
* _arg1
;
6879 PyObject
* _argo0
= 0;
6880 PyObject
* _argo1
= 0;
6881 char *_kwnames
[] = { "self","imageList", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_AssignStateImageList",_kwnames
,&_argo0
,&_argo1
))
6887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AssignStateImageList. Expected _wxPyTreeCtrl_p.");
6894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxImageList_p")) {
6896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AssignStateImageList. Expected _wxImageList_p.");
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 wxTreeCtrl_AssignStateImageList(_arg0
,_arg1
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) return NULL
;
6906 } Py_INCREF(Py_None
);
6907 _resultobj
= Py_None
;
6911 #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
6912 static PyObject
*_wrap_wxTreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
* _resultobj
;
6914 unsigned int _result
;
6915 wxPyTreeCtrl
* _arg0
;
6916 PyObject
* _argo0
= 0;
6917 char *_kwnames
[] = { "self", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSpacing",_kwnames
,&_argo0
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p.");
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 _result
= (unsigned int )wxTreeCtrl_GetSpacing(_arg0
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) return NULL
;
6935 } _resultobj
= Py_BuildValue("i",_result
);
6939 #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
6940 static PyObject
*_wrap_wxTreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
* _resultobj
;
6942 wxPyTreeCtrl
* _arg0
;
6944 PyObject
* _argo0
= 0;
6945 char *_kwnames
[] = { "self","spacing", NULL
};
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTreeCtrl_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
6951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p.");
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 wxTreeCtrl_SetSpacing(_arg0
,_arg1
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) return NULL
;
6963 } Py_INCREF(Py_None
);
6964 _resultobj
= Py_None
;
6968 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
6969 static PyObject
*_wrap_wxTreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
* _resultobj
;
6972 wxPyTreeCtrl
* _arg0
;
6973 wxTreeItemId
* _arg1
;
6974 PyObject
* _argo0
= 0;
6975 PyObject
* _argo1
= 0;
6976 char *_kwnames
[] = { "self","item", NULL
};
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemText",_kwnames
,&_argo0
,&_argo1
))
6982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p.");
6989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 _result
= new wxString (wxTreeCtrl_GetItemText(_arg0
,*_arg1
));
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) return NULL
;
7003 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7005 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7014 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1))
7015 static PyObject
*_wrap_wxTreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7018 wxPyTreeCtrl
* _arg0
;
7019 wxTreeItemId
* _arg1
;
7020 wxTreeItemIcon _arg2
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7021 PyObject
* _argo0
= 0;
7022 PyObject
* _argo1
= 0;
7023 char *_kwnames
[] = { "self","item","which", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p.");
7036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 _result
= (int )wxTreeCtrl_GetItemImage(_arg0
,*_arg1
,_arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) return NULL
;
7048 } _resultobj
= Py_BuildValue("i",_result
);
7052 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
7053 static PyObject
*_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
* _resultobj
;
7056 wxPyTreeCtrl
* _arg0
;
7057 wxTreeItemId
* _arg1
;
7058 PyObject
* _argo0
= 0;
7059 PyObject
* _argo1
= 0;
7060 char *_kwnames
[] = { "self","item", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 _result
= (int )wxTreeCtrl_GetItemSelectedImage(_arg0
,*_arg1
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) return NULL
;
7085 } _resultobj
= Py_BuildValue("i",_result
);
7089 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
7090 static PyObject
*_wrap_wxTreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7092 wxPyTreeCtrl
* _arg0
;
7093 wxTreeItemId
* _arg1
;
7095 PyObject
* _argo0
= 0;
7096 PyObject
* _argo1
= 0;
7097 PyObject
* _obj2
= 0;
7098 char *_kwnames
[] = { "self","item","text", NULL
};
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemText",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p.");
7111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
7118 _arg2
= wxString_in_helper(_obj2
);
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxTreeCtrl_SetItemText(_arg0
,*_arg1
,*_arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7137 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
7138 static PyObject
*_wrap_wxTreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7140 wxPyTreeCtrl
* _arg0
;
7141 wxTreeItemId
* _arg1
;
7143 wxTreeItemIcon _arg3
= (wxTreeItemIcon
) (wxTreeItemIcon_Normal
);
7144 PyObject
* _argo0
= 0;
7145 PyObject
* _argo1
= 0;
7146 char *_kwnames
[] = { "self","item","image","which", NULL
};
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p.");
7159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 wxTreeCtrl_SetItemImage(_arg0
,*_arg1
,_arg2
,_arg3
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } Py_INCREF(Py_None
);
7172 _resultobj
= Py_None
;
7176 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
7177 static PyObject
*_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7179 wxPyTreeCtrl
* _arg0
;
7180 wxTreeItemId
* _arg1
;
7182 PyObject
* _argo0
= 0;
7183 PyObject
* _argo1
= 0;
7184 char *_kwnames
[] = { "self","item","image", NULL
};
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p.");
7197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 wxTreeCtrl_SetItemSelectedImage(_arg0
,*_arg1
,_arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) return NULL
;
7209 } Py_INCREF(Py_None
);
7210 _resultobj
= Py_None
;
7214 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
7215 static PyObject
*_wrap_wxTreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7217 wxPyTreeCtrl
* _arg0
;
7218 wxTreeItemId
* _arg1
;
7219 bool _arg2
= (bool ) TRUE
;
7220 PyObject
* _argo0
= 0;
7221 PyObject
* _argo1
= 0;
7222 int tempbool2
= (int) TRUE
;
7223 char *_kwnames
[] = { "self","item","hasChildren", NULL
};
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p.");
7236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
7242 _arg2
= (bool ) tempbool2
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 wxTreeCtrl_SetItemHasChildren(_arg0
,*_arg1
,_arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) return NULL
;
7249 } Py_INCREF(Py_None
);
7250 _resultobj
= Py_None
;
7254 static wxPyTreeItemData
* wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7255 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7257 data
= new wxPyTreeItemData();
7258 data
->SetId(item
); // set the id
7259 self
->SetItemData(item
, data
);
7263 static PyObject
*_wrap_wxTreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7265 wxPyTreeItemData
* _result
;
7266 wxPyTreeCtrl
* _arg0
;
7267 wxTreeItemId
* _arg1
;
7268 PyObject
* _argo0
= 0;
7269 PyObject
* _argo1
= 0;
7270 char *_kwnames
[] = { "self","item", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemData",_kwnames
,&_argo0
,&_argo1
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p.");
7284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 _result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(_arg0
,*_arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) return NULL
;
7297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeItemData_p");
7298 _resultobj
= Py_BuildValue("s",_ptemp
);
7301 _resultobj
= Py_None
;
7306 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,wxPyTreeItemData
* data
) {
7307 data
->SetId(item
); // set the id
7308 self
->SetItemData(item
, data
);
7310 static PyObject
*_wrap_wxTreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7312 wxPyTreeCtrl
* _arg0
;
7313 wxTreeItemId
* _arg1
;
7314 wxPyTreeItemData
* _arg2
;
7315 PyObject
* _argo0
= 0;
7316 PyObject
* _argo1
= 0;
7317 PyObject
* _argo2
= 0;
7318 char *_kwnames
[] = { "self","item","data", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemData",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p.");
7331 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
7338 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyTreeItemData_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxPyTreeCtrl_SetItemData(_arg0
,*_arg1
,_arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } Py_INCREF(Py_None
);
7351 _resultobj
= Py_None
;
7355 static PyObject
* wxPyTreeCtrl_GetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
) {
7356 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7358 data
= new wxPyTreeItemData();
7359 data
->SetId(item
); // set the id
7360 self
->SetItemData(item
, data
);
7362 return data
->GetData();
7364 static PyObject
*_wrap_wxTreeCtrl_GetPyData(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_GetPyData",_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_GetPyData. 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_GetPyData. Expected _wxTreeItemId_p.");
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 _result
= (PyObject
*)wxPyTreeCtrl_GetPyData(_arg0
,*_arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) return NULL
;
7397 _resultobj
= _result
;
7402 static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,PyObject
* obj
) {
7403 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
7405 data
= new wxPyTreeItemData(obj
);
7406 data
->SetId(item
); // set the id
7407 self
->SetItemData(item
, data
);
7411 static PyObject
*_wrap_wxTreeCtrl_SetPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7413 wxPyTreeCtrl
* _arg0
;
7414 wxTreeItemId
* _arg1
;
7416 PyObject
* _argo0
= 0;
7417 PyObject
* _argo1
= 0;
7418 PyObject
* _obj2
= 0;
7419 char *_kwnames
[] = { "self","item","obj", NULL
};
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetPyData",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p.");
7432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p.");
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxPyTreeCtrl_SetPyData(_arg0
,*_arg1
,_arg2
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) return NULL
;
7447 } Py_INCREF(Py_None
);
7448 _resultobj
= Py_None
;
7452 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
7453 static PyObject
*_wrap_wxTreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
* _resultobj
;
7456 wxPyTreeCtrl
* _arg0
;
7457 wxTreeItemId
* _arg1
;
7458 PyObject
* _argo0
= 0;
7459 PyObject
* _argo1
= 0;
7460 char *_kwnames
[] = { "self","item", NULL
};
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsVisible",_kwnames
,&_argo0
,&_argo1
))
7466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p.");
7473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 _result
= (bool )wxTreeCtrl_IsVisible(_arg0
,*_arg1
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } _resultobj
= Py_BuildValue("i",_result
);
7489 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
7490 static PyObject
*_wrap_wxTreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7493 wxPyTreeCtrl
* _arg0
;
7494 wxTreeItemId
* _arg1
;
7495 PyObject
* _argo0
= 0;
7496 PyObject
* _argo1
= 0;
7497 char *_kwnames
[] = { "self","item", NULL
};
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ItemHasChildren",_kwnames
,&_argo0
,&_argo1
))
7503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p.");
7510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 _result
= (bool )wxTreeCtrl_ItemHasChildren(_arg0
,*_arg1
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) return NULL
;
7522 } _resultobj
= Py_BuildValue("i",_result
);
7526 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
7527 static PyObject
*_wrap_wxTreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
* _resultobj
;
7530 wxPyTreeCtrl
* _arg0
;
7531 wxTreeItemId
* _arg1
;
7532 PyObject
* _argo0
= 0;
7533 PyObject
* _argo1
= 0;
7534 char *_kwnames
[] = { "self","item", NULL
};
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsExpanded",_kwnames
,&_argo0
,&_argo1
))
7540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p.");
7547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 _result
= (bool )wxTreeCtrl_IsExpanded(_arg0
,*_arg1
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) return NULL
;
7559 } _resultobj
= Py_BuildValue("i",_result
);
7563 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
7564 static PyObject
*_wrap_wxTreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
* _resultobj
;
7567 wxPyTreeCtrl
* _arg0
;
7568 wxTreeItemId
* _arg1
;
7569 PyObject
* _argo0
= 0;
7570 PyObject
* _argo1
= 0;
7571 char *_kwnames
[] = { "self","item", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsSelected",_kwnames
,&_argo0
,&_argo1
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p.");
7584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 _result
= (bool )wxTreeCtrl_IsSelected(_arg0
,*_arg1
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) return NULL
;
7596 } _resultobj
= Py_BuildValue("i",_result
);
7600 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
7601 static PyObject
*_wrap_wxTreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7603 wxTreeItemId
* _result
;
7604 wxPyTreeCtrl
* _arg0
;
7605 PyObject
* _argo0
= 0;
7606 char *_kwnames
[] = { "self", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetRootItem",_kwnames
,&_argo0
))
7613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p.");
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 _result
= new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0
));
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) return NULL
;
7625 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7626 _resultobj
= Py_BuildValue("s",_ptemp
);
7630 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
7631 static PyObject
*_wrap_wxTreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7633 wxTreeItemId
* _result
;
7634 wxPyTreeCtrl
* _arg0
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelection",_kwnames
,&_argo0
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p.");
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 _result
= new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0
));
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) return NULL
;
7655 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7656 _resultobj
= Py_BuildValue("s",_ptemp
);
7660 #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
7661 static PyObject
*_wrap_wxTreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7663 wxTreeItemId
* _result
;
7664 wxPyTreeCtrl
* _arg0
;
7665 wxTreeItemId
* _arg1
;
7666 PyObject
* _argo0
= 0;
7667 PyObject
* _argo1
= 0;
7668 char *_kwnames
[] = { "self","item", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetItemParent",_kwnames
,&_argo0
,&_argo1
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p.");
7682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p.");
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 _result
= new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0
,*_arg1
));
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) return NULL
;
7694 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7695 _resultobj
= Py_BuildValue("s",_ptemp
);
7699 static PyObject
* wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
) {
7700 wxPyBeginBlockThreads();
7701 PyObject
* rval
= PyList_New(0);
7702 wxArrayTreeItemIds array
;
7704 num
= self
->GetSelections(array
);
7705 for (x
=0; x
< num
; x
++) {
7706 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
7707 PyObject
* item
= wxPyConstructObject((void*)tii
, "wxTreeItemId", TRUE
);
7708 PyList_Append(rval
, item
);
7710 wxPyEndBlockThreads();
7713 static PyObject
*_wrap_wxTreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7716 wxPyTreeCtrl
* _arg0
;
7717 PyObject
* _argo0
= 0;
7718 char *_kwnames
[] = { "self", NULL
};
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetSelections",_kwnames
,&_argo0
))
7724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p.");
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 _result
= (PyObject
*)wxPyTreeCtrl_GetSelections(_arg0
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) return NULL
;
7737 _resultobj
= _result
;
7742 #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
7743 static PyObject
*_wrap_wxTreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7746 wxPyTreeCtrl
* _arg0
;
7747 wxTreeItemId
* _arg1
;
7748 bool _arg2
= (bool ) TRUE
;
7749 PyObject
* _argo0
= 0;
7750 PyObject
* _argo1
= 0;
7751 int tempbool2
= (int) TRUE
;
7752 char *_kwnames
[] = { "self","item","recursively", NULL
};
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p.");
7765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
7771 _arg2
= (bool ) tempbool2
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 _result
= (size_t )wxTreeCtrl_GetChildrenCount(_arg0
,*_arg1
,_arg2
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } _resultobj
= Py_BuildValue("i",_result
);
7782 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
7783 static PyObject
*_wrap_wxTreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7785 wxTreeItemId
* _result
;
7786 wxPyTreeCtrl
* _arg0
;
7787 wxTreeItemId
* _arg1
;
7788 long * _arg2
= (long *) &longzero
;
7789 PyObject
* _argo0
= 0;
7790 PyObject
* _argo1
= 0;
7792 PyObject
* _obj2
= 0;
7793 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxTreeCtrl_GetFirstChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p.");
7807 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
7815 temp
= (long) PyInt_AsLong(_obj2
);
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0
,*_arg1
,*_arg2
));
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) return NULL
;
7824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7825 _resultobj
= Py_BuildValue("s",_ptemp
);
7828 o
= PyInt_FromLong((long) (*_arg2
));
7829 _resultobj
= t_output_helper(_resultobj
, o
);
7834 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
7835 static PyObject
*_wrap_wxTreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7837 wxTreeItemId
* _result
;
7838 wxPyTreeCtrl
* _arg0
;
7839 wxTreeItemId
* _arg1
;
7841 PyObject
* _argo0
= 0;
7842 PyObject
* _argo1
= 0;
7844 PyObject
* _obj2
= 0;
7845 char *_kwnames
[] = { "self","item","INOUT", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_GetNextChild",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p.");
7859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
7866 temp
= (long) PyInt_AsLong(_obj2
);
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 _result
= new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0
,*_arg1
,*_arg2
));
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7876 _resultobj
= Py_BuildValue("s",_ptemp
);
7879 o
= PyInt_FromLong((long) (*_arg2
));
7880 _resultobj
= t_output_helper(_resultobj
, o
);
7885 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
7886 static PyObject
*_wrap_wxTreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7888 wxTreeItemId
* _result
;
7889 wxPyTreeCtrl
* _arg0
;
7890 wxTreeItemId
* _arg1
;
7891 PyObject
* _argo0
= 0;
7892 PyObject
* _argo1
= 0;
7893 char *_kwnames
[] = { "self","item", NULL
};
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextSibling",_kwnames
,&_argo0
,&_argo1
))
7900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p.");
7907 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7908 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 _result
= new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0
,*_arg1
));
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) return NULL
;
7919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7920 _resultobj
= Py_BuildValue("s",_ptemp
);
7924 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
7925 static PyObject
*_wrap_wxTreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7927 wxTreeItemId
* _result
;
7928 wxPyTreeCtrl
* _arg0
;
7929 wxTreeItemId
* _arg1
;
7930 PyObject
* _argo0
= 0;
7931 PyObject
* _argo1
= 0;
7932 char *_kwnames
[] = { "self","item", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevSibling",_kwnames
,&_argo0
,&_argo1
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p.");
7946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
7948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0
,*_arg1
));
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7959 _resultobj
= Py_BuildValue("s",_ptemp
);
7963 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
7964 static PyObject
*_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
* _resultobj
;
7966 wxTreeItemId
* _result
;
7967 wxPyTreeCtrl
* _arg0
;
7968 PyObject
* _argo0
= 0;
7969 char *_kwnames
[] = { "self", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames
,&_argo0
))
7976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p.");
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 _result
= new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0
));
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
7989 _resultobj
= Py_BuildValue("s",_ptemp
);
7993 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
7994 static PyObject
*_wrap_wxTreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7996 wxTreeItemId
* _result
;
7997 wxPyTreeCtrl
* _arg0
;
7998 wxTreeItemId
* _arg1
;
7999 PyObject
* _argo0
= 0;
8000 PyObject
* _argo1
= 0;
8001 char *_kwnames
[] = { "self","item", NULL
};
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetNextVisible",_kwnames
,&_argo0
,&_argo1
))
8008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p.");
8015 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8016 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 _result
= new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0
,*_arg1
));
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) return NULL
;
8027 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8028 _resultobj
= Py_BuildValue("s",_ptemp
);
8032 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
8033 static PyObject
*_wrap_wxTreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8035 wxTreeItemId
* _result
;
8036 wxPyTreeCtrl
* _arg0
;
8037 wxTreeItemId
* _arg1
;
8038 PyObject
* _argo0
= 0;
8039 PyObject
* _argo1
= 0;
8040 char *_kwnames
[] = { "self","item", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetPrevVisible",_kwnames
,&_argo0
,&_argo1
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p.");
8054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 _result
= new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0
,*_arg1
));
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) return NULL
;
8066 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8067 _resultobj
= Py_BuildValue("s",_ptemp
);
8071 #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
8072 static PyObject
*_wrap_wxTreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
* _resultobj
;
8074 wxTreeItemId
* _result
;
8075 wxPyTreeCtrl
* _arg0
;
8076 wxTreeItemId
* _arg1
;
8077 PyObject
* _argo0
= 0;
8078 PyObject
* _argo1
= 0;
8079 char *_kwnames
[] = { "self","item", NULL
};
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_GetLastChild",_kwnames
,&_argo0
,&_argo1
))
8086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p.");
8093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p.");
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 _result
= new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0
,*_arg1
));
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) return NULL
;
8105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8106 _resultobj
= Py_BuildValue("s",_ptemp
);
8110 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8111 static PyObject
*_wrap_wxTreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8113 wxTreeItemId
* _result
;
8114 wxPyTreeCtrl
* _arg0
;
8116 int _arg2
= (int ) -1;
8117 int _arg3
= (int ) -1;
8118 wxPyTreeItemData
* _arg4
= (wxPyTreeItemData
*) NULL
;
8119 PyObject
* _argo0
= 0;
8120 PyObject
* _obj1
= 0;
8121 PyObject
* _argo4
= 0;
8122 char *_kwnames
[] = { "self","text","image","selectedImage","data", NULL
};
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_argo4
))
8129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p.");
8136 _arg1
= wxString_in_helper(_obj1
);
8141 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxPyTreeItemData_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 _result
= new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
));
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) return NULL
;
8153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8154 _resultobj
= Py_BuildValue("s",_ptemp
);
8162 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8163 static PyObject
*_wrap_wxTreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8165 wxTreeItemId
* _result
;
8166 wxPyTreeCtrl
* _arg0
;
8167 wxTreeItemId
* _arg1
;
8169 int _arg3
= (int ) -1;
8170 int _arg4
= (int ) -1;
8171 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8172 PyObject
* _argo0
= 0;
8173 PyObject
* _argo1
= 0;
8174 PyObject
* _obj2
= 0;
8175 PyObject
* _argo5
= 0;
8176 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p.");
8190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
8197 _arg2
= wxString_in_helper(_obj2
);
8202 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8203 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 _result
= new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) return NULL
;
8214 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8215 _resultobj
= Py_BuildValue("s",_ptemp
);
8223 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8224 static PyObject
*_wrap_wxTreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
* _resultobj
;
8226 wxTreeItemId
* _result
;
8227 wxPyTreeCtrl
* _arg0
;
8228 wxTreeItemId
* _arg1
;
8229 wxTreeItemId
* _arg2
;
8231 int _arg4
= (int ) -1;
8232 int _arg5
= (int ) -1;
8233 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8234 PyObject
* _argo0
= 0;
8235 PyObject
* _argo1
= 0;
8236 PyObject
* _argo2
= 0;
8237 PyObject
* _obj3
= 0;
8238 PyObject
* _argo6
= 0;
8239 char *_kwnames
[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p.");
8253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8260 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTreeItemId_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
8267 _arg3
= wxString_in_helper(_obj3
);
8272 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8273 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 _result
= new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) return NULL
;
8284 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8285 _resultobj
= Py_BuildValue("s",_ptemp
);
8293 #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8294 static PyObject
*_wrap_wxTreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8296 wxTreeItemId
* _result
;
8297 wxPyTreeCtrl
* _arg0
;
8298 wxTreeItemId
* _arg1
;
8301 int _arg4
= (int ) -1;
8302 int _arg5
= (int ) -1;
8303 wxPyTreeItemData
* _arg6
= (wxPyTreeItemData
*) NULL
;
8304 PyObject
* _argo0
= 0;
8305 PyObject
* _argo1
= 0;
8306 PyObject
* _obj3
= 0;
8307 PyObject
* _argo6
= 0;
8308 char *_kwnames
[] = { "self","parent","before","text","image","selectedImage","data", NULL
};
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_arg4
,&_arg5
,&_argo6
))
8315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p.");
8322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
8329 _arg3
= wxString_in_helper(_obj3
);
8334 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8335 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPyTreeItemData_p")) {
8336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 _result
= new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
));
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) return NULL
;
8346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8347 _resultobj
= Py_BuildValue("s",_ptemp
);
8355 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8356 static PyObject
*_wrap_wxTreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8358 wxTreeItemId
* _result
;
8359 wxPyTreeCtrl
* _arg0
;
8360 wxTreeItemId
* _arg1
;
8362 int _arg3
= (int ) -1;
8363 int _arg4
= (int ) -1;
8364 wxPyTreeItemData
* _arg5
= (wxPyTreeItemData
*) NULL
;
8365 PyObject
* _argo0
= 0;
8366 PyObject
* _argo1
= 0;
8367 PyObject
* _obj2
= 0;
8368 PyObject
* _argo5
= 0;
8369 char *_kwnames
[] = { "self","parent","text","image","selectedImage","data", NULL
};
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
,&_arg4
,&_argo5
))
8376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p.");
8383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
8390 _arg2
= wxString_in_helper(_obj2
);
8395 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPyTreeItemData_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 _result
= new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
));
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
8408 _resultobj
= Py_BuildValue("s",_ptemp
);
8416 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8417 static PyObject
*_wrap_wxTreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8419 wxPyTreeCtrl
* _arg0
;
8420 wxTreeItemId
* _arg1
;
8421 PyObject
* _argo0
= 0;
8422 PyObject
* _argo1
= 0;
8423 char *_kwnames
[] = { "self","item", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Delete",_kwnames
,&_argo0
,&_argo1
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p.");
8436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 wxTreeCtrl_Delete(_arg0
,*_arg1
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) return NULL
;
8448 } Py_INCREF(Py_None
);
8449 _resultobj
= Py_None
;
8453 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
8454 static PyObject
*_wrap_wxTreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
* _resultobj
;
8456 wxPyTreeCtrl
* _arg0
;
8457 wxTreeItemId
* _arg1
;
8458 PyObject
* _argo0
= 0;
8459 PyObject
* _argo1
= 0;
8460 char *_kwnames
[] = { "self","item", NULL
};
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_DeleteChildren",_kwnames
,&_argo0
,&_argo1
))
8466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p.");
8473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 wxTreeCtrl_DeleteChildren(_arg0
,*_arg1
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) return NULL
;
8485 } Py_INCREF(Py_None
);
8486 _resultobj
= Py_None
;
8490 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
8491 static PyObject
*_wrap_wxTreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8493 wxPyTreeCtrl
* _arg0
;
8494 PyObject
* _argo0
= 0;
8495 char *_kwnames
[] = { "self", NULL
};
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_DeleteAllItems",_kwnames
,&_argo0
))
8501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p.");
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 wxTreeCtrl_DeleteAllItems(_arg0
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) return NULL
;
8513 } Py_INCREF(Py_None
);
8514 _resultobj
= Py_None
;
8518 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
8519 static PyObject
*_wrap_wxTreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
* _resultobj
;
8521 wxPyTreeCtrl
* _arg0
;
8522 wxTreeItemId
* _arg1
;
8523 PyObject
* _argo0
= 0;
8524 PyObject
* _argo1
= 0;
8525 char *_kwnames
[] = { "self","item", NULL
};
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Expand",_kwnames
,&_argo0
,&_argo1
))
8531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p.");
8538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxTreeCtrl_Expand(_arg0
,*_arg1
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8550 } Py_INCREF(Py_None
);
8551 _resultobj
= Py_None
;
8555 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
8556 static PyObject
*_wrap_wxTreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
* _resultobj
;
8558 wxPyTreeCtrl
* _arg0
;
8559 wxTreeItemId
* _arg1
;
8560 PyObject
* _argo0
= 0;
8561 PyObject
* _argo1
= 0;
8562 char *_kwnames
[] = { "self","item", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Collapse",_kwnames
,&_argo0
,&_argo1
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p.");
8575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 wxTreeCtrl_Collapse(_arg0
,*_arg1
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) return NULL
;
8587 } Py_INCREF(Py_None
);
8588 _resultobj
= Py_None
;
8592 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
8593 static PyObject
*_wrap_wxTreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8595 wxPyTreeCtrl
* _arg0
;
8596 wxTreeItemId
* _arg1
;
8597 PyObject
* _argo0
= 0;
8598 PyObject
* _argo1
= 0;
8599 char *_kwnames
[] = { "self","item", NULL
};
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_CollapseAndReset",_kwnames
,&_argo0
,&_argo1
))
8605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p.");
8612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxTreeCtrl_CollapseAndReset(_arg0
,*_arg1
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8624 } Py_INCREF(Py_None
);
8625 _resultobj
= Py_None
;
8629 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
8630 static PyObject
*_wrap_wxTreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8632 wxPyTreeCtrl
* _arg0
;
8633 wxTreeItemId
* _arg1
;
8634 PyObject
* _argo0
= 0;
8635 PyObject
* _argo1
= 0;
8636 char *_kwnames
[] = { "self","item", NULL
};
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_Toggle",_kwnames
,&_argo0
,&_argo1
))
8642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p.");
8649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxTreeCtrl_Toggle(_arg0
,*_arg1
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) return NULL
;
8661 } Py_INCREF(Py_None
);
8662 _resultobj
= Py_None
;
8666 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
8667 static PyObject
*_wrap_wxTreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8669 wxPyTreeCtrl
* _arg0
;
8670 PyObject
* _argo0
= 0;
8671 char *_kwnames
[] = { "self", NULL
};
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_Unselect",_kwnames
,&_argo0
))
8677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p.");
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 wxTreeCtrl_Unselect(_arg0
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) return NULL
;
8689 } Py_INCREF(Py_None
);
8690 _resultobj
= Py_None
;
8694 #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
8695 static PyObject
*_wrap_wxTreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
* _resultobj
;
8697 wxPyTreeCtrl
* _arg0
;
8698 PyObject
* _argo0
= 0;
8699 char *_kwnames
[] = { "self", NULL
};
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_UnselectAll",_kwnames
,&_argo0
))
8705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p.");
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 wxTreeCtrl_UnselectAll(_arg0
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) return NULL
;
8717 } Py_INCREF(Py_None
);
8718 _resultobj
= Py_None
;
8722 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
8723 static PyObject
*_wrap_wxTreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
* _resultobj
;
8725 wxPyTreeCtrl
* _arg0
;
8726 wxTreeItemId
* _arg1
;
8727 PyObject
* _argo0
= 0;
8728 PyObject
* _argo1
= 0;
8729 char *_kwnames
[] = { "self","item", NULL
};
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SelectItem",_kwnames
,&_argo0
,&_argo1
))
8735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p.");
8742 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8743 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 wxTreeCtrl_SelectItem(_arg0
,*_arg1
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) return NULL
;
8754 } Py_INCREF(Py_None
);
8755 _resultobj
= Py_None
;
8759 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
8760 static PyObject
*_wrap_wxTreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
* _resultobj
;
8762 wxPyTreeCtrl
* _arg0
;
8763 wxTreeItemId
* _arg1
;
8764 PyObject
* _argo0
= 0;
8765 PyObject
* _argo1
= 0;
8766 char *_kwnames
[] = { "self","item", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EnsureVisible",_kwnames
,&_argo0
,&_argo1
))
8772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p.");
8779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 wxTreeCtrl_EnsureVisible(_arg0
,*_arg1
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) return NULL
;
8791 } Py_INCREF(Py_None
);
8792 _resultobj
= Py_None
;
8796 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
8797 static PyObject
*_wrap_wxTreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
* _resultobj
;
8799 wxPyTreeCtrl
* _arg0
;
8800 wxTreeItemId
* _arg1
;
8801 PyObject
* _argo0
= 0;
8802 PyObject
* _argo1
= 0;
8803 char *_kwnames
[] = { "self","item", NULL
};
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_ScrollTo",_kwnames
,&_argo0
,&_argo1
))
8809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p.");
8816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 wxTreeCtrl_ScrollTo(_arg0
,*_arg1
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) return NULL
;
8828 } Py_INCREF(Py_None
);
8829 _resultobj
= Py_None
;
8833 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
8834 static PyObject
*_wrap_wxTreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
* _resultobj
;
8836 wxTextCtrl
* _result
;
8837 wxPyTreeCtrl
* _arg0
;
8838 wxTreeItemId
* _arg1
;
8839 PyObject
* _argo0
= 0;
8840 PyObject
* _argo1
= 0;
8841 char *_kwnames
[] = { "self","item", NULL
};
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_EditLabel",_kwnames
,&_argo0
,&_argo1
))
8847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p.");
8854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 _result
= (wxTextCtrl
*)wxTreeCtrl_EditLabel(_arg0
,*_arg1
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) return NULL
;
8866 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8870 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
8871 static PyObject
*_wrap_wxTreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
* _resultobj
;
8873 wxTextCtrl
* _result
;
8874 wxPyTreeCtrl
* _arg0
;
8875 PyObject
* _argo0
= 0;
8876 char *_kwnames
[] = { "self", NULL
};
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCtrl_GetEditControl",_kwnames
,&_argo0
))
8882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p.");
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 _result
= (wxTextCtrl
*)wxTreeCtrl_GetEditControl(_arg0
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) return NULL
;
8894 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8898 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
8899 static PyObject
*_wrap_wxTreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
* _resultobj
;
8901 wxPyTreeCtrl
* _arg0
;
8902 wxTreeItemId
* _arg1
;
8903 int _arg2
= (int ) FALSE
;
8904 PyObject
* _argo0
= 0;
8905 PyObject
* _argo1
= 0;
8906 char *_kwnames
[] = { "self","item","discardChanges", NULL
};
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p.");
8919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxTreeCtrl_EndEditLabel(_arg0
,*_arg1
,_arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) return NULL
;
8931 } Py_INCREF(Py_None
);
8932 _resultobj
= Py_None
;
8936 #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
8937 static PyObject
*_wrap_wxTreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
* _resultobj
;
8939 wxPyTreeCtrl
* _arg0
;
8940 wxTreeItemId
* _arg1
;
8941 PyObject
* _argo0
= 0;
8942 PyObject
* _argo1
= 0;
8943 char *_kwnames
[] = { "self","item", NULL
};
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_SortChildren",_kwnames
,&_argo0
,&_argo1
))
8949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p.");
8956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p.");
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxTreeCtrl_SortChildren(_arg0
,*_arg1
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) return NULL
;
8968 } Py_INCREF(Py_None
);
8969 _resultobj
= Py_None
;
8973 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
8974 static PyObject
*_wrap_wxTreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
* _resultobj
;
8976 wxPyTreeCtrl
* _arg0
;
8977 wxTreeItemId
* _arg1
;
8978 int _arg2
= (int ) TRUE
;
8979 PyObject
* _argo0
= 0;
8980 PyObject
* _argo1
= 0;
8981 char *_kwnames
[] = { "self","item","bold", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemBold",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p.");
8994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
8996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 wxTreeCtrl_SetItemBold(_arg0
,*_arg1
,_arg2
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) return NULL
;
9006 } Py_INCREF(Py_None
);
9007 _resultobj
= Py_None
;
9011 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
9012 static PyObject
*_wrap_wxTreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
* _resultobj
;
9015 wxPyTreeCtrl
* _arg0
;
9016 wxTreeItemId
* _arg1
;
9017 PyObject
* _argo0
= 0;
9018 PyObject
* _argo1
= 0;
9019 char *_kwnames
[] = { "self","item", NULL
};
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_IsBold",_kwnames
,&_argo0
,&_argo1
))
9025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p.");
9032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 _result
= (bool )wxTreeCtrl_IsBold(_arg0
,*_arg1
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) return NULL
;
9044 } _resultobj
= Py_BuildValue("i",_result
);
9048 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
9049 static PyObject
*_wrap_wxTreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
* _resultobj
;
9051 wxTreeItemId
* _result
;
9052 wxPyTreeCtrl
* _arg0
;
9056 PyObject
* _argo0
= 0;
9058 PyObject
* _obj1
= 0;
9059 char *_kwnames
[] = { "self","point", NULL
};
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCtrl_HitTest",_kwnames
,&_argo0
,&_obj1
))
9069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p.");
9077 if (! wxPoint_helper(_obj1
, &_arg1
))
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 _result
= new wxTreeItemId (wxTreeCtrl_HitTest(_arg0
,*_arg1
,*_arg2
));
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) return NULL
;
9086 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
9087 _resultobj
= Py_BuildValue("s",_ptemp
);
9090 o
= PyInt_FromLong((long) (*_arg2
));
9091 _resultobj
= t_output_helper(_resultobj
, o
);
9096 #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
9097 static PyObject
*_wrap_wxTreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
* _resultobj
;
9099 wxPyTreeCtrl
* _arg0
;
9100 wxTreeItemId
* _arg1
;
9102 PyObject
* _argo0
= 0;
9103 PyObject
* _argo1
= 0;
9105 PyObject
* _obj2
= 0;
9106 char *_kwnames
[] = { "self","item","col", NULL
};
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p.");
9119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
9127 if (! wxColour_helper(_obj2
, &_arg2
))
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 wxTreeCtrl_SetItemTextColour(_arg0
,*_arg1
,*_arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) return NULL
;
9136 } Py_INCREF(Py_None
);
9137 _resultobj
= Py_None
;
9141 #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
9142 static PyObject
*_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
* _resultobj
;
9144 wxPyTreeCtrl
* _arg0
;
9145 wxTreeItemId
* _arg1
;
9147 PyObject
* _argo0
= 0;
9148 PyObject
* _argo1
= 0;
9150 PyObject
* _obj2
= 0;
9151 char *_kwnames
[] = { "self","item","col", NULL
};
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p.");
9164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
9172 if (! wxColour_helper(_obj2
, &_arg2
))
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 wxTreeCtrl_SetItemBackgroundColour(_arg0
,*_arg1
,*_arg2
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) return NULL
;
9181 } Py_INCREF(Py_None
);
9182 _resultobj
= Py_None
;
9186 #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
9187 static PyObject
*_wrap_wxTreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
* _resultobj
;
9189 wxPyTreeCtrl
* _arg0
;
9190 wxTreeItemId
* _arg1
;
9192 PyObject
* _argo0
= 0;
9193 PyObject
* _argo1
= 0;
9194 PyObject
* _argo2
= 0;
9195 char *_kwnames
[] = { "self","item","font", NULL
};
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCtrl_SetItemFont",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p.");
9208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p.");
9215 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9216 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
9217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p.");
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxTreeCtrl_SetItemFont(_arg0
,*_arg1
,*_arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) return NULL
;
9227 } Py_INCREF(Py_None
);
9228 _resultobj
= Py_None
;
9232 #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1))
9233 static PyObject
*_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
* _resultobj
;
9235 wxPyTreeCtrl
* _arg0
;
9236 wxTreeItemId
* _arg1
;
9237 int _arg2
= (int ) TRUE
;
9238 PyObject
* _argo0
= 0;
9239 PyObject
* _argo1
= 0;
9240 char *_kwnames
[] = { "self","item","highlight", NULL
};
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p.");
9253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p.");
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxTreeCtrl_SetItemDropHighlight(_arg0
,*_arg1
,_arg2
);
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) return NULL
;
9265 } Py_INCREF(Py_None
);
9266 _resultobj
= Py_None
;
9270 static PyObject
* wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,const wxTreeItemId
& item
,int textOnly
) {
9272 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
9273 wxPyBeginBlockThreads();
9274 wxRect
* r
= new wxRect(rect
);
9275 PyObject
* val
= wxPyConstructObject((void*)r
, "wxRect");
9276 wxPyEndBlockThreads();
9284 static PyObject
*_wrap_wxTreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9287 wxPyTreeCtrl
* _arg0
;
9288 wxTreeItemId
* _arg1
;
9289 int _arg2
= (int ) FALSE
;
9290 PyObject
* _argo0
= 0;
9291 PyObject
* _argo1
= 0;
9292 char *_kwnames
[] = { "self","item","textOnly", NULL
};
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
9298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCtrl_p")) {
9300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p.");
9305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
9307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 _result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(_arg0
,*_arg1
,_arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) return NULL
;
9318 _resultobj
= _result
;
9323 static void *SwigwxDirItemDataTowxObject(void *ptr
) {
9326 src
= (wxDirItemData
*) ptr
;
9327 dest
= (wxObject
*) src
;
9328 return (void *) dest
;
9331 #define new_wxDirItemData(_swigarg0,_swigarg1,_swigarg2) (new wxDirItemData(_swigarg0,_swigarg1,_swigarg2))
9332 static PyObject
*_wrap_new_wxDirItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
* _resultobj
;
9334 wxDirItemData
* _result
;
9338 PyObject
* _obj0
= 0;
9339 PyObject
* _obj1
= 0;
9341 char *_kwnames
[] = { "path","name","isDir", NULL
};
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:new_wxDirItemData",_kwnames
,&_obj0
,&_obj1
,&tempbool2
))
9348 _arg0
= wxString_in_helper(_obj0
);
9353 _arg1
= wxString_in_helper(_obj1
);
9357 _arg2
= (bool ) tempbool2
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 _result
= (wxDirItemData
*)new_wxDirItemData(*_arg0
,*_arg1
,_arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) return NULL
;
9365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirItemData_p");
9366 _resultobj
= Py_BuildValue("s",_ptemp
);
9369 _resultobj
= Py_None
;
9382 #define wxDirItemData_SetNewDirName(_swigobj,_swigarg0) (_swigobj->SetNewDirName(_swigarg0))
9383 static PyObject
*_wrap_wxDirItemData_SetNewDirName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
* _resultobj
;
9385 wxDirItemData
* _arg0
;
9387 PyObject
* _argo0
= 0;
9388 PyObject
* _obj1
= 0;
9389 char *_kwnames
[] = { "self","path", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_SetNewDirName",_kwnames
,&_argo0
,&_obj1
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_SetNewDirName. Expected _wxDirItemData_p.");
9402 _arg1
= wxString_in_helper(_obj1
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxDirItemData_SetNewDirName(_arg0
,*_arg1
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 } Py_INCREF(Py_None
);
9413 _resultobj
= Py_None
;
9421 #define wxDirItemData_m_path_set(_swigobj,_swigval) (_swigobj->m_path = *(_swigval),_swigval)
9422 static PyObject
*_wrap_wxDirItemData_m_path_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
* _resultobj
;
9425 wxDirItemData
* _arg0
;
9427 PyObject
* _argo0
= 0;
9428 PyObject
* _obj1
= 0;
9429 char *_kwnames
[] = { "self","m_path", NULL
};
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_path_set",_kwnames
,&_argo0
,&_obj1
))
9435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_set. Expected _wxDirItemData_p.");
9442 _arg1
= wxString_in_helper(_obj1
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 _result
= (wxString
*)wxDirItemData_m_path_set(_arg0
,_arg1
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) return NULL
;
9454 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9456 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9466 #define wxDirItemData_m_path_get(_swigobj) (&_swigobj->m_path)
9467 static PyObject
*_wrap_wxDirItemData_m_path_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
* _resultobj
;
9470 wxDirItemData
* _arg0
;
9471 PyObject
* _argo0
= 0;
9472 char *_kwnames
[] = { "self", NULL
};
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_path_get",_kwnames
,&_argo0
))
9478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_path_get. Expected _wxDirItemData_p.");
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 _result
= (wxString
*)wxDirItemData_m_path_get(_arg0
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) return NULL
;
9492 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9494 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9500 #define wxDirItemData_m_name_set(_swigobj,_swigval) (_swigobj->m_name = *(_swigval),_swigval)
9501 static PyObject
*_wrap_wxDirItemData_m_name_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
* _resultobj
;
9504 wxDirItemData
* _arg0
;
9506 PyObject
* _argo0
= 0;
9507 PyObject
* _obj1
= 0;
9508 char *_kwnames
[] = { "self","m_name", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDirItemData_m_name_set",_kwnames
,&_argo0
,&_obj1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_set. Expected _wxDirItemData_p.");
9521 _arg1
= wxString_in_helper(_obj1
);
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= (wxString
*)wxDirItemData_m_name_set(_arg0
,_arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9533 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9545 #define wxDirItemData_m_name_get(_swigobj) (&_swigobj->m_name)
9546 static PyObject
*_wrap_wxDirItemData_m_name_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9549 wxDirItemData
* _arg0
;
9550 PyObject
* _argo0
= 0;
9551 char *_kwnames
[] = { "self", NULL
};
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_name_get",_kwnames
,&_argo0
))
9557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_name_get. Expected _wxDirItemData_p.");
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 _result
= (wxString
*)wxDirItemData_m_name_get(_arg0
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9571 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9573 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9579 #define wxDirItemData_m_isHidden_set(_swigobj,_swigval) (_swigobj->m_isHidden = _swigval,_swigval)
9580 static PyObject
*_wrap_wxDirItemData_m_isHidden_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
* _resultobj
;
9583 wxDirItemData
* _arg0
;
9585 PyObject
* _argo0
= 0;
9587 char *_kwnames
[] = { "self","m_isHidden", NULL
};
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isHidden_set",_kwnames
,&_argo0
,&tempbool1
))
9593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_set. Expected _wxDirItemData_p.");
9599 _arg1
= (bool ) tempbool1
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 _result
= (bool )wxDirItemData_m_isHidden_set(_arg0
,_arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9606 } _resultobj
= Py_BuildValue("i",_result
);
9610 #define wxDirItemData_m_isHidden_get(_swigobj) ((bool ) _swigobj->m_isHidden)
9611 static PyObject
*_wrap_wxDirItemData_m_isHidden_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
* _resultobj
;
9614 wxDirItemData
* _arg0
;
9615 PyObject
* _argo0
= 0;
9616 char *_kwnames
[] = { "self", NULL
};
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isHidden_get",_kwnames
,&_argo0
))
9622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isHidden_get. Expected _wxDirItemData_p.");
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 _result
= (bool )wxDirItemData_m_isHidden_get(_arg0
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) return NULL
;
9634 } _resultobj
= Py_BuildValue("i",_result
);
9638 #define wxDirItemData_m_isExpanded_set(_swigobj,_swigval) (_swigobj->m_isExpanded = _swigval,_swigval)
9639 static PyObject
*_wrap_wxDirItemData_m_isExpanded_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
* _resultobj
;
9642 wxDirItemData
* _arg0
;
9644 PyObject
* _argo0
= 0;
9646 char *_kwnames
[] = { "self","m_isExpanded", NULL
};
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isExpanded_set",_kwnames
,&_argo0
,&tempbool1
))
9652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_set. Expected _wxDirItemData_p.");
9658 _arg1
= (bool ) tempbool1
;
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 _result
= (bool )wxDirItemData_m_isExpanded_set(_arg0
,_arg1
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) return NULL
;
9665 } _resultobj
= Py_BuildValue("i",_result
);
9669 #define wxDirItemData_m_isExpanded_get(_swigobj) ((bool ) _swigobj->m_isExpanded)
9670 static PyObject
*_wrap_wxDirItemData_m_isExpanded_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
* _resultobj
;
9673 wxDirItemData
* _arg0
;
9674 PyObject
* _argo0
= 0;
9675 char *_kwnames
[] = { "self", NULL
};
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isExpanded_get",_kwnames
,&_argo0
))
9681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isExpanded_get. Expected _wxDirItemData_p.");
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 _result
= (bool )wxDirItemData_m_isExpanded_get(_arg0
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) return NULL
;
9693 } _resultobj
= Py_BuildValue("i",_result
);
9697 #define wxDirItemData_m_isDir_set(_swigobj,_swigval) (_swigobj->m_isDir = _swigval,_swigval)
9698 static PyObject
*_wrap_wxDirItemData_m_isDir_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
* _resultobj
;
9701 wxDirItemData
* _arg0
;
9703 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "self","m_isDir", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDirItemData_m_isDir_set",_kwnames
,&_argo0
,&tempbool1
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_set. Expected _wxDirItemData_p.");
9717 _arg1
= (bool ) tempbool1
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 _result
= (bool )wxDirItemData_m_isDir_set(_arg0
,_arg1
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) return NULL
;
9724 } _resultobj
= Py_BuildValue("i",_result
);
9728 #define wxDirItemData_m_isDir_get(_swigobj) ((bool ) _swigobj->m_isDir)
9729 static PyObject
*_wrap_wxDirItemData_m_isDir_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
* _resultobj
;
9732 wxDirItemData
* _arg0
;
9733 PyObject
* _argo0
= 0;
9734 char *_kwnames
[] = { "self", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDirItemData_m_isDir_get",_kwnames
,&_argo0
))
9740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirItemData_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirItemData_m_isDir_get. Expected _wxDirItemData_p.");
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 _result
= (bool )wxDirItemData_m_isDir_get(_arg0
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) return NULL
;
9752 } _resultobj
= Py_BuildValue("i",_result
);
9756 static void *SwigwxGenericDirCtrlTowxControl(void *ptr
) {
9757 wxGenericDirCtrl
*src
;
9759 src
= (wxGenericDirCtrl
*) ptr
;
9760 dest
= (wxControl
*) src
;
9761 return (void *) dest
;
9764 static void *SwigwxGenericDirCtrlTowxWindow(void *ptr
) {
9765 wxGenericDirCtrl
*src
;
9767 src
= (wxGenericDirCtrl
*) ptr
;
9768 dest
= (wxWindow
*) src
;
9769 return (void *) dest
;
9772 static void *SwigwxGenericDirCtrlTowxEvtHandler(void *ptr
) {
9773 wxGenericDirCtrl
*src
;
9775 src
= (wxGenericDirCtrl
*) ptr
;
9776 dest
= (wxEvtHandler
*) src
;
9777 return (void *) dest
;
9780 static void *SwigwxGenericDirCtrlTowxObject(void *ptr
) {
9781 wxGenericDirCtrl
*src
;
9783 src
= (wxGenericDirCtrl
*) ptr
;
9784 dest
= (wxObject
*) src
;
9785 return (void *) dest
;
9788 #define new_wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxGenericDirCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9789 static PyObject
*_wrap_new_wxGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
* _resultobj
;
9791 wxGenericDirCtrl
* _result
;
9793 wxWindowID _arg1
= (wxWindowID
) -1;
9794 wxString
* _arg2
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9795 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9796 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9797 long _arg5
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9798 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
9799 int _arg7
= (int ) 0;
9800 wxString
* _arg8
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9801 PyObject
* _argo0
= 0;
9802 PyObject
* _obj2
= 0;
9804 PyObject
* _obj3
= 0;
9806 PyObject
* _obj4
= 0;
9807 PyObject
* _obj6
= 0;
9808 PyObject
* _obj8
= 0;
9809 char *_kwnames
[] = { "parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOlOiO:new_wxGenericDirCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
,&_arg7
,&_obj8
))
9816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGenericDirCtrl. Expected _wxWindow_p.");
9824 _arg2
= wxString_in_helper(_obj2
);
9831 if (! wxPoint_helper(_obj3
, &_arg3
))
9837 if (! wxSize_helper(_obj4
, &_arg4
))
9842 _arg6
= wxString_in_helper(_obj6
);
9848 _arg8
= wxString_in_helper(_obj8
);
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 _result
= (wxGenericDirCtrl
*)new_wxGenericDirCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
,*_arg8
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) return NULL
;
9859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9860 _resultobj
= Py_BuildValue("s",_ptemp
);
9863 _resultobj
= Py_None
;
9880 #define new_wxPreGenericDirCtrl() (new wxGenericDirCtrl())
9881 static PyObject
*_wrap_new_wxPreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
* _resultobj
;
9883 wxGenericDirCtrl
* _result
;
9884 char *_kwnames
[] = { NULL
};
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGenericDirCtrl",_kwnames
))
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 _result
= (wxGenericDirCtrl
*)new_wxPreGenericDirCtrl();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) return NULL
;
9897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDirCtrl_p");
9898 _resultobj
= Py_BuildValue("s",_ptemp
);
9901 _resultobj
= Py_None
;
9906 #define wxGenericDirCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
9907 static PyObject
*_wrap_wxGenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
* _resultobj
;
9910 wxGenericDirCtrl
* _arg0
;
9912 wxWindowID _arg2
= (wxWindowID
) -1;
9913 wxString
* _arg3
= (wxString
*) &wxPyDirDialogDefaultFolderStr
;
9914 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9915 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9916 long _arg6
= (long ) (wxDIRCTRL_3D_INTERNAL
)|wxSUNKEN_BORDER
;
9917 wxString
* _arg7
= (wxString
*) &wxPyEmptyString
;
9918 int _arg8
= (int ) 0;
9919 wxString
* _arg9
= (wxString
*) &wxPy_TreeCtrlNameStr
;
9920 PyObject
* _argo0
= 0;
9921 PyObject
* _argo1
= 0;
9922 PyObject
* _obj3
= 0;
9924 PyObject
* _obj4
= 0;
9926 PyObject
* _obj5
= 0;
9927 PyObject
* _obj7
= 0;
9928 PyObject
* _obj9
= 0;
9929 char *_kwnames
[] = { "self","parent","id","dir","pos","size","style","filter","defaultFilter","name", NULL
};
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOlOiO:wxGenericDirCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
,&_arg8
,&_obj9
))
9935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
9937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_Create. Expected _wxGenericDirCtrl_p.");
9942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGenericDirCtrl_Create. Expected _wxWindow_p.");
9950 _arg3
= wxString_in_helper(_obj3
);
9957 if (! wxPoint_helper(_obj4
, &_arg4
))
9963 if (! wxSize_helper(_obj5
, &_arg5
))
9968 _arg7
= wxString_in_helper(_obj7
);
9974 _arg9
= wxString_in_helper(_obj9
);
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 _result
= (bool )wxGenericDirCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
,*_arg9
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) return NULL
;
9984 } _resultobj
= Py_BuildValue("i",_result
);
10000 #define wxGenericDirCtrl_ExpandPath(_swigobj,_swigarg0) (_swigobj->ExpandPath(_swigarg0))
10001 static PyObject
*_wrap_wxGenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
* _resultobj
;
10004 wxGenericDirCtrl
* _arg0
;
10006 PyObject
* _argo0
= 0;
10007 PyObject
* _obj1
= 0;
10008 char *_kwnames
[] = { "self","path", NULL
};
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_ExpandPath",_kwnames
,&_argo0
,&_obj1
))
10014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ExpandPath. Expected _wxGenericDirCtrl_p.");
10021 _arg1
= wxString_in_helper(_obj1
);
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 _result
= (bool )wxGenericDirCtrl_ExpandPath(_arg0
,*_arg1
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) return NULL
;
10031 } _resultobj
= Py_BuildValue("i",_result
);
10039 #define wxGenericDirCtrl_GetDefaultPath(_swigobj) (_swigobj->GetDefaultPath())
10040 static PyObject
*_wrap_wxGenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
* _resultobj
;
10042 wxString
* _result
;
10043 wxGenericDirCtrl
* _arg0
;
10044 PyObject
* _argo0
= 0;
10045 char *_kwnames
[] = { "self", NULL
};
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetDefaultPath",_kwnames
,&_argo0
))
10051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetDefaultPath. Expected _wxGenericDirCtrl_p.");
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 _result
= new wxString (wxGenericDirCtrl_GetDefaultPath(_arg0
));
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) return NULL
;
10065 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10067 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10076 #define wxGenericDirCtrl_SetDefaultPath(_swigobj,_swigarg0) (_swigobj->SetDefaultPath(_swigarg0))
10077 static PyObject
*_wrap_wxGenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
* _resultobj
;
10079 wxGenericDirCtrl
* _arg0
;
10081 PyObject
* _argo0
= 0;
10082 PyObject
* _obj1
= 0;
10083 char *_kwnames
[] = { "self","path", NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetDefaultPath",_kwnames
,&_argo0
,&_obj1
))
10089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetDefaultPath. Expected _wxGenericDirCtrl_p.");
10096 _arg1
= wxString_in_helper(_obj1
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 wxGenericDirCtrl_SetDefaultPath(_arg0
,*_arg1
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) return NULL
;
10106 } Py_INCREF(Py_None
);
10107 _resultobj
= Py_None
;
10115 #define wxGenericDirCtrl_GetPath(_swigobj) (_swigobj->GetPath())
10116 static PyObject
*_wrap_wxGenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
* _resultobj
;
10118 wxString
* _result
;
10119 wxGenericDirCtrl
* _arg0
;
10120 PyObject
* _argo0
= 0;
10121 char *_kwnames
[] = { "self", NULL
};
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetPath",_kwnames
,&_argo0
))
10127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetPath. Expected _wxGenericDirCtrl_p.");
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 _result
= new wxString (wxGenericDirCtrl_GetPath(_arg0
));
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) return NULL
;
10141 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10152 #define wxGenericDirCtrl_GetFilePath(_swigobj) (_swigobj->GetFilePath())
10153 static PyObject
*_wrap_wxGenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
* _resultobj
;
10155 wxString
* _result
;
10156 wxGenericDirCtrl
* _arg0
;
10157 PyObject
* _argo0
= 0;
10158 char *_kwnames
[] = { "self", NULL
};
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilePath",_kwnames
,&_argo0
))
10164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilePath. Expected _wxGenericDirCtrl_p.");
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 _result
= new wxString (wxGenericDirCtrl_GetFilePath(_arg0
));
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) return NULL
;
10178 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10180 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10189 #define wxGenericDirCtrl_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
10190 static PyObject
*_wrap_wxGenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
* _resultobj
;
10192 wxGenericDirCtrl
* _arg0
;
10194 PyObject
* _argo0
= 0;
10195 PyObject
* _obj1
= 0;
10196 char *_kwnames
[] = { "self","path", NULL
};
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetPath",_kwnames
,&_argo0
,&_obj1
))
10202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetPath. Expected _wxGenericDirCtrl_p.");
10209 _arg1
= wxString_in_helper(_obj1
);
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxGenericDirCtrl_SetPath(_arg0
,*_arg1
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) return NULL
;
10219 } Py_INCREF(Py_None
);
10220 _resultobj
= Py_None
;
10228 #define wxGenericDirCtrl_ShowHidden(_swigobj,_swigarg0) (_swigobj->ShowHidden(_swigarg0))
10229 static PyObject
*_wrap_wxGenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
* _resultobj
;
10231 wxGenericDirCtrl
* _arg0
;
10233 PyObject
* _argo0
= 0;
10235 char *_kwnames
[] = { "self","show", NULL
};
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_ShowHidden",_kwnames
,&_argo0
,&tempbool1
))
10241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_ShowHidden. Expected _wxGenericDirCtrl_p.");
10247 _arg1
= (bool ) tempbool1
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 wxGenericDirCtrl_ShowHidden(_arg0
,_arg1
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) return NULL
;
10254 } Py_INCREF(Py_None
);
10255 _resultobj
= Py_None
;
10259 #define wxGenericDirCtrl_GetShowHidden(_swigobj) (_swigobj->GetShowHidden())
10260 static PyObject
*_wrap_wxGenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
* _resultobj
;
10263 wxGenericDirCtrl
* _arg0
;
10264 PyObject
* _argo0
= 0;
10265 char *_kwnames
[] = { "self", NULL
};
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetShowHidden",_kwnames
,&_argo0
))
10271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetShowHidden. Expected _wxGenericDirCtrl_p.");
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 _result
= (bool )wxGenericDirCtrl_GetShowHidden(_arg0
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) return NULL
;
10283 } _resultobj
= Py_BuildValue("i",_result
);
10287 #define wxGenericDirCtrl_GetFilter(_swigobj) (_swigobj->GetFilter())
10288 static PyObject
*_wrap_wxGenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
* _resultobj
;
10290 wxString
* _result
;
10291 wxGenericDirCtrl
* _arg0
;
10292 PyObject
* _argo0
= 0;
10293 char *_kwnames
[] = { "self", NULL
};
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilter",_kwnames
,&_argo0
))
10299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilter. Expected _wxGenericDirCtrl_p.");
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 _result
= new wxString (wxGenericDirCtrl_GetFilter(_arg0
));
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) return NULL
;
10313 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10315 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10324 #define wxGenericDirCtrl_SetFilter(_swigobj,_swigarg0) (_swigobj->SetFilter(_swigarg0))
10325 static PyObject
*_wrap_wxGenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10327 wxGenericDirCtrl
* _arg0
;
10329 PyObject
* _argo0
= 0;
10330 PyObject
* _obj1
= 0;
10331 char *_kwnames
[] = { "self","filter", NULL
};
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGenericDirCtrl_SetFilter",_kwnames
,&_argo0
,&_obj1
))
10337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilter. Expected _wxGenericDirCtrl_p.");
10344 _arg1
= wxString_in_helper(_obj1
);
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 wxGenericDirCtrl_SetFilter(_arg0
,*_arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) return NULL
;
10354 } Py_INCREF(Py_None
);
10355 _resultobj
= Py_None
;
10363 #define wxGenericDirCtrl_GetFilterIndex(_swigobj) (_swigobj->GetFilterIndex())
10364 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
* _resultobj
;
10367 wxGenericDirCtrl
* _arg0
;
10368 PyObject
* _argo0
= 0;
10369 char *_kwnames
[] = { "self", NULL
};
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterIndex",_kwnames
,&_argo0
))
10375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterIndex. Expected _wxGenericDirCtrl_p.");
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 _result
= (int )wxGenericDirCtrl_GetFilterIndex(_arg0
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) return NULL
;
10387 } _resultobj
= Py_BuildValue("i",_result
);
10391 #define wxGenericDirCtrl_SetFilterIndex(_swigobj,_swigarg0) (_swigobj->SetFilterIndex(_swigarg0))
10392 static PyObject
*_wrap_wxGenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
* _resultobj
;
10394 wxGenericDirCtrl
* _arg0
;
10396 PyObject
* _argo0
= 0;
10397 char *_kwnames
[] = { "self","n", NULL
};
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGenericDirCtrl_SetFilterIndex",_kwnames
,&_argo0
,&_arg1
))
10403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_SetFilterIndex. Expected _wxGenericDirCtrl_p.");
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 wxGenericDirCtrl_SetFilterIndex(_arg0
,_arg1
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) return NULL
;
10415 } Py_INCREF(Py_None
);
10416 _resultobj
= Py_None
;
10420 #define wxGenericDirCtrl_GetRootId(_swigobj) (_swigobj->GetRootId())
10421 static PyObject
*_wrap_wxGenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
* _resultobj
;
10423 wxTreeItemId
* _result
;
10424 wxGenericDirCtrl
* _arg0
;
10425 PyObject
* _argo0
= 0;
10426 char *_kwnames
[] = { "self", NULL
};
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetRootId",_kwnames
,&_argo0
))
10433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetRootId. Expected _wxGenericDirCtrl_p.");
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 _result
= new wxTreeItemId (wxGenericDirCtrl_GetRootId(_arg0
));
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) return NULL
;
10445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTreeItemId_p");
10446 _resultobj
= Py_BuildValue("s",_ptemp
);
10450 #define wxGenericDirCtrl_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
10451 static PyObject
*_wrap_wxGenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
* _resultobj
;
10453 wxTreeCtrl
* _result
;
10454 wxGenericDirCtrl
* _arg0
;
10455 PyObject
* _argo0
= 0;
10456 char *_kwnames
[] = { "self", NULL
};
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetTreeCtrl",_kwnames
,&_argo0
))
10462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetTreeCtrl. Expected _wxGenericDirCtrl_p.");
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 _result
= (wxTreeCtrl
*)wxGenericDirCtrl_GetTreeCtrl(_arg0
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) return NULL
;
10474 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10478 #define wxGenericDirCtrl_GetFilterListCtrl(_swigobj) (_swigobj->GetFilterListCtrl())
10479 static PyObject
*_wrap_wxGenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
* _resultobj
;
10481 wxDirFilterListCtrl
* _result
;
10482 wxGenericDirCtrl
* _arg0
;
10483 PyObject
* _argo0
= 0;
10484 char *_kwnames
[] = { "self", NULL
};
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericDirCtrl_GetFilterListCtrl",_kwnames
,&_argo0
))
10491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGenericDirCtrl_GetFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 _result
= (wxDirFilterListCtrl
*)wxGenericDirCtrl_GetFilterListCtrl(_arg0
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) return NULL
;
10504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10505 _resultobj
= Py_BuildValue("s",_ptemp
);
10507 Py_INCREF(Py_None
);
10508 _resultobj
= Py_None
;
10513 static void *SwigwxDirFilterListCtrlTowxChoice(void *ptr
) {
10514 wxDirFilterListCtrl
*src
;
10516 src
= (wxDirFilterListCtrl
*) ptr
;
10517 dest
= (wxChoice
*) src
;
10518 return (void *) dest
;
10521 static void *SwigwxDirFilterListCtrlTowxControlWithItems(void *ptr
) {
10522 wxDirFilterListCtrl
*src
;
10523 wxControlWithItems
*dest
;
10524 src
= (wxDirFilterListCtrl
*) ptr
;
10525 dest
= (wxControlWithItems
*) src
;
10526 return (void *) dest
;
10529 static void *SwigwxDirFilterListCtrlTowxControl(void *ptr
) {
10530 wxDirFilterListCtrl
*src
;
10532 src
= (wxDirFilterListCtrl
*) ptr
;
10533 dest
= (wxControl
*) src
;
10534 return (void *) dest
;
10537 static void *SwigwxDirFilterListCtrlTowxWindow(void *ptr
) {
10538 wxDirFilterListCtrl
*src
;
10540 src
= (wxDirFilterListCtrl
*) ptr
;
10541 dest
= (wxWindow
*) src
;
10542 return (void *) dest
;
10545 static void *SwigwxDirFilterListCtrlTowxEvtHandler(void *ptr
) {
10546 wxDirFilterListCtrl
*src
;
10547 wxEvtHandler
*dest
;
10548 src
= (wxDirFilterListCtrl
*) ptr
;
10549 dest
= (wxEvtHandler
*) src
;
10550 return (void *) dest
;
10553 static void *SwigwxDirFilterListCtrlTowxObject(void *ptr
) {
10554 wxDirFilterListCtrl
*src
;
10556 src
= (wxDirFilterListCtrl
*) ptr
;
10557 dest
= (wxObject
*) src
;
10558 return (void *) dest
;
10561 #define new_wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxDirFilterListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10562 static PyObject
*_wrap_new_wxDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
* _resultobj
;
10564 wxDirFilterListCtrl
* _result
;
10565 wxGenericDirCtrl
* _arg0
;
10566 wxWindowID _arg1
= (wxWindowID
) -1;
10567 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
10568 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
10569 long _arg4
= (long ) 0;
10570 PyObject
* _argo0
= 0;
10572 PyObject
* _obj2
= 0;
10574 PyObject
* _obj3
= 0;
10575 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxDirFilterListCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
10582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDirCtrl_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDirFilterListCtrl. Expected _wxGenericDirCtrl_p.");
10591 if (! wxPoint_helper(_obj2
, &_arg2
))
10597 if (! wxSize_helper(_obj3
, &_arg3
))
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 _result
= (wxDirFilterListCtrl
*)new_wxDirFilterListCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) return NULL
;
10607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10608 _resultobj
= Py_BuildValue("s",_ptemp
);
10610 Py_INCREF(Py_None
);
10611 _resultobj
= Py_None
;
10616 #define new_wxPreDirFilterListCtrl() (new wxDirFilterListCtrl())
10617 static PyObject
*_wrap_new_wxPreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
* _resultobj
;
10619 wxDirFilterListCtrl
* _result
;
10620 char *_kwnames
[] = { NULL
};
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDirFilterListCtrl",_kwnames
))
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 _result
= (wxDirFilterListCtrl
*)new_wxPreDirFilterListCtrl();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) return NULL
;
10633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDirFilterListCtrl_p");
10634 _resultobj
= Py_BuildValue("s",_ptemp
);
10636 Py_INCREF(Py_None
);
10637 _resultobj
= Py_None
;
10642 #define wxDirFilterListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10643 static PyObject
*_wrap_wxDirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
* _resultobj
;
10646 wxDirFilterListCtrl
* _arg0
;
10647 wxGenericDirCtrl
* _arg1
;
10648 wxWindowID _arg2
= (wxWindowID
) -1;
10649 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10650 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10651 long _arg5
= (long ) 0;
10652 PyObject
* _argo0
= 0;
10653 PyObject
* _argo1
= 0;
10655 PyObject
* _obj3
= 0;
10657 PyObject
* _obj4
= 0;
10658 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxDirFilterListCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
10664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_Create. Expected _wxDirFilterListCtrl_p.");
10671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGenericDirCtrl_p")) {
10673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDirFilterListCtrl_Create. Expected _wxGenericDirCtrl_p.");
10680 if (! wxPoint_helper(_obj3
, &_arg3
))
10686 if (! wxSize_helper(_obj4
, &_arg4
))
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 _result
= (bool )wxDirFilterListCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) return NULL
;
10695 } _resultobj
= Py_BuildValue("i",_result
);
10699 #define wxDirFilterListCtrl_FillFilterList(_swigobj,_swigarg0,_swigarg1) (_swigobj->FillFilterList(_swigarg0,_swigarg1))
10700 static PyObject
*_wrap_wxDirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
* _resultobj
;
10702 wxDirFilterListCtrl
* _arg0
;
10705 PyObject
* _argo0
= 0;
10706 PyObject
* _obj1
= 0;
10707 char *_kwnames
[] = { "self","filter","defaultFilter", NULL
};
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDirFilterListCtrl_FillFilterList",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDirFilterListCtrl_p")) {
10715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDirFilterListCtrl_FillFilterList. Expected _wxDirFilterListCtrl_p.");
10720 _arg1
= wxString_in_helper(_obj1
);
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 wxDirFilterListCtrl_FillFilterList(_arg0
,*_arg1
,_arg2
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) return NULL
;
10730 } Py_INCREF(Py_None
);
10731 _resultobj
= Py_None
;
10739 static PyMethodDef controls2cMethods
[] = {
10740 { "wxDirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_wxDirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxDirFilterListCtrl_Create", (PyCFunction
) _wrap_wxDirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "new_wxPreDirFilterListCtrl", (PyCFunction
) _wrap_new_wxPreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "new_wxDirFilterListCtrl", (PyCFunction
) _wrap_new_wxDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxGenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxGenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_wxGenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxGenericDirCtrl_GetRootId", (PyCFunction
) _wrap_wxGenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxGenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxGenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxGenericDirCtrl_SetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxGenericDirCtrl_GetFilter", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxGenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxGenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_wxGenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxGenericDirCtrl_SetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxGenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxGenericDirCtrl_GetPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxGenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxGenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_wxGenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxGenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_wxGenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxGenericDirCtrl_Create", (PyCFunction
) _wrap_wxGenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "new_wxPreGenericDirCtrl", (PyCFunction
) _wrap_new_wxPreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "new_wxGenericDirCtrl", (PyCFunction
) _wrap_new_wxGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxDirItemData_m_isDir_get", (PyCFunction
) _wrap_wxDirItemData_m_isDir_get
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxDirItemData_m_isDir_set", (PyCFunction
) _wrap_wxDirItemData_m_isDir_set
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxDirItemData_m_isExpanded_get", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_get
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxDirItemData_m_isExpanded_set", (PyCFunction
) _wrap_wxDirItemData_m_isExpanded_set
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxDirItemData_m_isHidden_get", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_get
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxDirItemData_m_isHidden_set", (PyCFunction
) _wrap_wxDirItemData_m_isHidden_set
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxDirItemData_m_name_get", (PyCFunction
) _wrap_wxDirItemData_m_name_get
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxDirItemData_m_name_set", (PyCFunction
) _wrap_wxDirItemData_m_name_set
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxDirItemData_m_path_get", (PyCFunction
) _wrap_wxDirItemData_m_path_get
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxDirItemData_m_path_set", (PyCFunction
) _wrap_wxDirItemData_m_path_set
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxDirItemData_SetNewDirName", (PyCFunction
) _wrap_wxDirItemData_SetNewDirName
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "new_wxDirItemData", (PyCFunction
) _wrap_new_wxDirItemData
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxTreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_wxTreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_wxTreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxTreeCtrl_SetItemFont", (PyCFunction
) _wrap_wxTreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxTreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxTreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxTreeCtrl_HitTest", (PyCFunction
) _wrap_wxTreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxTreeCtrl_IsBold", (PyCFunction
) _wrap_wxTreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxTreeCtrl_SetItemBold", (PyCFunction
) _wrap_wxTreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxTreeCtrl_SortChildren", (PyCFunction
) _wrap_wxTreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxTreeCtrl_EndEditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxTreeCtrl_GetEditControl", (PyCFunction
) _wrap_wxTreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxTreeCtrl_EditLabel", (PyCFunction
) _wrap_wxTreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxTreeCtrl_ScrollTo", (PyCFunction
) _wrap_wxTreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxTreeCtrl_EnsureVisible", (PyCFunction
) _wrap_wxTreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxTreeCtrl_SelectItem", (PyCFunction
) _wrap_wxTreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxTreeCtrl_UnselectAll", (PyCFunction
) _wrap_wxTreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxTreeCtrl_Unselect", (PyCFunction
) _wrap_wxTreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxTreeCtrl_Toggle", (PyCFunction
) _wrap_wxTreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxTreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_wxTreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxTreeCtrl_Collapse", (PyCFunction
) _wrap_wxTreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxTreeCtrl_Expand", (PyCFunction
) _wrap_wxTreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxTreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxTreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxTreeCtrl_DeleteChildren", (PyCFunction
) _wrap_wxTreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxTreeCtrl_Delete", (PyCFunction
) _wrap_wxTreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxTreeCtrl_AppendItem", (PyCFunction
) _wrap_wxTreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxTreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_wxTreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxTreeCtrl_InsertItem", (PyCFunction
) _wrap_wxTreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxTreeCtrl_PrependItem", (PyCFunction
) _wrap_wxTreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxTreeCtrl_AddRoot", (PyCFunction
) _wrap_wxTreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxTreeCtrl_GetLastChild", (PyCFunction
) _wrap_wxTreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxTreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxTreeCtrl_GetNextVisible", (PyCFunction
) _wrap_wxTreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxTreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxTreeCtrl_GetNextSibling", (PyCFunction
) _wrap_wxTreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxTreeCtrl_GetNextChild", (PyCFunction
) _wrap_wxTreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxTreeCtrl_GetFirstChild", (PyCFunction
) _wrap_wxTreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxTreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_wxTreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxTreeCtrl_GetSelections", (PyCFunction
) _wrap_wxTreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxTreeCtrl_GetItemParent", (PyCFunction
) _wrap_wxTreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxTreeCtrl_GetSelection", (PyCFunction
) _wrap_wxTreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxTreeCtrl_GetRootItem", (PyCFunction
) _wrap_wxTreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxTreeCtrl_IsSelected", (PyCFunction
) _wrap_wxTreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxTreeCtrl_IsExpanded", (PyCFunction
) _wrap_wxTreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxTreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxTreeCtrl_IsVisible", (PyCFunction
) _wrap_wxTreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxTreeCtrl_SetPyData", (PyCFunction
) _wrap_wxTreeCtrl_SetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxTreeCtrl_GetPyData", (PyCFunction
) _wrap_wxTreeCtrl_GetPyData
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxTreeCtrl_SetItemData", (PyCFunction
) _wrap_wxTreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxTreeCtrl_GetItemData", (PyCFunction
) _wrap_wxTreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxTreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_wxTreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxTreeCtrl_SetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxTreeCtrl_SetItemText", (PyCFunction
) _wrap_wxTreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemSelectedImage
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxTreeCtrl_GetItemImage", (PyCFunction
) _wrap_wxTreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxTreeCtrl_GetItemText", (PyCFunction
) _wrap_wxTreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxTreeCtrl_SetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxTreeCtrl_GetSpacing", (PyCFunction
) _wrap_wxTreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxTreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxTreeCtrl_AssignImageList", (PyCFunction
) _wrap_wxTreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxTreeCtrl_SetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxTreeCtrl_SetImageList", (PyCFunction
) _wrap_wxTreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxTreeCtrl_GetStateImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxTreeCtrl_GetImageList", (PyCFunction
) _wrap_wxTreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxTreeCtrl_SetIndent", (PyCFunction
) _wrap_wxTreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxTreeCtrl_GetIndent", (PyCFunction
) _wrap_wxTreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxTreeCtrl_GetCount", (PyCFunction
) _wrap_wxTreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxTreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxTreeCtrl_Create", (PyCFunction
) _wrap_wxTreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "new_wxPreTreeCtrl", (PyCFunction
) _wrap_new_wxPreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "new_wxTreeCtrl", (PyCFunction
) _wrap_new_wxTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxTreeEvent_GetLabel", (PyCFunction
) _wrap_wxTreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxTreeEvent_GetCode", (PyCFunction
) _wrap_wxTreeEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxTreeEvent_GetKeyEvent", (PyCFunction
) _wrap_wxTreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTreeEvent_GetPoint", (PyCFunction
) _wrap_wxTreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTreeEvent_GetOldItem", (PyCFunction
) _wrap_wxTreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTreeEvent_GetItem", (PyCFunction
) _wrap_wxTreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "new_wxTreeEvent", (PyCFunction
) _wrap_new_wxTreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTreeItemData_SetId", (PyCFunction
) _wrap_wxTreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxTreeItemData_GetId", (PyCFunction
) _wrap_wxTreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxTreeItemData_SetData", (PyCFunction
) _wrap_wxTreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTreeItemData_GetData", (PyCFunction
) _wrap_wxTreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "new_wxTreeItemData", (PyCFunction
) _wrap_new_wxTreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxTreeItemId___cmp__", (PyCFunction
) _wrap_wxTreeItemId___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxTreeItemId_IsOk", (PyCFunction
) _wrap_wxTreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "delete_wxTreeItemId", (PyCFunction
) _wrap_delete_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "new_wxTreeItemId", (PyCFunction
) _wrap_new_wxTreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxTreeItemAttr_GetFont", (PyCFunction
) _wrap_wxTreeItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxTreeItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxTreeItemAttr_GetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxTreeItemAttr_HasFont", (PyCFunction
) _wrap_wxTreeItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxTreeItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxTreeItemAttr_HasTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxTreeItemAttr_SetFont", (PyCFunction
) _wrap_wxTreeItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxTreeItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxTreeItemAttr_SetTextColour", (PyCFunction
) _wrap_wxTreeItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "new_wxTreeItemAttr", (PyCFunction
) _wrap_new_wxTreeItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxListView_ClearColumnImage", (PyCFunction
) _wrap_wxListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxListView_SetColumnImage", (PyCFunction
) _wrap_wxListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxListView_IsSelected", (PyCFunction
) _wrap_wxListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxListView_GetFirstSelected", (PyCFunction
) _wrap_wxListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxListView_GetNextSelected", (PyCFunction
) _wrap_wxListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxListView_GetFocusedItem", (PyCFunction
) _wrap_wxListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxListView_Focus", (PyCFunction
) _wrap_wxListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxListView_Select", (PyCFunction
) _wrap_wxListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxListView_Create", (PyCFunction
) _wrap_wxListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "new_wxPreListView", (PyCFunction
) _wrap_new_wxPreListView
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "new_wxListView", (PyCFunction
) _wrap_new_wxListView
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxListCtrl_SortItems", (PyCFunction
) _wrap_wxListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxListCtrl_GetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxListCtrl_SetItemTextColour", (PyCFunction
) _wrap_wxListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxListCtrl_ScrollList", (PyCFunction
) _wrap_wxListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxListCtrl_SetItemCount", (PyCFunction
) _wrap_wxListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxListCtrl_InsertColumn", (PyCFunction
) _wrap_wxListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_wxListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxListCtrl_InsertImageItem", (PyCFunction
) _wrap_wxListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxListCtrl_InsertStringItem", (PyCFunction
) _wrap_wxListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxListCtrl_InsertItem", (PyCFunction
) _wrap_wxListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxListCtrl_HitTest", (PyCFunction
) _wrap_wxListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxListCtrl_FindItemAtPos", (PyCFunction
) _wrap_wxListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxListCtrl_FindItemData", (PyCFunction
) _wrap_wxListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxListCtrl_FindItem", (PyCFunction
) _wrap_wxListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxListCtrl_EnsureVisible", (PyCFunction
) _wrap_wxListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxListCtrl_EndEditLabel", (PyCFunction
) _wrap_wxListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxListCtrl_EditLabel", (PyCFunction
) _wrap_wxListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxListCtrl_ClearAll", (PyCFunction
) _wrap_wxListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_wxListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxListCtrl_DeleteColumn", (PyCFunction
) _wrap_wxListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxListCtrl_DeleteAllItems", (PyCFunction
) _wrap_wxListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxListCtrl_DeleteItem", (PyCFunction
) _wrap_wxListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxListCtrl_Arrange", (PyCFunction
) _wrap_wxListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxListCtrl_RefreshItems", (PyCFunction
) _wrap_wxListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxListCtrl_RefreshItem", (PyCFunction
) _wrap_wxListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxListCtrl_IsVirtual", (PyCFunction
) _wrap_wxListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxListCtrl_AssignImageList", (PyCFunction
) _wrap_wxListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxListCtrl_SetImageList", (PyCFunction
) _wrap_wxListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxListCtrl_GetImageList", (PyCFunction
) _wrap_wxListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxListCtrl_GetNextItem", (PyCFunction
) _wrap_wxListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_wxListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxListCtrl_SetSingleStyle", (PyCFunction
) _wrap_wxListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxListCtrl_GetTopItem", (PyCFunction
) _wrap_wxListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxListCtrl_SetTextColour", (PyCFunction
) _wrap_wxListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxListCtrl_GetTextColour", (PyCFunction
) _wrap_wxListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_wxListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxListCtrl_GetItemSpacing", (PyCFunction
) _wrap_wxListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxListCtrl_GetColumnCount", (PyCFunction
) _wrap_wxListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxListCtrl_GetItemCount", (PyCFunction
) _wrap_wxListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxListCtrl_SetItemPosition", (PyCFunction
) _wrap_wxListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxListCtrl_GetItemRect", (PyCFunction
) _wrap_wxListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxListCtrl_GetItemPosition", (PyCFunction
) _wrap_wxListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxListCtrl_SetItemData", (PyCFunction
) _wrap_wxListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxListCtrl_GetItemData", (PyCFunction
) _wrap_wxListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxListCtrl_SetItemText", (PyCFunction
) _wrap_wxListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxListCtrl_GetItemText", (PyCFunction
) _wrap_wxListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxListCtrl_SetItemImage", (PyCFunction
) _wrap_wxListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxListCtrl_SetItemState", (PyCFunction
) _wrap_wxListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxListCtrl_GetItemState", (PyCFunction
) _wrap_wxListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxListCtrl_SetStringItem", (PyCFunction
) _wrap_wxListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxListCtrl_SetItem", (PyCFunction
) _wrap_wxListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxListCtrl_GetItem", (PyCFunction
) _wrap_wxListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxListCtrl_GetEditControl", (PyCFunction
) _wrap_wxListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxListCtrl_GetCountPerPage", (PyCFunction
) _wrap_wxListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxListCtrl_SetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxListCtrl_GetColumnWidth", (PyCFunction
) _wrap_wxListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxListCtrl_SetColumn", (PyCFunction
) _wrap_wxListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxListCtrl_GetColumn", (PyCFunction
) _wrap_wxListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_wxListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxListCtrl_SetForegroundColour", (PyCFunction
) _wrap_wxListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxListCtrl__setCallbackInfo", (PyCFunction
) _wrap_wxListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxListCtrl_Create", (PyCFunction
) _wrap_wxListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "new_wxPreListCtrl", (PyCFunction
) _wrap_new_wxPreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "new_wxListCtrl", (PyCFunction
) _wrap_new_wxListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxListEvent_GetCacheTo", (PyCFunction
) _wrap_wxListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxListEvent_GetCacheFrom", (PyCFunction
) _wrap_wxListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxListEvent_GetItem", (PyCFunction
) _wrap_wxListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxListEvent_GetMask", (PyCFunction
) _wrap_wxListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxListEvent_GetData", (PyCFunction
) _wrap_wxListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxListEvent_GetImage", (PyCFunction
) _wrap_wxListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxListEvent_GetText", (PyCFunction
) _wrap_wxListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxListEvent_GetLabel", (PyCFunction
) _wrap_wxListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxListEvent_GetPoint", (PyCFunction
) _wrap_wxListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxListEvent_GetColumn", (PyCFunction
) _wrap_wxListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxListEvent_GetIndex", (PyCFunction
) _wrap_wxListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxListEvent_GetCode", (PyCFunction
) _wrap_wxListEvent_GetCode
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxListEvent_m_item_get", (PyCFunction
) _wrap_wxListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxListEvent_m_pointDrag_get", (PyCFunction
) _wrap_wxListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxListEvent_m_col_get", (PyCFunction
) _wrap_wxListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxListEvent_m_itemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_wxListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxListEvent_m_code_get", (PyCFunction
) _wrap_wxListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "new_wxListEvent", (PyCFunction
) _wrap_new_wxListEvent
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxListItem_m_width_get", (PyCFunction
) _wrap_wxListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxListItem_m_width_set", (PyCFunction
) _wrap_wxListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxListItem_m_format_get", (PyCFunction
) _wrap_wxListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxListItem_m_format_set", (PyCFunction
) _wrap_wxListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxListItem_m_data_get", (PyCFunction
) _wrap_wxListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxListItem_m_data_set", (PyCFunction
) _wrap_wxListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxListItem_m_image_get", (PyCFunction
) _wrap_wxListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxListItem_m_image_set", (PyCFunction
) _wrap_wxListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxListItem_m_text_get", (PyCFunction
) _wrap_wxListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxListItem_m_text_set", (PyCFunction
) _wrap_wxListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxListItem_m_stateMask_get", (PyCFunction
) _wrap_wxListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxListItem_m_stateMask_set", (PyCFunction
) _wrap_wxListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxListItem_m_state_get", (PyCFunction
) _wrap_wxListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxListItem_m_state_set", (PyCFunction
) _wrap_wxListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxListItem_m_col_get", (PyCFunction
) _wrap_wxListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxListItem_m_col_set", (PyCFunction
) _wrap_wxListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxListItem_m_itemId_get", (PyCFunction
) _wrap_wxListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxListItem_m_itemId_set", (PyCFunction
) _wrap_wxListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxListItem_m_mask_get", (PyCFunction
) _wrap_wxListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxListItem_m_mask_set", (PyCFunction
) _wrap_wxListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxListItem_GetFont", (PyCFunction
) _wrap_wxListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxListItem_GetBackgroundColour", (PyCFunction
) _wrap_wxListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxListItem_GetTextColour", (PyCFunction
) _wrap_wxListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxListItem_HasAttributes", (PyCFunction
) _wrap_wxListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxListItem_GetAttributes", (PyCFunction
) _wrap_wxListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxListItem_GetAlign", (PyCFunction
) _wrap_wxListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxListItem_GetWidth", (PyCFunction
) _wrap_wxListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxListItem_GetData", (PyCFunction
) _wrap_wxListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxListItem_GetImage", (PyCFunction
) _wrap_wxListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxListItem_GetText", (PyCFunction
) _wrap_wxListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxListItem_GetState", (PyCFunction
) _wrap_wxListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxListItem_GetColumn", (PyCFunction
) _wrap_wxListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxListItem_GetId", (PyCFunction
) _wrap_wxListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxListItem_GetMask", (PyCFunction
) _wrap_wxListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxListItem_SetFont", (PyCFunction
) _wrap_wxListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxListItem_SetBackgroundColour", (PyCFunction
) _wrap_wxListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxListItem_SetTextColour", (PyCFunction
) _wrap_wxListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxListItem_SetAlign", (PyCFunction
) _wrap_wxListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxListItem_SetWidth", (PyCFunction
) _wrap_wxListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxListItem_SetData", (PyCFunction
) _wrap_wxListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxListItem_SetImage", (PyCFunction
) _wrap_wxListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxListItem_SetText", (PyCFunction
) _wrap_wxListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxListItem_SetStateMask", (PyCFunction
) _wrap_wxListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxListItem_SetState", (PyCFunction
) _wrap_wxListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxListItem_SetColumn", (PyCFunction
) _wrap_wxListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxListItem_SetId", (PyCFunction
) _wrap_wxListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxListItem_SetMask", (PyCFunction
) _wrap_wxListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxListItem_ClearAttributes", (PyCFunction
) _wrap_wxListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxListItem_Clear", (PyCFunction
) _wrap_wxListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "delete_wxListItem", (PyCFunction
) _wrap_delete_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "new_wxListItem", (PyCFunction
) _wrap_new_wxListItem
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxListItemAttr_GetFont", (PyCFunction
) _wrap_wxListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxListItemAttr_GetTextColour", (PyCFunction
) _wrap_wxListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxListItemAttr_HasFont", (PyCFunction
) _wrap_wxListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxListItemAttr_HasTextColour", (PyCFunction
) _wrap_wxListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxListItemAttr_SetFont", (PyCFunction
) _wrap_wxListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxListItemAttr_SetTextColour", (PyCFunction
) _wrap_wxListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "new_wxListItemAttr", (PyCFunction
) _wrap_new_wxListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
11036 * This table is used by the pointer type-checker
11038 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11039 { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent
},
11040 { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent
},
11041 { "_signed_long","_long",0},
11042 { "_wxPrintQuality","_wxCoord",0},
11043 { "_wxPrintQuality","_int",0},
11044 { "_wxPrintQuality","_signed_int",0},
11045 { "_wxPrintQuality","_unsigned_int",0},
11046 { "_wxPrintQuality","_wxWindowID",0},
11047 { "_wxPrintQuality","_uint",0},
11048 { "_wxPrintQuality","_EBool",0},
11049 { "_wxPrintQuality","_size_t",0},
11050 { "_wxPrintQuality","_time_t",0},
11051 { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent
},
11052 { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent
},
11053 { "_byte","_unsigned_char",0},
11054 { "_wxChoice","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxChoice
},
11055 { "_long","_unsigned_long",0},
11056 { "_long","_signed_long",0},
11057 { "_size_t","_wxCoord",0},
11058 { "_size_t","_wxPrintQuality",0},
11059 { "_size_t","_time_t",0},
11060 { "_size_t","_unsigned_int",0},
11061 { "_size_t","_int",0},
11062 { "_size_t","_wxWindowID",0},
11063 { "_size_t","_uint",0},
11064 { "_uint","_wxCoord",0},
11065 { "_uint","_wxPrintQuality",0},
11066 { "_uint","_time_t",0},
11067 { "_uint","_size_t",0},
11068 { "_uint","_unsigned_int",0},
11069 { "_uint","_int",0},
11070 { "_uint","_wxWindowID",0},
11071 { "_wxChar","_char",0},
11072 { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent
},
11073 { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent
},
11074 { "_char","_wxChar",0},
11075 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11076 { "_EBool","_wxCoord",0},
11077 { "_EBool","_wxPrintQuality",0},
11078 { "_EBool","_signed_int",0},
11079 { "_EBool","_int",0},
11080 { "_EBool","_wxWindowID",0},
11081 { "_unsigned_long","_long",0},
11082 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11083 { "_signed_int","_wxCoord",0},
11084 { "_signed_int","_wxPrintQuality",0},
11085 { "_signed_int","_EBool",0},
11086 { "_signed_int","_wxWindowID",0},
11087 { "_signed_int","_int",0},
11088 { "_WXTYPE","_short",0},
11089 { "_WXTYPE","_signed_short",0},
11090 { "_WXTYPE","_unsigned_short",0},
11091 { "_unsigned_short","_WXTYPE",0},
11092 { "_unsigned_short","_short",0},
11093 { "_wxObject","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxObject
},
11094 { "_wxObject","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxObject
},
11095 { "_wxObject","_wxDirItemData",SwigwxDirItemDataTowxObject
},
11096 { "_wxObject","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxObject
},
11097 { "_wxObject","_wxTreeEvent",SwigwxTreeEventTowxObject
},
11098 { "_wxObject","_wxPyTreeItemData",SwigwxPyTreeItemDataTowxObject
},
11099 { "_wxObject","_wxListView",SwigwxListViewTowxObject
},
11100 { "_wxObject","_wxPyListCtrl",SwigwxPyListCtrlTowxObject
},
11101 { "_wxObject","_wxListEvent",SwigwxListEventTowxObject
},
11102 { "_wxObject","_wxListItem",SwigwxListItemTowxObject
},
11103 { "_signed_short","_WXTYPE",0},
11104 { "_signed_short","_short",0},
11105 { "_unsigned_char","_byte",0},
11106 { "_wxControl","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControl
},
11107 { "_wxControl","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxControl
},
11108 { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl
},
11109 { "_wxControl","_wxListView",SwigwxListViewTowxControl
},
11110 { "_wxControl","_wxPyListCtrl",SwigwxPyListCtrlTowxControl
},
11111 { "_unsigned_int","_wxCoord",0},
11112 { "_unsigned_int","_wxPrintQuality",0},
11113 { "_unsigned_int","_time_t",0},
11114 { "_unsigned_int","_size_t",0},
11115 { "_unsigned_int","_uint",0},
11116 { "_unsigned_int","_wxWindowID",0},
11117 { "_unsigned_int","_int",0},
11118 { "_short","_WXTYPE",0},
11119 { "_short","_unsigned_short",0},
11120 { "_short","_signed_short",0},
11121 { "_wxControlWithItems","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxControlWithItems
},
11122 { "_wxWindowID","_wxCoord",0},
11123 { "_wxWindowID","_wxPrintQuality",0},
11124 { "_wxWindowID","_time_t",0},
11125 { "_wxWindowID","_size_t",0},
11126 { "_wxWindowID","_EBool",0},
11127 { "_wxWindowID","_uint",0},
11128 { "_wxWindowID","_int",0},
11129 { "_wxWindowID","_signed_int",0},
11130 { "_wxWindowID","_unsigned_int",0},
11131 { "_int","_wxCoord",0},
11132 { "_int","_wxPrintQuality",0},
11133 { "_int","_time_t",0},
11134 { "_int","_size_t",0},
11135 { "_int","_EBool",0},
11136 { "_int","_uint",0},
11137 { "_int","_wxWindowID",0},
11138 { "_int","_unsigned_int",0},
11139 { "_int","_signed_int",0},
11140 { "_time_t","_wxCoord",0},
11141 { "_time_t","_wxPrintQuality",0},
11142 { "_time_t","_unsigned_int",0},
11143 { "_time_t","_int",0},
11144 { "_time_t","_wxWindowID",0},
11145 { "_time_t","_uint",0},
11146 { "_time_t","_size_t",0},
11147 { "_wxCoord","_int",0},
11148 { "_wxCoord","_signed_int",0},
11149 { "_wxCoord","_unsigned_int",0},
11150 { "_wxCoord","_wxWindowID",0},
11151 { "_wxCoord","_uint",0},
11152 { "_wxCoord","_EBool",0},
11153 { "_wxCoord","_size_t",0},
11154 { "_wxCoord","_time_t",0},
11155 { "_wxCoord","_wxPrintQuality",0},
11156 { "_wxPyListCtrl","_wxListView",SwigwxListViewTowxPyListCtrl
},
11157 { "_wxEvtHandler","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxEvtHandler
},
11158 { "_wxEvtHandler","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxEvtHandler
},
11159 { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler
},
11160 { "_wxEvtHandler","_wxListView",SwigwxListViewTowxEvtHandler
},
11161 { "_wxEvtHandler","_wxPyListCtrl",SwigwxPyListCtrlTowxEvtHandler
},
11162 { "_wxWindow","_wxDirFilterListCtrl",SwigwxDirFilterListCtrlTowxWindow
},
11163 { "_wxWindow","_wxGenericDirCtrl",SwigwxGenericDirCtrlTowxWindow
},
11164 { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow
},
11165 { "_wxWindow","_wxListView",SwigwxListViewTowxWindow
},
11166 { "_wxWindow","_wxPyListCtrl",SwigwxPyListCtrlTowxWindow
},
11169 static PyObject
*SWIG_globals
;
11173 SWIGEXPORT(void) initcontrols2c() {
11175 SWIG_globals
= SWIG_newvarlink();
11176 m
= Py_InitModule("controls2c", controls2cMethods
);
11177 d
= PyModule_GetDict(m
);
11178 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_DRAG
));
11179 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
11180 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
11181 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
11182 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ITEM
));
11183 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong((long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
11184 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_GET_INFO
));
11185 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_LIST_SET_INFO
));
11186 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_SELECTED
));
11187 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
11188 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_LIST_KEY_DOWN
));
11189 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_LIST_INSERT_ITEM
));
11190 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_CLICK
));
11191 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
11192 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
11193 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
11194 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong((long) wxEVT_COMMAND_LIST_CACHE_HINT
));
11195 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
11196 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
11197 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_DRAGGING
));
11198 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_LIST_COL_END_DRAG
));
11199 PyDict_SetItemString(d
,"wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong((long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
11200 PyDict_SetItemString(d
,"wxLC_VRULES", PyInt_FromLong((long) wxLC_VRULES
));
11201 PyDict_SetItemString(d
,"wxLC_HRULES", PyInt_FromLong((long) wxLC_HRULES
));
11202 PyDict_SetItemString(d
,"wxLC_ICON", PyInt_FromLong((long) wxLC_ICON
));
11203 PyDict_SetItemString(d
,"wxLC_SMALL_ICON", PyInt_FromLong((long) wxLC_SMALL_ICON
));
11204 PyDict_SetItemString(d
,"wxLC_LIST", PyInt_FromLong((long) wxLC_LIST
));
11205 PyDict_SetItemString(d
,"wxLC_REPORT", PyInt_FromLong((long) wxLC_REPORT
));
11206 PyDict_SetItemString(d
,"wxLC_ALIGN_TOP", PyInt_FromLong((long) wxLC_ALIGN_TOP
));
11207 PyDict_SetItemString(d
,"wxLC_ALIGN_LEFT", PyInt_FromLong((long) wxLC_ALIGN_LEFT
));
11208 PyDict_SetItemString(d
,"wxLC_AUTOARRANGE", PyInt_FromLong((long) wxLC_AUTOARRANGE
));
11209 PyDict_SetItemString(d
,"wxLC_VIRTUAL", PyInt_FromLong((long) wxLC_VIRTUAL
));
11210 PyDict_SetItemString(d
,"wxLC_EDIT_LABELS", PyInt_FromLong((long) wxLC_EDIT_LABELS
));
11211 PyDict_SetItemString(d
,"wxLC_NO_HEADER", PyInt_FromLong((long) wxLC_NO_HEADER
));
11212 PyDict_SetItemString(d
,"wxLC_NO_SORT_HEADER", PyInt_FromLong((long) wxLC_NO_SORT_HEADER
));
11213 PyDict_SetItemString(d
,"wxLC_SINGLE_SEL", PyInt_FromLong((long) wxLC_SINGLE_SEL
));
11214 PyDict_SetItemString(d
,"wxLC_SORT_ASCENDING", PyInt_FromLong((long) wxLC_SORT_ASCENDING
));
11215 PyDict_SetItemString(d
,"wxLC_SORT_DESCENDING", PyInt_FromLong((long) wxLC_SORT_DESCENDING
));
11216 PyDict_SetItemString(d
,"wxLC_MASK_TYPE", PyInt_FromLong((long) wxLC_MASK_TYPE
));
11217 PyDict_SetItemString(d
,"wxLC_MASK_ALIGN", PyInt_FromLong((long) wxLC_MASK_ALIGN
));
11218 PyDict_SetItemString(d
,"wxLC_MASK_SORT", PyInt_FromLong((long) wxLC_MASK_SORT
));
11219 PyDict_SetItemString(d
,"wxLC_USER_TEXT", PyInt_FromLong((long) wxLC_USER_TEXT
));
11220 PyDict_SetItemString(d
,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE
));
11221 PyDict_SetItemString(d
,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT
));
11222 PyDict_SetItemString(d
,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE
));
11223 PyDict_SetItemString(d
,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA
));
11224 PyDict_SetItemString(d
,"wxLIST_SET_ITEM", PyInt_FromLong((long) wxLIST_SET_ITEM
));
11225 PyDict_SetItemString(d
,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH
));
11226 PyDict_SetItemString(d
,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT
));
11227 PyDict_SetItemString(d
,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE
));
11228 PyDict_SetItemString(d
,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED
));
11229 PyDict_SetItemString(d
,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED
));
11230 PyDict_SetItemString(d
,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED
));
11231 PyDict_SetItemString(d
,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT
));
11232 PyDict_SetItemString(d
,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE
));
11233 PyDict_SetItemString(d
,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW
));
11234 PyDict_SetItemString(d
,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE
));
11235 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON
));
11236 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL
));
11237 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT
));
11238 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON
));
11239 PyDict_SetItemString(d
,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT
));
11240 PyDict_SetItemString(d
,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT
));
11241 PyDict_SetItemString(d
,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM
));
11242 PyDict_SetItemString(d
,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE
));
11243 PyDict_SetItemString(d
,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL
));
11244 PyDict_SetItemString(d
,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW
));
11245 PyDict_SetItemString(d
,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT
));
11246 PyDict_SetItemString(d
,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT
));
11247 PyDict_SetItemString(d
,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT
));
11248 PyDict_SetItemString(d
,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT
));
11249 PyDict_SetItemString(d
,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP
));
11250 PyDict_SetItemString(d
,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID
));
11251 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE
));
11252 PyDict_SetItemString(d
,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER
));
11253 PyDict_SetItemString(d
,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS
));
11254 PyDict_SetItemString(d
,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON
));
11255 PyDict_SetItemString(d
,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL
));
11256 PyDict_SetItemString(d
,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP
));
11257 PyDict_SetItemString(d
,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN
));
11258 PyDict_SetItemString(d
,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT
));
11259 PyDict_SetItemString(d
,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT
));
11260 PyDict_SetItemString(d
,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT
));
11261 PyDict_SetItemString(d
,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT
));
11262 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE
));
11263 PyDict_SetItemString(d
,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER
));
11264 PyDict_SetItemString(d
,"wxTR_NO_BUTTONS", PyInt_FromLong((long) wxTR_NO_BUTTONS
));
11265 PyDict_SetItemString(d
,"wxTR_HAS_BUTTONS", PyInt_FromLong((long) wxTR_HAS_BUTTONS
));
11266 PyDict_SetItemString(d
,"wxTR_TWIST_BUTTONS", PyInt_FromLong((long) wxTR_TWIST_BUTTONS
));
11267 PyDict_SetItemString(d
,"wxTR_NO_LINES", PyInt_FromLong((long) wxTR_NO_LINES
));
11268 PyDict_SetItemString(d
,"wxTR_MAC_BUTTONS", PyInt_FromLong((long) wxTR_MAC_BUTTONS
));
11269 PyDict_SetItemString(d
,"wxTR_AQUA_BUTTONS", PyInt_FromLong((long) wxTR_AQUA_BUTTONS
));
11270 PyDict_SetItemString(d
,"wxTR_SINGLE", PyInt_FromLong((long) wxTR_SINGLE
));
11271 PyDict_SetItemString(d
,"wxTR_MULTIPLE", PyInt_FromLong((long) wxTR_MULTIPLE
));
11272 PyDict_SetItemString(d
,"wxTR_EXTENDED", PyInt_FromLong((long) wxTR_EXTENDED
));
11273 PyDict_SetItemString(d
,"wxTR_FULL_ROW_HIGHLIGHT", PyInt_FromLong((long) wxTR_FULL_ROW_HIGHLIGHT
));
11274 PyDict_SetItemString(d
,"wxTR_EDIT_LABELS", PyInt_FromLong((long) wxTR_EDIT_LABELS
));
11275 PyDict_SetItemString(d
,"wxTR_LINES_AT_ROOT", PyInt_FromLong((long) wxTR_LINES_AT_ROOT
));
11276 PyDict_SetItemString(d
,"wxTR_HIDE_ROOT", PyInt_FromLong((long) wxTR_HIDE_ROOT
));
11277 PyDict_SetItemString(d
,"wxTR_ROW_LINES", PyInt_FromLong((long) wxTR_ROW_LINES
));
11278 PyDict_SetItemString(d
,"wxTR_HAS_VARIABLE_ROW_HEIGHT", PyInt_FromLong((long) wxTR_HAS_VARIABLE_ROW_HEIGHT
));
11279 PyDict_SetItemString(d
,"wxTR_DEFAULT_STYLE", PyInt_FromLong((long) wxTR_DEFAULT_STYLE
));
11280 PyDict_SetItemString(d
,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal
));
11281 PyDict_SetItemString(d
,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected
));
11282 PyDict_SetItemString(d
,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded
));
11283 PyDict_SetItemString(d
,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded
));
11284 PyDict_SetItemString(d
,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max
));
11285 PyDict_SetItemString(d
,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE
));
11286 PyDict_SetItemString(d
,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW
));
11287 PyDict_SetItemString(d
,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE
));
11288 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON
));
11289 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON
));
11290 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT
));
11291 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL
));
11292 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT
));
11293 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON
));
11294 PyDict_SetItemString(d
,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT
));
11295 PyDict_SetItemString(d
,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT
));
11296 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART
));
11297 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART
));
11298 PyDict_SetItemString(d
,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM
));
11299 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_DRAG
));
11300 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
11301 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
11302 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
11303 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong((long) wxEVT_COMMAND_TREE_DELETE_ITEM
));
11304 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_GET_INFO
));
11305 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SET_INFO
));
11306 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
11307 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
11308 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
11309 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
11310 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGED
));
11311 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong((long) wxEVT_COMMAND_TREE_SEL_CHANGING
));
11312 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong((long) wxEVT_COMMAND_TREE_KEY_DOWN
));
11313 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
11314 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
11315 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong((long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
11316 PyDict_SetItemString(d
,"wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong((long) wxEVT_COMMAND_TREE_END_DRAG
));
11317 PyDict_SetItemString(d
,"wxDIRCTRL_DIR_ONLY", PyInt_FromLong((long) wxDIRCTRL_DIR_ONLY
));
11318 PyDict_SetItemString(d
,"wxDIRCTRL_SELECT_FIRST", PyInt_FromLong((long) wxDIRCTRL_SELECT_FIRST
));
11319 PyDict_SetItemString(d
,"wxDIRCTRL_SHOW_FILTERS", PyInt_FromLong((long) wxDIRCTRL_SHOW_FILTERS
));
11320 PyDict_SetItemString(d
,"wxDIRCTRL_3D_INTERNAL", PyInt_FromLong((long) wxDIRCTRL_3D_INTERNAL
));
11321 PyDict_SetItemString(d
,"wxDIRCTRL_EDIT_LABELS", PyInt_FromLong((long) wxDIRCTRL_EDIT_LABELS
));
11322 PyDict_SetItemString(d
,"wxID_TREECTRL", PyInt_FromLong((long) wxID_TREECTRL
));
11323 PyDict_SetItemString(d
,"wxID_FILTERLISTCTRL", PyInt_FromLong((long) wxID_FILTERLISTCTRL
));
11325 // Map renamed classes back to their common name for OOR
11326 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
11327 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
11328 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
11331 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11332 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);